Class: Google::Apis::ComputeAlpha::InterconnectLocation

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Overview

Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InterconnectLocation

Returns a new instance of InterconnectLocation



15928
15929
15930
# File 'generated/google/apis/compute_alpha/classes.rb', line 15928

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

Instance Attribute Details

#addressString

[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character. Corresponds to the JSON property address

Returns:

  • (String)


15831
15832
15833
# File 'generated/google/apis/compute_alpha/classes.rb', line 15831

def address
  @address
end

#availability_zoneString

[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2". Corresponds to the JSON property availabilityZone

Returns:

  • (String)


15838
15839
15840
# File 'generated/google/apis/compute_alpha/classes.rb', line 15838

def availability_zone
  @availability_zone
end

#cityString

[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands". Corresponds to the JSON property city

Returns:

  • (String)


15844
15845
15846
# File 'generated/google/apis/compute_alpha/classes.rb', line 15844

def city
  @city
end

#continentString

[Output Only] Continent for this location, which can take one of the following values:

  • AFRICA
  • ASIA_PAC
  • EUROPE
  • NORTH_AMERICA
  • SOUTH_AMERICA Corresponds to the JSON property continent

Returns:

  • (String)


15855
15856
15857
# File 'generated/google/apis/compute_alpha/classes.rb', line 15855

def continent
  @continent
end

#creation_timestampString

[Output Only] Creation timestamp in RFC3339 text format. Corresponds to the JSON property creationTimestamp

Returns:

  • (String)


15860
15861
15862
# File 'generated/google/apis/compute_alpha/classes.rb', line 15860

def creation_timestamp
  @creation_timestamp
end

#descriptionString

[Output Only] An optional description of the resource. Corresponds to the JSON property description

Returns:

  • (String)


15865
15866
15867
# File 'generated/google/apis/compute_alpha/classes.rb', line 15865

def description
  @description
end

#facility_providerString

[Output Only] The name of the provider for this facility (e.g., EQUINIX). Corresponds to the JSON property facilityProvider

Returns:

  • (String)


15870
15871
15872
# File 'generated/google/apis/compute_alpha/classes.rb', line 15870

def facility_provider
  @facility_provider
end

#facility_provider_facility_idString

[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn- DC1). Corresponds to the JSON property facilityProviderFacilityId

Returns:

  • (String)


15876
15877
15878
# File 'generated/google/apis/compute_alpha/classes.rb', line 15876

def facility_provider_facility_id
  @facility_provider_facility_id
end

#idFixnum

[Output Only] The unique identifier for the resource. This identifier is defined by the server. Corresponds to the JSON property id

Returns:

  • (Fixnum)


15882
15883
15884
# File 'generated/google/apis/compute_alpha/classes.rb', line 15882

def id
  @id
end

#kindString

[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations. Corresponds to the JSON property kind

Returns:

  • (String)


15888
15889
15890
# File 'generated/google/apis/compute_alpha/classes.rb', line 15888

def kind
  @kind
end

#nameString

[Output Only] Name of the resource. Corresponds to the JSON property name

Returns:

  • (String)


15893
15894
15895
# File 'generated/google/apis/compute_alpha/classes.rb', line 15893

def name
  @name
end

#peeringdb_facility_idString

[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). Corresponds to the JSON property peeringdbFacilityId

Returns:

  • (String)


15899
15900
15901
# File 'generated/google/apis/compute_alpha/classes.rb', line 15899

def peeringdb_facility_id
  @peeringdb_facility_id
end

#region_infosArray<Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo>

[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions. Corresponds to the JSON property regionInfos



15906
15907
15908
# File 'generated/google/apis/compute_alpha/classes.rb', line 15906

def region_infos
  @region_infos
end

[Output Only] Server-defined URL for the resource. Corresponds to the JSON property selfLink

Returns:

  • (String)


15911
15912
15913
# File 'generated/google/apis/compute_alpha/classes.rb', line 15911

def self_link
  @self_link
end

[Output Only] Server-defined URL for this resource with the resource id. Corresponds to the JSON property selfLinkWithId

Returns:

  • (String)


15916
15917
15918
# File 'generated/google/apis/compute_alpha/classes.rb', line 15916

def self_link_with_id
  @self_link_with_id
end

#statusString

[Output Only] The status of this InterconnectLocation, which can take one of the following values:

  • CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects.
  • AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. Corresponds to the JSON property status

Returns:

  • (String)


15926
15927
15928
# File 'generated/google/apis/compute_alpha/classes.rb', line 15926

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
# File 'generated/google/apis/compute_alpha/classes.rb', line 15933

def update!(**args)
  @address = args[:address] if args.key?(:address)
  @availability_zone = args[:availability_zone] if args.key?(:availability_zone)
  @city = args[:city] if args.key?(:city)
  @continent = args[:continent] if args.key?(:continent)
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
  @description = args[:description] if args.key?(:description)
  @facility_provider = args[:facility_provider] if args.key?(:facility_provider)
  @facility_provider_facility_id = args[:facility_provider_facility_id] if args.key?(:facility_provider_facility_id)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
  @region_infos = args[:region_infos] if args.key?(:region_infos)
  @self_link = args[:self_link] if args.key?(:self_link)
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
  @status = args[:status] if args.key?(:status)
end