Class: Google::Apis::ConnectorsV1::EndpointAttachment

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

represents the Connector's Endpoint Attachment resource

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndpointAttachment

Returns a new instance of EndpointAttachment.



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

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


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

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


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

def description
  @description
end

#endpoint_global_accessBoolean Also known as: endpoint_global_access?

Optional. The Private Service Connect Connection Endpoint Global Access. https: //cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints# global-access Corresponds to the JSON property endpointGlobalAccess

Returns:

  • (Boolean)


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

def endpoint_global_access
  @endpoint_global_access
end

#endpoint_ipString

Output only. The Private Service Connect connection endpoint ip Corresponds to the JSON property endpointIp

Returns:

  • (String)


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

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


1821
1822
1823
# File 'lib/google/apis/connectors_v1/classes.rb', line 1821

def labels
  @labels
end

#nameString

Output only. Resource name of the Endpoint Attachment. Format: projects/ project/locations/location/endpointAttachments/endpoint_attachment Corresponds to the JSON property name

Returns:

  • (String)


1827
1828
1829
# File 'lib/google/apis/connectors_v1/classes.rb', line 1827

def name
  @name
end

#service_attachmentString

Required. The path of the service attachment Corresponds to the JSON property serviceAttachment

Returns:

  • (String)


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

def service_attachment
  @service_attachment
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @endpoint_global_access = args[:endpoint_global_access] if args.key?(:endpoint_global_access)
  @endpoint_ip = args[:endpoint_ip] if args.key?(:endpoint_ip)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
  @update_time = args[:update_time] if args.key?(:update_time)
end