Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EndpointAttachment

Returns a new instance of GoogleCloudApigeeV1EndpointAttachment.



4139
4140
4141
# File 'lib/google/apis/apigee_v1/classes.rb', line 4139

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

Instance Attribute Details

#connection_stateString

Output only. State of the endpoint attachment connection to the service attachment. Corresponds to the JSON property connectionState

Returns:

  • (String)


4109
4110
4111
# File 'lib/google/apis/apigee_v1/classes.rb', line 4109

def connection_state
  @connection_state
end

#hostString

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

Returns:

  • (String)


4115
4116
4117
# File 'lib/google/apis/apigee_v1/classes.rb', line 4115

def host
  @host
end

#locationString

Required. Location of the endpoint attachment. Corresponds to the JSON property location

Returns:

  • (String)


4120
4121
4122
# File 'lib/google/apis/apigee_v1/classes.rb', line 4120

def location
  @location
end

#nameString

Name of the endpoint attachment. Use the following structure in your request: organizations/org/endpointAttachments/endpoint_attachment` Corresponds to the JSON propertyname`

Returns:

  • (String)


4126
4127
4128
# File 'lib/google/apis/apigee_v1/classes.rb', line 4126

def name
  @name
end

#service_attachmentString

Format: projects//regions//serviceAttachments/* Corresponds to the JSON property serviceAttachment

Returns:

  • (String)


4131
4132
4133
# File 'lib/google/apis/apigee_v1/classes.rb', line 4131

def service_attachment
  @service_attachment
end

#stateString

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

Returns:

  • (String)


4137
4138
4139
# File 'lib/google/apis/apigee_v1/classes.rb', line 4137

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4144
4145
4146
4147
4148
4149
4150
4151
# File 'lib/google/apis/apigee_v1/classes.rb', line 4144

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