Class: Google::Apis::ConnectorsV1::EndpointAttachment
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::EndpointAttachment
- 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
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#endpoint_ip ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#service_attachment ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndpointAttachment
constructor
A new instance of EndpointAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EndpointAttachment
Returns a new instance of EndpointAttachment.
1742 1743 1744 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1742 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
1707 1708 1709 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1707 def create_time @create_time end |
#description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property description
1712 1713 1714 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1712 def description @description end |
#endpoint_ip ⇒ String
Output only. The Private Service Connect connection endpoint ip
Corresponds to the JSON property endpointIp
1717 1718 1719 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1717 def endpoint_ip @endpoint_ip end |
#labels ⇒ Hash<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
1724 1725 1726 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1724 def labels @labels end |
#name ⇒ String
Output only. Resource name of the Endpoint Attachment. Format: projects/
project/locations/location/endpointAttachments/endpoint_attachment
Corresponds to the JSON property name
1730 1731 1732 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1730 def name @name end |
#service_attachment ⇒ String
Required. The path of the service attachment
Corresponds to the JSON property serviceAttachment
1735 1736 1737 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1735 def @service_attachment end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
1740 1741 1742 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1740 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1747 1748 1749 1750 1751 1752 1753 1754 1755 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 1747 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 |