Memperbarui VpcFlowLogsConfig yang ada. Jika konfigurasi dengan setelan yang persis sama sudah ada (meskipun ID-nya berbeda), pembuatan akan gagal. Catatan:
Memperbarui konfigurasi dengan state=DISABLED akan gagal
Kolom berikut tidak dianggap sebagai setelan untuk tujuan pemeriksaan yang disebutkan di atas, oleh karena itu - memperbarui konfigurasi lain dengan kolom yang sama, tetapi nilai yang berbeda untuk kolom berikut juga akan gagal:
Wajib. Mask kolom yang akan diperbarui. Setidaknya satu jalur harus diberikan di kolom ini. Misalnya, untuk mengubah status konfigurasi menjadi DIAKTIFKAN, tentukan updateMask = "state", dan vpcFlowLogsConfig akan menjadi: vpcFlowLogsConfig = {
name =
"projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
state = "ENABLED" }
Ini adalah comma-separated list berisi nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo".
Otorisasi memerlukan izin IAM berikut pada resource yang ditentukan updateMask:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-29 UTC."],[],[],null,["# Method: organizations.locations.vpcFlowLogsConfigs.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates an existing `VpcFlowLogsConfig`. If a configuration with the exact same settings already exists (even if the ID is different), the creation fails. Notes:\n\n1. Updating a configuration with `state=DISABLED` will fail\n2. 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:\n - name\n - createTime\n - updateTime\n - labels\n - description\n\n### HTTP request\n\n`PATCH https://networkmanagement.googleapis.com/v1beta1/{vpcFlowLogsConfig.name=organizations/*/locations/*/vpcFlowLogsConfigs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [VpcFlowLogsConfig](/network-intelligence-center/docs/reference/networkmanagement/rest/v1beta1/organizations.locations.vpcFlowLogsConfigs#VpcFlowLogsConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/network-intelligence-center/docs/reference/networkmanagement/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]