Skip to content

Commit

Permalink
fix!: Fix resource annotations for Cloud Deploy to use common resourc…
Browse files Browse the repository at this point in the history
…e 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==
  • Loading branch information
gcf-owl-bot[bot] committed Sep 28, 2022
1 parent 7d4083a commit ae23532
Show file tree
Hide file tree
Showing 296 changed files with 123,592 additions and 0 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "java",
"protoPackage": "google.cloud.deploy.v1",
"libraryPackage": "com.google.cloud.deploy.v1",
"services": {
"CloudDeploy": {
"clients": {
"grpc": {
"libraryClient": "CloudDeployClient",
"rpcs": {
"AbandonRelease": {
"methods": ["abandonRelease", "abandonRelease", "abandonRelease", "abandonReleaseCallable"]
},
"ApproveRollout": {
"methods": ["approveRollout", "approveRollout", "approveRollout", "approveRolloutCallable"]
},
"CreateDeliveryPipeline": {
"methods": ["createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineOperationCallable", "createDeliveryPipelineCallable"]
},
"CreateRelease": {
"methods": ["createReleaseAsync", "createReleaseAsync", "createReleaseAsync", "createReleaseOperationCallable", "createReleaseCallable"]
},
"CreateRollout": {
"methods": ["createRolloutAsync", "createRolloutAsync", "createRolloutAsync", "createRolloutOperationCallable", "createRolloutCallable"]
},
"CreateTarget": {
"methods": ["createTargetAsync", "createTargetAsync", "createTargetAsync", "createTargetOperationCallable", "createTargetCallable"]
},
"DeleteDeliveryPipeline": {
"methods": ["deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineOperationCallable", "deleteDeliveryPipelineCallable"]
},
"DeleteTarget": {
"methods": ["deleteTargetAsync", "deleteTargetAsync", "deleteTargetAsync", "deleteTargetOperationCallable", "deleteTargetCallable"]
},
"GetConfig": {
"methods": ["getConfig", "getConfig", "getConfig", "getConfigCallable"]
},
"GetDeliveryPipeline": {
"methods": ["getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipelineCallable"]
},
"GetIamPolicy": {
"methods": ["getIamPolicy", "getIamPolicyCallable"]
},
"GetJobRun": {
"methods": ["getJobRun", "getJobRun", "getJobRun", "getJobRunCallable"]
},
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"GetRelease": {
"methods": ["getRelease", "getRelease", "getRelease", "getReleaseCallable"]
},
"GetRollout": {
"methods": ["getRollout", "getRollout", "getRollout", "getRolloutCallable"]
},
"GetTarget": {
"methods": ["getTarget", "getTarget", "getTarget", "getTargetCallable"]
},
"ListDeliveryPipelines": {
"methods": ["listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelinesPagedCallable", "listDeliveryPipelinesCallable"]
},
"ListJobRuns": {
"methods": ["listJobRuns", "listJobRuns", "listJobRuns", "listJobRunsPagedCallable", "listJobRunsCallable"]
},
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
"ListReleases": {
"methods": ["listReleases", "listReleases", "listReleases", "listReleasesPagedCallable", "listReleasesCallable"]
},
"ListRollouts": {
"methods": ["listRollouts", "listRollouts", "listRollouts", "listRolloutsPagedCallable", "listRolloutsCallable"]
},
"ListTargets": {
"methods": ["listTargets", "listTargets", "listTargets", "listTargetsPagedCallable", "listTargetsCallable"]
},
"RetryJob": {
"methods": ["retryJob", "retryJob", "retryJob", "retryJobCallable"]
},
"SetIamPolicy": {
"methods": ["setIamPolicy", "setIamPolicyCallable"]
},
"TestIamPermissions": {
"methods": ["testIamPermissions", "testIamPermissionsCallable"]
},
"UpdateDeliveryPipeline": {
"methods": ["updateDeliveryPipelineAsync", "updateDeliveryPipelineAsync", "updateDeliveryPipelineOperationCallable", "updateDeliveryPipelineCallable"]
},
"UpdateTarget": {
"methods": ["updateTargetAsync", "updateTargetAsync", "updateTargetOperationCallable", "updateTargetCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/**
* A client to Google Cloud Deploy API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= CloudDeployClient =======================
*
* <p>Service Description: CloudDeploy service creates and manages Continuous Delivery operations on
* Google Cloud Platform via Skaffold (https://skaffold.dev).
*
* <p>Sample for CloudDeployClient:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) {
* DeliveryPipelineName name =
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]");
* DeliveryPipeline response = cloudDeployClient.getDeliveryPipeline(name);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.cloud.deploy.v1;

import javax.annotation.Generated;
Loading

0 comments on commit ae23532

Please sign in to comment.