Class: Google::Apis::ComputeAlpha::BackendServiceAppEngineBackend
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BackendServiceAppEngineBackend
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Configuration of a App Engine backend.
Instance Attribute Summary collapse
-
#app_engine_service ⇒ String
Optional.
-
#target_project ⇒ String
Required.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceAppEngineBackend
constructor
A new instance of BackendServiceAppEngineBackend.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BackendServiceAppEngineBackend
Returns a new instance of BackendServiceAppEngineBackend
3469 3470 3471 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 3469 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_engine_service ⇒ String
Optional. App Engine app service name.
Corresponds to the JSON property appEngineService
3455 3456 3457 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 3455 def app_engine_service @app_engine_service end |
#target_project ⇒ String
Required. Project ID of the project hosting the app. This is the project ID of
this project. Reference to another project is not allowed.
Corresponds to the JSON property targetProject
3461 3462 3463 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 3461 def target_project @target_project end |
#version ⇒ String
Optional. Version of App Engine app service. When empty, App Engine will do
its normal traffic split.
Corresponds to the JSON property version
3467 3468 3469 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 3467 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3474 3475 3476 3477 3478 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 3474 def update!(**args) @app_engine_service = args[:app_engine_service] if args.key?(:app_engine_service) @target_project = args[:target_project] if args.key?(:target_project) @version = args[:version] if args.key?(:version) end |