Skip to content

Commit

Permalink
feat(networkmanagement): update the api
Browse files Browse the repository at this point in the history
#### networkmanagement:v1beta1

The following keys were deleted:
- resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.create (Total Keys: 14)
- resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.delete (Total Keys: 11)
- resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.get (Total Keys: 11)
- resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.list (Total Keys: 20)
- resources.projects.resources.locations.resources.vpcFlowLogsConfigs.methods.patch (Total Keys: 15)
- schemas.ListVpcFlowLogsConfigsResponse (Total Keys: 7)
- schemas.VpcFlowLogsConfig (Total Keys: 23)
  • Loading branch information
yoshi-automation committed May 10, 2024
1 parent 2cdf937 commit 3c6a641
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 317 deletions.
5 changes: 0 additions & 5 deletions docs/dyn/networkmanagement_v1beta1.projects.locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the global_ Resource.</p>

<p class="toc_element">
<code><a href="networkmanagement_v1beta1.projects.locations.vpcFlowLogsConfigs.html">vpcFlowLogsConfigs()</a></code>
</p>
<p class="firstline">Returns the vpcFlowLogsConfigs Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
}
}
},
"revision": "20240424",
"revision": "20240501",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,180 +585,13 @@
}
}
}
},
"vpcFlowLogsConfigs": {
"methods": {
"create": {
"description": "Creates a new VPC Flow Logs configuration. If a configuration with the exact same settings already exists, the creation fails.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs",
"httpMethod": "POST",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. The parent resource of the VPC Flow Logs configuration to create: `projects/{project_id}/locations/global`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"vpcFlowLogsConfigId": {
"description": "Required. ID of the VpcFlowLogsConfig.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/vpcFlowLogsConfigs",
"request": {
"$ref": "VpcFlowLogsConfig"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a specific VpcFlowLog configuration.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}",
"httpMethod": "DELETE",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. VpcFlowLogsConfig name using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details of a specific VPC Flow Log configuration.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}",
"httpMethod": "GET",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. `VpcFlowLog` resource name using the form: `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "VpcFlowLogsConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all VPC Flow Logs configurations in a given project.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs",
"httpMethod": "GET",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Optional. Lists the `VpcFlowLogsConfig`s that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = \"projects/proj-1/locations/global/vpcFlowLogsConfigs/config-1 - Filter by target resource: - Configurations at the VPC network level target_resource.network:* - Configurations for a VPC network called `vpc-1` target_resource.network = vpc-1",
"location": "query",
"type": "string"
},
"orderBy": {
"description": "Optional. Field to use to sort the list.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "Optional. Number of `VpcFlowLogsConfig`s to return.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Optional. Page token from an earlier query, as returned in `next_page_token`.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent resource of the VpcFlowLogsConfig: `projects/{project_id}/locations/global`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/vpcFlowLogsConfigs",
"response": {
"$ref": "ListVpcFlowLogsConfigsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"patch": {
"description": "Updates an existing VpcFlowLogsConfig. If a configuration with the exact same settings already exists, the creation fails.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/vpcFlowLogsConfigs/{vpcFlowLogsConfigsId}",
"httpMethod": "PATCH",
"id": "networkmanagement.projects.locations.vpcFlowLogsConfigs.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogs/{vpc_flow_log}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/vpcFlowLogsConfigs/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Required. Mask of fields to update. At least one path must be supplied in this field.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"request": {
"$ref": "VpcFlowLogsConfig"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20240424",
"revision": "20240501",
"rootUrl": "https://networkmanagement.googleapis.com/",
"schemas": {
"AbortInfo": {
Expand Down Expand Up @@ -1941,31 +1774,6 @@ false
},
"type": "object"
},
"ListVpcFlowLogsConfigsResponse": {
"description": "Response for the `ListVpcFlowLogsConfigs` method.",
"id": "ListVpcFlowLogsConfigsResponse",
"properties": {
"nextPageToken": {
"description": "Page token to fetch the next set of configurations.",
"type": "string"
},
"unreachable": {
"description": "Locations that could not be reached (when querying all locations with `-`).",
"items": {
"type": "string"
},
"type": "array"
},
"vpcFlowLogsConfigs": {
"description": "List of VPC Flow Log configurations.",
"items": {
"$ref": "VpcFlowLogsConfig"
},
"type": "array"
}
},
"type": "object"
},
"LoadBalancerBackend": {
"description": "For display only. Metadata associated with a specific load balancer backend.",
"id": "LoadBalancerBackend",
Expand Down Expand Up @@ -3022,124 +2830,6 @@ false
},
"type": "object"
},
"VpcFlowLogsConfig": {
"description": "A configuration to generate VPC Flow Logs.",
"id": "VpcFlowLogsConfig",
"properties": {
"aggregationInterval": {
"description": "Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC.",
"enum": [
"AGGREGATION_INTERVAL_UNSPECIFIED",
"INTERVAL_5_SEC",
"INTERVAL_30_SEC",
"INTERVAL_1_MIN",
"INTERVAL_5_MIN",
"INTERVAL_10_MIN",
"INTERVAL_15_MIN"
],
"enumDescriptions": [
"If not specified, will default to INTERVAL_5_SEC.",
"Aggregate logs in 5s intervals.",
"Aggregate logs in 30s intervals.",
"Aggregate logs in 1m intervals.",
"Aggregate logs in 5m intervals.",
"Aggregate logs in 10m intervals.",
"Aggregate logs in 15m intervals."
],
"type": "string"
},
"createTime": {
"description": "Output only. The time the config was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.",
"type": "string"
},
"filterExpr": {
"description": "Export filter used to define which VPC flow logs should be logged.",
"type": "string"
},
"flowSampling": {
"description": "Optional. The value of the field must be in [0, 1]. The sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default value is 1.0.",
"format": "float",
"type": "number"
},
"interconnectAttachment": {
"description": "Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/locations/{region}/interconnectAttachments/{name}",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. Resource labels to represent user-provided metadata.",
"type": "object"
},
"metadata": {
"description": "Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.",
"enum": [
"METADATA_UNSPECIFIED",
"INCLUDE_ALL_METADATA",
"EXCLUDE_ALL_METADATA",
"CUSTOM_METADATA"
],
"enumDescriptions": [
"If not specified, will default to INCLUDE_ALL_METADATA.",
"Include all metadata fields.",
"Exclude all metadata fields.",
"Include only custom fields (specified in metadata_fields)."
],
"type": "string"
},
"metadataFields": {
"description": "Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if \"metadata\" was set to CUSTOM_METADATA.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Identifier. Unique name of the configuration using the form: `projects/{project_id}/locations/global/vpcFlowLogs/{vpc_flow_log}`",
"type": "string"
},
"network": {
"description": "Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/networks/{name}",
"type": "string"
},
"state": {
"description": "Optional. The state of the VPC Flow Log. Default value is ENABLED.",
"enum": [
"STATE_UNSPECIFIED",
"ENABLED",
"DISABLED"
],
"enumDescriptions": [
"If not specified, will default to ENABLED.",
"When ENABLED, this configuration will generate logs.",
"When DISABLED, this configuration will not generate logs."
],
"type": "string"
},
"subnet": {
"description": "Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/locations/{region}/subnetworks/{name}",
"type": "string"
},
"updateTime": {
"description": "Output only. The time the config was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"vpnTunnel": {
"description": "Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/locations/{region}/vpnTunnels/{name}",
"type": "string"
}
},
"type": "object"
},
"VpnGatewayInfo": {
"description": "For display only. Metadata associated with a Compute Engine VPN gateway.",
"id": "VpnGatewayInfo",
Expand Down

0 comments on commit 3c6a641

Please sign in to comment.