Skip to content

Commit 1e50062

Browse files
feat: [cloudasset] Add client library support for AssetService v1 AnalyzeOrgPolicies API (#9296)
* feat: Add client library support for AssetService v1 AnalyzeOrgPolicies API feat: Add client library support for AssetService v1 AnalyzeOrgPolicyGovernedContainers API feat: Add client library support for AssetService v1 AnalyzeOrgPolicyGovernedAssets API PiperOrigin-RevId: 520696122 Source-Link: googleapis/googleapis@fb446a2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/f4b9936403faf847180a353636be515d21d5cac4 Copy-Tag: eyJwIjoiamF2YS1hc3NldC8uT3dsQm90LnlhbWwiLCJoIjoiZjRiOTkzNjQwM2ZhZjg0NzE4MGEzNTM2MzZiZTUxNWQyMWQ1Y2FjNCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent e8cd90c commit 1e50062

File tree

12 files changed

+190
-190
lines changed

12 files changed

+190
-190
lines changed

java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ public final BatchGetAssetsHistoryResponse batchGetAssetsHistory(
600600
*
601601
* @param parent Required. The name of the project/folder/organization where this feed should be
602602
* created in. It can only be an organization number (such as "organizations/123"), a folder
603-
* number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a
603+
* number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a
604604
* project number (such as "projects/12345").
605605
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
606606
*/
@@ -1851,7 +1851,7 @@ public final UnaryCallable<QueryAssetsRequest, QueryAssetsResponse> queryAssetsC
18511851
*
18521852
* @param parent Required. The name of the project/folder/organization where this saved_query
18531853
* should be created in. It can only be an organization number (such as "organizations/123"),
1854-
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
1854+
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
18551855
* or a project number (such as "projects/12345").
18561856
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
18571857
* be generated based on the parent and saved_query_id.
@@ -1895,7 +1895,7 @@ public final SavedQuery createSavedQuery(
18951895
*
18961896
* @param parent Required. The name of the project/folder/organization where this saved_query
18971897
* should be created in. It can only be an organization number (such as "organizations/123"),
1898-
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
1898+
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
18991899
* or a project number (such as "projects/12345").
19001900
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
19011901
* be generated based on the parent and saved_query_id.
@@ -1939,7 +1939,7 @@ public final SavedQuery createSavedQuery(
19391939
*
19401940
* @param parent Required. The name of the project/folder/organization where this saved_query
19411941
* should be created in. It can only be an organization number (such as "organizations/123"),
1942-
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
1942+
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
19431943
* or a project number (such as "projects/12345").
19441944
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
19451945
* be generated based on the parent and saved_query_id.
@@ -1983,7 +1983,7 @@ public final SavedQuery createSavedQuery(
19831983
*
19841984
* @param parent Required. The name of the project/folder/organization where this saved_query
19851985
* should be created in. It can only be an organization number (such as "organizations/123"),
1986-
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
1986+
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
19871987
* or a project number (such as "projects/12345").
19881988
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
19891989
* be generated based on the parent and saved_query_id.

java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,18 +1395,18 @@ private static Builder initDefaults(Builder builder) {
13951395

13961396
builder
13971397
.analyzeOrgPoliciesSettings()
1398-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
1399-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
1398+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
1399+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
14001400

14011401
builder
14021402
.analyzeOrgPolicyGovernedContainersSettings()
1403-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
1404-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
1403+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
1404+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
14051405

14061406
builder
14071407
.analyzeOrgPolicyGovernedAssetsSettings()
1408-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
1409-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
1408+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
1409+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
14101410

14111411
builder
14121412
.exportAssetsOperationSettings()

0 commit comments

Comments
 (0)