NAME
Google::Cloud::Oracledatabase::V1::OdbSubnet - Compiled Protocol Buffers messages for google/cloud/oracledatabase/v1/odb_subnet.proto
SYNOPSIS
use Google::Cloud::Oracledatabase::V1::OdbSubnet;
my $msg = Google::Cloud::Oracledatabase::V1::OdbSubnet::OdbSubnet->new({
name => $name,
cidr_range => $cidr_range,
purpose => $purpose,
labels => $labels,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Oracledatabase::V1::OdbSubnet::OdbSubnet->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/oracledatabase/v1/odb_subnet.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::Oracledatabase::V1::OdbSubnet::OdbSubnet
Represents OdbSubnet resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
$msg->cidr_range()/$msg->cidr_range($value)Type:
StringRequired. Immutable. The CIDR range of the subnet.
$msg->purpose()/$msg->purpose($value)Type:
Enum(Google::Cloud::Oracledatabase::V1::OdbSubnet::Purpose)Required. Immutable. Purpose of the subnet.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbSubnet::OdbSubnet::LabelsEntry)Optional. Labels or tags associated with the resource.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The date and time that the OdbNetwork was created.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Oracledatabase::V1::OdbSubnet::State)Output only. State of the ODB Subnet.
Enum: OdbSubnet::Purpose
PURPOSE_UNSPECIFIED=>0CLIENT_SUBNET=>1BACKUP_SUBNET=>2
Enum: OdbSubnet::State
STATE_UNSPECIFIED=>0PROVISIONING=>1AVAILABLE=>2TERMINATING=>3FAILED=>4
Google::Cloud::Oracledatabase::V1::OdbSubnet::CreateOdbSubnetRequest
The request for `OdbSubnet.Create`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.
$msg->odb_subnet_id()/$msg->odb_subnet_id($value)Type:
StringRequired. The ID of the OdbSubnet to create. This value is restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
$msg->odb_subnet()/$msg->odb_subnet($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbSubnet::OdbSubnet)Required. Details of the OdbSubnet instance to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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::Oracledatabase::V1::OdbSubnet::UpdateOdbSubnetRequest
The request for `OdbSubnet.Update`.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. A mask specifying which fields in the OdbSubnet should be updated. A field specified in the mask is updated. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the `update_mask`.
$msg->odb_subnet()/$msg->odb_subnet($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbSubnet::OdbSubnet)Required. The resource being updated. Note only labels can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify `labels` in the `update_mask` and omit or leave the `labels` field empty in the update request.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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::Oracledatabase::V1::OdbSubnet::DeleteOdbSubnetRequest
The request for `OdbSubnet.Delete`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores 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::Oracledatabase::V1::OdbSubnet::ListOdbSubnetsRequest
The request for `OdbSubnet.List`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of items to return. If unspecified, at most 50 ODB Networks will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. An expression for filtering the results of the request.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. An expression for ordering the results of the request.
Google::Cloud::Oracledatabase::V1::OdbSubnet::ListOdbSubnetsResponse
The response for `OdbSubnet.List`.
Inherits from Protobuf::Message.
Accessors
$msg->odb_subnets()/$msg->odb_subnets($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbSubnet::OdbSubnet)The list of ODB Subnets.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnreachable locations when listing resources across all locations using wildcard location '-'.
Google::Cloud::Oracledatabase::V1::OdbSubnet::GetOdbSubnetRequest
The request for `OdbSubnet.Get`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Oracledatabase::V1::OdbSubnet::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.