* $monitoringService = new Google\Service\Monitoring(...); * $members = $monitoringService->members; * */ class ProjectsGroupsMembers extends \Google\Service\Resource { /** * Lists the monitored resources that are members of a group. * (members.listProjectsGroupsMembers) * * @param string $name Required. The group whose members are listed. The format * is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] * @param array $optParams Optional parameters. * * @opt_param string filter An optional list filter * (https://cloud.google.com/monitoring/api/learn_more#filtering) describing the * members to be returned. The filter may reference the type, labels, and * metadata of monitored resources that comprise the group. For example, to * return only resources representing Compute Engine VM instances, use this * filter: `resource.type = "gce_instance"` * @opt_param string interval.endTime Required. The end of the time interval. * @opt_param string interval.startTime Optional. The beginning of the time * interval. The default value for the start time is the end time. The start * time must not be later than the end time. * @opt_param int pageSize A positive number that is the maximum number of * results to return. * @opt_param string pageToken If this field is not empty then it must contain * the next_page_token value returned by a previous call to this method. Using * this field causes the method to return additional results from the previous * method call. * @return ListGroupMembersResponse */ public function listProjectsGroupsMembers($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListGroupMembersResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsGroupsMembers::class, 'Google_Service_Monitoring_Resource_ProjectsGroupsMembers');