Skip to content

Commit bbf2dad

Browse files
1 parent e4b467d commit bbf2dad

File tree

60 files changed

+11189
-283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+11189
-283
lines changed

clients/google-api-services-policysimulator/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-policysimulator</artifactId>
25-
<version>v1-rev20250606-2.0.0</version>
25+
<version>v1-rev20250614-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-policysimulator:v1-rev20250606-2.0.0'
38+
implementation 'com.google.apis:google-api-services-policysimulator:v1-rev20250614-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.policysimulator.v1.model;
18+
19+
/**
20+
* CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview
21+
* generations operation.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Policy Simulator API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Time when the request was received.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String requestTime;
39+
40+
/**
41+
* Total number of resources that need scanning. Should equal resource_scanned + resources_pending
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer resourcesFound;
46+
47+
/**
48+
* Number of resources still to scan.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Integer resourcesPending;
53+
54+
/**
55+
* Number of resources already scanned.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Integer resourcesScanned;
60+
61+
/**
62+
* Time when the request started processing, i.e., when the state was set to RUNNING.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private String startTime;
67+
68+
/**
69+
* Output only. The current state of the operation.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.lang.String state;
74+
75+
/**
76+
* Time when the request was received.
77+
* @return value or {@code null} for none
78+
*/
79+
public String getRequestTime() {
80+
return requestTime;
81+
}
82+
83+
/**
84+
* Time when the request was received.
85+
* @param requestTime requestTime or {@code null} for none
86+
*/
87+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata setRequestTime(String requestTime) {
88+
this.requestTime = requestTime;
89+
return this;
90+
}
91+
92+
/**
93+
* Total number of resources that need scanning. Should equal resource_scanned + resources_pending
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.Integer getResourcesFound() {
97+
return resourcesFound;
98+
}
99+
100+
/**
101+
* Total number of resources that need scanning. Should equal resource_scanned + resources_pending
102+
* @param resourcesFound resourcesFound or {@code null} for none
103+
*/
104+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata setResourcesFound(java.lang.Integer resourcesFound) {
105+
this.resourcesFound = resourcesFound;
106+
return this;
107+
}
108+
109+
/**
110+
* Number of resources still to scan.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.Integer getResourcesPending() {
114+
return resourcesPending;
115+
}
116+
117+
/**
118+
* Number of resources still to scan.
119+
* @param resourcesPending resourcesPending or {@code null} for none
120+
*/
121+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata setResourcesPending(java.lang.Integer resourcesPending) {
122+
this.resourcesPending = resourcesPending;
123+
return this;
124+
}
125+
126+
/**
127+
* Number of resources already scanned.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.Integer getResourcesScanned() {
131+
return resourcesScanned;
132+
}
133+
134+
/**
135+
* Number of resources already scanned.
136+
* @param resourcesScanned resourcesScanned or {@code null} for none
137+
*/
138+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata setResourcesScanned(java.lang.Integer resourcesScanned) {
139+
this.resourcesScanned = resourcesScanned;
140+
return this;
141+
}
142+
143+
/**
144+
* Time when the request started processing, i.e., when the state was set to RUNNING.
145+
* @return value or {@code null} for none
146+
*/
147+
public String getStartTime() {
148+
return startTime;
149+
}
150+
151+
/**
152+
* Time when the request started processing, i.e., when the state was set to RUNNING.
153+
* @param startTime startTime or {@code null} for none
154+
*/
155+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata setStartTime(String startTime) {
156+
this.startTime = startTime;
157+
return this;
158+
}
159+
160+
/**
161+
* Output only. The current state of the operation.
162+
* @return value or {@code null} for none
163+
*/
164+
public java.lang.String getState() {
165+
return state;
166+
}
167+
168+
/**
169+
* Output only. The current state of the operation.
170+
* @param state state or {@code null} for none
171+
*/
172+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata setState(java.lang.String state) {
173+
this.state = state;
174+
return this;
175+
}
176+
177+
@Override
178+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata set(String fieldName, Object value) {
179+
return (GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata) super.set(fieldName, value);
180+
}
181+
182+
@Override
183+
public GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata clone() {
184+
return (GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata) super.clone();
185+
}
186+
187+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.policysimulator.v1.model;
18+
19+
/**
20+
* GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an
21+
* OrgPolicyViolationsPreview generations operation.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Policy Simulator API. For a detailed explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Time when the request was received.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String requestTime;
39+
40+
/**
41+
* Total number of resources that need scanning. Should equal resource_scanned + resources_pending
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Integer resourcesFound;
46+
47+
/**
48+
* Number of resources still to scan.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.Integer resourcesPending;
53+
54+
/**
55+
* Number of resources already scanned.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.Integer resourcesScanned;
60+
61+
/**
62+
* Time when the request started processing, i.e. when the state was set to RUNNING.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private String startTime;
67+
68+
/**
69+
* The current state of the operation.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.lang.String state;
74+
75+
/**
76+
* Time when the request was received.
77+
* @return value or {@code null} for none
78+
*/
79+
public String getRequestTime() {
80+
return requestTime;
81+
}
82+
83+
/**
84+
* Time when the request was received.
85+
* @param requestTime requestTime or {@code null} for none
86+
*/
87+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata setRequestTime(String requestTime) {
88+
this.requestTime = requestTime;
89+
return this;
90+
}
91+
92+
/**
93+
* Total number of resources that need scanning. Should equal resource_scanned + resources_pending
94+
* @return value or {@code null} for none
95+
*/
96+
public java.lang.Integer getResourcesFound() {
97+
return resourcesFound;
98+
}
99+
100+
/**
101+
* Total number of resources that need scanning. Should equal resource_scanned + resources_pending
102+
* @param resourcesFound resourcesFound or {@code null} for none
103+
*/
104+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata setResourcesFound(java.lang.Integer resourcesFound) {
105+
this.resourcesFound = resourcesFound;
106+
return this;
107+
}
108+
109+
/**
110+
* Number of resources still to scan.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.Integer getResourcesPending() {
114+
return resourcesPending;
115+
}
116+
117+
/**
118+
* Number of resources still to scan.
119+
* @param resourcesPending resourcesPending or {@code null} for none
120+
*/
121+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata setResourcesPending(java.lang.Integer resourcesPending) {
122+
this.resourcesPending = resourcesPending;
123+
return this;
124+
}
125+
126+
/**
127+
* Number of resources already scanned.
128+
* @return value or {@code null} for none
129+
*/
130+
public java.lang.Integer getResourcesScanned() {
131+
return resourcesScanned;
132+
}
133+
134+
/**
135+
* Number of resources already scanned.
136+
* @param resourcesScanned resourcesScanned or {@code null} for none
137+
*/
138+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata setResourcesScanned(java.lang.Integer resourcesScanned) {
139+
this.resourcesScanned = resourcesScanned;
140+
return this;
141+
}
142+
143+
/**
144+
* Time when the request started processing, i.e. when the state was set to RUNNING.
145+
* @return value or {@code null} for none
146+
*/
147+
public String getStartTime() {
148+
return startTime;
149+
}
150+
151+
/**
152+
* Time when the request started processing, i.e. when the state was set to RUNNING.
153+
* @param startTime startTime or {@code null} for none
154+
*/
155+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata setStartTime(String startTime) {
156+
this.startTime = startTime;
157+
return this;
158+
}
159+
160+
/**
161+
* The current state of the operation.
162+
* @return value or {@code null} for none
163+
*/
164+
public java.lang.String getState() {
165+
return state;
166+
}
167+
168+
/**
169+
* The current state of the operation.
170+
* @param state state or {@code null} for none
171+
*/
172+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata setState(java.lang.String state) {
173+
this.state = state;
174+
return this;
175+
}
176+
177+
@Override
178+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata set(String fieldName, Object value) {
179+
return (GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata) super.set(fieldName, value);
180+
}
181+
182+
@Override
183+
public GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata clone() {
184+
return (GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata) super.clone();
185+
}
186+
187+
}

0 commit comments

Comments
 (0)