Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoConnectorsConnection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoConnectorsConnection

Returns a new instance of EnterpriseCrmEventbusProtoConnectorsConnection.



540
541
542
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 540

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

Instance Attribute Details

#connection_nameString

Connection name Format: projects/project/locations/location/connections/ connection Corresponds to the JSON property connectionName

Returns:

  • (String)


526
527
528
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 526

def connection_name
  @connection_name
end

#connector_versionString

Connector version Format: projects/project/locations/location/providers/ provider/connectors/connector/versions/version Corresponds to the JSON property connectorVersion

Returns:

  • (String)


532
533
534
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 532

def connector_version
  @connector_version
end

#service_nameString

Service name Format: projects/project/locations/location/namespaces/ namespace/services/service Corresponds to the JSON property serviceName

Returns:

  • (String)


538
539
540
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 538

def service_name
  @service_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



545
546
547
548
549
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 545

def update!(**args)
  @connection_name = args[:connection_name] if args.key?(:connection_name)
  @connector_version = args[:connector_version] if args.key?(:connector_version)
  @service_name = args[:service_name] if args.key?(:service_name)
end