0.17.0 (latest) 0.16.0 0.15.0 0.14.1 0.13.0 0.12.1 0.11.0 0.10.2 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.2.0 0.1.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**

- **request_pb** ([::Google::Cloud::AdvisoryNotifications::V1::GetNotificationRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-GetNotificationRequest)) --- 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**

- **result** ([::Google::Cloud::AdvisoryNotifications::V1::Notification](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-Notification))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::AdvisoryNotifications::V1::Notification](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-Notification)) --- A result object deserialized from the server's reply
**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**

- **request_pb** ([::Google::Cloud::AdvisoryNotifications::V1::GetSettingsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-GetSettingsRequest)) --- 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**

- **result** ([::Google::Cloud::AdvisoryNotifications::V1::Settings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-Settings))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::AdvisoryNotifications::V1::Settings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-Settings)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

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

- **request_pb** ([::Google::Cloud::AdvisoryNotifications::V1::ListNotificationsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-ListNotificationsRequest)) --- 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**

- **result** ([::Google::Cloud::AdvisoryNotifications::V1::ListNotificationsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-ListNotificationsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::AdvisoryNotifications::V1::ListNotificationsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-ListNotificationsResponse)) --- A result object deserialized from the server's reply
**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_settings

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

Baseline implementation for the update_settings REST call
**Parameters**

- **request_pb** ([::Google::Cloud::AdvisoryNotifications::V1::UpdateSettingsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-UpdateSettingsRequest)) --- 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**

- **result** ([::Google::Cloud::AdvisoryNotifications::V1::Settings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-Settings))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::AdvisoryNotifications::V1::Settings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-advisory_notifications-v1/latest/Google-Cloud-AdvisoryNotifications-V1-Settings)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)