Class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.PatchRequest
Used to modify a specified deployment.
Inheritance
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.PatchRequest : ApigeeRegistryBaseServiceRequest<ApiDeployment>, IClientServiceRequest<ApiDeployment>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ApiDeployment, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ApiDeployment body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApiDeployment | body | |
string | name |
Properties
AllowMissing
If set to true, and the deployment is not found, a new deployment will be created. In this
situation, update_mask
is ignored.
Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiDeployment>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.ApiDeployment>.MethodName
Name
Resource name.
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.ApigeeRegistry.v1.Data.ApiDeployment>.RestPath
UpdateMask
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
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.ApigeeRegistry.v1.Data.ApiDeployment>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()