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

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

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

Inherits

  • Object

Methods

#calculate_effective_cm_enrollment

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

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

#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)

#update_cm_enrollment

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

Baseline implementation for the update_cm_enrollment REST call

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