Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.PatchRequest
Used to modify a specified version.
Inheritance
ProjectsResource.LocationsResource.ApisResource.VersionsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.PatchRequest : ApigeeRegistryBaseServiceRequest<ApiVersion>, IClientServiceRequest<ApiVersion>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ApiVersion, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ApiVersion body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| ApiVersion | body | |
| string | name |
Properties
AllowMissing
If set to true, and the version is not found, a new version 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.ApiVersion>.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.ApiVersion>.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.ApiVersion>.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.ApiVersion>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()