Class: Google::Apis::ConnectorsV1::RuntimeConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::RuntimeConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
RuntimeConfig is the singleton resource of each location. It includes generic resource configs consumed by control plane and runtime plane like: pub/sub topic/subscription resource name, Cloud Storage location storing schema etc.
Instance Attribute Summary collapse
-
#connd_subscription ⇒ String
Output only.
-
#connd_topic ⇒ String
Output only.
-
#control_plane_subscription ⇒ String
Output only.
-
#control_plane_topic ⇒ String
Output only.
-
#location_id ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#runtime_endpoint ⇒ String
Output only.
-
#schema_gcs_bucket ⇒ String
Output only.
-
#service_directory ⇒ String
Output only.
-
#state ⇒ String
Output only.
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.
2461 2462 2463 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connd_subscription ⇒ String
Output only. Pub/Sub subscription for connd to receive message. E.g. projects/
project-id/subscriptions/topic-id
Corresponds to the JSON property conndSubscription
2410 2411 2412 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2410 def connd_subscription @connd_subscription end |
#connd_topic ⇒ String
Output only. Pub/Sub topic for connd to send message. E.g. projects/project-
id/topics/topic-id
Corresponds to the JSON property conndTopic
2416 2417 2418 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2416 def connd_topic @connd_topic end |
#control_plane_subscription ⇒ String
Output only. Pub/Sub subscription for control plane to receive message. E.g.
projects/project-id/subscriptions/topic-id
Corresponds to the JSON property controlPlaneSubscription
2422 2423 2424 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2422 def control_plane_subscription @control_plane_subscription end |
#control_plane_topic ⇒ String
Output only. Pub/Sub topic for control plne to send message. communication. E.
g. projects/project-id/topics/topic-id
Corresponds to the JSON property controlPlaneTopic
2428 2429 2430 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2428 def control_plane_topic @control_plane_topic end |
#location_id ⇒ String
Output only. location_id of the runtime location. E.g. "us-west1".
Corresponds to the JSON property locationId
2433 2434 2435 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2433 def location_id @location_id end |
#name ⇒ String
Output only. Name of the runtimeConfig resource. Format: projects/project/
locations/location/runtimeConfig
Corresponds to the JSON property name
2439 2440 2441 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2439 def name @name end |
#runtime_endpoint ⇒ String
Output only. The endpoint of the connectors runtime ingress.
Corresponds to the JSON property runtimeEndpoint
2444 2445 2446 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2444 def runtime_endpoint @runtime_endpoint end |
#schema_gcs_bucket ⇒ String
Output only. The Cloud Storage bucket that stores connector's schema reports.
Corresponds to the JSON property schemaGcsBucket
2449 2450 2451 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2449 def schema_gcs_bucket @schema_gcs_bucket end |
#service_directory ⇒ String
Output only. The name of the Service Directory service name.
Corresponds to the JSON property serviceDirectory
2454 2455 2456 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2454 def service_directory @service_directory end |
#state ⇒ String
Output only. The state of the location.
Corresponds to the JSON property state
2459 2460 2461 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2459 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2466 def update!(**args) @connd_subscription = args[:connd_subscription] if args.key?(:connd_subscription) @connd_topic = args[:connd_topic] if args.key?(:connd_topic) @control_plane_subscription = args[:control_plane_subscription] if args.key?(:control_plane_subscription) @control_plane_topic = args[:control_plane_topic] if args.key?(:control_plane_topic) @location_id = args[:location_id] if args.key?(:location_id) @name = args[:name] if args.key?(:name) @runtime_endpoint = args[:runtime_endpoint] if args.key?(:runtime_endpoint) @schema_gcs_bucket = args[:schema_gcs_bucket] if args.key?(:schema_gcs_bucket) @service_directory = args[:service_directory] if args.key?(:service_directory) @state = args[:state] if args.key?(:state) end |