Class: Google::Apis::AppengineV1beta5::Application
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta5::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta5/classes.rb,
generated/google/apis/appengine_v1beta5/representations.rb,
generated/google/apis/appengine_v1beta5/representations.rb
Overview
An Application resource contains the top-level configuration of an App Engine application.
Instance Attribute Summary collapse
-
#auth_domain ⇒ String
Google Apps authentication domain that controls which users can access this application.
-
#code_bucket ⇒ String
A Google Cloud Storage bucket that can be used for storing files associated with this application.
-
#default_bucket ⇒ String
A Google Cloud Storage bucket that can be used by the application to store content.
-
#default_cookie_expiration ⇒ String
Cookie expiration policy for this application.
-
#default_hostname ⇒ String
Hostname used to reach the application, as resolved by App Engine.
-
#dispatch_rules ⇒ Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>
HTTP path dispatch rules for requests to the application that do not explicitly target a service or version.
-
#id ⇒ String
Identifier of the Application resource.
-
#location ⇒ String
Location from which this application will be run.
-
#name ⇒ String
Full path to the Application resource in the API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Application
constructor
A new instance of Application.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application.
265 266 267 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_domain ⇒ String
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
231 232 233 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 231 def auth_domain @auth_domain end |
#code_bucket ⇒ String
A 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
247 248 249 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 247 def code_bucket @code_bucket end |
#default_bucket ⇒ String
A Google Cloud Storage bucket that can be used by the application to store
content. @OutputOnly
Corresponds to the JSON property defaultBucket
263 264 265 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 263 def default_bucket @default_bucket end |
#default_cookie_expiration ⇒ String
Cookie expiration policy for this application. @OutputOnly
Corresponds to the JSON property defaultCookieExpiration
252 253 254 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 252 def @default_cookie_expiration end |
#default_hostname ⇒ String
Hostname used to reach the application, as resolved by App Engine. @OutputOnly
Corresponds to the JSON property defaultHostname
257 258 259 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 257 def default_hostname @default_hostname end |
#dispatch_rules ⇒ Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>
HTTP path dispatch rules for requests to the application that do not
explicitly target a service or version. Rules are order-dependent. @OutputOnly
Corresponds to the JSON property dispatchRules
225 226 227 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 225 def dispatch_rules @dispatch_rules end |
#id ⇒ String
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
219 220 221 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 219 def id @id end |
#location ⇒ String
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 US europe-west
- Western Europe us-east1
-
Eastern US
Corresponds to the JSON property location
240 241 242 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 240 def location @location end |
#name ⇒ String
Full path to the Application resource in the API. Example: apps/myapp
. @
OutputOnly
Corresponds to the JSON property name
212 213 214 |
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 212 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
270 271 272 273 274 275 276 277 278 279 280 |
# 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 |