Skip to content

Commit 203e45d

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networksecurity): update the API
#### networksecurity:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.flatPath - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.httpMethod - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.id - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameterOrder - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.dnsThreatDetectorId.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.dnsThreatDetectorId.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.dnsThreatDetectorId.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.parent.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.parent.pattern - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.parent.required - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.parameters.parent.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.path - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.request.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.response.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.create.scopes - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.flatPath - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.httpMethod - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.id - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.parameterOrder - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.parameters.name.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.parameters.name.pattern - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.parameters.name.required - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.parameters.name.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.path - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.response.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.delete.scopes - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.flatPath - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.httpMethod - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.id - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.parameterOrder - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.parameters.name.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.parameters.name.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.parameters.name.required - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.parameters.name.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.path - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.response.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.get.scopes - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.flatPath - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.httpMethod - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.id - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameterOrder - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.path - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.response.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.list.scopes - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.flatPath - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.httpMethod - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.id - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameterOrder - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.name.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.name.pattern - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.name.required - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.name.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.updateMask.description - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.updateMask.format - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.updateMask.location - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.parameters.updateMask.type - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.path - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.request.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.response.$ref - resources.projects.resources.locations.resources.dnsThreatDetectors.methods.patch.scopes - schemas.DnsThreatDetector.description - schemas.DnsThreatDetector.id - schemas.DnsThreatDetector.properties.createTime.description - schemas.DnsThreatDetector.properties.createTime.format - schemas.DnsThreatDetector.properties.createTime.readOnly - schemas.DnsThreatDetector.properties.createTime.type - schemas.DnsThreatDetector.properties.excludedNetworks.description - schemas.DnsThreatDetector.properties.excludedNetworks.items.type - schemas.DnsThreatDetector.properties.excludedNetworks.type - schemas.DnsThreatDetector.properties.labels.additionalProperties.type - schemas.DnsThreatDetector.properties.labels.description - schemas.DnsThreatDetector.properties.labels.type - schemas.DnsThreatDetector.properties.name.description - schemas.DnsThreatDetector.properties.name.type - schemas.DnsThreatDetector.properties.provider.description - schemas.DnsThreatDetector.properties.provider.enum - schemas.DnsThreatDetector.properties.provider.enumDescriptions - schemas.DnsThreatDetector.properties.provider.type - schemas.DnsThreatDetector.properties.updateTime.description - schemas.DnsThreatDetector.properties.updateTime.format - schemas.DnsThreatDetector.properties.updateTime.readOnly - schemas.DnsThreatDetector.properties.updateTime.type - schemas.DnsThreatDetector.type - schemas.ListDnsThreatDetectorsResponse.description - schemas.ListDnsThreatDetectorsResponse.id - schemas.ListDnsThreatDetectorsResponse.properties.dnsThreatDetectors.description - schemas.ListDnsThreatDetectorsResponse.properties.dnsThreatDetectors.items.$ref - schemas.ListDnsThreatDetectorsResponse.properties.dnsThreatDetectors.type - schemas.ListDnsThreatDetectorsResponse.properties.nextPageToken.description - schemas.ListDnsThreatDetectorsResponse.properties.nextPageToken.type - schemas.ListDnsThreatDetectorsResponse.properties.unreachable.description - schemas.ListDnsThreatDetectorsResponse.properties.unreachable.items.type - schemas.ListDnsThreatDetectorsResponse.properties.unreachable.type - schemas.ListDnsThreatDetectorsResponse.type
1 parent 3cf34f1 commit 203e45d

File tree

2 files changed

+1095
-1
lines changed

2 files changed

+1095
-1
lines changed

discovery/networksecurity-v1beta1.json

