Class ProjectsResource.LocationsResource.OdbNetworksResource.OdbSubnetsResource.PatchRequest
Updates the labels of a single ODB Subnet.
Inheritance
Inherited Members
Namespace: Google.Apis.OracleDatabase.v1
Assembly: Google.Apis.OracleDatabase.v1.dll
Syntax
public class ProjectsResource.LocationsResource.OdbNetworksResource.OdbSubnetsResource.PatchRequest : OracleDatabaseBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, OdbSubnet, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, OdbSubnet body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| OdbSubnet | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Optional. A mask specifying which fields in the OdbSubnet should be updated. A field
specified in the mask is updated. If a mask isn't provided, the service treats this as an
implied field mask equivalent to all fields that are populated (have a non-empty value). To
clear or unset a field, the field must be explicitly specified in the update_mask.
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
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()