NAME

Google::Cloud::Managedidentities::V1beta1::Resource - Compiled Protocol Buffers messages for google/cloud/managedidentities/v1beta1/resource.proto

SYNOPSIS

use Google::Cloud::Managedidentities::V1beta1::Resource;

my $msg = Google::Cloud::Managedidentities::V1beta1::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::V1beta1::Resource::Domain->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/managedidentities/v1beta1/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::V1beta1::Resource::Domain

Represents a managed Microsoft Active Directory domain. If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. 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::V1beta1::Resource::Domain::LabelsEntry)

    Optional. Resource labels that can contain user-provided metadata.

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

    Type: String

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

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

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

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

    Output 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::V1beta1::Domain::State)

    Output only. The current state of this domain.

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

    Type: String

    Output only. Additional information about the current status of this domain, if available.

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

    Type: Message (Google::Cloud::Managedidentities::V1beta1::Resource::Trust)

    Output only. The current trusts associated with the domain.

Enum: Domain::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • UPDATING => 3

  • DELETING => 4

  • REPAIRING => 5

  • PERFORMING_MAINTENANCE => 6

  • UNAVAILABLE => 7

Google::Cloud::Managedidentities::V1beta1::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: String

    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::V1beta1::Trust::TrustType)

    The type of trust represented by the trust resource.

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

    Type: Enum (Google::Cloud::Managedidentities::V1beta1::Trust::TrustDirection)

    The trust direction, which decides if the current domain is trusted, trusting, or both.

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

    Type: Bool

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

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

    Input only. The trust secret used for the handshake with the target domain. It 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::V1beta1::Trust::State)

    Output only. The current state of the trust.

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

    Type: String

    Output 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 => 0

  • CREATING => 1

  • UPDATING => 2

  • DELETING => 3

  • CONNECTED => 4

  • DISCONNECTED => 5

Enum: Trust::TrustType

  • TRUST_TYPE_UNSPECIFIED => 0

  • FOREST => 1

  • EXTERNAL => 2

Enum: Trust::TrustDirection

  • TRUST_DIRECTION_UNSPECIFIED => 0

  • INBOUND => 1

  • OUTBOUND => 2

  • BIDIRECTIONAL => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Managedidentities::V1beta1::Resource::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.