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
- (::Google::Cloud::AccessApproval::V1::ApproveDecision) — Access was approved.
#approve=
def approve=(value) -> ::Google::Cloud::AccessApproval::V1::ApproveDecision
Parameter
- value (::Google::Cloud::AccessApproval::V1::ApproveDecision) — Access was approved.
Returns
- (::Google::Cloud::AccessApproval::V1::ApproveDecision) — Access was approved.
#dismiss
def dismiss() -> ::Google::Cloud::AccessApproval::V1::DismissDecision
Returns
- (::Google::Cloud::AccessApproval::V1::DismissDecision) — The request was dismissed.
#dismiss=
def dismiss=(value) -> ::Google::Cloud::AccessApproval::V1::DismissDecision
Parameter
- value (::Google::Cloud::AccessApproval::V1::DismissDecision) — The request was dismissed.
Returns
- (::Google::Cloud::AccessApproval::V1::DismissDecision) — The request was dismissed.
#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
- (::Google::Protobuf::Timestamp) — The time at which approval was requested.
#request_time=
def request_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which approval was requested.
Returns
- (::Google::Protobuf::Timestamp) — The time at which approval was requested.
#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
- (::Google::Cloud::AccessApproval::V1::AccessLocations) — The locations for which approval is being requested.
#requested_locations=
def requested_locations=(value) -> ::Google::Cloud::AccessApproval::V1::AccessLocations
Parameter
- value (::Google::Cloud::AccessApproval::V1::AccessLocations) — The locations for which approval is being requested.
Returns
- (::Google::Cloud::AccessApproval::V1::AccessLocations) — The locations for which approval is being requested.
#requested_reason
def requested_reason() -> ::Google::Cloud::AccessApproval::V1::AccessReason
Returns
- (::Google::Cloud::AccessApproval::V1::AccessReason) — The justification for which approval is being requested.
#requested_reason=
def requested_reason=(value) -> ::Google::Cloud::AccessApproval::V1::AccessReason
Parameter
- value (::Google::Cloud::AccessApproval::V1::AccessReason) — The justification for which approval is being requested.
Returns
- (::Google::Cloud::AccessApproval::V1::AccessReason) — The justification for which approval is being requested.
#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
- (::Google::Cloud::AccessApproval::V1::ResourceProperties) — Properties related to the resource represented by requested_resource_name.
#requested_resource_properties=
def requested_resource_properties=(value) -> ::Google::Cloud::AccessApproval::V1::ResourceProperties
Parameter
- value (::Google::Cloud::AccessApproval::V1::ResourceProperties) — Properties related to the resource represented by requested_resource_name.
Returns
- (::Google::Cloud::AccessApproval::V1::ResourceProperties) — Properties related to the resource represented by requested_resource_name.