NAME
Google::Cloud::Oracledatabase::V1::OdbDnsZone - Compiled Protocol Buffers messages for google/cloud/oracledatabase/v1/odb_dns_zone.proto
SYNOPSIS
use Google::Cloud::Oracledatabase::V1::OdbDnsZone;
my $msg = Google::Cloud::Oracledatabase::V1::OdbDnsZone::OdbDnsZone->new({
name => $name,
domain => $domain,
labels => $labels,
state => $state,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Oracledatabase::V1::OdbDnsZone::OdbDnsZone->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/oracledatabase/v1/odb_dns_zone.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::OdbDnsZone::OdbDnsZone
Represents OdbDnsZone resource.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The name of the OdbDnsZone resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
$msg->domain()/$msg->domain($value)Type:
StringRequired. Immutable. The DNS suffix for the zone. Ex: abc.example.com.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbDnsZone::OdbDnsZone::LabelsEntry)Optional. Labels or tags associated with the resource.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Oracledatabase::V1::OdbDnsZone::State)Output only. State of the OdbDnsZone.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The date and time that the OdbDnsZone was created.
Enum: OdbDnsZone::State
STATE_UNSPECIFIED=>0PROVISIONING=>1AVAILABLE=>2INACTIVE=>3TERMINATING=>4FAILED=>5
Google::Cloud::Oracledatabase::V1::OdbDnsZone::CreateOdbDnsZoneRequest
The request for `OdbDnsZone.Create`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent value for the OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.
$msg->odb_dns_zone_id()/$msg->odb_dns_zone_id($value)Type:
StringRequired. The ID of the OdbDnsZone 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_dns_zone()/$msg->odb_dns_zone($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbDnsZone::OdbDnsZone)Required. Details of the OdbDnsZone 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::OdbDnsZone::DeleteOdbDnsZoneRequest
The request for `OdbDnsZone.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/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}.
$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::OdbDnsZone::ListOdbDnsZonesRequest
The request for `OdbDnsZone.List`.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent value for the OdbDnsZone 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 OdbDnsZones 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::OdbDnsZone::ListOdbDnsZonesResponse
The response for `OdbDnsZone.List`.
Inherits from Protobuf::Message.
Accessors
$msg->odb_dns_zones()/$msg->odb_dns_zones($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbDnsZone::OdbDnsZone)The list of OdbDnsZones.
$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::OdbDnsZone::GetOdbDnsZoneRequest
The request for `OdbDnsZone.Get`.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}.
Google::Cloud::Oracledatabase::V1::OdbDnsZone::UpdateOdbDnsZoneRequest
The request for `OdbDnsZone.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 OdbDnsZone 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_dns_zone()/$msg->odb_dns_zone($value)Type:
Message(Google::Cloud::Oracledatabase::V1::OdbDnsZone::OdbDnsZone)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).
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Oracledatabase::V1::OdbDnsZone::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.