Observability V1 API - Class Google::Cloud::Observability::V1::Observability::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Observability V1 API class Google::Cloud::Observability::V1::Observability::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_bucket

def create_bucket(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_bucket REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)
def create_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_link REST call

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

#create_trace_scope

def create_trace_scope(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::TraceScope

Baseline implementation for the create_trace_scope REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)
def delete_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_link REST call

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

#delete_trace_scope

def delete_trace_scope(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

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

#get_bucket

def get_bucket(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::Bucket

Baseline implementation for the get_bucket REST call

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

#get_dataset

def get_dataset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::Dataset

Baseline implementation for the get_dataset REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)
def get_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::Link

Baseline implementation for the get_link REST call

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

#get_scope

def get_scope(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::Scope

Baseline implementation for the get_scope REST call

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

#get_settings

def get_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::Settings

Baseline implementation for the get_settings REST call

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

#get_trace_scope

def get_trace_scope(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::TraceScope

Baseline implementation for the get_trace_scope REST call

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

#get_view

def get_view(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::View

Baseline implementation for the get_view REST call

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

#list_buckets

def list_buckets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::ListBucketsResponse

Baseline implementation for the list_buckets REST call

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

#list_datasets

def list_datasets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::ListDatasetsResponse

Baseline implementation for the list_datasets REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)
def list_links(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::ListLinksResponse

Baseline implementation for the list_links REST call

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

#list_trace_scopes

def list_trace_scopes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::ListTraceScopesResponse

Baseline implementation for the list_trace_scopes REST call

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

#list_views

def list_views(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::ListViewsResponse

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_bucket

def update_bucket(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_bucket REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)
def update_link(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_link REST call

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

#update_scope

def update_scope(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::Scope

Baseline implementation for the update_scope REST call

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

#update_settings

def update_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_settings REST call

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

#update_trace_scope

def update_trace_scope(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Observability::V1::TraceScope

Baseline implementation for the update_trace_scope REST call

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