Advisory Notifications V1 API - Class Google::Cloud::AdvisoryNotifications::V1::AdvisoryNotificationsService::Rest::ServiceStub (v0.9.0)

Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::AdvisoryNotificationsService::Rest::ServiceStub.

REST service stub for the AdvisoryNotificationsService 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_notification

def get_notification(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AdvisoryNotifications::V1::Notification

Baseline implementation for the get_notification 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::AdvisoryNotifications::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)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_notifications

def list_notifications(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AdvisoryNotifications::V1::ListNotificationsResponse

Baseline implementation for the list_notifications 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_settings

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

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)