Skip to content

Commit 59019c2

Browse files
Regenerate orgpolicy client (googleapis#7296)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-03-17 03:54:38,378 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-orgpolicy nothing to commit, working tree clean 2021-03-17 03:54:38,816 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-03-17 03:54:39,206 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-03-17 03:54:39,208 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-03-17 03:54:40,885 synthtool [INFO] > Generating orgpolicy v2. INFO:synthtool:Generating orgpolicy v2. 2021-03-17 03:54:40,885 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties GoogleCloudOrgpolicyV2ConstraintBooleanConstraint: OrderedDict([(u'type', u'object'), (u'properties', OrderedDict()), (u'id', u'GoogleCloudOrgpolicyV2ConstraintBooleanConstraint'), (u'description', u'A `Constraint` that is either enforced or not. For example a constraint `constraints/compute.disableSerialPortAccess`. If it is enforced on a VM instance, serial port connections will not be opened to that instance.')]) WARNING:root:object without properties GoogleProtobufEmpty: OrderedDict([(u'properties', OrderedDict()), (u'description', u'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); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'type', u'object'), (u'id', u'GoogleProtobufEmpty')]) Writing json metadata to clients/google-api-services-orgpolicy/v2.metadata.json 2021-03-17 03:54:41,547 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-orgpolicy/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-orgpolicy/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/a6f3ed0d-3c25-4ba2-9e0d-0edbaf787bf3/targets - [ ] To automatically regenerate this PR, check this box.
1 parent 221dc00 commit 59019c2

20 files changed

+6930
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"maven": {
3+
"groupId": "com.google.apis",
4+
"artifactId": "google-api-services-orgpolicy",
5+
"version": "v2-rev20210316-1.31.0"
6+
}
7+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Organization Policy API Client Library for Java
2+
3+
The Org Policy API allows users to configure governance ruleson their GCP resources across the Cloud Resource Hierarchy.
4+
5+
This page contains information about getting started with the Organization Policy API
6+
using the Google API Client Library for Java. In addition, you may be interested
7+
in the following documentation:
8+
9+
* Browse the [Javadoc reference for the Organization Policy API][javadoc]
10+
* Read the [Developer's Guide for the Google API Client Library for Java][google-api-client].
11+
* Interact with this API in your browser using the [APIs Explorer for the Organization Policy API][api-explorer]
12+
13+
## Installation
14+
15+
### Maven
16+
17+
Add the following lines to your `pom.xml` file:
18+
19+
```xml
20+
<project>
21+
<dependencies>
22+
<dependency>
23+
<groupId>com.google.apis</groupId>
24+
<artifactId>google-api-services-orgpolicy</artifactId>
25+
<version>v2-rev20210316-1.31.0</version>
26+
</dependency>
27+
</dependencies>
28+
</project>
29+
```
30+
31+
### Gradle
32+
33+
```gradle
34+
repositories {
35+
mavenCentral()
36+
}
37+
dependencies {
38+
compile 'com.google.apis:google-api-services-orgpolicy:v2-rev20210316-1.31.0'
39+
}
40+
```
41+
42+
[javadoc]: https://googleapis.dev/java/google-api-services-orgpolicy/latest/index.html
43+
[google-api-client]: https://github.com/googleapis/google-api-java-client/
44+
[api-explorer]: https://developers.google.com/apis-explorer/#p/orgpolicy/v1/

0 commit comments

Comments
 (0)