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
- (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
- request_pb (::Google::Cloud::Storage::Control::V2::GetFolderIntelligenceConfigRequest) — 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::Storage::Control::V2::IntelligenceConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Storage::Control::V2::IntelligenceConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Storage::Control::V2::GetOrganizationIntelligenceConfigRequest) — 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::Storage::Control::V2::IntelligenceConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Storage::Control::V2::IntelligenceConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Storage::Control::V2::GetProjectIntelligenceConfigRequest) — 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::Storage::Control::V2::IntelligenceConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Storage::Control::V2::IntelligenceConfig) — 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_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
- request_pb (::Google::Cloud::Storage::Control::V2::UpdateFolderIntelligenceConfigRequest) — 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::Storage::Control::V2::IntelligenceConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Storage::Control::V2::IntelligenceConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Storage::Control::V2::UpdateOrganizationIntelligenceConfigRequest) — 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::Storage::Control::V2::IntelligenceConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Storage::Control::V2::IntelligenceConfig) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Storage::Control::V2::UpdateProjectIntelligenceConfigRequest) — 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::Storage::Control::V2::IntelligenceConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Storage::Control::V2::IntelligenceConfig) — A result object deserialized from the server's reply
- (::ArgumentError)