Class: Google::Apis::AppengineV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1/classes.rb,
lib/google/apis/appengine_v1/representations.rb,
lib/google/apis/appengine_v1/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.Defaults to open access for any Google Account.
-
#code_bucket ⇒ String
Output only.
-
#database_type ⇒ String
The type of the Cloud Firestore or Cloud Datastore database associated with this application.
-
#default_bucket ⇒ String
Output only.
-
#default_cookie_expiration ⇒ String
Cookie expiration policy for this application.
-
#default_hostname ⇒ String
Output only.
-
#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.
-
#feature_settings ⇒ Google::Apis::AppengineV1::FeatureSettings
The feature specific settings to be used in the application.
-
#gcr_domain ⇒ String
Output only.
-
#generated_customer_metadata ⇒ Hash<String,Object>
Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest Corresponds to the JSON property
generatedCustomerMetadata
. -
#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 runs.
-
#name ⇒ String
Output only.
-
#service_account ⇒ String
The service account associated with the application.
-
#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.
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application.
194 195 196 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 194 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
98 99 100 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 98 def auth_domain @auth_domain end |
#code_bucket ⇒ String
Output only. 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
105 106 107 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 105 def code_bucket @code_bucket end |
#database_type ⇒ String
The type of the Cloud Firestore or Cloud Datastore database associated with
this application.
Corresponds to the JSON property databaseType
111 112 113 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 111 def database_type @database_type end |
#default_bucket ⇒ String
Output only. Google Cloud Storage bucket that can be used by this application
to store content.@OutputOnly
Corresponds to the JSON property defaultBucket
117 118 119 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 117 def default_bucket @default_bucket end |
#default_cookie_expiration ⇒ String
Cookie expiration policy for this application.
Corresponds to the JSON property defaultCookieExpiration
122 123 124 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 122 def @default_cookie_expiration end |
#default_hostname ⇒ String
Output only. Hostname used to reach this application, as resolved by App
Engine.@OutputOnly
Corresponds to the JSON property defaultHostname
128 129 130 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 128 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.
Corresponds to the JSON property dispatchRules
135 136 137 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 135 def dispatch_rules @dispatch_rules end |
#feature_settings ⇒ Google::Apis::AppengineV1::FeatureSettings
The feature specific settings to be used in the application. These define
behaviors that are user configurable.
Corresponds to the JSON property featureSettings
141 142 143 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 141 def feature_settings @feature_settings end |
#gcr_domain ⇒ String
Output only. The Google Container Registry domain used for storing managed
build docker images for this application.
Corresponds to the JSON property gcrDomain
147 148 149 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 147 def gcr_domain @gcr_domain end |
#generated_customer_metadata ⇒ Hash<String,Object>
Additional Google Generated Customer Metadata, this field won't be provided by
default and can be requested by setting the IncludeExtraData field in
GetApplicationRequest
Corresponds to the JSON property generatedCustomerMetadata
154 155 156 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 154 def @generated_customer_metadata end |
#iap ⇒ Google::Apis::AppengineV1::IdentityAwareProxy
Identity-Aware Proxy
Corresponds to the JSON property iap
159 160 161 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 159 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
166 167 168 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 166 def id @id end |
#location_id ⇒ String
Location from which this application runs. Application instances run out of
the data centers in the specified location, which is also where all of the
application's end user content is stored.Defaults to us-central.View the list
of supported locations (https://cloud.google.com/appengine/docs/locations).
Corresponds to the JSON property locationId
174 175 176 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 174 def location_id @location_id end |
#name ⇒ String
Output only. Full path to the Application resource in the API. Example: apps/
myapp.@OutputOnly
Corresponds to the JSON property name
180 181 182 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 180 def name @name end |
#service_account ⇒ String
The service account associated with the application. This is the app-level
default identity. If no identity provided during create version, Admin API
will fallback to this one.
Corresponds to the JSON property serviceAccount
187 188 189 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 187 def service_account @service_account end |
#serving_status ⇒ String
Serving status of this application.
Corresponds to the JSON property servingStatus
192 193 194 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 192 def serving_status @serving_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'lib/google/apis/appengine_v1/classes.rb', line 199 def update!(**args) @auth_domain = args[:auth_domain] if args.key?(:auth_domain) @code_bucket = args[:code_bucket] if args.key?(:code_bucket) @database_type = args[:database_type] if args.key?(:database_type) @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) @feature_settings = args[:feature_settings] if args.key?(:feature_settings) @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain) @generated_customer_metadata = args[:generated_customer_metadata] if args.key?(:generated_customer_metadata) @iap = args[:iap] if args.key?(:iap) @id = args[:id] if args.key?(:id) @location_id = args[:location_id] if args.key?(:location_id) @name = args[:name] if args.key?(:name) @service_account = args[:service_account] if args.key?(:service_account) @serving_status = args[:serving_status] if args.key?(:serving_status) end |