NAME
Google::Cloud::Managedidentities::V1::Resource - Compiled Protocol Buffers messages for google/cloud/managedidentities/v1/resource.proto
SYNOPSIS
use Google::Cloud::Managedidentities::V1::Resource;
my $msg = Google::Cloud::Managedidentities::V1::Resource::Domain->new({
name => $name,
labels => $labels,
authorized_networks => $authorized_networks,
reserved_ip_range => $reserved_ip_range,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Managedidentities::V1::Resource::Domain->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/managedidentities/v1/resource.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::Managedidentities::V1::Resource::Domain
Represents a managed Microsoft Active Directory domain.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Managedidentities::V1::Resource::Domain::LabelsEntry)Optional. Resource labels that can contain user-provided metadata.
$msg->authorized_networks()/$msg->authorized_networks($value)Type:
StringOptional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
$msg->reserved_ip_range()/$msg->reserved_ip_range($value)Type:
StringRequired. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
$msg->locations()/$msg->locations($value)Type:
StringRequired. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
$msg->admin()/$msg->admin($value)Type:
StringOptional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.
$msg->fqdn()/$msg->fqdn($value)Type:
StringOutput only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the instance was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last update time.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Managedidentities::V1::Domain::State)Output only. The current state of this domain.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Additional information about the current status of this domain, if available.
$msg->trusts()/$msg->trusts($value)Type:
Message(Google::Cloud::Managedidentities::V1::Resource::Trust)Output only. The current trusts associated with the domain.
Enum: Domain::State
STATE_UNSPECIFIED=>0CREATING=>1READY=>2UPDATING=>3DELETING=>4REPAIRING=>5PERFORMING_MAINTENANCE=>6UNAVAILABLE=>7
Google::Cloud::Managedidentities::V1::Resource::Trust
Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain.
Inherits from Protobuf::Message.
Accessors
$msg->target_domain_name()/$msg->target_domain_name($value)Type:
StringRequired. The fully qualified target domain name which will be in trust with the current domain.
$msg->trust_type()/$msg->trust_type($value)Type:
Enum(Google::Cloud::Managedidentities::V1::Trust::TrustType)Required. The type of trust represented by the trust resource.
$msg->trust_direction()/$msg->trust_direction($value)Type:
Enum(Google::Cloud::Managedidentities::V1::Trust::TrustDirection)Required. The trust direction, which decides if the current domain is trusted, trusting, or both.
$msg->selective_authentication()/$msg->selective_authentication($value)Type:
BoolOptional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.
$msg->target_dns_ip_addresses()/$msg->target_dns_ip_addresses($value)Type:
StringRequired. The target DNS server IP addresses which can resolve the remote domain involved in the trust.
$msg->trust_handshake_secret()/$msg->trust_handshake_secret($value)Type:
StringRequired. The trust secret used for the handshake with the target domain. This will not be stored.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the instance was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last update time.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Managedidentities::V1::Trust::State)Output only. The current state of the trust.
$msg->state_description()/$msg->state_description($value)Type:
StringOutput only. Additional information about the current state of the trust, if available.
$msg->last_trust_heartbeat_time()/$msg->last_trust_heartbeat_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The last heartbeat time when the trust was known to be connected.
Enum: Trust::State
STATE_UNSPECIFIED=>0CREATING=>1UPDATING=>2DELETING=>3CONNECTED=>4DISCONNECTED=>5
Enum: Trust::TrustType
TRUST_TYPE_UNSPECIFIED=>0FOREST=>1EXTERNAL=>2
Enum: Trust::TrustDirection
TRUST_DIRECTION_UNSPECIFIED=>0INBOUND=>1OUTBOUND=>2BIDIRECTIONAL=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Managedidentities::V1::Resource::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.