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_global_access ⇒ Boolean
(also: #endpoint_global_access?)
Optional.
-
#endpoint_ip ⇒ String
Output only.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#service_attachment ⇒ String
Required.
-
#state ⇒ String
Output only.
-
#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.
2967 2968 2969 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Created time.
Corresponds to the JSON property createTime
2918 2919 2920 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2918 def create_time @create_time end |
#description ⇒ String
Optional. Description of the resource.
Corresponds to the JSON property description
2923 2924 2925 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2923 def description @description end |
#endpoint_global_access ⇒ Boolean 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
2930 2931 2932 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2930 def endpoint_global_access @endpoint_global_access end |
#endpoint_ip ⇒ String
Output only. The Private Service Connect connection endpoint ip
Corresponds to the JSON property endpointIp
2936 2937 2938 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2936 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
2943 2944 2945 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2943 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
2949 2950 2951 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2949 def name @name end |
#service_attachment ⇒ String
Required. The path of the service attachment
Corresponds to the JSON property serviceAttachment
2954 2955 2956 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2954 def @service_attachment end |
#state ⇒ String
Output only. The Private Service Connect Connection Endpoint State. This value
is only available in the Full view.
Corresponds to the JSON property state
2960 2961 2962 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2960 def state @state end |
#update_time ⇒ String
Output only. Updated time.
Corresponds to the JSON property updateTime
2965 2966 2967 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2965 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2972 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 |