Advisory Notifications V1 API - Class Google::Cloud::AdvisoryNotifications::V1::AdvisoryNotificationsService::Rest::ServiceStub (v0.5.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

#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)

#initialize

def initialize(endpoint:, 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)