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.



2962
2963
2964
# File 'lib/google/apis/apigee_v1/classes.rb', line 2962

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)


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

def host
  @host
end

#locationString

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

Returns:

  • (String)


2949
2950
2951
# File 'lib/google/apis/apigee_v1/classes.rb', line 2949

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)


2955
2956
2957
# File 'lib/google/apis/apigee_v1/classes.rb', line 2955

def name
  @name
end

#service_attachmentString

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

Returns:

  • (String)


2960
2961
2962
# File 'lib/google/apis/apigee_v1/classes.rb', line 2960

def service_attachment
  @service_attachment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2967
2968
2969
2970
2971
2972
# File 'lib/google/apis/apigee_v1/classes.rb', line 2967

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