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.



1133
1134
1135
# File 'lib/google/apis/connectors_v1/classes.rb', line 1133

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


1098
1099
1100
# File 'lib/google/apis/connectors_v1/classes.rb', line 1098

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/connectors_v1/classes.rb', line 1103

def description
  @description
end

#endpoint_ipString

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

Returns:

  • (String)


1108
1109
1110
# File 'lib/google/apis/connectors_v1/classes.rb', line 1108

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


1115
1116
1117
# File 'lib/google/apis/connectors_v1/classes.rb', line 1115

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)


1121
1122
1123
# File 'lib/google/apis/connectors_v1/classes.rb', line 1121

def name
  @name
end

#service_attachmentString

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

Returns:

  • (String)


1126
1127
1128
# File 'lib/google/apis/connectors_v1/classes.rb', line 1126

def service_attachment
  @service_attachment
end

#update_timeString

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

Returns:

  • (String)


1131
1132
1133
# File 'lib/google/apis/connectors_v1/classes.rb', line 1131

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'lib/google/apis/connectors_v1/classes.rb', line 1138

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @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