Class Google::Cloud::AccessApproval::V1::ApprovalRequest (v0.4.5)

A request for the customer to approve access to a resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#approve

def approve() -> ::Google::Cloud::AccessApproval::V1::ApproveDecision
Returns

#approve=

def approve=(value) -> ::Google::Cloud::AccessApproval::V1::ApproveDecision
Parameter
Returns

#dismiss

def dismiss() -> ::Google::Cloud::AccessApproval::V1::DismissDecision
Returns

#dismiss=

def dismiss=(value) -> ::Google::Cloud::AccessApproval::V1::DismissDecision
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".
Returns
  • (::String) — The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}".

#request_time

def request_time() -> ::Google::Protobuf::Timestamp
Returns

#request_time=

def request_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#requested_expiration

def requested_expiration() -> ::Google::Protobuf::Timestamp
Returns
  • (::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.

#requested_expiration=

def requested_expiration=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::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.
Returns
  • (::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.

#requested_locations

def requested_locations() -> ::Google::Cloud::AccessApproval::V1::AccessLocations
Returns

#requested_locations=

def requested_locations=(value) -> ::Google::Cloud::AccessApproval::V1::AccessLocations
Parameter
Returns

#requested_reason

def requested_reason() -> ::Google::Cloud::AccessApproval::V1::AccessReason
Returns

#requested_reason=

def requested_reason=(value) -> ::Google::Cloud::AccessApproval::V1::AccessReason
Parameter
Returns

#requested_resource_name

def requested_resource_name() -> ::String
Returns
  • (::String) — The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.

#requested_resource_name=

def requested_resource_name=(value) -> ::String
Parameter
  • value (::String) — The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.
Returns
  • (::String) — The resource for which approval is being requested. The format of the resource name is defined at https://cloud.google.com/apis/design/resource_names. The resource name here may either be a "full" resource name (e.g. "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" resource name (e.g. "shelves/shelf1/books/book2") as described in the resource name specification.

#requested_resource_properties

def requested_resource_properties() -> ::Google::Cloud::AccessApproval::V1::ResourceProperties
Returns

#requested_resource_properties=

def requested_resource_properties=(value) -> ::Google::Cloud::AccessApproval::V1::ResourceProperties
Parameter
Returns