Class: Google::Cloud::Compute::V1::Address

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Represents an IP Address resource. Google Compute Engine has two IP Address resources: * Global (external and internal) * Regional (external and internal) For more information, see Reserving a static external IP address.

Defined Under Namespace

Modules: AddressType, IpVersion, NetworkTier, Purpose, Status

Instance Attribute Summary collapse

Instance Attribute Details

#address::String

Returns The static IP address represented by this resource.

Returns:

  • (::String)

    The static IP address represented by this resource.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#address_type::String

Returns The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. Check the AddressType enum for the list of possible values.

Returns:

  • (::String)

    The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. Check the AddressType enum for the list of possible values.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#description::String

Returns An optional description of this resource. Provide this field when you create the resource.

Returns:

  • (::String)

    An optional description of this resource. Provide this field when you create the resource.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#id::Integer

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#ip_version::String

Returns The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. Check the IpVersion enum for the list of possible values.

Returns:

  • (::String)

    The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. Check the IpVersion enum for the list of possible values.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#kind::String

Returns [Output Only] Type of the resource. Always compute#address for addresses.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#address for addresses.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#name::String

Returns Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.

Returns:

  • (::String)

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#network::String

Returns The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.

Returns:

  • (::String)

    The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#network_tier::String

Returns This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. Check the NetworkTier enum for the list of possible values.

Returns:

  • (::String)

    This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. Check the NetworkTier enum for the list of possible values.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#prefix_length::Integer

Returns The prefix length if the resource represents an IP range.

Returns:

  • (::Integer)

    The prefix length if the resource represents an IP range.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#purpose::String

Returns The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an IPsec-encrypted Cloud Interconnect configuration. These addresses are regional resources. Not currently available publicly. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. Check the Purpose enum for the list of possible values.

Returns:

  • (::String)

    The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an IPsec-encrypted Cloud Interconnect configuration. These addresses are regional resources. Not currently available publicly. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. Check the Purpose enum for the list of possible values.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#region::String

Returns [Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses..

Returns:

  • (::String)

    [Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. This field is not applicable to global addresses.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

Returns [Output Only] Server-defined URL for the resource.

Returns:

  • (::String)

    [Output Only] Server-defined URL for the resource.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#status::String

Returns [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. Check the Status enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. Check the Status enum for the list of possible values.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#subnetwork::String

Returns The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.

Returns:

  • (::String)

    The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end

#users::Array<::String>

Returns [Output Only] The URLs of the resources that are using this address.

Returns:

  • (::Array<::String>)

    [Output Only] The URLs of the resources that are using this address.



587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 587

class Address
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
  module AddressType
    # A value indicating that the enum field is not set.
    UNDEFINED_ADDRESS_TYPE = 0

    # A publicly visible external IP address.
    EXTERNAL = 35607499

    # A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.
    INTERNAL = 279295677

    UNSPECIFIED_TYPE = 53933922
  end

  # The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2254341

    IPV6 = 2254343

    UNSPECIFIED_VERSION = 21850000
  end

  # This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.
  module NetworkTier
    # A value indicating that the enum field is not set.
    UNDEFINED_NETWORK_TIER = 0

    # Public internet quality with fixed bandwidth.
    FIXED_STANDARD = 310464328

    # High quality, Google-grade network tier, support for all networking products.
    PREMIUM = 399530551

    # Public internet quality, only limited support for other networking products.
    STANDARD = 484642493

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465847234
  end

  # The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *IPsec-encrypted Cloud Interconnect* configuration. These addresses are regional resources. Not currently available publicly. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.
  module Purpose
    # A value indicating that the enum field is not set.
    UNDEFINED_PURPOSE = 0

    # DNS resolver address in the subnetwork.
    DNS_RESOLVER = 476114556

    # VM internal/alias IP, Internal LB service IP, etc.
    GCE_ENDPOINT = 230515243

    # A regional internal IP address range reserved for the VLAN attachment that is used in IPsec-encrypted Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range.
    IPSEC_INTERCONNECT = 340437251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163666477

    # A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL
    PRIVATE_SERVICE_CONNECT = 48134724

    # A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.
    SHARED_LOADBALANCER_VIP = 294447572

    # IP range for peer networks.
    VPC_PEERING = 400800170
  end

  # [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # Address is being used by another resource and is not available.
    IN_USE = 17393485

    # Address is reserved and available to use.
    RESERVED = 432241448

    # Address is being reserved.
    RESERVING = 514587225
  end
end