Stackdriver Monitoring V3 Client - Class UpdateUptimeCheckConfigRequest (1.2.2)

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

Methods

__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
Google\Cloud\Monitoring\V3\UptimeCheckConfig

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 corresonding 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 .

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.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

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.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

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 corresonding 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 .

Generated from protobuf field .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

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 corresonding 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 .

Generated from protobuf field .google.monitoring.v3.UptimeCheckConfig uptime_check_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: