class Google::Apis::AppengineV1beta4::Application

An Application contains the top-level configuration of an App Engine application.

Attributes

code_bucket[RW]

A Google Cloud Storage bucket which can be used for storing files associated with an application. This bucket is associated with the application and can be used by the gcloud deployment commands. @OutputOnly Corresponds to the JSON property `codeBucket` @return [String]

default_bucket[RW]

A Google Cloud Storage bucket which can be used by the application to store content. @OutputOnly Corresponds to the JSON property `defaultBucket` @return [String]

dispatch_rules[RW]

HTTP path dispatch rules for requests to the app that do not explicitly target a module or version. The rules are order-dependent. Corresponds to the JSON property `dispatchRules` @return [Array<Google::Apis::AppengineV1beta4::UrlDispatchRule>]

id[RW]

The relative name/path of the application. Example: “myapp”. @OutputOnly Corresponds to the JSON property `id` @return [String]

location[RW]

The location from which the application will be run. Choices are “us-central” for United States and “europe-west” for European Union. Application instances will run out of data centers in the chosen location and all of the application' s End User Content will be stored at rest in the chosen location. The default is “us-central”. Corresponds to the JSON property `location` @return [String]

name[RW]

The full path to the application in the API. Example: “apps/myapp”. @ OutputOnly Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/appengine_v1beta4/classes.rb, line 69
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appengine_v1beta4/classes.rb, line 74
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @id = args[:id] if args.key?(:id)
  @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
  @location = args[:location] if args.key?(:location)
  @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
  @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
end