Show / Hide Table of Contents

Class ProjectsResource.ProfilesResource.PatchRequest

UpdateProfile updates the profile bytes and labels on the profile resource created in the online mode. Updating the bytes for profiles created in the offline mode is currently not supported: the profile content must be provided at the time of the profile creation. Direct use of this API is discouraged, please use a supported profiler agent instead for profile collection.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Profile>
CloudProfilerBaseServiceRequest<Profile>
ProjectsResource.ProfilesResource.PatchRequest
Implements
IClientServiceRequest<Profile>
IClientServiceRequest
Inherited Members
CloudProfilerBaseServiceRequest<Profile>.Xgafv
CloudProfilerBaseServiceRequest<Profile>.AccessToken
CloudProfilerBaseServiceRequest<Profile>.Alt
CloudProfilerBaseServiceRequest<Profile>.Callback
CloudProfilerBaseServiceRequest<Profile>.Fields
CloudProfilerBaseServiceRequest<Profile>.Key
CloudProfilerBaseServiceRequest<Profile>.OauthToken
CloudProfilerBaseServiceRequest<Profile>.PrettyPrint
CloudProfilerBaseServiceRequest<Profile>.QuotaUser
CloudProfilerBaseServiceRequest<Profile>.UploadType
CloudProfilerBaseServiceRequest<Profile>.UploadProtocol
ClientServiceRequest<Profile>.Execute()
ClientServiceRequest<Profile>.ExecuteAsStream()
ClientServiceRequest<Profile>.ExecuteAsync()
ClientServiceRequest<Profile>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Profile>.ExecuteAsStreamAsync()
ClientServiceRequest<Profile>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Profile>.CreateRequest(bool?)
ClientServiceRequest<Profile>.GenerateRequestUri()
ClientServiceRequest<Profile>.GetDefaultETagAction(string)
ClientServiceRequest<Profile>.ETagAction
ClientServiceRequest<Profile>.ModifyRequest
ClientServiceRequest<Profile>.ValidateParameters
ClientServiceRequest<Profile>.ApiVersion
ClientServiceRequest<Profile>.RequestParameters
ClientServiceRequest<Profile>.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.CloudProfiler.v2
Assembly: Google.Apis.CloudProfiler.v2.dll
Syntax
public class ProjectsResource.ProfilesResource.PatchRequest : CloudProfilerBaseServiceRequest<Profile>, IClientServiceRequest<Profile>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Profile, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.MethodName

Name

Output only. Opaque, server-assigned, unique ID for this profile.

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.RestPath

UpdateMask

Field mask used to specify the fields to be overwritten. Currently only profile_bytes and labels fields are supported by UpdateProfile, so only those fields can be specified in the mask. When no mask is provided, all fields are overwritten.

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudProfiler.v2.Data.Profile>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudProfilerBaseServiceRequest<Profile>.InitParameters()

Implements

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