class Google::Apis::AppengineV1beta5::Application

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

Attributes

auth_domain[RW]

If set, only users from the specified Google Apps authentication domain may access the application. If not set, any Google Account may access the application. Corresponds to the JSON property `authDomain` @return [String]

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]

default_hostname[RW]

The hostname used to reach the application, as resolved by App Engine. @ OutputOnly Corresponds to the JSON property `defaultHostname` @return [String]

dispatch_rules[RW]

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

id[RW]

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

location[RW]

The location from which the application will be run. 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. The default is “us-central”. Choices are: “us-central” - Central US “europe-west” - Western Europe “us- east1” - Eastern US 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_v1beta5/classes.rb, line 265
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_v1beta5/classes.rb, line 270
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)
  @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
  @location = args[:location] if args.key?(:location)
  @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
  @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
  @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
  @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
end