Class: Google::Apis::ConnectorsV1::RuntimeConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RuntimeConfig

Returns a new instance of RuntimeConfig.



1838
1839
1840
# File 'lib/google/apis/connectors_v1/classes.rb', line 1838

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#connd_subscriptionString

Output only. Pub/Sub subscription for connd to receive message. E.g. projects/ project-id/subscriptions/topic-id Corresponds to the JSON property conndSubscription

Returns:

  • (String)


1790
1791
1792
# File 'lib/google/apis/connectors_v1/classes.rb', line 1790

def connd_subscription
  @connd_subscription
end

#connd_topicString

Output only. Pub/Sub topic for connd to send message. E.g. projects/project- id/topics/topic-id Corresponds to the JSON property conndTopic

Returns:

  • (String)


1796
1797
1798
# File 'lib/google/apis/connectors_v1/classes.rb', line 1796

def connd_topic
  @connd_topic
end

#control_plane_subscriptionString

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

Returns:

  • (String)


1802
1803
1804
# File 'lib/google/apis/connectors_v1/classes.rb', line 1802

def control_plane_subscription
  @control_plane_subscription
end

#control_plane_topicString

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

Returns:

  • (String)


1808
1809
1810
# File 'lib/google/apis/connectors_v1/classes.rb', line 1808

def control_plane_topic
  @control_plane_topic
end

#location_idString

Output only. location_id of the runtime location. E.g. "us-west1". Corresponds to the JSON property locationId

Returns:

  • (String)


1813
1814
1815
# File 'lib/google/apis/connectors_v1/classes.rb', line 1813

def location_id
  @location_id
end

#runtime_endpointString

Output only. The endpoint of the connectors runtime ingress. Corresponds to the JSON property runtimeEndpoint

Returns:

  • (String)


1818
1819
1820
# File 'lib/google/apis/connectors_v1/classes.rb', line 1818

def runtime_endpoint
  @runtime_endpoint
end

#schema_gcs_bucketString

Output only. The Cloud Storage bucket that stores connector's schema reports. Corresponds to the JSON property schemaGcsBucket

Returns:

  • (String)


1823
1824
1825
# File 'lib/google/apis/connectors_v1/classes.rb', line 1823

def schema_gcs_bucket
  @schema_gcs_bucket
end

#service_directoryString

Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. "projects/cloud-connectors-e2e- testing/locations/us-central1/namespaces/istio-system/services/istio- ingressgateway-connectors" Corresponds to the JSON property serviceDirectory

Returns:

  • (String)


1831
1832
1833
# File 'lib/google/apis/connectors_v1/classes.rb', line 1831

def service_directory
  @service_directory
end

#stateString

Output only. The state of the location. Corresponds to the JSON property state

Returns:

  • (String)


1836
1837
1838
# File 'lib/google/apis/connectors_v1/classes.rb', line 1836

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
# File 'lib/google/apis/connectors_v1/classes.rb', line 1843

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)
  @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