Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::Config::Rest::ServiceStub.
REST service stub for the Config service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_cloud_control
def create_cloud_control(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl
Baseline implementation for the create_cloud_control REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::CreateCloudControlRequest) — 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::CloudSecurityCompliance::V1::CloudControl)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::CloudControl) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_framework
def create_framework(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::Framework
Baseline implementation for the create_framework REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::CreateFrameworkRequest) — 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::CloudSecurityCompliance::V1::Framework)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::Framework) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_cloud_control
def delete_cloud_control(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_cloud_control REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::DeleteCloudControlRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_framework
def delete_framework(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_framework REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::DeleteFrameworkRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_cloud_control
def get_cloud_control(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl
Baseline implementation for the get_cloud_control REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::GetCloudControlRequest) — 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::CloudSecurityCompliance::V1::CloudControl)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::CloudControl) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_framework
def get_framework(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::Framework
Baseline implementation for the get_framework REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::GetFrameworkRequest) — 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::CloudSecurityCompliance::V1::Framework)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::Framework) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_cloud_controls
def list_cloud_controls(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlsResponse
Baseline implementation for the list_cloud_controls REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlsRequest) — 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::CloudSecurityCompliance::V1::ListCloudControlsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::ListCloudControlsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_frameworks
def list_frameworks(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworksResponse
Baseline implementation for the list_frameworks REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworksRequest) — 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::CloudSecurityCompliance::V1::ListFrameworksResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworksResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_cloud_control
def update_cloud_control(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::CloudControl
Baseline implementation for the update_cloud_control REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::UpdateCloudControlRequest) — 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::CloudSecurityCompliance::V1::CloudControl)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::CloudControl) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_framework
def update_framework(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CloudSecurityCompliance::V1::Framework
Baseline implementation for the update_framework REST call
- request_pb (::Google::Cloud::CloudSecurityCompliance::V1::UpdateFrameworkRequest) — 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::CloudSecurityCompliance::V1::Framework)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CloudSecurityCompliance::V1::Framework) — A result object deserialized from the server's reply
- (::ArgumentError)