Skip to content

Commit

Permalink
feat: [cloudasset] Add client library support for AssetService v1 Ana…
Browse files Browse the repository at this point in the history
…lyzeOrgPolicies 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 12, 2023
1 parent e8cd90c commit 1e50062
Show file tree
Hide file tree
Showing 12 changed files with 190 additions and 190 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ public final BatchGetAssetsHistoryResponse batchGetAssetsHistory(
*
* @param parent Required. The name of the project/folder/organization where this feed should be
* created in. It can only be an organization number (such as "organizations/123"), a folder
* number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a
* number (such as "folders/123"), a project ID (such as "projects/my-project-id"), or a
* project number (such as "projects/12345").
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1851,7 +1851,7 @@ public final UnaryCallable<QueryAssetsRequest, QueryAssetsResponse> queryAssetsC
*
* @param parent Required. The name of the project/folder/organization where this saved_query
* should be created in. It can only be an organization number (such as "organizations/123"),
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
* or a project number (such as "projects/12345").
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
* be generated based on the parent and saved_query_id.
Expand Down Expand Up @@ -1895,7 +1895,7 @@ public final SavedQuery createSavedQuery(
*
* @param parent Required. The name of the project/folder/organization where this saved_query
* should be created in. It can only be an organization number (such as "organizations/123"),
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
* or a project number (such as "projects/12345").
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
* be generated based on the parent and saved_query_id.
Expand Down Expand Up @@ -1939,7 +1939,7 @@ public final SavedQuery createSavedQuery(
*
* @param parent Required. The name of the project/folder/organization where this saved_query
* should be created in. It can only be an organization number (such as "organizations/123"),
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
* or a project number (such as "projects/12345").
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
* be generated based on the parent and saved_query_id.
Expand Down Expand Up @@ -1983,7 +1983,7 @@ public final SavedQuery createSavedQuery(
*
* @param parent Required. The name of the project/folder/organization where this saved_query
* should be created in. It can only be an organization number (such as "organizations/123"),
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")",
* a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id"),
* or a project number (such as "projects/12345").
* @param savedQuery Required. The saved_query details. The `name` field must be empty as it will
* be generated based on the parent and saved_query_id.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1395,18 +1395,18 @@ private static Builder initDefaults(Builder builder) {

builder
.analyzeOrgPoliciesSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));

builder
.analyzeOrgPolicyGovernedContainersSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));

builder
.analyzeOrgPolicyGovernedAssetsSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));

builder
.exportAssetsOperationSettings()
Expand Down
Loading

0 comments on commit 1e50062

Please sign in to comment.