Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::Audit::Rest::ServiceStub (v0.2.0)

Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::Audit::Rest::ServiceStub.

REST service stub for the Audit service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_framework_audit

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

Baseline implementation for the create_framework_audit REST call

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

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#generate_framework_audit_scope_report

def generate_framework_audit_scope_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::GenerateFrameworkAuditScopeReportResponse

Baseline implementation for the generate_framework_audit_scope_report REST call

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

#get_framework_audit

def get_framework_audit(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::FrameworkAudit

Baseline implementation for the get_framework_audit REST call

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

#list_framework_audits

def list_framework_audits(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkAuditsResponse

Baseline implementation for the list_framework_audits 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)