Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Apigee endpoint attachment. For more information, see Southbound networking patterns.
Instance Attribute Summary collapse
-
#connection_state ⇒ String
Output only.
-
#host ⇒ String
Output only.
-
#location ⇒ String
Required.
-
#name ⇒ String
Name of the endpoint attachment.
-
#service_attachment ⇒ String
Format: projects//regions//serviceAttachments/* Corresponds to the JSON property
serviceAttachment. -
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1EndpointAttachment
constructor
A new instance of GoogleCloudApigeeV1EndpointAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1EndpointAttachment
Returns a new instance of GoogleCloudApigeeV1EndpointAttachment.
3240 3241 3242 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_state ⇒ String
Output only. State of the endpoint attachment connection to the service
attachment.
Corresponds to the JSON property connectionState
3210 3211 3212 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3210 def connection_state @connection_state end |
#host ⇒ String
Output only. Host that can be used in either the HTTP target endpoint directly
or as the host in target server.
Corresponds to the JSON property host
3216 3217 3218 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3216 def host @host end |
#location ⇒ String
Required. Location of the endpoint attachment.
Corresponds to the JSON property location
3221 3222 3223 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3221 def location @location end |
#name ⇒ String
Name of the endpoint attachment. Use the following structure in your request:
organizations/org/endpointAttachments/endpoint_attachment`
Corresponds to the JSON propertyname`
3227 3228 3229 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3227 def name @name end |
#service_attachment ⇒ String
Format: projects//regions//serviceAttachments/*
Corresponds to the JSON property serviceAttachment
3232 3233 3234 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3232 def @service_attachment end |
#state ⇒ String
Output only. State of the endpoint attachment. Values other than ACTIVE mean
the resource is not ready to use.
Corresponds to the JSON property state
3238 3239 3240 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3238 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3245 3246 3247 3248 3249 3250 3251 3252 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3245 def update!(**args) @connection_state = args[:connection_state] if args.key?(:connection_state) @host = args[:host] if args.key?(:host) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @service_attachment = args[:service_attachment] if args.key?(:service_attachment) @state = args[:state] if args.key?(:state) end |