Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1Connection

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb

Overview

Connection represents an instance of connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1Connection

Returns a new instance of GoogleCloudConnectorsV1Connection.



5629
5630
5631
# File 'lib/google/apis/integrations_v1/classes.rb', line 5629

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

Instance Attribute Details

#async_operations_enabledBoolean Also known as: async_operations_enabled?

Optional. Async operations enabled for the connection. If Async Operations is enabled, Connection allows the customers to initiate async long running operations using the actions API. Corresponds to the JSON property asyncOperationsEnabled

Returns:

  • (Boolean)


5448
5449
5450
# File 'lib/google/apis/integrations_v1/classes.rb', line 5448

def async_operations_enabled
  @async_operations_enabled
end

#auth_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfig

AuthConfig defines details of a authentication type. Corresponds to the JSON property authConfig



5454
5455
5456
# File 'lib/google/apis/integrations_v1/classes.rb', line 5454

def auth_config
  @auth_config
end

#auth_override_enabledBoolean Also known as: auth_override_enabled?

Optional. Auth override enabled for the connection. If Auth Override is enabled, Connection allows the backend service auth to be overridden in the entities/actions API. Corresponds to the JSON property authOverrideEnabled

Returns:

  • (Boolean)


5461
5462
5463
# File 'lib/google/apis/integrations_v1/classes.rb', line 5461

def auth_override_enabled
  @auth_override_enabled
end

#billing_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1BillingConfig

Billing config for the connection. Corresponds to the JSON property billingConfig



5467
5468
5469
# File 'lib/google/apis/integrations_v1/classes.rb', line 5467

def billing_config
  @billing_config
end

#config_variablesArray<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConfigVariable>

Optional. Configuration for configuring the connection with an external system. Corresponds to the JSON property configVariables



5472
5473
5474
# File 'lib/google/apis/integrations_v1/classes.rb', line 5472

def config_variables
  @config_variables
end

#connection_revisionFixnum

Output only. Connection revision. This field is only updated when the connection is created or updated by User. Corresponds to the JSON property connectionRevision

Returns:

  • (Fixnum)


5478
5479
5480
# File 'lib/google/apis/integrations_v1/classes.rb', line 5478

def connection_revision
  @connection_revision
end

#connector_versionString

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

Returns:

  • (String)


5485
5486
5487
# File 'lib/google/apis/integrations_v1/classes.rb', line 5485

def connector_version
  @connector_version
end

#connector_version_infra_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConnectorVersionInfraConfig

This cofiguration provides infra configs like rate limit threshold which need to be configurable for every connector version Corresponds to the JSON property connectorVersionInfraConfig



5491
5492
5493
# File 'lib/google/apis/integrations_v1/classes.rb', line 5491

def connector_version_infra_config
  @connector_version_infra_config
end

#connector_version_launch_stageString

Output only. Flag to mark the version indicating the launch stage. Corresponds to the JSON property connectorVersionLaunchStage

Returns:

  • (String)


5496
5497
5498
# File 'lib/google/apis/integrations_v1/classes.rb', line 5496

def connector_version_launch_stage
  @connector_version_launch_stage
end

#create_timeString

Output only. Created time. Corresponds to the JSON property createTime

Returns:

  • (String)


5501
5502
5503
# File 'lib/google/apis/integrations_v1/classes.rb', line 5501

def create_time
  @create_time
end

#descriptionString

Optional. Description of the resource. Corresponds to the JSON property description

Returns:

  • (String)


5506
5507
5508
# File 'lib/google/apis/integrations_v1/classes.rb', line 5506

def description
  @description
end

#destination_configsArray<Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1DestinationConfig>

Optional. Configuration of the Connector's destination. Only accepted for Connectors that accepts user defined destination(s). Corresponds to the JSON property destinationConfigs



5512
5513
5514
# File 'lib/google/apis/integrations_v1/classes.rb', line 5512

def destination_configs
  @destination_configs
end

#envoy_image_locationString

Output only. GCR location where the envoy image is stored. formatted like: gcr. io/bucketName/imageName Corresponds to the JSON property envoyImageLocation

Returns:

  • (String)


5518
5519
5520
# File 'lib/google/apis/integrations_v1/classes.rb', line 5518

def envoy_image_location
  @envoy_image_location
end

#eventing_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingConfig

Eventing Configuration of a connection Corresponds to the JSON property eventingConfig



5523
5524
5525
# File 'lib/google/apis/integrations_v1/classes.rb', line 5523

def eventing_config
  @eventing_config
end

#eventing_enablement_typeString

Optional. Eventing enablement type. Will be nil if eventing is not enabled. Corresponds to the JSON property eventingEnablementType

Returns:

  • (String)


5528
5529
5530
# File 'lib/google/apis/integrations_v1/classes.rb', line 5528

def eventing_enablement_type
  @eventing_enablement_type
end

#eventing_runtime_dataGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1EventingRuntimeData

Eventing runtime data has the details related to eventing managed by the system. Corresponds to the JSON property eventingRuntimeData



5534
5535
5536
# File 'lib/google/apis/integrations_v1/classes.rb', line 5534

def eventing_runtime_data
  @eventing_runtime_data
end

#hostString

Output only. The name of the Hostname of the Service Directory service with TLS. Corresponds to the JSON property host

