Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ApplicationsResource.ServicesResource.PatchRequest

Updates the configuration of the specified service.

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

Constructors

PatchRequest(IClientService, Service, string, string, string, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Service body, string projectsId, string locationsId, string applicationsId, string servicesId)
Parameters
Type Name Description
IClientService service
Service body
string projectsId
string locationsId
string applicationsId
string servicesId

Properties

ApplicationsId

Part of name. See documentation of projectsId.

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

HttpMethod

Gets the HTTP method.

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

LocationsId

Part of name. See documentation of projectsId.

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

MethodName

Gets the method name.

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

MigrateTraffic

Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#InboundServiceType) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#AutomaticScaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services#ShardBy) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).

Declaration
[RequestParameter("migrateTraffic", RequestParameterType.Query)]
public virtual bool? MigrateTraffic { get; set; }
Property Value
Type Description
bool?

ProjectsId

Part of name. Name of the resource to update. Example: apps/myapp/services/default.

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

RestPath

Gets the REST path.

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

ServicesId

Part of name. See documentation of projectsId.

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

UpdateMask

Required. Standard field mask for the set of fields to be updated.

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<Operation>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
AppengineBaseServiceRequest<Operation>.InitParameters()

Implements

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