NAME

Google::Cloud::Numberregistry::V1alpha::Core - Compiled Protocol Buffers messages for google/cloud/numberregistry/v1alpha/core.proto

SYNOPSIS

use Google::Cloud::Numberregistry::V1alpha::Core;

my $msg = Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScope->new({
    name => $name,
    enabled_addon_platforms => $enabled_addon_platforms,
    scopes => $scopes,
    state => $state,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScope->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/numberregistry/v1alpha/core.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScope

An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.

Inherits from Protobuf::Message.

Accessors

Enum: IpamAdminScope::AddOnPlatform

  • ADD_ON_PLATFORM_UNSPECIFIED => 0

  • COMPUTE_ENGINE => 1

  • GCE => 1

Enum: IpamAdminScope::DiscoveryPipelineState

  • DISCOVERY_PIPELINE_STATE_UNSPECIFIED => 0

  • INTERNAL_FAILURE => 1

  • FAILED => 2

  • SETUP_IN_PROGRESS => 3

  • READY_FOR_USE => 4

  • DELETING_IN_PROGRESS => 5

  • UPDATING => 6

  • RECOVERING => 7

  • DISABLED => 8

  • DELETION_COMPLETED => 9

  • CLEANUP_IN_PROGRESS => 11

  • READY_FOR_DELETION => 12

Google::Cloud::Numberregistry::V1alpha::Core::ListIpamAdminScopesRequest

Request message for the [CloudNumberRegistry.ListIpamAdminScopes][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListIpamAdminScopes] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name, for example `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to filter the results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Numberregistry::V1alpha::Core::ListIpamAdminScopesResponse

Response message for the [CloudNumberRegistry.ListIpamAdminScopes][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListIpamAdminScopes] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->ipam_admin_scopes() / $msg->ipam_admin_scopes($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScope)

    The list of IpamAdminScopes.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Numberregistry::V1alpha::Core::GetIpamAdminScopeRequest

Request message for the [CloudNumberRegistry.GetIpamAdminScope][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.GetIpamAdminScope] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the IpamAdminScope to retrieve.

Google::Cloud::Numberregistry::V1alpha::Core::CheckAvailabilityIpamAdminScopesRequest

Request message for the [CloudNumberRegistry.CheckAvailabilityIpamAdminScopes][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CheckAvailabilityIpamAdminScopes] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name, for example `projects/*/locations/*`.

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    Required. The administrative scopes to check for availability.

Google::Cloud::Numberregistry::V1alpha::Core::CheckAvailabilityIpamAdminScopesResponse

Response message for the [CloudNumberRegistry.CheckAvailabilityIpamAdminScopes][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CheckAvailabilityIpamAdminScopes] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScopeAvailability

Availability details for a specific IpamAdminScope.

Inherits from Protobuf::Message.

Accessors

Enum: IpamAdminScopeAvailability::Availability

  • AVAILABILITY_UNSPECIFIED => 0

  • AVAILABLE => 1

  • UNAVAILABLE => 2

Google::Cloud::Numberregistry::V1alpha::Core::CreateIpamAdminScopeRequest

Request message for the [CloudNumberRegistry.CreateIpamAdminScope][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CreateIpamAdminScope] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name where the IpamAdminScope will be created.

  • $msg->ipam_admin_scope_id() / $msg->ipam_admin_scope_id($value)

    Type: String

    Required. The ID to use for the IpamAdminScope, which will become the final segment of the resource name.

  • $msg->ipam_admin_scope() / $msg->ipam_admin_scope($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScope)

    Required. The IpamAdminScope resource to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::DisableIpamAdminScopeRequest

Request message for the [CloudNumberRegistry.DisableIpamAdminScope][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.DisableIpamAdminScope] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the IpamAdminScope to disable.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::CleanupIpamAdminScopeRequest

Request message for the [CloudNumberRegistry.CleanupIpamAdminScope][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CleanupIpamAdminScope] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the IpamAdminScope to clean up.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::UpdateIpamAdminScopeRequest

Request message for the [CloudNumberRegistry.UpdateIpamAdminScope][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.UpdateIpamAdminScope] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the IpamAdminScope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->ipam_admin_scope() / $msg->ipam_admin_scope($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::IpamAdminScope)

    Required. The IpamAdminScope resource to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::DeleteIpamAdminScopeRequest

Request message for the [CloudNumberRegistry.DeleteIpamAdminScope][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.DeleteIpamAdminScope] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the IpamAdminScope to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, all associated resources will be deleted.

Google::Cloud::Numberregistry::V1alpha::Core::RegistryBook

A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Identifier. The resource name of the RegistryBook.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the RegistryBook was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the RegistryBook was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::RegistryBook::LabelsEntry)

    Optional. User-defined labels.

  • $msg->claimed_scopes() / $msg->claimed_scopes($value)

    Type: String

    Optional. List of scopes claimed by the RegistryBook. In Preview, Only project scope is supported. Each scope is in the format of projects/{project}. Each scope can only be claimed once.

  • $msg->is_default() / $msg->is_default($value)

    Type: Bool

    Output only. Whether the RegistryBook is the default one.

  • $msg->aggregated_data() / $msg->aggregated_data($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::RegistryBook::AggregatedData)

    Output only. Aggregated data for the RegistryBook. Populated only when the view is AGGREGATE.

Google::Cloud::Numberregistry::V1alpha::Core::ListRegistryBooksRequest

Request message for the [CloudNumberRegistry.ListRegistryBooks][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListRegistryBooks] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name, for example `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to filter the results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results.

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Numberregistry::V1alpha::RegistryBookView)

    Optional. The view of the RegistryBook to retrieve.

Google::Cloud::Numberregistry::V1alpha::Core::ListRegistryBooksResponse

Response message for the [CloudNumberRegistry.ListRegistryBooks][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListRegistryBooks] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->registry_books() / $msg->registry_books($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::RegistryBook)

    The list of RegistryBook

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Numberregistry::V1alpha::Core::GetRegistryBookRequest

Request message for the [CloudNumberRegistry.GetRegistryBook][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.GetRegistryBook] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::SearchIpResourcesRequest

Request message for the [CloudNumberRegistry.SearchIpResources][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.SearchIpResources] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the RegistryBook to search in.

  • $msg->query() / $msg->query($value)

    Type: String

    Optional. Search query. This string filters resources in an AIP-160-like format. It has some limitations. You can only specify top level conjunctions or attribute level negations. Each restriction can only be used once except the attribute restriction.

    The available restrictions for Ranges are: - `realm`: The Realm name to search in. - `ip_address`: The IP address to search for within Ranges. - `ip_version`: The IP version to filter by (e.g., "IPV4", "IPV6"). - `parent_range`: The parent Range of the Range to search for. - `attribute_text`: The attribute text to search for within Ranges. - `attribute`: The attribute key and value to filter by.

    The available restrictions for Realms are: - `ip_version`: The IP version to search for. - `management_type`: The management type of the Realm (e.g., "CNR", "USER").

    Only one of attribute_text or multiple attribute filters can be specified. Examples: - `realm=test-realm` - `realm=test-realm AND ip_address=10.0.0.0` - `realm=test-realm AND ip_version=IPV6` - `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test AND parent_range=projects/123/locations/global/discoveredRanges/test-parent-range` - `management_type=CNR`

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results. Supported sort fields are: - `name`: Sort alphabetically by the resource name. - `create_time`: Sort by the creation timestamp of the resource. - `update_time`: Sort by the last update timestamp of the resource.

    Supported directions are `asc` (ascending) and `desc` (descending). If unspecified, direction defaults to `asc`. Only sorting by a single field is supported.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->show_utilization() / $msg->show_utilization($value)

    Type: Bool

    Optional. Whether to show the utilization of the Ranges in the response.

  • $msg->search_resource_types() / $msg->search_resource_types($value)

    Type: Enum (Google::Cloud::Numberregistry::V1alpha::SearchIpResourcesRequest::SearchResourceType)

    Optional. The type of resources to search for. If not specified, the server will return Ranges.

Enum: SearchIpResourcesRequest::SearchResourceType

  • SEARCH_RESOURCE_TYPE_UNSPECIFIED => 0

  • RANGES => 1

  • REALMS => 2

Google::Cloud::Numberregistry::V1alpha::Core::Range

Represents either a CustomRange or a DiscoveredRange.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::SearchIpResourcesResponse

Response message for the [CloudNumberRegistry.SearchIpResources][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.SearchIpResources] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::CreateRegistryBookRequest

Request message for the [CloudNumberRegistry.CreateRegistryBook][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CreateRegistryBook] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name where the RegistryBook will be created.

  • $msg->registry_book_id() / $msg->registry_book_id($value)

    Type: String

    Required. The ID to use for the RegistryBook, which will become the final segment of the resource name.

  • $msg->registry_book() / $msg->registry_book($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::RegistryBook)

    Required. The RegistryBook resource to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::UpdateRegistryBookRequest

Request message for the [CloudNumberRegistry.UpdateRegistryBook][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.UpdateRegistryBook] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the RegistryBook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->registry_book() / $msg->registry_book($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::RegistryBook)

    Required. The RegistryBook resource to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::DeleteRegistryBookRequest

Request message for the [CloudNumberRegistry.DeleteRegistryBook][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.DeleteRegistryBook] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the RegistryBook to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, all associated resources will be deleted.

Google::Cloud::Numberregistry::V1alpha::Core::Realm

A Realm represents a distinct network domain or security zone. It groups Ranges that share the same traffic and management characteristics. All the ranges in a Realm are routable to each other, meaning that they cannot overlap.

Inherits from Protobuf::Message.

Accessors

Enum: Realm::TrafficType

  • TRAFFIC_TYPE_UNSPECIFIED => 0

  • UNSET => 1

  • INTERNET => 2

  • PRIVATE => 3

  • LINKLOCAL => 4

Enum: Realm::ManagementType

  • MANAGEMENT_TYPE_UNSPECIFIED => 0

  • CNR => 1

  • USER => 2

Enum: Realm::RealmView

  • REALM_VIEW_UNSPECIFIED => 0

  • BASIC => 1

  • FULL => 2

  • AGGREGATE => 3

Google::Cloud::Numberregistry::V1alpha::Core::DiscoveryMetadata

Metadata about a discovered resource, tracking event times, state, and source information.

Inherits from Protobuf::Message.

Accessors

  • $msg->event_time() / $msg->event_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the event happened.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the resource was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time when the resource was last modified.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Numberregistry::V1alpha::DiscoveryMetadata::ResourceState)

    Output only. The state of the resource.

  • $msg->resource() / $msg->resource($value)

    Type: String

    Output only. The resource name of the discovered resource, should be API-agnostic. Example: "projects/{project_number}/networks/{network_id}".

  • $msg->resource_uri() / $msg->resource_uri($value)

    Type: String

    Output only. The resource uri of the discovered resource.

  • $msg->source_id() / $msg->source_id($value)

    Type: String

    Output only. The canonical google.aip.dev/122 name of the source resource.

  • $msg->source_sub_id() / $msg->source_sub_id($value)

    Type: String

    Output only. A single source resource can be the source of multiple CNR resources. This sub_id is used to distinguish between the different CNR resources derived from the same upstream resource. For example, a single subnetwork can be the source of multiple Ranges, one for each protocol. In this case, the sub_id could be "private-ipv4" or "private-ipv6".

Enum: DiscoveryMetadata::ResourceState

  • RESOURCE_STATE_UNSPECIFIED => 0

  • INVALID => 1

  • EXISTS => 2

  • DOES_NOT_EXIST => 3

  • ERROR => 4

Google::Cloud::Numberregistry::V1alpha::Core::ListRealmsRequest

Request message for the [CloudNumberRegistry.ListRealms][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListRealms] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name, for example `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to filter the results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results.

  • $msg->view() / $msg->view($value)

    Type: Enum (Google::Cloud::Numberregistry::V1alpha::Realm::RealmView)

    Optional. The view of the Realm to retrieve.

Google::Cloud::Numberregistry::V1alpha::Core::ListRealmsResponse

Response message for the [CloudNumberRegistry.ListRealms][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListRealms] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->realms() / $msg->realms($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::Realm)

    The list of Realms.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Numberregistry::V1alpha::Core::GetRealmRequest

Request message for the [CloudNumberRegistry.GetRealm][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.GetRealm] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::CreateRealmRequest

Request message for the [CloudNumberRegistry.CreateRealm][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CreateRealm] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name where the Realm will be created.

  • $msg->realm_id() / $msg->realm_id($value)

    Type: String

    Required. The ID to use for the Realm, which will become the final segment of the resource name.

  • $msg->realm() / $msg->realm($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::Realm)

    Required. The Realm resource to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

Google::Cloud::Numberregistry::V1alpha::Core::UpdateRealmRequest

Request message for the [CloudNumberRegistry.UpdateRealm][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.UpdateRealm] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the Realm resource by the update.

  • $msg->realm() / $msg->realm($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::Realm)

    Required. The Realm resource to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

Google::Cloud::Numberregistry::V1alpha::Core::DeleteRealmRequest

Request message for the [CloudNumberRegistry.DeleteRealm][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.DeleteRealm] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the Realm to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, all associated resources will be deleted.

Google::Cloud::Numberregistry::V1alpha::Core::DiscoveredRange

A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline.

Inherits from Protobuf::Message.

Accessors

  • $msg->ipv4_cidr_range() / $msg->ipv4_cidr_range($value)

    Type: String

    Optional. The IPv4 CIDR range of the DiscoveredRange.

  • $msg->ipv6_cidr_range() / $msg->ipv6_cidr_range($value)

    Type: String

    Optional. The IPv6 CIDR range of the DiscoveredRange.

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Identifier. The resource name of the DiscoveredRange, in the format `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`.

  • $msg->realm() / $msg->realm($value)

    Type: String

    Optional. The Realm of the DiscoveredRange.

  • $msg->parent_range() / $msg->parent_range($value)

    Type: String

    Optional. The resource name of the parent DiscoveredRange, in the format `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`.

  • $msg->registry_book() / $msg->registry_book($value)

    Type: String

    Output only. The RegistryBook of the DiscoveredRange.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Description of the DiscoveredRange.

  • $msg->discovery_metadata() / $msg->discovery_metadata($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::DiscoveryMetadata)

    Output only. Owner metadata for this DiscoveredRange. A unique set of metadata is associated with each DiscoveredRange. If an IP range is shared by multiple resources (e.g., an Address resource and an Instance resource, or multiple ForwardingRules),separate DiscoveredRanges are created, each with a distinct owner. This ensures each DiscoveredRange has its own unique set of attributes, labels, create time and update time.

  • $msg->attributes() / $msg->attributes($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::Attribute)

    Optional. The attributes of the DiscoveredRange.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the DiscoveredRange was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which the DiscoveredRange was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::DiscoveredRange::LabelsEntry)

    Optional. User-defined labels.

  • $msg->child_cidr_overlap_allowed() / $msg->child_cidr_overlap_allowed($value)

    Type: Bool

    Output only. If true, allows child DiscoveredRanges of this DiscoveredRange to overlap with each other.

Google::Cloud::Numberregistry::V1alpha::Core::ListDiscoveredRangesRequest

Request message for the [CloudNumberRegistry.ListDiscoveredRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListDiscoveredRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name, for example `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to filter the results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Numberregistry::V1alpha::Core::ListDiscoveredRangesResponse

Response message for the [CloudNumberRegistry.ListDiscoveredRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListDiscoveredRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->discovered_ranges() / $msg->discovered_ranges($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::DiscoveredRange)

    The list of DiscoveredRanges.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Numberregistry::V1alpha::Core::GetDiscoveredRangeRequest

Request message for the [CloudNumberRegistry.GetDiscoveredRange][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.GetDiscoveredRange] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the DiscoveredRange to retrieve.

Google::Cloud::Numberregistry::V1alpha::Core::FindDiscoveredRangeFreeIpRangesRequest

Request message for the [CloudNumberRegistry.FindDiscoveredRangeFreeIpRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.FindDiscoveredRangeFreeIpRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the DiscoveredRange to search within.

  • $msg->cidr_prefix_length() / $msg->cidr_prefix_length($value)

    Type: Int32

    Required. The prefix length of the free IP ranges to find.

  • $msg->range_count() / $msg->range_count($value)

    Type: Int32

    Optional. The number of free IP ranges to find.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::FindDiscoveredRangeFreeIpRangesResponse

Response message for the [CloudNumberRegistry.FindDiscoveredRangeFreeIpRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.FindDiscoveredRangeFreeIpRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->free_ip_cidr_ranges() / $msg->free_ip_cidr_ranges($value)

    Type: String

    Output only. The free IP CIDR ranges found.

Google::Cloud::Numberregistry::V1alpha::Core::CustomRange

A CustomRange represents a user-defined IP address range.

Inherits from Protobuf::Message.

Accessors

  • $msg->ipv4_cidr_range() / $msg->ipv4_cidr_range($value)

    Type: String

    Optional. The IPv4 CIDR range of the CustomRange.

  • $msg->ipv6_cidr_range() / $msg->ipv6_cidr_range($value)

    Type: String

    Optional. The IPv6 CIDR range of the CustomRange.

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Identifier. The resource name of the CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`.

  • $msg->realm() / $msg->realm($value)

    Type: String

    Optional. The resource name of the Realm associated with the CustomRange, in the format `projects/{project}/locations/{location}/realms/{realm}`. The Realm must be in the same project as the CustomRange. This field must not be set if the `parent_range` field is set, as the Realm will be inherited from the parent CustomRange.

  • $msg->parent_range() / $msg->parent_range($value)

    Type: String

    Optional. The resource name of the parent CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`. If specified, the parent CustomRange must be in the same RegistryBook. This field is mutually exclusive with the `realm` field, as the Realm is inherited from the parent CustomRange.

  • $msg->registry_book() / $msg->registry_book($value)

    Type: String

    Output only. The RegistryBook of the CustomRange. This field is inherited from the Realm or parent CustomRange depending on which one is specified.

  • $msg->attributes() / $msg->attributes($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::Attribute)

    Optional. The attributes of the CustomRange.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. The description of the CustomRange.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::CustomRange::LabelsEntry)

    Optional. User-defined labels.

Google::Cloud::Numberregistry::V1alpha::Core::Attribute

A key-value pair representing a custom attribute associated with a resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->key() / $msg->key($value)

    Type: String

    Required. The key of the attribute.

  • $msg->value() / $msg->value($value)

    Type: String

    Required. The value of the attribute.

Google::Cloud::Numberregistry::V1alpha::Core::ListCustomRangesRequest

Request message for the [CloudNumberRegistry.ListCustomRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListCustomRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name, for example `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to filter the results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Numberregistry::V1alpha::Core::ListCustomRangesResponse

Response message for the [CloudNumberRegistry.ListCustomRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ListCustomRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->custom_ranges() / $msg->custom_ranges($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::CustomRange)

    The list of CustomRanges.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve the next page of results, or empty if there are no more results in the list.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Numberregistry::V1alpha::Core::GetCustomRangeRequest

Request message for the [CloudNumberRegistry.GetCustomRange][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.GetCustomRange] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the CustomRange to retrieve.

Google::Cloud::Numberregistry::V1alpha::Core::ShowCustomRangeUtilizationRequest

Request message for the [CloudNumberRegistry.ShowCustomRangeUtilization][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ShowCustomRangeUtilization] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the CustomRange.

Google::Cloud::Numberregistry::V1alpha::Core::ShowCustomRangeUtilizationResponse

Response message for the [CloudNumberRegistry.ShowCustomRangeUtilization][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ShowCustomRangeUtilization] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::ShowDiscoveredRangeUtilizationRequest

Request message for the [CloudNumberRegistry.ShowDiscoveredRangeUtilization][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ShowDiscoveredRangeUtilization] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the DiscoveredRange.

Google::Cloud::Numberregistry::V1alpha::Core::ShowDiscoveredRangeUtilizationResponse

Response message for the [CloudNumberRegistry.ShowDiscoveredRangeUtilization][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.ShowDiscoveredRangeUtilization] method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Numberregistry::V1alpha::Core::RangeUtilization

Utilization metrics for an IP Range, including consumed and produced address counts.

Inherits from Protobuf::Message.

Accessors

  • $msg->total_consumed() / $msg->total_consumed($value)

    Type: String

    Output only. The total number of IP addresses consumed in the Range.

  • $msg->total_produced() / $msg->total_produced($value)

    Type: String

    Output only. The total number of IP addresses produced in the Range.

  • $msg->usage() / $msg->usage($value)

    Type: Double

    Output only. The usage of the Range as a percentage. This is marked as optional so that we have presence tracking and API responses show 0.0 instead of NULL.

Google::Cloud::Numberregistry::V1alpha::Core::CreateCustomRangeRequest

Request message for the [CloudNumberRegistry.CreateCustomRange][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.CreateCustomRange] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name where the CustomRange will be created.

  • $msg->custom_range_id() / $msg->custom_range_id($value)

    Type: String

    Required. The ID to use for the CustomRange, which will become the final segment of the resource name.

  • $msg->custom_range() / $msg->custom_range($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::CustomRange)

    Required. The CustomRange resource to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::UpdateCustomRangeRequest

Request message for the [CloudNumberRegistry.UpdateCustomRange][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.UpdateCustomRange] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the CustomRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->custom_range() / $msg->custom_range($value)

    Type: Message (Google::Cloud::Numberregistry::V1alpha::Core::CustomRange)

    Required. The CustomRange resource to update.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::DeleteCustomRangeRequest

Request message for the [CloudNumberRegistry.DeleteCustomRange][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.DeleteCustomRange] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the CustomRange to delete.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, all associated resources will be deleted.

Google::Cloud::Numberregistry::V1alpha::Core::FindCustomRangeFreeIpRangesRequest

Request message for the [CloudNumberRegistry.FindCustomRangeFreeIpRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.FindCustomRangeFreeIpRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the CustomRange to search within.

  • $msg->cidr_prefix_length() / $msg->cidr_prefix_length($value)

    Type: Int32

    Required. The prefix length of the free IP ranges to find.

  • $msg->range_count() / $msg->range_count($value)

    Type: Int32

    Optional. The number of free IP ranges to find.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Numberregistry::V1alpha::Core::FindCustomRangeFreeIpRangesResponse

Response message for the [CloudNumberRegistry.FindCustomRangeFreeIpRanges][google.cloud.numberregistry.v1alpha.CloudNumberRegistry.FindCustomRangeFreeIpRanges] method.

Inherits from Protobuf::Message.

Accessors

  • $msg->free_ip_cidr_ranges() / $msg->free_ip_cidr_ranges($value)

    Type: String

    Output only. The free IP CIDR ranges found.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Numberregistry::V1alpha::Core::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.