Lines changed: 232 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2420,6 +2420,163 @@
24202420
}
24212421
}
24222422
},
2423+
"dnsThreatDetectors": {
2424+
"methods": {
2425+
"create": {
2426+
"description": "Creates a new DnsThreatDetector in a given project and location.",
2427+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors",
2428+
"httpMethod": "POST",
2429+
"id": "networksecurity.projects.locations.dnsThreatDetectors.create",
2430+
"parameterOrder": [
2431+
"parent"
2432+
],
2433+
"parameters": {
2434+
"dnsThreatDetectorId": {
2435+
"description": "Optional. Id of the requesting DnsThreatDetector object. If this field is not supplied, the service will generate an identifier.",
2436+
"location": "query",
2437+
"type": "string"
2438+
},
2439+
"parent": {
2440+
"description": "Required. Value for parent of the DnsThreatDetector resource.",
2441+
"location": "path",
2442+
"pattern": "^projects/[^/]+/locations/[^/]+$",
2443+
"required": true,
2444+
"type": "string"
2445+
}
2446+
},
2447+
"path": "v1beta1/{+parent}/dnsThreatDetectors",
2448+
"request": {
2449+
"$ref": "DnsThreatDetector"
2450+
},
2451+
"response": {
2452+
"$ref": "DnsThreatDetector"
2453+
},
2454+
"scopes": [
2455+
"https://www.googleapis.com/auth/cloud-platform"
2456+
]
2457+
},
2458+
"delete": {
2459+
"description": "Deletes a single DnsThreatDetector.",
2460+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors/{dnsThreatDetectorsId}",
2461+
"httpMethod": "DELETE",
2462+
"id": "networksecurity.projects.locations.dnsThreatDetectors.delete",
2463+
"parameterOrder": [
2464+
"name"
2465+
],
2466+
"parameters": {
2467+
"name": {
2468+
"description": "Required. Name of the DnsThreatDetector resource.",
2469+
"location": "path",
2470+
"pattern": "^projects/[^/]+/locations/[^/]+/dnsThreatDetectors/[^/]+$",
2471+
"required": true,
2472+
"type": "string"
2473+
}
2474+
},
2475+
"path": "v1beta1/{+name}",
2476+
"response": {
2477+
"$ref": "Empty"
2478+
},
2479+
"scopes": [
2480+
"https://www.googleapis.com/auth/cloud-platform"
2481+
]
2482+
},
2483+
"get": {
2484+
"description": "Gets details of a single DnsThreatDetector.",
2485+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors/{dnsThreatDetectorsId}",
2486+
"httpMethod": "GET",
2487+
"id": "networksecurity.projects.locations.dnsThreatDetectors.get",
2488+
"parameterOrder": [
2489+
"name"
2490+
],
2491+
"parameters": {
2492+
"name": {
2493+
"description": "Required. Name of the DnsThreatDetector resource",
2494+
"location": "path",
2495+
"pattern": "^projects/[^/]+/locations/[^/]+/dnsThreatDetectors/[^/]+$",
2496+
"required": true,
2497+
"type": "string"
2498+
}
2499+
},
2500+
"path": "v1beta1/{+name}",
2501+
"response": {
2502+
"$ref": "DnsThreatDetector"
2503+
},
2504+
"scopes": [
2505+
"https://www.googleapis.com/auth/cloud-platform"
2506+
]
2507+
},
2508+
"list": {
2509+
"description": "Lists DnsThreatDetectors in a given project and location.",
2510+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors",
2511+
"httpMethod": "GET",
2512+
"id": "networksecurity.projects.locations.dnsThreatDetectors.list",
2513+
"parameterOrder": [
2514+
"parent"
2515+
],
2516+
"parameters": {
2517+
"pageSize": {
2518+
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
2519+
"format": "int32",
2520+
"location": "query",
2521+
"type": "integer"
2522+
},
2523+
"pageToken": {
2524+
"description": "Optional. A page token, received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page.",
2525+
"location": "query",
2526+
"type": "string"
2527+
},
2528+
"parent": {
2529+
"description": "Required. Parent value for ListDnsThreatDetectorsRequest",
2530+
"location": "path",
2531+
"pattern": "^projects/[^/]+/locations/[^/]+$",
2532+
"required": true,
2533+
"type": "string"
2534+
}
2535+
},
2536+
"path": "v1beta1/{+parent}/dnsThreatDetectors",
2537+
"response": {
2538+
"$ref": "ListDnsThreatDetectorsResponse"
2539+
},
2540+
"scopes": [
2541+
"https://www.googleapis.com/auth/cloud-platform"
2542+
]
2543+
},
2544+
"patch": {
2545+
"description": "Updates the parameters of a single DnsThreatDetector.",
2546+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/dnsThreatDetectors/{dnsThreatDetectorsId}",
2547+
"httpMethod": "PATCH",
2548+
"id": "networksecurity.projects.locations.dnsThreatDetectors.patch",
2549+
"parameterOrder": [
2550+
"name"
2551+
],
2552+
"parameters": {
2553+
"name": {
2554+
"description": "Immutable. Identifier. Name of the DnsThreatDetector resource.",
2555+
"location": "path",
2556+
"pattern": "^projects/[^/]+/locations/[^/]+/dnsThreatDetectors/[^/]+$",
2557+
"required": true,
2558+
"type": "string"
2559+
},
2560+
"updateMask": {
2561+
"description": "Optional. Field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten.",
2562+
"format": "google-fieldmask",
2563+
"location": "query",
2564+
"type": "string"
2565+
}
2566+
},
2567+
"path": "v1beta1/{+name}",
2568+
"request": {
2569+
"$ref": "DnsThreatDetector"
2570+
},
2571+
"response": {
2572+
"$ref": "DnsThreatDetector"
2573+
},
2574+
"scopes": [
2575+
"https://www.googleapis.com/auth/cloud-platform"
2576+
]
2577+
}
2578+
}
2579+
},
24232580
"firewallEndpointAssociations": {
24242581
"methods": {
24252582
"create": {
@@ -5356,7 +5513,7 @@
53565513
}
53575514
}
53585515
},
5359-
"revision": "20250714",
5516+
"revision": "20250721",
53605517
"rootUrl": "https://networksecurity.googleapis.com/",
53615518
"schemas": {
53625519
"AddAddressGroupItemsRequest": {
@@ -6140,6 +6297,55 @@
61406297
},
61416298
"type": "object"
61426299
},
6300+
"DnsThreatDetector": {
6301+
"description": "Message describing DnsThreatDetector object",
6302+
"id": "DnsThreatDetector",
6303+
"properties": {
6304+
"createTime": {
6305+
"description": "Output only. [Output only] Create time stamp",
6306+
"format": "google-datetime",
6307+
"readOnly": true,
6308+
"type": "string"
6309+
},
6310+
"excludedNetworks": {
6311+
"description": "Optional. A list of Network resource names which are exempt from the configuration in this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.",
6312+
"items": {
6313+
"type": "string"
6314+
},
6315+
"type": "array"
6316+
},
6317+
"labels": {
6318+
"additionalProperties": {
6319+
"type": "string"
6320+
},
6321+
"description": "Optional. Labels as key value pairs",
6322+
"type": "object"
6323+
},
6324+
"name": {
6325+
"description": "Immutable. Identifier. Name of the DnsThreatDetector resource.",
6326+
"type": "string"
6327+
},
6328+
"provider": {
6329+
"description": "Required. The provider used for DNS threat analysis.",
6330+
"enum": [
6331+
"PROVIDER_UNSPECIFIED",
6332+
"INFOBLOX"
6333+
],
6334+
"enumDescriptions": [
6335+
"An unspecified provider.",
6336+
"The Infoblox DNS threat detecter."
6337+
],
6338+
"type": "string"
6339+
},
6340+
"updateTime": {
6341+
"description": "Output only. [Output only] Update time stamp",
6342+
"format": "google-datetime",
6343+
"readOnly": true,
6344+
"type": "string"
6345+
}
6346+
},
6347+
"type": "object"
6348+
},
61436349
"Empty": {
61446350
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
61456351
"id": "Empty",
@@ -7249,6 +7455,31 @@
72497455
},
72507456
"type": "object"
72517457
},
7458+
"ListDnsThreatDetectorsResponse": {
7459+
"description": "Message for response to listing DnsThreatDetectors",
7460+
"id": "ListDnsThreatDetectorsResponse",
7461+
"properties": {
7462+
"dnsThreatDetectors": {
7463+
"description": "The list of DnsThreatDetector resources.",
7464+
"items": {
7465+
"$ref": "DnsThreatDetector"
7466+
},
7467+
"type": "array"
7468+
},
7469+
"nextPageToken": {
7470+
"description": "A token, which can be sent as `page_token` to retrieve the next page.",
7471+
"type": "string"
7472+
},
7473+
"unreachable": {
7474+
"description": "Unordered list. Unreachable `DnsThreatDetector` resources.",
7475+
"items": {
7476+
"type": "string"
7477+
},
7478+
"type": "array"
7479+
}
7480+
},
7481+
"type": "object"
7482+
},
72527483
"ListFirewallEndpointAssociationsResponse": {
72537484
"description": "Message for response to listing Associations",
72547485
"id": "ListFirewallEndpointAssociationsResponse",

0 commit comments

Comments
 (0)