From 3823cbe690f343aef3f5bc9c3c232211fca74b9c Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 25 Jul 2026 18:02:53 -0700 Subject: [PATCH] chore: regenerate orgpolicy client --- .../v2/2.0.0/README.md | 4 +- .../services/orgpolicy/v2/OrgPolicyAPI.java | 216 +++++++++--------- .../GoogleCloudOrgpolicyV2Constraint.java | 12 +- .../model/GoogleCloudOrgpolicyV2Policy.java | 12 +- .../v2/2.0.0/pom.xml | 4 +- .../v2/README.md | 4 +- 6 files changed, 126 insertions(+), 126 deletions(-) diff --git a/clients/google-api-services-orgpolicy/v2/2.0.0/README.md b/clients/google-api-services-orgpolicy/v2/2.0.0/README.md index fb65b0bd147..ab61036dd4d 100644 --- a/clients/google-api-services-orgpolicy/v2/2.0.0/README.md +++ b/clients/google-api-services-orgpolicy/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-orgpolicy - v2-rev20260504-2.0.0 + v2-rev20260716-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-orgpolicy:v2-rev20260504-2.0.0' + implementation 'com.google.apis:google-api-services-orgpolicy:v2-rev20260716-2.0.0' } ``` diff --git a/clients/google-api-services-orgpolicy/v2/2.0.0/com/google/api/services/orgpolicy/v2/OrgPolicyAPI.java b/clients/google-api-services-orgpolicy/v2/2.0.0/com/google/api/services/orgpolicy/v2/OrgPolicyAPI.java index 175b7b60ad2..a35b2dcaabd 100644 --- a/clients/google-api-services-orgpolicy/v2/2.0.0/com/google/api/services/orgpolicy/v2/OrgPolicyAPI.java +++ b/clients/google-api-services-orgpolicy/v2/2.0.0/com/google/api/services/orgpolicy/v2/OrgPolicyAPI.java @@ -182,8 +182,8 @@ public class Constraints { * parameters, call the {@link List#execute()} method to invoke the remote operation. * * @param parent Required. The Google Cloud resource that parents the constraint. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -210,8 +210,8 @@ public class List extends OrgPolicyAPIRequest * * @param parent Required. The Google Cloud resource that parents the constraint. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @since 1.13 */ protected List(java.lang.String parent) { @@ -292,14 +292,14 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The Google Cloud resource that parents the constraint. Must be in one of the * following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The Google Cloud resource that parents the constraint. Must be in one of the following - forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - `organizations/{organization_id}` + forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` * + `organizations/{organization_number}` */ public java.lang.String getParent() { return parent; @@ -308,7 +308,7 @@ public java.lang.String getParent() { /** * Required. The Google Cloud resource that parents the constraint. Must be in one of the * following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -404,8 +404,8 @@ public class Policies { * parameters, call the {@link Create#execute()} method to invoke the remote operation. * * @param parent Required. The Google Cloud resource that will parent the new policy. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @param content the {@link com.google.api.services.orgpolicy.v2.model.GoogleCloudOrgpolicyV2Policy} * @return the request */ @@ -436,8 +436,8 @@ public class Create extends OrgPolicyAPIRequest * * @param parent Required. The Google Cloud resource that will parent the new policy. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @param content the {@link com.google.api.services.orgpolicy.v2.model.GoogleCloudOrgpolicyV2Policy} * @since 1.13 */ @@ -509,14 +509,14 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The Google Cloud resource that will parent the new policy. Must be in one of * the following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The Google Cloud resource that will parent the new policy. Must be in one of the - following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - `organizations/{organization_id}` + following forms: * `projects/{project_number}` * `projects/{project_id}` * + `folders/{folder_number}` * `organizations/{organization_number}` */ public java.lang.String getParent() { return parent; @@ -525,7 +525,7 @@ public java.lang.String getParent() { /** * Required. The Google Cloud resource that will parent the new policy. Must be in one of * the following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -995,8 +995,8 @@ public GetEffectivePolicy set(String parameterName, Object value) { * * @param parent Required. The target Google Cloud resource that parents the set of constraints and policies that * will be returned from this call. Must be in one of the following forms: * - * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` * + * `organizations/{organization_number}` * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -1024,8 +1024,8 @@ public class List extends OrgPolicyAPIRequest * * @param parent Required. The Google Cloud resource that parents the constraint. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @since 1.13 */ protected List(java.lang.String parent) { @@ -1550,14 +1550,14 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The Google Cloud resource that parents the constraint. Must be in one of the * following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The Google Cloud resource that parents the constraint. Must be in one of the following - forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - `organizations/{organization_id}` + forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` * + `organizations/{organization_number}` */ public java.lang.String getParent() { return parent; @@ -1566,7 +1566,7 @@ public java.lang.String getParent() { /** * Required. The Google Cloud resource that parents the constraint. Must be in one of the * following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -2464,8 +2464,8 @@ public class Policies { * parameters, call the {@link Create#execute()} method to invoke the remote operation. * * @param parent Required. The Google Cloud resource that will parent the new policy. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @param content the {@link com.google.api.services.orgpolicy.v2.model.GoogleCloudOrgpolicyV2Policy} * @return the request */ @@ -2496,8 +2496,8 @@ public class Create extends OrgPolicyAPIRequest * * @param parent Required. The Google Cloud resource that will parent the new policy. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @param content the {@link com.google.api.services.orgpolicy.v2.model.GoogleCloudOrgpolicyV2Policy} * @since 1.13 */ @@ -2569,14 +2569,14 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The Google Cloud resource that will parent the new policy. Must be in one of * the following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The Google Cloud resource that will parent the new policy. Must be in one of the - following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - `organizations/{organization_id}` + following forms: * `projects/{project_number}` * `projects/{project_id}` * + `folders/{folder_number}` * `organizations/{organization_number}` */ public java.lang.String getParent() { return parent; @@ -2585,7 +2585,7 @@ public java.lang.String getParent() { /** * Required. The Google Cloud resource that will parent the new policy. Must be in one of * the following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -3055,8 +3055,8 @@ public GetEffectivePolicy set(String parameterName, Object value) { * * @param parent Required. The target Google Cloud resource that parents the set of constraints and policies that * will be returned from this call. Must be in one of the following forms: * - * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` * + * `organizations/{organization_number}` * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -3084,8 +3084,8 @@ public class List extends OrgPolicyAPIRequest * * @param parent Required. The Google Cloud resource that parents the constraint. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @since 1.13 */ protected List(java.lang.String parent) { @@ -3610,14 +3610,14 @@ public List setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The Google Cloud resource that parents the constraint. Must be in one of the * following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The Google Cloud resource that parents the constraint. Must be in one of the following - forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - `organizations/{organization_id}` + forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` * + `organizations/{organization_number}` */ public java.lang.String getParent() { return parent; @@ -3626,7 +3626,7 @@ public java.lang.String getParent() { /** * Required. The Google Cloud resource that parents the constraint. Must be in one of the * following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ public List setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -3722,8 +3722,8 @@ public class Policies { * parameters, call the {@link Create#execute()} method to invoke the remote operation. * * @param parent Required. The Google Cloud resource that will parent the new policy. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @param content the {@link com.google.api.services.orgpolicy.v2.model.GoogleCloudOrgpolicyV2Policy} * @return the request */ @@ -3754,8 +3754,8 @@ public class Create extends OrgPolicyAPIRequest * * @param parent Required. The Google Cloud resource that will parent the new policy. Must be in one of the following - * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` + * * `organizations/{organization_number}` * @param content the {@link com.google.api.services.orgpolicy.v2.model.GoogleCloudOrgpolicyV2Policy} * @since 1.13 */ @@ -3827,14 +3827,14 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) { /** * Required. The Google Cloud resource that will parent the new policy. Must be in one of * the following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ @com.google.api.client.util.Key private java.lang.String parent; /** Required. The Google Cloud resource that will parent the new policy. Must be in one of the - following forms: * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - `organizations/{organization_id}` + following forms: * `projects/{project_number}` * `projects/{project_id}` * + `folders/{folder_number}` * `organizations/{organization_number}` */ public java.lang.String getParent() { return parent; @@ -3843,7 +3843,7 @@ public java.lang.String getParent() { /** * Required. The Google Cloud resource that will parent the new policy. Must be in one of * the following forms: * `projects/{project_number}` * `projects/{project_id}` * - * `folders/{folder_id}` * `organizations/{organization_id}` + * `folders/{folder_number}` * `organizations/{organization_number}` */ public Create setParent(java.lang.String parent) { if (!getSuppressPatternChecks()) { @@ -4313,8 +4313,8 @@ public GetEffectivePolicy set(String parameterName, Object value) { * * @param parent Required. The target Google Cloud resource that parents the set of constraints and policies that * will be returned from this call. Must be in one of the following forms: * - * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_id}` * - * `organizations/{organization_id}` + * `projects/{project_number}` * `projects/{project_id}` * `folders/{folder_number}` * + * `organizations/{organization_number}` * @return the request */ public List list(java.lang.String parent) throws java.io.IOException { @@ -4342,8 +4342,8 @@ public class List extends OrgPolicyAPIRequestcom.google.apis google-api-services-orgpolicy - v2-rev20260504-2.0.0 - Organization Policy API v2-rev20260504-2.0.0 + v2-rev20260716-2.0.0 + Organization Policy API v2-rev20260716-2.0.0 jar 2011 diff --git a/clients/google-api-services-orgpolicy/v2/README.md b/clients/google-api-services-orgpolicy/v2/README.md index fb65b0bd147..ab61036dd4d 100644 --- a/clients/google-api-services-orgpolicy/v2/README.md +++ b/clients/google-api-services-orgpolicy/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-orgpolicy - v2-rev20260504-2.0.0 + v2-rev20260716-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-orgpolicy:v2-rev20260504-2.0.0' + implementation 'com.google.apis:google-api-services-orgpolicy:v2-rev20260716-2.0.0' } ```