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.



2217
2218
2219
# File 'lib/google/apis/connectors_v1/classes.rb', line 2217

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


2168
2169
2170
# File 'lib/google/apis/connectors_v1/classes.rb', line 2168

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


2173
2174
2175
# File 'lib/google/apis/connectors_v1/classes.rb', line 2173

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)


2180
2181
2182
# File 'lib/google/apis/connectors_v1/classes.rb', line 2180

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)


2186
2187
2188
# File 'lib/google/apis/connectors_v1/classes.rb', line 2186

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>)


2193
2194
2195
# File 'lib/google/apis/connectors_v1/classes.rb', line 2193

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)


2199
2200
2201
# File 'lib/google/apis/connectors_v1/classes.rb', line 2199

def name
  @name
end

#service_attachmentString

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

Returns:

  • (String)


2204
2205
2206
# File 'lib/google/apis/connectors_v1/classes.rb', line 2204

def service_attachment
  @service_attachment
end

#stateString

Output only. The Private Service Connect Connection Endpoint State. This value is only available in the Full view. Corresponds to the JSON property state

Returns:

  • (String)


2210
2211
2212
# File 'lib/google/apis/connectors_v1/classes.rb', line 2210

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


2215
2216
2217
# File 'lib/google/apis/connectors_v1/classes.rb', line 2215

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
# File 'lib/google/apis/connectors_v1/classes.rb', line 2222

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)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end