Google Cloud Cloud Controls Partner V1beta Client - Class AccessApprovalRequest (0.2.2)

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class AccessApprovalRequest.

Details about the Access request.

Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.AccessApprovalRequest

Namespace

Google \ Cloud \ CloudControlsPartner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}

↳ request_time Google\Protobuf\Timestamp

The time at which approval was requested.

↳ requested_reason AccessReason

The justification for which approval is being requested.

↳ requested_expiration_time Google\Protobuf\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.

getName

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}

Returns
Type Description
string

setName

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/accessApprovalRequests/{access_approval_request}

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestTime

The time at which approval was requested.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasRequestTime

clearRequestTime

setRequestTime

The time at which approval was requested.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getRequestedReason

The justification for which approval is being requested.

Returns
Type Description
AccessReason|null

hasRequestedReason

clearRequestedReason

setRequestedReason

The justification for which approval is being requested.

Parameter
Name Description
var AccessReason
Returns
Type Description
$this

getRequestedExpirationTime

The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasRequestedExpirationTime

clearRequestedExpirationTime

setRequestedExpirationTime

The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this