Reference documentation and code samples for the Stackdriver Monitoring V3 Client class UpdateUptimeCheckConfigRequest.
The protocol for the UpdateUptimeCheckConfig
request.
Generated from protobuf message google.monitoring.v3.UpdateUptimeCheckConfigRequest
Namespace
Google \ Cloud \ Monitoring \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration. |
↳ uptime_check_config |
UptimeCheckConfig
Required. If an |
getUpdateMask
Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. If present, only the listed fields in the current Uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getUptimeCheckConfig
Required. If an updateMask
has been specified, this field gives
the values for the set of fields mentioned in the updateMask
. If an
updateMask
has not been given, this Uptime check configuration replaces
the current configuration. If a field is mentioned in updateMask
but
the corresponding field is omitted in this partial Uptime check
configuration, it has the effect of deleting/clearing the field from the
configuration on the server.
The following fields can be updated: display_name
,
http_check
, tcp_check
, timeout
, content_matchers
, and
selected_regions
.
Returns | |
---|---|
Type | Description |
UptimeCheckConfig|null |
hasUptimeCheckConfig
clearUptimeCheckConfig
setUptimeCheckConfig
Required. If an updateMask
has been specified, this field gives
the values for the set of fields mentioned in the updateMask
. If an
updateMask
has not been given, this Uptime check configuration replaces
the current configuration. If a field is mentioned in updateMask
but
the corresponding field is omitted in this partial Uptime check
configuration, it has the effect of deleting/clearing the field from the
configuration on the server.
The following fields can be updated: display_name
,
http_check
, tcp_check
, timeout
, content_matchers
, and
selected_regions
.
Parameter | |
---|---|
Name | Description |
var |
UptimeCheckConfig
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
uptimeCheckConfig |
UptimeCheckConfig
Required. If an The following fields can be updated: |
Returns | |
---|---|
Type | Description |
UpdateUptimeCheckConfigRequest |