Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ResourceGroup.
The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.
Generated from protobuf message google.monitoring.v3.UptimeCheckConfig.ResourceGroup
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ group_id |
string
The group of resources being monitored. Should be only the |
↳ resource_type |
int
The resource type of the group members. |
getGroupId
The group of resources being monitored. Should be only the [GROUP_ID]
,
and not the full-path
projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
.
Generated from protobuf field string group_id = 1;
Returns | |
---|---|
Type | Description |
string |
setGroupId
The group of resources being monitored. Should be only the [GROUP_ID]
,
and not the full-path
projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
.
Generated from protobuf field string group_id = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceType
The resource type of the group members.
Generated from protobuf field .google.monitoring.v3.GroupResourceType resource_type = 2;
Returns | |
---|---|
Type | Description |
int |
setResourceType
The resource type of the group members.
Generated from protobuf field .google.monitoring.v3.GroupResourceType resource_type = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |