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

Enum: OdbSubnet::Purpose

  • PURPOSE_UNSPECIFIED => 0

  • CLIENT_SUBNET => 1

  • BACKUP_SUBNET => 2

Enum: OdbSubnet::State

  • STATE_UNSPECIFIED => 0

  • PROVISIONING => 1

  • AVAILABLE => 2

  • TERMINATING => 3

  • FAILED => 4

Google::Cloud::Oracledatabase::V1::OdbSubnet::CreateOdbSubnetRequest

The request for `OdbSubnet.Create`.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. 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: String

    Required. 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: String

    Optional. 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: String

    Optional. 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: String

    Required. 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: String

    Optional. 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: String

    Required. 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: Int32

    Optional. 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: String

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

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

    Type: String

    Optional. An expression for filtering the results of the request.

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

    Type: String

    Optional. 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: String

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

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

    Type: String

    Unreachable 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: String

    Required. 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.