Audit Manager V1 API - Class Google::Cloud::AuditManager::V1::AuditManager::Rest::ServiceStub (v0.1.0)

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() -> String

The effective endpoint

Returns
  • (String)

#enroll_resource

def enroll_resource(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::Enrollment

Baseline implementation for the enroll_resource REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#generate_audit_report

def generate_audit_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the generate_audit_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#generate_audit_scope_report

def generate_audit_scope_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::AuditScopeReport

Baseline implementation for the generate_audit_scope_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_audit_report

def get_audit_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::AuditReport

Baseline implementation for the get_audit_report REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_resource_enrollment_status

def get_resource_enrollment_status(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus

Baseline implementation for the get_resource_enrollment_status REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_audit_reports

def list_audit_reports(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ListAuditReportsResponse

Baseline implementation for the list_audit_reports REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_controls

def list_controls(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ListControlsResponse

Baseline implementation for the list_controls REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_resource_enrollment_statuses

def list_resource_enrollment_statuses(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AuditManager::V1::ListResourceEnrollmentStatusesResponse

Baseline implementation for the list_resource_enrollment_statuses REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)