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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EndpointAttachment

Returns a new instance of GoogleCloudApigeeV1EndpointAttachment.



2938
2939
2940
# File 'lib/google/apis/apigee_v1/classes.rb', line 2938

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

Instance Attribute Details

#hostString

Output only. Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server. Corresponds to the JSON property host

Returns:

  • (String)


2920
2921
2922
# File 'lib/google/apis/apigee_v1/classes.rb', line 2920

def host
  @host
end

#locationString

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

Returns:

  • (String)


2925
2926
2927
# File 'lib/google/apis/apigee_v1/classes.rb', line 2925

def location
  @location
end

#nameString

Name of the Endpoint Attachment in the following format: organizations/ organization/endpointAttachments/endpoint_attachment`. Corresponds to the JSON propertyname`

Returns:

  • (String)


2931
2932
2933
# File 'lib/google/apis/apigee_v1/classes.rb', line 2931

def name
  @name
end

#service_attachmentString

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

Returns:

  • (String)


2936
2937
2938
# File 'lib/google/apis/apigee_v1/classes.rb', line 2936

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2943
2944
2945
2946
2947
2948
# File 'lib/google/apis/apigee_v1/classes.rb', line 2943

def update!(**args)
  @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)
end