NAME
Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests - Compiled Protocol Buffers messages for google/cloud/cloudcontrolspartner/v1/access_approval_requests.proto
SYNOPSIS
use Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests;
my $msg = Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::AccessApprovalRequest->new({
name => $name,
request_time => $request_time,
requested_reason => $requested_reason,
requested_expiration_time => $requested_expiration_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::AccessApprovalRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/cloudcontrolspartner/v1/access_approval_requests.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::Cloudcontrolspartner::V1::AccessApprovalRequests::AccessApprovalRequest
Details about the Access request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}`
$msg->request_time()/$msg->request_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time at which approval was requested.
$msg->requested_reason()/$msg->requested_reason($value)Type:
Message(Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::AccessReason)The justification for which approval is being requested.
$msg->requested_expiration_time()/$msg->requested_expiration_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::ListAccessApprovalRequestsRequest
Request for getting the access requests associated with a workload.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent resource Format: `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of access requests to return. The service may return fewer than this value. If unspecified, at most 500 access requests will be returned.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous `ListAccessApprovalRequests` call. Provide this to retrieve the subsequent page.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results.
Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::ListAccessApprovalRequestsResponse
Response message for list access requests.
Inherits from Protobuf::Message.
Accessors
$msg->access_approval_requests()/$msg->access_approval_requests($value)Type:
Message(Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::AccessApprovalRequest)List of access approval requests
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::AccessReason
Reason for the access.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Cloudcontrolspartner::V1::AccessReason::Type)Type of access justification.
$msg->detail()/$msg->detail($value)Type:
StringMore detail about certain reason types. See comments for each type above.
Enum: AccessReason::Type
TYPE_UNSPECIFIED=>0CUSTOMER_INITIATED_SUPPORT=>1GOOGLE_INITIATED_SERVICE=>2GOOGLE_INITIATED_REVIEW=>3THIRD_PARTY_DATA_REQUEST=>4GOOGLE_RESPONSE_TO_PRODUCTION_ALERT=>5CLOUD_INITIATED_ACCESS=>6
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Cloudcontrolspartner::V1::AccessApprovalRequests::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.