Storage Control V2 API - Class Google::Cloud::Storage::Control::V2::StorageControl::Rest::ServiceStub (v1.11.0)

Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::StorageControl::Rest::ServiceStub.

REST service stub for the StorageControl 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)

#get_folder_intelligence_config

def get_folder_intelligence_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig

Baseline implementation for the get_folder_intelligence_config REST call

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

#get_intelligence_finding

def get_intelligence_finding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceFinding

Baseline implementation for the get_intelligence_finding REST call

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

#get_intelligence_finding_revision

def get_intelligence_finding_revision(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceFindingRevision

Baseline implementation for the get_intelligence_finding_revision REST call

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

#get_organization_intelligence_config

def get_organization_intelligence_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig

Baseline implementation for the get_organization_intelligence_config REST call

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

#get_project_intelligence_config

def get_project_intelligence_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig

Baseline implementation for the get_project_intelligence_config REST call

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

#list_intelligence_finding_revisions

def list_intelligence_finding_revisions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::ListIntelligenceFindingRevisionsResponse

Baseline implementation for the list_intelligence_finding_revisions REST call

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

#list_intelligence_findings

def list_intelligence_findings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::ListIntelligenceFindingsResponse

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

#summarize_intelligence_findings

def summarize_intelligence_findings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::SummarizeIntelligenceFindingsResponse

Baseline implementation for the summarize_intelligence_findings REST call

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_folder_intelligence_config

def update_folder_intelligence_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig

Baseline implementation for the update_folder_intelligence_config REST call

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

#update_organization_intelligence_config

def update_organization_intelligence_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig

Baseline implementation for the update_organization_intelligence_config REST call

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

#update_project_intelligence_config

def update_project_intelligence_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Storage::Control::V2::IntelligenceConfig

Baseline implementation for the update_project_intelligence_config REST call

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