Skip to content

Commit ae23532

Browse files
fix!: Fix resource annotations for Cloud Deploy to use common resource name for locations
This is technically a breaking change in that it's modifying the type for a resource, but it's a fast-follow fix to the earlier broken definition. PiperOrigin-RevId: 477192133 Source-Link: googleapis/googleapis@f252e11 Source-Link: https://github.com/googleapis/googleapis-gen/commit/34ca7cd6da0ac5920011c8bda01e8bc32b7da444 Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6IjM0Y2E3Y2Q2ZGEwYWM1OTIwMDExYzhiZGEwMWU4YmMzMmI3ZGE0NDQifQ==
1 parent 7d4083a commit ae23532

File tree

296 files changed

+123592
-0
lines changed

Some content is hidden

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

296 files changed

+123592
-0
lines changed

owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java

Lines changed: 4378 additions & 0 deletions
Large diffs are not rendered by default.

owl-bot-staging/java-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java

Lines changed: 614 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
{
2+
"schema": "1.0",
3+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
4+
"language": "java",
5+
"protoPackage": "google.cloud.deploy.v1",
6+
"libraryPackage": "com.google.cloud.deploy.v1",
7+
"services": {
8+
"CloudDeploy": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "CloudDeployClient",
12+
"rpcs": {
13+
"AbandonRelease": {
14+
"methods": ["abandonRelease", "abandonRelease", "abandonRelease", "abandonReleaseCallable"]
15+
},
16+
"ApproveRollout": {
17+
"methods": ["approveRollout", "approveRollout", "approveRollout", "approveRolloutCallable"]
18+
},
19+
"CreateDeliveryPipeline": {
20+
"methods": ["createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineOperationCallable", "createDeliveryPipelineCallable"]
21+
},
22+
"CreateRelease": {
23+
"methods": ["createReleaseAsync", "createReleaseAsync", "createReleaseAsync", "createReleaseOperationCallable", "createReleaseCallable"]
24+
},
25+
"CreateRollout": {
26+
"methods": ["createRolloutAsync", "createRolloutAsync", "createRolloutAsync", "createRolloutOperationCallable", "createRolloutCallable"]
27+
},
28+
"CreateTarget": {
29+
"methods": ["createTargetAsync", "createTargetAsync", "createTargetAsync", "createTargetOperationCallable", "createTargetCallable"]
30+
},
31+
"DeleteDeliveryPipeline": {
32+
"methods": ["deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineOperationCallable", "deleteDeliveryPipelineCallable"]
33+
},
34+
"DeleteTarget": {
35+
"methods": ["deleteTargetAsync", "deleteTargetAsync", "deleteTargetAsync", "deleteTargetOperationCallable", "deleteTargetCallable"]
36+
},
37+
"GetConfig": {
38+
"methods": ["getConfig", "getConfig", "getConfig", "getConfigCallable"]
39+
},
40+
"GetDeliveryPipeline": {
41+
"methods": ["getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipelineCallable"]
42+
},
43+
"GetIamPolicy": {
44+
"methods": ["getIamPolicy", "getIamPolicyCallable"]
45+
},
46+
"GetJobRun": {
47+
"methods": ["getJobRun", "getJobRun", "getJobRun", "getJobRunCallable"]
48+
},
49+
"GetLocation": {
50+
"methods": ["getLocation", "getLocationCallable"]
51+
},
52+
"GetRelease": {
53+
"methods": ["getRelease", "getRelease", "getRelease", "getReleaseCallable"]
54+
},
55+
"GetRollout": {
56+
"methods": ["getRollout", "getRollout", "getRollout", "getRolloutCallable"]
57+
},
58+
"GetTarget": {
59+
"methods": ["getTarget", "getTarget", "getTarget", "getTargetCallable"]
60+
},
61+
"ListDeliveryPipelines": {
62+
"methods": ["listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelinesPagedCallable", "listDeliveryPipelinesCallable"]
63+
},
64+
"ListJobRuns": {
65+
"methods": ["listJobRuns", "listJobRuns", "listJobRuns", "listJobRunsPagedCallable", "listJobRunsCallable"]
66+
},
67+
"ListLocations": {
68+
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
69+
},
70+
"ListReleases": {
71+
"methods": ["listReleases", "listReleases", "listReleases", "listReleasesPagedCallable", "listReleasesCallable"]
72+
},
73+
"ListRollouts": {
74+
"methods": ["listRollouts", "listRollouts", "listRollouts", "listRolloutsPagedCallable", "listRolloutsCallable"]
75+
},
76+
"ListTargets": {
77+
"methods": ["listTargets", "listTargets", "listTargets", "listTargetsPagedCallable", "listTargetsCallable"]
78+
},
79+
"RetryJob": {
80+
"methods": ["retryJob", "retryJob", "retryJob", "retryJobCallable"]
81+
},
82+
"SetIamPolicy": {
83+
"methods": ["setIamPolicy", "setIamPolicyCallable"]
84+
},
85+
"TestIamPermissions": {
86+
"methods": ["testIamPermissions", "testIamPermissionsCallable"]
87+
},
88+
"UpdateDeliveryPipeline": {
89+
"methods": ["updateDeliveryPipelineAsync", "updateDeliveryPipelineAsync", "updateDeliveryPipelineOperationCallable", "updateDeliveryPipelineCallable"]
90+
},
91+
"UpdateTarget": {
92+
"methods": ["updateTargetAsync", "updateTargetAsync", "updateTargetOperationCallable", "updateTargetCallable"]
93+
}
94+
}
95+
}
96+
}
97+
}
98+
}
99+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright 2022 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* A client to Google Cloud Deploy API
19+
*
20+
* <p>The interfaces provided are listed below, along with usage samples.
21+
*
22+
* <p>======================= CloudDeployClient =======================
23+
*
24+
* <p>Service Description: CloudDeploy service creates and manages Continuous Delivery operations on
25+
* Google Cloud Platform via Skaffold (https://skaffold.dev).
26+
*
27+
* <p>Sample for CloudDeployClient:
28+
*
29+
* <pre>{@code
30+
* // This snippet has been automatically generated and should be regarded as a code template only.
31+
* // It will require modifications to work:
32+
* // - It may require correct/in-range values for request initialization.
33+
* // - It may require specifying regional endpoints when creating the service client as shown in
34+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
35+
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
36+
* DeliveryPipelineName name =
37+
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
38+
* DeliveryPipeline response = cloudDeployClient.getDeliveryPipeline(name);
39+
* }
40+
* }</pre>
41+
*/
42+
@Generated("by gapic-generator-java")
43+
package com.google.cloud.deploy.v1;
44+
45+
import javax.annotation.Generated;

0 commit comments

Comments
 (0)