Reference documentation and code samples for the Service Management V1 API class Google::Cloud::ServiceManagement::V1::ServiceManager::Rest::ServiceStub.
REST service stub for the ServiceManager service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_service
def create_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_service REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::CreateServiceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_service_config
def create_service_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::Service
Baseline implementation for the create_service_config REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::CreateServiceConfigRequest) — 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::Api::Service)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Api::Service) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_service_rollout
def create_service_rollout(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_service_rollout REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::CreateServiceRolloutRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_service
def delete_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_service REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::DeleteServiceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#generate_config_report
def generate_config_report(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ServiceManagement::V1::GenerateConfigReportResponse
Baseline implementation for the generate_config_report REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::GenerateConfigReportRequest) — 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::ServiceManagement::V1::GenerateConfigReportResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ServiceManagement::V1::GenerateConfigReportResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service
def get_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ServiceManagement::V1::ManagedService
Baseline implementation for the get_service REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::GetServiceRequest) — 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::ServiceManagement::V1::ManagedService)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ServiceManagement::V1::ManagedService) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service_config
def get_service_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Api::Service
Baseline implementation for the get_service_config REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::GetServiceConfigRequest) — 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::Api::Service)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Api::Service) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service_rollout
def get_service_rollout(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ServiceManagement::V1::Rollout
Baseline implementation for the get_service_rollout REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::GetServiceRolloutRequest) — 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::ServiceManagement::V1::Rollout)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ServiceManagement::V1::Rollout) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_service_configs
def list_service_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ServiceManagement::V1::ListServiceConfigsResponse
Baseline implementation for the list_service_configs REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::ListServiceConfigsRequest) — 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::ServiceManagement::V1::ListServiceConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ServiceManagement::V1::ListServiceConfigsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_service_rollouts
def list_service_rollouts(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ServiceManagement::V1::ListServiceRolloutsResponse
Baseline implementation for the list_service_rollouts REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::ListServiceRolloutsRequest) — 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::ServiceManagement::V1::ListServiceRolloutsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ServiceManagement::V1::ListServiceRolloutsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_services
def list_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ServiceManagement::V1::ListServicesResponse
Baseline implementation for the list_services REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::ListServicesRequest) — 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::ServiceManagement::V1::ListServicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ServiceManagement::V1::ListServicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#submit_config_source
def submit_config_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the submit_config_source REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::SubmitConfigSourceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#undelete_service
def undelete_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the undelete_service REST call
- request_pb (::Google::Cloud::ServiceManagement::V1::UndeleteServiceRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)