Class: Google::Cloud::AccessApproval::V1::ApprovalRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#approve::Google::Cloud::AccessApproval::V1::ApproveDecision

Returns Access was approved.

Returns:



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.

Returns:



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}".

Returns:

  • (::String)

    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.

Returns:



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.

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.



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.

Returns:



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.

Returns:



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.

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.



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.

Returns:



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