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:

For more information, see Reserving a static external IP address.

Defined Under Namespace

Modules: AddressType, IpVersion, Ipv6EndpointType, NetworkTier, Purpose, Status Classes: LabelsEntry

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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#address_type::String

Returns The type of address to reserve, either INTERNAL orEXTERNAL. 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 orEXTERNAL. If unspecified, defaults to EXTERNAL. Check the AddressType enum for the list of possible values.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#creation_timestamp::String

Returns Output only. [Output Only] Creation timestamp inRFC3339 text format.

Returns:

  • (::String)

    Output only. [Output Only] Creation timestamp inRFC3339 text format.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#id::Integer

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

Returns:

  • (::Integer)

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



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#ip_collection::String

Returns Reference to the source of external IPv4 addresses, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 allocations.

Use one of the following formats to specify a PDP when reserving an external IPv4 address using BYOIP.

- Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name - Partial URL, as in

      - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name
      - regions/region/publicDelegatedPrefixes/pdp-name.

Returns:

  • (::String)

    Reference to the source of external IPv4 addresses, like a PublicDelegatedPrefix (PDP) for BYOIP. The PDP must support enhanced IPv4 allocations.

    Use one of the following formats to specify a PDP when reserving an external IPv4 address using BYOIP.

    - Full resource URL, as inhttps://www.googleapis.com/compute/v1/projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name - Partial URL, as in

          - projects/projectId/regions/region/publicDelegatedPrefixes/pdp-name
          - regions/region/publicDelegatedPrefixes/pdp-name
    


1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#ip_version::String

Returns The IP version that will be used by this address. Valid options areIPV4 or IPV6. Check the IpVersion enum for the list of possible values.

Returns:

  • (::String)

    The IP version that will be used by this address. Valid options areIPV4 or IPV6. Check the IpVersion enum for the list of possible values.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#ipv6_endpoint_type::String

Returns The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. Check the Ipv6EndpointType enum for the list of possible values.

Returns:

  • (::String)

    The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation. Check the Ipv6EndpointType enum for the list of possible values.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#kind::String

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

Returns:

  • (::String)

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



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#label_fingerprint::String

Returns A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error412 conditionNotMet.

To see the latest fingerprint, make a get() request to retrieve an Address.

Returns:

  • (::String)

    A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error412 conditionNotMet.

    To see the latest fingerprint, make a get() request to retrieve an Address.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035. Label values may be empty.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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 withRFC1035. 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 withRFC1035. 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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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 theVPC_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 theVPC_PEERING purpose.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#network_tier::String

Returns This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM orSTANDARD. 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 orSTANDARD. 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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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
 *HA VPN over Cloud Interconnect* configuration. These addresses
 are regional resources.
 - `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
     *HA VPN over Cloud Interconnect* configuration. These addresses
     are regional resources.
     - `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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#region::String

Returns Output only. [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. [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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

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

Returns:

  • (::String)

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



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end

#status::String

Returns Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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. [Output Only] The status of the address, which can be one ofRESERVING, 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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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 aGCE_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 aGCE_ENDPOINT or DNS_RESOLVER purpose.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  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.



1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 1332

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The type of address to reserve, either INTERNAL orEXTERNAL. 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 = 35_607_499

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

    UNSPECIFIED_TYPE = 53_933_922
  end

  # The IP version that will be used by this address. Valid options areIPV4 or IPV6.
  module IpVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_IP_VERSION = 0

    IPV4 = 2_254_341

    IPV6 = 2_254_343

    UNSPECIFIED_VERSION = 21_850_000
  end

  # The endpoint type of this address, which should be VM
  # or NETLB. This is used for deciding which type of endpoint
  # this address can be used after the external IPv6 address reservation.
  module Ipv6EndpointType
    # A value indicating that the enum field is not set.
    UNDEFINED_IPV6_ENDPOINT_TYPE = 0

    # Reserved IPv6 address can be used on network load balancer.
    NETLB = 74_173_363

    # Reserved IPv6 address can be used on VM.
    VM = 2743
  end

  # This signifies the networking tier used for configuring this address and
  # can only take the following values: PREMIUM orSTANDARD. 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 = 310_464_328

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

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

    # (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier
    # is expired or not configured.
    STANDARD_OVERRIDES_FIXED_STANDARD = 465_847_234
  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
  #      *HA VPN over Cloud Interconnect* configuration. These addresses
  #      are regional resources.
  #      - `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 = 476_114_556

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

    # A regional internal IP address range reserved for the VLAN attachment
    # that is used in HA VPN over 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 = 340_437_251

    # External IP automatically reserved for Cloud NAT.
    NAT_AUTO = 163_666_477

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

    # A regional internal IP address range reserved for Serverless.
    SERVERLESS = 270_492_508

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

    # IP range for peer networks.
    VPC_PEERING = 400_800_170
  end

  # Output only. [Output Only] The status of the address, which can be one ofRESERVING, 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 = 17_393_485

    # Address is reserved and available to use.
    RESERVED = 432_241_448

    # Address is being reserved.
    RESERVING = 514_587_225
  end
end