- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Creates a new VpcFlowLogsConfig
. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes:
- Creating a configuration with state=DISABLED will fail.
- The following fields are not considered as `settings` for the purpose
of the check mentioned above, therefore - creating another configuration
with the same fields but different values for the following fields will
fail as well:
- name
- createTime
- updateTime
- labels
- description
HTTP request
POST https://networkmanagement.googleapis.com/v1beta1/{parent=projects/*/locations/*}/vpcFlowLogsConfigs
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the VPC Flow Logs configuration to create: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
vpc |
Required. ID of the |
Request body
The request body contains an instance of VpcFlowLogsConfig
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.