Class: Google::Cloud::AccessApproval::V1::ApprovalRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AccessApproval::V1::ApprovalRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/accessapproval/v1/accessapproval.rb
Overview
A request for the customer to approve access to a resource.
Instance Attribute Summary collapse
-
#approve ⇒ ::Google::Cloud::AccessApproval::V1::ApproveDecision
Access was approved.
-
#dismiss ⇒ ::Google::Cloud::AccessApproval::V1::DismissDecision
The request was dismissed.
-
#name ⇒ ::String
The resource name of the request.
-
#request_time ⇒ ::Google::Protobuf::Timestamp
The time at which approval was requested.
-
#requested_expiration ⇒ ::Google::Protobuf::Timestamp
The requested expiration for the approval.
-
#requested_locations ⇒ ::Google::Cloud::AccessApproval::V1::AccessLocations
The locations for which approval is being requested.
-
#requested_reason ⇒ ::Google::Cloud::AccessApproval::V1::AccessReason
The justification for which approval is being requested.
-
#requested_resource_name ⇒ ::String
The resource for which approval is being requested.
-
#requested_resource_properties ⇒ ::Google::Cloud::AccessApproval::V1::ResourceProperties
Properties related to the resource represented by requested_resource_name.
Instance Attribute Details
#approve ⇒ ::Google::Cloud::AccessApproval::V1::ApproveDecision
Returns Access was approved.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#dismiss ⇒ ::Google::Cloud::AccessApproval::V1::DismissDecision
Returns The request was dismissed.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The resource name of the request. Format is "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}".
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#request_time ⇒ ::Google::Protobuf::Timestamp
Returns The time at which approval was requested.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requested_expiration ⇒ ::Google::Protobuf::Timestamp
Returns The requested expiration for the approval. If the request is approved, access will be granted from the time of approval until the expiration time.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requested_locations ⇒ ::Google::Cloud::AccessApproval::V1::AccessLocations
Returns The locations for which approval is being requested.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requested_reason ⇒ ::Google::Cloud::AccessApproval::V1::AccessReason
Returns The justification for which approval is being requested.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requested_resource_name ⇒ ::String
Returns 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.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requested_resource_properties ⇒ ::Google::Cloud::AccessApproval::V1::ResourceProperties
Returns Properties related to the resource represented by requested_resource_name.
207 208 209 210 |
# File 'proto_docs/google/cloud/accessapproval/v1/accessapproval.rb', line 207 class ApprovalRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |