Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ServiceAgentAuthentication.
Contains information needed for generating either an OpenID Connect token or OAuth token.
The token will be generated for the Monitoring service agent service account.
Generated from protobuf message google.monitoring.v3.UptimeCheckConfig.HttpCheck.ServiceAgentAuthentication
Namespace
Google \ Cloud \ Monitoring \ V3 \ UptimeCheckConfig \ HttpCheckMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Type of authentication. |
getType
Type of authentication.
Returns | |
---|---|
Type | Description |
int |
Enum of type ServiceAgentAuthenticationType. |
setType
Type of authentication.
Parameter | |
---|---|
Name | Description |
var |
int
Enum of type ServiceAgentAuthenticationType. |
Returns | |
---|---|
Type | Description |
$this |