Class: Google::Apis::AppengineV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb
Overview
An Application resource contains the top-level configuration of an App Engine application. Next tag: 19
Instance Attribute Summary collapse
-
#auth_domain ⇒ String
Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.
-
#code_bucket ⇒ String
Google Cloud Storage bucket that can be used for storing files associated with this application.
-
#default_bucket ⇒ String
Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly Corresponds to the JSON property
defaultBucket. -
#default_cookie_expiration ⇒ String
Cookie expiration policy for this application.
-
#default_hostname ⇒ String
Hostname used to reach this application, as resolved by App Engine.@OutputOnly Corresponds to the JSON property
defaultHostname. -
#dispatch_rules ⇒ Array<Google::Apis::AppengineV1::UrlDispatchRule>
HTTP path dispatch rules for requests to the application that do not explicitly target a service or version.
-
#gcr_domain ⇒ String
The Google Container Registry domain used for storing managed build docker images for this application.
-
#iap ⇒ Google::Apis::AppengineV1::IdentityAwareProxy
Identity-Aware Proxy Corresponds to the JSON property
iap. -
#id ⇒ String
Identifier of the Application resource.
-
#location_id ⇒ String
Location from which this application will be run.
-
#name ⇒ String
Full path to the Application resource in the API.
-
#serving_status ⇒ String
Serving status of this application.
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
1267 1268 1269 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1267 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
1239 1240 1241 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1239 def auth_domain @auth_domain end |
#code_bucket ⇒ String
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
1246 1247 1248 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1246 def code_bucket @code_bucket end |
#default_bucket ⇒ String
Google Cloud Storage bucket that can be used by this application to store
content.@OutputOnly
Corresponds to the JSON property defaultBucket
1252 1253 1254 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1252 def default_bucket @default_bucket end |
#default_cookie_expiration ⇒ String
Cookie expiration policy for this application.
Corresponds to the JSON property defaultCookieExpiration
1210 1211 1212 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1210 def @default_cookie_expiration end |
#default_hostname ⇒ String
Hostname used to reach this application, as resolved by App Engine.@OutputOnly
Corresponds to the JSON property defaultHostname
1228 1229 1230 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1228 def default_hostname @default_hostname end |
#dispatch_rules ⇒ Array<Google::Apis::AppengineV1::UrlDispatchRule>
HTTP path dispatch rules for requests to the application that do not
explicitly target a service or version. Rules are order-dependent. Up to 20
dispatch rules can be supported.@OutputOnly
Corresponds to the JSON property dispatchRules
1259 1260 1261 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1259 def dispatch_rules @dispatch_rules end |
#gcr_domain ⇒ String
The Google Container Registry domain used for storing managed build docker
images for this application.
Corresponds to the JSON property gcrDomain
1265 1266 1267 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1265 def gcr_domain @gcr_domain end |
#iap ⇒ Google::Apis::AppengineV1::IdentityAwareProxy
Identity-Aware Proxy
Corresponds to the JSON property iap
1233 1234 1235 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1233 def iap @iap 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
1205 1206 1207 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1205 def id @id end |
#location_id ⇒ 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 USeurope-west - Western Europeus-east1 - Eastern US
Corresponds to the JSON property locationId
1218 1219 1220 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1218 def location_id @location_id end |
#name ⇒ String
Full path to the Application resource in the API. Example: apps/myapp.@
OutputOnly
Corresponds to the JSON property name
1198 1199 1200 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1198 def name @name end |
#serving_status ⇒ String
Serving status of this application.
Corresponds to the JSON property servingStatus
1223 1224 1225 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1223 def serving_status @serving_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 1272 def update!(**args) @name = args[:name] if args.key?(:name) @id = args[:id] if args.key?(:id) @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration) @location_id = args[:location_id] if args.key?(:location_id) @serving_status = args[:serving_status] if args.key?(:serving_status) @default_hostname = args[:default_hostname] if args.key?(:default_hostname) @iap = args[:iap] if args.key?(:iap) @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) @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules) @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain) end |