Class ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.PatchRequest
Updates an existing VpcFlowLogsConfig. If a configuration with the exact same settings already
exists (even if the ID is different), the creation fails. Notes: 1. Updating a configuration with
state=DISABLED will fail 2. The following fields are not considered as settings for the purpose of
the check mentioned above, therefore - updating another configuration with the same fields but
different values for the following fields will fail as well: * name * create_time * update_time *
labels * description
Inheritance
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1beta1
Assembly: Google.Apis.NetworkManagement.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.VpcFlowLogsConfigsResource.PatchRequest : NetworkManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, VpcFlowLogsConfig, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, VpcFlowLogsConfig body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| VpcFlowLogsConfig | 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. Unique name of the configuration. The name can have one of the following forms: -
For project-level configurations:
projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id} - For
organization-level configurations:
organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}
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
UpdateMask
Required. Mask of fields to update. At least one path must be supplied in this field. For
example, to change the state of the configuration to ENABLED, specify update_mask = "state",
and the vpc_flow_logs_config would be: vpc_flow_logs_config = { name = "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = "ENABLED" }
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()