Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [cloudasset] Add client library support for AssetService v1 AnalyzeOrgPolicies API #9296

Merged
merged 2 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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