Resource: ResponsePolicy
A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
JSON representation |
---|
{ "id": string, "responsePolicyName": string, "description": string, "networks": [ { object ( |
Fields | |
---|---|
id |
Unique identifier for the resource; defined by the server (output only). |
responsePolicyName |
User assigned name for this Response Policy. |
description |
User-provided description for this Response Policy. |
networks[] |
responsePolicies.list of network names specifying networks to which this policy is applied. |
gkeClusters[] |
The list of Google Kubernetes Engine clusters to which this response policy is applied. |
labels |
User labels. An object containing a list of |
kind |
|
Network
JSON representation |
---|
{ "networkUrl": string, "kind": string } |
Fields | |
---|---|
networkUrl |
The fully qualified URL of the VPC network to bind to. This should be formatted like |
kind |
|
GKECluster
JSON representation |
---|
{ "gkeClusterName": string, "kind": string } |
Fields | |
---|---|
gkeClusterName |
The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get |
kind |
|
Methods |
|
---|---|
|
Creates a new Response Policy |
|
Deletes a previously created Response Policy. |
|
Fetches the representation of an existing Response Policy. |
|
Enumerates all Response Policies associated with a project. |
|
Applies a partial update to an existing Response Policy. |
|
Updates an existing Response Policy. |