Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoConnectorsConnection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoConnectorsConnection

Returns a new instance of EnterpriseCrmEventbusProtoConnectorsConnection.



676
677
678
# File 'lib/google/apis/integrations_v1/classes.rb', line 676

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)


657
658
659
# File 'lib/google/apis/integrations_v1/classes.rb', line 657

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)


663
664
665
# File 'lib/google/apis/integrations_v1/classes.rb', line 663

def connector_version
  @connector_version
end

#hostString

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

Returns:

  • (String)


668
669
670
# File 'lib/google/apis/integrations_v1/classes.rb', line 668

def host
  @host
end

#service_nameString

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

Returns:

  • (String)


674
675
676
# File 'lib/google/apis/integrations_v1/classes.rb', line 674

def service_name
  @service_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



681
682
683
684
685
686
# File 'lib/google/apis/integrations_v1/classes.rb', line 681

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