Returns:

  • (String)


5540
5541
5542
# File 'lib/google/apis/integrations_v1/classes.rb', line 5540

def host
  @host
end

#image_locationString

Output only. GCR location where the runtime image is stored. formatted like: gcr.io/bucketName/imageName Corresponds to the JSON property imageLocation

Returns:

  • (String)


5546
5547
5548
# File 'lib/google/apis/integrations_v1/classes.rb', line 5546

def image_location
  @image_location
end

#is_trusted_testerBoolean Also known as: is_trusted_tester?

Output only. Is trusted tester program enabled for the project. Corresponds to the JSON property isTrustedTester

Returns:

  • (Boolean)


5551
5552
5553
# File 'lib/google/apis/integrations_v1/classes.rb', line 5551

def is_trusted_tester
  @is_trusted_tester
end

#labelsHash<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

Returns:

  • (Hash<String,String>)


5559
5560
5561
# File 'lib/google/apis/integrations_v1/classes.rb', line 5559

def labels
  @labels
end

#lock_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1LockConfig

Determines whether or no a connection is locked. If locked, a reason must be specified. Corresponds to the JSON property lockConfig



5565
5566
5567
# File 'lib/google/apis/integrations_v1/classes.rb', line 5565

def lock_config
  @lock_config
end

#log_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1LogConfig

Log configuration for the connection. Corresponds to the JSON property logConfig



5570
5571
5572
# File 'lib/google/apis/integrations_v1/classes.rb', line 5570

def log_config
  @log_config
end

#nameString

Output only. Resource name of the Connection. Format: projects/project/ locations/location/connections/connection Corresponds to the JSON property name

Returns:

  • (String)


5576
5577
5578
# File 'lib/google/apis/integrations_v1/classes.rb', line 5576

def name
  @name
end

#node_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1NodeConfig

Node configuration for the connection. Corresponds to the JSON property nodeConfig



5581
5582
5583
# File 'lib/google/apis/integrations_v1/classes.rb', line 5581

def node_config
  @node_config
end

#service_accountString

Optional. Service account needed for runtime plane to access Google Cloud resources. Corresponds to the JSON property serviceAccount

Returns:

  • (String)


5587
5588
5589
# File 'lib/google/apis/integrations_v1/classes.rb', line 5587

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


5595
5596
5597
# File 'lib/google/apis/integrations_v1/classes.rb', line 5595

def service_directory
  @service_directory
end

#ssl_configGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1SslConfig

SSL Configuration of a connection Corresponds to the JSON property sslConfig



5600
5601
5602
# File 'lib/google/apis/integrations_v1/classes.rb', line 5600

def ssl_config
  @ssl_config
end

#statusGoogle::Apis::IntegrationsV1::GoogleCloudConnectorsV1ConnectionStatus

ConnectionStatus indicates the state of the connection. Corresponds to the JSON property status



5605
5606
5607
# File 'lib/google/apis/integrations_v1/classes.rb', line 5605

def status
  @status
end

#subscription_typeString

Output only. This subscription type enum states the subscription type of the project. Corresponds to the JSON property subscriptionType

Returns:

  • (String)


5611
5612
5613
# File 'lib/google/apis/integrations_v1/classes.rb', line 5611

def subscription_type
  @subscription_type
end

#suspendedBoolean Also known as: suspended?

Optional. Suspended indicates if a user has suspended a connection or not. Corresponds to the JSON property suspended

Returns:

  • (Boolean)


5616
5617
5618
# File 'lib/google/apis/integrations_v1/classes.rb', line 5616

def suspended
  @suspended
end

#tls_service_directoryString

Output only. The name of the Service Directory service with TLS. Corresponds to the JSON property tlsServiceDirectory

Returns:

  • (String)


5622
5623
5624
# File 'lib/google/apis/integrations_v1/classes.rb', line 5622

def tls_service_directory
  @tls_service_directory
end

#update_timeString

Output only. Updated time. Corresponds to the JSON property updateTime

Returns:

  • (String)


5627
5628
5629
# File 'lib/google/apis/integrations_v1/classes.rb', line 5627

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
# File 'lib/google/apis/integrations_v1/classes.rb', line 5634

def update!(**args)
  @async_operations_enabled = args[:async_operations_enabled] if args.key?(:async_operations_enabled)
  @auth_config = args[:auth_config] if args.key?(:auth_config)
  @auth_override_enabled = args[:auth_override_enabled] if args.key?(:auth_override_enabled)
  @billing_config = args[:billing_config] if args.key?(:billing_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_infra_config = args[:connector_version_infra_config] if args.key?(:connector_version_infra_config)
  @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)
  @eventing_config = args[:eventing_config] if args.key?(:eventing_config)
  @eventing_enablement_type = args[:eventing_enablement_type] if args.key?(:eventing_enablement_type)
  @eventing_runtime_data = args[:eventing_runtime_data] if args.key?(:eventing_runtime_data)
  @host = args[:host] if args.key?(:host)
  @image_location = args[:image_location] if args.key?(:image_location)
  @is_trusted_tester = args[:is_trusted_tester] if args.key?(:is_trusted_tester)
  @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)
  @tls_service_directory = args[:tls_service_directory] if args.key?(:tls_service_directory)
  @update_time = args[:update_time] if args.key?(:update_time)
end