Chronicle V1 API - Class Google::Cloud::Chronicle::V1::NativeDashboardService::Rest::ServiceStub (v0.6.0)

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

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

Inherits

  • Object

Methods

#add_chart

def add_chart(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::AddChartResponse

Baseline implementation for the add_chart REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::V1::AddChartRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_native_dashboard

def create_native_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::NativeDashboard

Baseline implementation for the create_native_dashboard REST call

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

#delete_native_dashboard

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

Baseline implementation for the delete_native_dashboard REST call

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

#duplicate_chart

def duplicate_chart(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::DuplicateChartResponse

Baseline implementation for the duplicate_chart REST call

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

#duplicate_native_dashboard

def duplicate_native_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::NativeDashboard

Baseline implementation for the duplicate_native_dashboard REST call

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

#edit_chart

def edit_chart(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::EditChartResponse

Baseline implementation for the edit_chart REST call

Parameters
  • request_pb (::Google::Cloud::Chronicle::V1::EditChartRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
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)

#export_native_dashboards

def export_native_dashboards(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ExportNativeDashboardsResponse

Baseline implementation for the export_native_dashboards REST call

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

#get_native_dashboard

def get_native_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::NativeDashboard

Baseline implementation for the get_native_dashboard REST call

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

#import_native_dashboards

def import_native_dashboards(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ImportNativeDashboardsResponse

Baseline implementation for the import_native_dashboards REST call

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

#list_native_dashboards

def list_native_dashboards(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ListNativeDashboardsResponse

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

#remove_chart

def remove_chart(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::NativeDashboard

Baseline implementation for the remove_chart 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_native_dashboard

def update_native_dashboard(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::NativeDashboard

Baseline implementation for the update_native_dashboard REST call

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