Google Shopping Merchant Notifications V1 Client - Class GetNotificationSubscriptionHealthMetricsRequest (0.3.0)

Reference documentation and code samples for the Google Shopping Merchant Notifications V1 Client class GetNotificationSubscriptionHealthMetricsRequest.

Request for notification subscription health metrics.

Generated from protobuf message google.shopping.merchant.notifications.v1.GetNotificationSubscriptionHealthMetricsRequest

Namespace

Google \ Shopping \ Merchant \ Notifications \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the notification subscription for which metrics are retrieved. Format: accounts/{account}/notificationsubscriptions/{notification_subscription}

getName

Required. The name of the notification subscription for which metrics are retrieved.

Format: accounts/{account}/notificationsubscriptions/{notification_subscription}

Returns
Type Description
string

setName

Required. The name of the notification subscription for which metrics are retrieved.

Format: accounts/{account}/notificationsubscriptions/{notification_subscription}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the notification subscription for which metrics are retrieved. Format: accounts/{account}/notificationsubscriptions/{notification_subscription} Please see NotificationsApiServiceClient::notificationSubscriptionHealthMetricsName() for help formatting this field.

Returns
Type Description
GetNotificationSubscriptionHealthMetricsRequest