You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read more about the client libraries for Cloud APIs, including the older
24
24
Google APIs Client Libraries, in [Client Libraries Explained][explained].
@@ -85,11 +85,19 @@ listConstraints();
85
85
86
86
## Samples
87
87
88
-
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-org-policy/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
88
+
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
Before running the samples, make sure you've followed the steps outlined in
20
-
[Using the client library](https://github.com/googleapis/nodejs-org-policy#using-the-client-library).
28
+
[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library).
21
29
22
30
`cd samples`
23
31
@@ -29,22 +37,158 @@ Before running the samples, make sure you've followed the steps outlined in
29
37
30
38
31
39
40
+
### Org_policy.create_policy
41
+
42
+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.create_policy.js).
43
+
44
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.create_policy.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.delete_policy.js).
60
+
61
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.delete_policy.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.get_effective_policy.js).
77
+
78
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.get_effective_policy.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.get_policy.js).
94
+
95
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.get_policy.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.list_constraints.js).
111
+
112
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.list_constraints.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.list_policies.js).
128
+
129
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.list_policies.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v2/org_policy.update_policy.js).
145
+
146
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v2/org_policy.update_policy.js,samples/README.md)
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js).
162
+
163
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md)
View the [source code](https://github.com/googleapis/nodejs-org-policy/blob/main/samples/quickstart.js).
178
+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js).
35
179
36
-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-org-policy&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
180
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.js,samples/README.md)
0 commit comments