Stackdriver Monitoring V3 Client - Class ListNotificationChannelDescriptorsRequest (1.2.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListNotificationChannelDescriptorsRequest.

The ListNotificationChannelDescriptors request.

Generated from protobuf message google.monitoring.v3.ListNotificationChannelDescriptorsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

↳ page_size int

The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.

↳ page_token string

If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results.

getName

Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

Generated from protobuf field string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this names the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

Generated from protobuf field string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.

Generated from protobuf field int32 page_size = 2;

Returns
TypeDescription
int

setPageSize

The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.

Generated from protobuf field int32 page_size = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results.

Generated from protobuf field string page_token = 3;

Returns
TypeDescription
string

setPageToken

If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results.

Generated from protobuf field string page_token = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this