Class: Google::Apis::AppengineV1beta4::Application

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1beta4/classes.rb,
generated/google/apis/appengine_v1beta4/representations.rb,
generated/google/apis/appengine_v1beta4/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Application

Returns a new instance of Application.



155
156
157
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 155

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auth_domainString

Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. Corresponds to the JSON property authDomain

Returns:

  • (String)


98
99
100
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 98

def auth_domain
  @auth_domain
end

#code_bucketString

Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly Corresponds to the JSON property codeBucket

Returns:

  • (String)


105
106
107
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 105

def code_bucket
  @code_bucket
end

#default_bucketString

Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly Corresponds to the JSON property defaultBucket

Returns:

  • (String)


111
112
113
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 111

def default_bucket
  @default_bucket
end

Cookie expiration policy for this application. Corresponds to the JSON property defaultCookieExpiration

Returns:

  • (String)


116
117
118
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 116

def default_cookie_expiration
  @default_cookie_expiration
end

#default_hostnameString

Hostname used to reach the application, as resolved by App Engine.@OutputOnly Corresponds to the JSON property defaultHostname

Returns:

  • (String)


121
122
123
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 121

def default_hostname
  @default_hostname
end

#dispatch_rulesArray<Google::Apis::AppengineV1beta4::UrlDispatchRule>

HTTP path dispatch rules for requests to the application that do not explicitly target a module or version. Rules are order-dependent.@OutputOnly Corresponds to the JSON property dispatchRules



127
128
129
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 127

def dispatch_rules
  @dispatch_rules
end

#iapGoogle::Apis::AppengineV1beta4::IdentityAwareProxy

Identity-Aware Proxy Corresponds to the JSON property iap



132
133
134
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 132

def iap
  @iap
end

#idString

Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp. Corresponds to the JSON property id

Returns:

  • (String)


139
140
141
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 139

def id
  @id
end

#locationString

Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of the application's end user content is stored.Defaults to us-central.Options are:us- central - Central USeurope-west - Western Europeus-east1 - Eastern US Corresponds to the JSON property location

Returns:

  • (String)


147
148
149
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 147

def location
  @location
end

#nameString

Full path to the Application resource in the API. Example: apps/myapp.@ OutputOnly Corresponds to the JSON property name

Returns:

  • (String)


153
154
155
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 153

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



160
161
162
163
164
165
166
167
168
169
170
171
# File 'generated/google/apis/appengine_v1beta4/classes.rb', line 160

def update!(**args)
  @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
  @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
  @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
  @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
  @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
  @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
  @iap = args[:iap] if args.key?(:iap)
  @id = args[:id] if args.key?(:id)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
end