Class: Google::Apis::DeveloperconnectV1::RuntimeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DeveloperconnectV1::RuntimeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/developerconnect_v1/classes.rb,
lib/google/apis/developerconnect_v1/representations.rb,
lib/google/apis/developerconnect_v1/representations.rb
Overview
RuntimeConfig represents the runtimes where the application is deployed.
Instance Attribute Summary collapse
-
#app_hub_service ⇒ Google::Apis::DeveloperconnectV1::AppHubService
AppHubService represents the App Hub Service.
-
#app_hub_workload ⇒ Google::Apis::DeveloperconnectV1::AppHubWorkload
AppHubWorkload represents the App Hub Workload.
-
#gke_workload ⇒ Google::Apis::DeveloperconnectV1::GkeWorkload
GKEWorkload represents the Google Kubernetes Engine runtime.
-
#google_cloud_run ⇒ Google::Apis::DeveloperconnectV1::GoogleCloudRun
GoogleCloudRun represents the Cloud Run runtime.
-
#state ⇒ String
Output only.
-
#uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuntimeConfig
constructor
A new instance of RuntimeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RuntimeConfig
Returns a new instance of RuntimeConfig.
2501 2502 2503 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2501 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_hub_service ⇒ Google::Apis::DeveloperconnectV1::AppHubService
AppHubService represents the App Hub Service.
Corresponds to the JSON property appHubService
2473 2474 2475 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2473 def app_hub_service @app_hub_service end |
#app_hub_workload ⇒ Google::Apis::DeveloperconnectV1::AppHubWorkload
AppHubWorkload represents the App Hub Workload.
Corresponds to the JSON property appHubWorkload
2478 2479 2480 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2478 def app_hub_workload @app_hub_workload end |
#gke_workload ⇒ Google::Apis::DeveloperconnectV1::GkeWorkload
GKEWorkload represents the Google Kubernetes Engine runtime.
Corresponds to the JSON property gkeWorkload
2483 2484 2485 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2483 def gke_workload @gke_workload end |
#google_cloud_run ⇒ Google::Apis::DeveloperconnectV1::GoogleCloudRun
GoogleCloudRun represents the Cloud Run runtime.
Corresponds to the JSON property googleCloudRun
2488 2489 2490 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2488 def google_cloud_run @google_cloud_run end |
#state ⇒ String
Output only. The state of the Runtime.
Corresponds to the JSON property state
2493 2494 2495 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2493 def state @state end |
#uri ⇒ String
Required. Immutable. The URI of the runtime configuration. For GKE, this is
the cluster name. For Cloud Run, this is the service name.
Corresponds to the JSON property uri
2499 2500 2501 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2499 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2506 2507 2508 2509 2510 2511 2512 2513 |
# File 'lib/google/apis/developerconnect_v1/classes.rb', line 2506 def update!(**args) @app_hub_service = args[:app_hub_service] if args.key?(:app_hub_service) @app_hub_workload = args[:app_hub_workload] if args.key?(:app_hub_workload) @gke_workload = args[:gke_workload] if args.key?(:gke_workload) @google_cloud_run = args[:google_cloud_run] if args.key?(:google_cloud_run) @state = args[:state] if args.key?(:state) @uri = args[:uri] if args.key?(:uri) end |