Reference documentation and code samples for the Audit Manager V1 API class Google::Cloud::AuditManager::V1::AuditManager::Rest::ServiceStub.
REST service stub for the AuditManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#enroll_resource
def enroll_resource(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::EnrollmentBaseline implementation for the enroll_resource REST call
- request_pb (::Google::Cloud::AuditManager::V1::EnrollResourceRequest) — 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::AuditManager::V1::Enrollment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::Enrollment) — A result object deserialized from the server's reply
- (::ArgumentError)
#generate_audit_report
def generate_audit_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the generate_audit_report REST call
- request_pb (::Google::Cloud::AuditManager::V1::GenerateAuditReportRequest) — 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)
#generate_audit_scope_report
def generate_audit_scope_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::AuditScopeReportBaseline implementation for the generate_audit_scope_report REST call
- request_pb (::Google::Cloud::AuditManager::V1::GenerateAuditScopeReportRequest) — 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::AuditManager::V1::AuditScopeReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::AuditScopeReport) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_audit_report
def get_audit_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::AuditReportBaseline implementation for the get_audit_report REST call
- request_pb (::Google::Cloud::AuditManager::V1::GetAuditReportRequest) — 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::AuditManager::V1::AuditReport)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::AuditReport) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_resource_enrollment_status
def get_resource_enrollment_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatusBaseline implementation for the get_resource_enrollment_status REST call
- request_pb (::Google::Cloud::AuditManager::V1::GetResourceEnrollmentStatusRequest) — 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::AuditManager::V1::ResourceEnrollmentStatus)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_audit_reports
def list_audit_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ListAuditReportsResponseBaseline implementation for the list_audit_reports REST call
- request_pb (::Google::Cloud::AuditManager::V1::ListAuditReportsRequest) — 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::AuditManager::V1::ListAuditReportsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::ListAuditReportsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_controls
def list_controls(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ListControlsResponseBaseline implementation for the list_controls REST call
- request_pb (::Google::Cloud::AuditManager::V1::ListControlsRequest) — 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::AuditManager::V1::ListControlsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::ListControlsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_resource_enrollment_statuses
def list_resource_enrollment_statuses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesResponseBaseline implementation for the list_resource_enrollment_statuses REST call
- request_pb (::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesRequest) — 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::AuditManager::V1::ListResourceEnrollmentStatusesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)