Class ProjectsResource.LocationsResource.ApisResource.PatchRequest
Updates the parameters of a single Api.
Inheritance
ProjectsResource.LocationsResource.ApisResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Apigateway.v1
Assembly: Google.Apis.Apigateway.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.PatchRequest : ApigatewayBaseServiceRequest<ApigatewayOperation>, IClientServiceRequest<ApigatewayOperation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ApigatewayApi, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ApigatewayApi body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ApigatewayApi | 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.Apigateway.v1.Data.ApigatewayOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Apigateway.v1.Data.ApigatewayOperation>.MethodName
Name
Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}
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.Apigateway.v1.Data.ApigatewayOperation>.RestPath
UpdateMask
Field mask is used to specify the fields to be overwritten in the Api resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be 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.Apigateway.v1.Data.ApigatewayOperation>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()