Class ProjectsResource.RegionsResource.AutoscalingPoliciesResource.UpdateRequest
Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will be
full replacements.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
ProjectsResource.RegionsResource.AutoscalingPoliciesResource.UpdateRequest
Implements
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Google.Apis.Dataproc.v1beta2.dll
Syntax
public class UpdateRequest : DataprocBaseServiceRequest<AutoscalingPolicy>, IClientServiceRequest<AutoscalingPolicy>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, AutoscalingPolicy, String)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, AutoscalingPolicy body, string name)
Parameters
Type |
Name |
Description |
Google.Apis.Services.IClientService |
service |
|
AutoscalingPolicy |
body |
|
System.String |
name |
|
Properties
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.HttpMethod
MethodName
Declaration
public override string MethodName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.MethodName
Name
Output only. The "resource name" of the autoscaling policy, as described in
https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies,
the resource name of the policy has the following format:
projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For
projects.locations.autoscalingPolicies, the resource name of the policy has the following
format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type |
Description |
System.String |
|
RestPath
Declaration
public override string RestPath { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type |
Description |
System.Object |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.GetBody()
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dataproc.v1beta2.DataprocBaseServiceRequest<Google.Apis.Dataproc.v1beta2.Data.AutoscalingPolicy>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest