Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Connection
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Connection
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Connection represents an instance of connector.
Instance Attribute Summary collapse
-
#auth_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfig
AuthConfig defines details of a authentication type.
-
#config_variables ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable>
Optional.
-
#connection_revision ⇒ Fixnum
Output only.
-
#connector_version ⇒ String
Required.
-
#connector_version_launch_stage ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#destination_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1DestinationConfig>
Optional.
-
#envoy_image_location ⇒ String
Output only.
-
#image_location ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#lock_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LockConfig
Determines whether or no a connection is locked.
-
#log_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig
Log configuration for the connection.
-
#name ⇒ String
Output only.
-
#node_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1NodeConfig
Node configuration for the connection.
-
#service_account ⇒ String
Optional.
-
#service_directory ⇒ String
Output only.
-
#ssl_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1SslConfig
SSL Configuration of a connection Corresponds to the JSON property
sslConfig. -
#status ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConnectionStatus
ConnectionStatus indicates the state of the connection.
-
#subscription_type ⇒ String
Output only.
-
#suspended ⇒ Boolean
(also: #suspended?)
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1Connection
constructor
A new instance of GoogleCloudConnectorsV1Connection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1Connection
Returns a new instance of GoogleCloudConnectorsV1Connection.
5314 5315 5316 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5314 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfig
AuthConfig defines details of a authentication type.
Corresponds to the JSON property authConfig
5192 5193 5194 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5192 def auth_config @auth_config end |
#config_variables ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConfigVariable>
Optional. Configuration for configuring the connection with an external system.
Corresponds to the JSON property configVariables
5197 5198 5199 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5197 def config_variables @config_variables end |
#connection_revision ⇒ Fixnum
Output only. Connection revision. This field is only updated when the
connection is created or updated by User.
Corresponds to the JSON property connectionRevision
5203 5204 5205 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5203 def connection_revision @connection_revision end |
#connector_version ⇒ String
Required. Connector version on which the connection is created. The format is:
projects//locations//providers//connectors//versions/* Only global
location is supported for ConnectorVersion resource.
Corresponds to the JSON property connectorVersion
5210 5211 5212 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5210 def connector_version @connector_version end |
#connector_version_launch_stage ⇒ String
Output only. Flag to mark the version indicating the launch stage.
Corresponds to the JSON property connectorVersionLaunchStage
5215 5216 5217 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5215 def connector_version_launch_stage @connector_version_launch_stage end |
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
5220 5221 5222 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5220 def create_time @create_time end |
#description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property description
5225 5226 5227 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5225 def description @description end |
#destination_configs ⇒ Array<Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1DestinationConfig>
Optional. Configuration of the Connector's destination. Only accepted for
Connectors that accepts user defined destination(s).
Corresponds to the JSON property destinationConfigs
5231 5232 5233 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5231 def destination_configs @destination_configs end |
#envoy_image_location ⇒ String
Output only. GCR location where the envoy image is stored. formatted like: gcr.
io/bucketName/imageName
Corresponds to the JSON property envoyImageLocation
5237 5238 5239 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5237 def envoy_image_location @envoy_image_location end |
#image_location ⇒ String
Output only. GCR location where the runtime image is stored. formatted like:
gcr.io/bucketName/imageName
Corresponds to the JSON property imageLocation
5243 5244 5245 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5243 def image_location @image_location end |
#labels ⇒ Hash<String,String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud
documentation on labels for more details. https://cloud.google.com/compute/
docs/labeling-resources
Corresponds to the JSON property labels
5250 5251 5252 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5250 def labels @labels end |
#lock_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LockConfig
Determines whether or no a connection is locked. If locked, a reason must be
specified.
Corresponds to the JSON property lockConfig
5256 5257 5258 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5256 def lock_config @lock_config end |
#log_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1LogConfig
Log configuration for the connection.
Corresponds to the JSON property logConfig
5261 5262 5263 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5261 def log_config @log_config end |
#name ⇒ String
Output only. Resource name of the Connection. Format: projects/project/
locations/location/connections/connection
Corresponds to the JSON property name
5267 5268 5269 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5267 def name @name end |
#node_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1NodeConfig
Node configuration for the connection.
Corresponds to the JSON property nodeConfig
5272 5273 5274 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5272 def node_config @node_config end |
#service_account ⇒ String
Optional. Service account needed for runtime plane to access GCP resources.
Corresponds to the JSON property serviceAccount
5277 5278 5279 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5277 def service_account @service_account end |
#service_directory ⇒ String
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
5285 5286 5287 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5285 def service_directory @service_directory end |
#ssl_config ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1SslConfig
SSL Configuration of a connection
Corresponds to the JSON property sslConfig
5290 5291 5292 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5290 def ssl_config @ssl_config end |
#status ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1ConnectionStatus
ConnectionStatus indicates the state of the connection.
Corresponds to the JSON property status
5295 5296 5297 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5295 def status @status end |
#subscription_type ⇒ String
Output only. This subscription type enum states the subscription type of the
project.
Corresponds to the JSON property subscriptionType
5301 5302 5303 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5301 def subscription_type @subscription_type end |
#suspended ⇒ Boolean Also known as: suspended?
Optional. Suspended indicates if a user has suspended a connection or not.
Corresponds to the JSON property suspended
5306 5307 5308 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5306 def suspended @suspended end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
5312 5313 5314 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5312 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5319 def update!(**args) @auth_config = args[:auth_config] if args.key?(:auth_config) @config_variables = args[:config_variables] if args.key?(:config_variables) @connection_revision = args[:connection_revision] if args.key?(:connection_revision) @connector_version = args[:connector_version] if args.key?(:connector_version) @connector_version_launch_stage = args[:connector_version_launch_stage] if args.key?(:connector_version_launch_stage) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @destination_configs = args[:destination_configs] if args.key?(:destination_configs) @envoy_image_location = args[:envoy_image_location] if args.key?(:envoy_image_location) @image_location = args[:image_location] if args.key?(:image_location) @labels = args[:labels] if args.key?(:labels) @lock_config = args[:lock_config] if args.key?(:lock_config) @log_config = args[:log_config] if args.key?(:log_config) @name = args[:name] if args.key?(:name) @node_config = args[:node_config] if args.key?(:node_config) @service_account = args[:service_account] if args.key?(:service_account) @service_directory = args[:service_directory] if args.key?(:service_directory) @ssl_config = args[:ssl_config] if args.key?(:ssl_config) @status = args[:status] if args.key?(:status) @subscription_type = args[:subscription_type] if args.key?(:subscription_type) @suspended = args[:suspended] if args.key?(:suspended) @update_time = args[:update_time] if args.key?(:update_time) end |