Class: Google::Cloud::Compute::V1::PublicDelegatedPrefix

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

Overview

A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.

Defined Under Namespace

Modules: ByoipApiVersion, Mode, Status

Instance Attribute Summary collapse

Instance Attribute Details

#allocatable_prefix_length::Integer

Returns The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.

Returns:

  • (::Integer)

    The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#byoip_api_version::String

Returns [Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#creation_timestamp::String

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

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#description::String

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

Returns:

  • (::String)

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



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#fingerprint::String

Returns Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.

Returns:

  • (::String)

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#id::Integer

Returns [Output Only] The unique identifier for the resource type. The server generates this identifier.

Returns:

  • (::Integer)

    [Output Only] The unique identifier for the resource type. The server generates this identifier.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#ip_cidr_range::String

Returns The IP address range, in CIDR format, represented by this public delegated prefix.

Returns:

  • (::String)

    The IP address range, in CIDR format, represented by this public delegated prefix.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#is_live_migration::Boolean

Returns If true, the prefix will be live migrated.

Returns:

  • (::Boolean)

    If true, the prefix will be live migrated.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#kind::String

Returns [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.

Returns:

  • (::String)

    [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#mode::String

Returns The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.

Returns:

  • (::String)

    The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#name::String

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

Returns:

  • (::String)

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



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#parent_prefix::String

Returns The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.

Returns:

  • (::String)

    The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#public_delegated_sub_prefixs::Array<::Google::Cloud::Compute::V1::PublicDelegatedPrefixPublicDelegatedSubPrefix>

Returns The list of sub public delegated prefixes that exist for this public delegated prefix.

Returns:



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#region::String

Returns [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Returns:

  • (::String)

    [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

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

Returns:

  • (::String)

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



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end

#status::String

Returns [Output Only] The status of the public delegated prefix, which can be one of following values: - INITIALIZING The public delegated prefix is being initialized and addresses cannot be created yet. - READY_TO_ANNOUNCE The public delegated prefix is a live migration prefix and is active. - ANNOUNCED The public delegated prefix is active. - DELETING The public delegated prefix is being deprovsioned. Check the Status enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] The status of the public delegated prefix, which can be one of following values: - INITIALIZING The public delegated prefix is being initialized and addresses cannot be created yet. - READY_TO_ANNOUNCE The public delegated prefix is a live migration prefix and is active. - ANNOUNCED The public delegated prefix is active. - DELETING The public delegated prefix is being deprovsioned. Check the Status enum for the list of possible values.



25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 25174

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

  # [Output Only] The version of BYOIP API.
  module ByoipApiVersion
    # A value indicating that the enum field is not set.
    UNDEFINED_BYOIP_API_VERSION = 0

    # This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.
    V1 = 2715

    # This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status.
    V2 = 2716
  end

  # The public delegated prefix mode for IPv6 only.
  module Mode
    # A value indicating that the enum field is not set.
    UNDEFINED_MODE = 0

    # The public delegated prefix is used for further sub-delegation only. Such prefixes cannot set allocatablePrefixLength.
    DELEGATION = 264_149_288

    # The public delegated prefix is used for creating forwarding rules only. Such prefixes cannot set publicDelegatedSubPrefixes.
    EXTERNAL_IPV6_FORWARDING_RULE_CREATION = 398_684_356
  end

  # [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
  module Status
    # A value indicating that the enum field is not set.
    UNDEFINED_STATUS = 0

    # The public delegated prefix is active.
    ANNOUNCED = 365_103_355

    # The prefix is announced within Google network.
    ANNOUNCED_TO_GOOGLE = 454_875_705

    # The prefix is announced to Internet and within Google.
    ANNOUNCED_TO_INTERNET = 177_880_897

    # The public delegated prefix is being deprovsioned.
    DELETING = 528_602_024

    # The public delegated prefix is being initialized and addresses cannot be created yet.
    INITIALIZING = 306_588_749

    # The public delegated prefix is currently withdrawn but ready to be announced.
    READY_TO_ANNOUNCE = 64_641_265
  end
end