Skip to content
Permalink
Browse files
feat: deprecate v1beta1 client endpoint is turned down (#493)
Endpoint was turned down 2020-09-28

Fixes #481
  • Loading branch information
chingor13 committed Dec 21, 2020
1 parent 1509270 commit 0d52720188fd521efc94492ccb89794826070b69
@@ -96,7 +96,10 @@
* AssetServiceClient.create(assetServiceSettings);
* </code>
* </pre>
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@Generated("by gapic-generator")
@BetaApi
public class AssetServiceClient implements BackgroundResource {
@@ -62,7 +62,10 @@
* AssetServiceSettings assetServiceSettings = assetServiceSettingsBuilder.build();
* </code>
* </pre>
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@Generated("by gapic-generator")
@BetaApi
public class AssetServiceSettings extends ClientSettings<AssetServiceSettings> {
@@ -37,6 +37,7 @@
* </code>
* </pre>
*/
@Deprecated
@Generated("by gapic-generator")
package com.google.cloud.asset.v1beta1;

@@ -32,7 +32,10 @@
* Base stub class for Cloud Asset API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@Generated("by gapic-generator")
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public abstract class AssetServiceStub implements BackgroundResource {
@@ -78,7 +78,10 @@
* AssetServiceStubSettings assetServiceSettings = assetServiceSettingsBuilder.build();
* </code>
* </pre>
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@Generated("by gapic-generator")
@BetaApi
public class AssetServiceStubSettings extends StubSettings<AssetServiceStubSettings> {
@@ -39,7 +39,10 @@
* gRPC callable factory implementation for Cloud Asset API.
*
* <p>This class is for advanced usage.
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public class GrpcAssetServiceCallableFactory implements GrpcStubCallableFactory {
@@ -43,7 +43,10 @@
* gRPC stub implementation for Cloud Asset API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@Generated("by gapic-generator")
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public class GrpcAssetServiceStub extends AssetServiceStub {
@@ -28,7 +28,10 @@
* <pre>
* Asset service definition.
* </pre>
*
* @deprecated The v1beta1 endpoint was turned down 2020-09-28.
*/
@Deprecated
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/cloud/asset/v1beta1/asset_service.proto")
@@ -73,15 +73,6 @@
"generator": "bazel"
}
},
{
"client": {
"source": "googleapis",
"apiName": "asset",
"apiVersion": "v1beta1",
"language": "java",
"generator": "bazel"
}
},
{
"client": {
"source": "googleapis",
@@ -193,13 +184,6 @@
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/AssetServiceStubSettings.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceCallableFactory.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/GrpcAssetServiceStub.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceClient.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceSettings.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/package-info.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStub.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/AssetServiceStubSettings.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceCallableFactory.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1beta1/stub/GrpcAssetServiceStub.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceClient.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceSettings.java",
"google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/package-info.java",
@@ -231,9 +215,6 @@
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1/AssetServiceClientTest.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetService.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1/MockAssetServiceImpl.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/AssetServiceClientTest.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetService.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1beta1/MockAssetServiceImpl.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/AssetServiceClientTest.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetService.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1p1beta1/MockAssetServiceImpl.java",
@@ -247,7 +228,6 @@
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetService.java",
"google-cloud-asset/src/test/java/com/google/cloud/asset/v1p5beta1/MockAssetServiceImpl.java",
"grpc-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/AssetServiceGrpc.java",
"grpc-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceGrpc.java",
"grpc-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceGrpc.java",
"grpc-google-cloud-asset-v1p2beta1/src/main/java/com/google/cloud/asset/v1p2beta1/AssetServiceGrpc.java",
"grpc-google-cloud-asset-v1p4beta1/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceGrpc.java",
@@ -334,31 +314,6 @@
"proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/UpdateFeedRequestOrBuilder.java",
"proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/asset_service.proto",
"proto-google-cloud-asset-v1/src/main/proto/google/cloud/asset/v1/assets.proto",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Asset.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetProto.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/AssetServiceProto.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequest.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryRequestOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryResponse.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/BatchGetAssetsHistoryResponseOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ContentType.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequest.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsRequestOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsResponse.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ExportAssetsResponseOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestination.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/GcsDestinationOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfig.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/OutputConfigOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/Resource.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/ResourceOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TemporalAsset.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TemporalAssetOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindow.java",
"proto-google-cloud-asset-v1beta1/src/main/java/com/google/cloud/asset/v1beta1/TimeWindowOrBuilder.java",
"proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/asset_service.proto",
"proto-google-cloud-asset-v1beta1/src/main/proto/google/cloud/asset/v1beta1/assets.proto",
"proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetProto.java",
"proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/AssetServiceProto.java",
"proto-google-cloud-asset-v1p1beta1/src/main/java/com/google/cloud/asset/v1p1beta1/IamPolicySearchResult.java",
@@ -19,7 +19,7 @@
AUTOSYNTH_MULTIPLE_COMMITS = True

service = 'asset'
versions = ['v1', 'v1beta1', 'v1p2beta1', 'v1p1beta1', 'v1p4beta1', 'v1p5beta1']
versions = ['v1', 'v1p2beta1', 'v1p1beta1', 'v1p4beta1', 'v1p5beta1']

for version in versions:
library = java.bazel_library(

0 comments on commit 0d52720

Please sign in to comment.