Reference documentation and code samples for the Privileged Access Manager V1 API class Google::Cloud::PrivilegedAccessManager::V1::PrivilegedAccessManager::Rest::ServiceStub.
REST service stub for the PrivilegedAccessManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#approve_grant
def approve_grant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::Grant
Baseline implementation for the approve_grant REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::ApproveGrantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::Grant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::Grant) — A result object deserialized from the server's reply
- (::ArgumentError)
#check_onboarding_status
def check_onboarding_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::CheckOnboardingStatusResponse
Baseline implementation for the check_onboarding_status REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::CheckOnboardingStatusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::CheckOnboardingStatusResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::CheckOnboardingStatusResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_entitlement
def create_entitlement(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_entitlement REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::CreateEntitlementRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_grant
def create_grant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::Grant
Baseline implementation for the create_grant REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::CreateGrantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::Grant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::Grant) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_entitlement
def delete_entitlement(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_entitlement REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::DeleteEntitlementRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#deny_grant
def deny_grant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::Grant
Baseline implementation for the deny_grant REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::DenyGrantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::Grant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::Grant) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_entitlement
def get_entitlement(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::Entitlement
Baseline implementation for the get_entitlement REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::GetEntitlementRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::Entitlement)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::Entitlement) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_grant
def get_grant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::Grant
Baseline implementation for the get_grant REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::GetGrantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::Grant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::Grant) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_entitlements
def list_entitlements(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::ListEntitlementsResponse
Baseline implementation for the list_entitlements REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::ListEntitlementsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::ListEntitlementsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::ListEntitlementsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_grants
def list_grants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::ListGrantsResponse
Baseline implementation for the list_grants REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::ListGrantsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::ListGrantsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::ListGrantsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#revoke_grant
def revoke_grant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the revoke_grant REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::RevokeGrantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_entitlements
def search_entitlements(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsResponse
Baseline implementation for the search_entitlements REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::SearchEntitlementsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_grants
def search_grants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivilegedAccessManager::V1::SearchGrantsResponse
Baseline implementation for the search_grants REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::SearchGrantsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::PrivilegedAccessManager::V1::SearchGrantsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivilegedAccessManager::V1::SearchGrantsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_entitlement
def update_entitlement(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_entitlement REST call
- request_pb (::Google::Cloud::PrivilegedAccessManager::V1::UpdateEntitlementRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)