Show / Hide Table of Contents

Class ProjectsResource.UptimeCheckConfigsResource.PatchRequest

Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<UptimeCheckConfig>
MonitoringBaseServiceRequest<UptimeCheckConfig>
ProjectsResource.UptimeCheckConfigsResource.PatchRequest
Implements
IClientServiceRequest<UptimeCheckConfig>
IClientServiceRequest
Inherited Members
MonitoringBaseServiceRequest<UptimeCheckConfig>.Xgafv
MonitoringBaseServiceRequest<UptimeCheckConfig>.AccessToken
MonitoringBaseServiceRequest<UptimeCheckConfig>.Alt
MonitoringBaseServiceRequest<UptimeCheckConfig>.Callback
MonitoringBaseServiceRequest<UptimeCheckConfig>.Fields
MonitoringBaseServiceRequest<UptimeCheckConfig>.Key
MonitoringBaseServiceRequest<UptimeCheckConfig>.OauthToken
MonitoringBaseServiceRequest<UptimeCheckConfig>.PrettyPrint
MonitoringBaseServiceRequest<UptimeCheckConfig>.QuotaUser
MonitoringBaseServiceRequest<UptimeCheckConfig>.UploadType
MonitoringBaseServiceRequest<UptimeCheckConfig>.UploadProtocol
ClientServiceRequest<UptimeCheckConfig>.Execute()
ClientServiceRequest<UptimeCheckConfig>.ExecuteAsStream()
ClientServiceRequest<UptimeCheckConfig>.ExecuteAsync()
ClientServiceRequest<UptimeCheckConfig>.ExecuteAsync(CancellationToken)
ClientServiceRequest<UptimeCheckConfig>.ExecuteAsStreamAsync()
ClientServiceRequest<UptimeCheckConfig>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<UptimeCheckConfig>.CreateRequest(bool?)
ClientServiceRequest<UptimeCheckConfig>.GenerateRequestUri()
ClientServiceRequest<UptimeCheckConfig>.GetDefaultETagAction(string)
ClientServiceRequest<UptimeCheckConfig>.ETagAction
ClientServiceRequest<UptimeCheckConfig>.ModifyRequest
ClientServiceRequest<UptimeCheckConfig>.ValidateParameters
ClientServiceRequest<UptimeCheckConfig>.ApiVersion
ClientServiceRequest<UptimeCheckConfig>.RequestParameters
ClientServiceRequest<UptimeCheckConfig>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.UptimeCheckConfigsResource.PatchRequest : MonitoringBaseServiceRequest<UptimeCheckConfig>, IClientServiceRequest<UptimeCheckConfig>, IClientServiceRequest

Constructors

PatchRequest(IClientService, UptimeCheckConfig, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, UptimeCheckConfig body, string name)
Parameters
Type Name Description
IClientService service
UptimeCheckConfig body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<UptimeCheckConfig>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<UptimeCheckConfig>.MethodName

Name

Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<UptimeCheckConfig>.RestPath

UpdateMask

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.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<UptimeCheckConfig>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
MonitoringBaseServiceRequest<UptimeCheckConfig>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX