diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java index b885e4813778..7e2555999310 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/AssetServiceClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -195,6 +196,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java index 4a78f7783f20..9089a73d6eac 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p4beta1/AssetServiceClient.java @@ -183,6 +183,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java index 3bd74b81d80f..ad65a814ab5c 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/createsavedquery/SyncCreateSavedQueryOrganizationnameSavedqueryString.java @@ -16,8 +16,7 @@ package com.google.cloud.asset.v1.samples; -// [START -// asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync] +// [START asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.OrganizationName; import com.google.cloud.asset.v1.SavedQuery; @@ -39,5 +38,4 @@ public static void syncCreateSavedQueryOrganizationnameSavedqueryString() throws } } } -// [END -// asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync] +// [END asset_v1_generated_assetserviceclient_createsavedquery_organizationnamesavedquerystring_sync] diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java index 8440342be5b0..a9ec6bfe465d 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeed.java @@ -20,6 +20,7 @@ import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.DeleteFeedRequest; import com.google.cloud.asset.v1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeed { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java index a274a4162a88..11d453448e24 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java @@ -19,6 +19,7 @@ // [START asset_v1_generated_assetserviceclient_deletefeed_feedname_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeedFeedname { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java index 19d861743fe2..2477cd5548f1 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletefeed/SyncDeleteFeedString.java @@ -19,6 +19,7 @@ // [START asset_v1_generated_assetserviceclient_deletefeed_string_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeedString { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java index f767317fafed..3b84c2317c75 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuery.java @@ -20,6 +20,7 @@ import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.DeleteSavedQueryRequest; import com.google.cloud.asset.v1.SavedQueryName; +import com.google.protobuf.Empty; public class SyncDeleteSavedQuery { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java index f07529793104..417e163ec4c1 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQuerySavedqueryname.java @@ -19,6 +19,7 @@ // [START asset_v1_generated_assetserviceclient_deletesavedquery_savedqueryname_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.SavedQueryName; +import com.google.protobuf.Empty; public class SyncDeleteSavedQuerySavedqueryname { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java index 8eaddfb88a91..c380bf82fc0a 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1/assetserviceclient/deletesavedquery/SyncDeleteSavedQueryString.java @@ -19,6 +19,7 @@ // [START asset_v1_generated_assetserviceclient_deletesavedquery_string_sync] import com.google.cloud.asset.v1.AssetServiceClient; import com.google.cloud.asset.v1.SavedQueryName; +import com.google.protobuf.Empty; public class SyncDeleteSavedQueryString { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java index b57409a4e0b7..4f42dcd7e822 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p1beta1/assetserviceclient/searchallresources/SyncSearchAllResourcesStringStringListstring.java @@ -16,8 +16,7 @@ package com.google.cloud.asset.v1p1beta1.samples; -// [START -// asset_v1p1beta1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] +// [START asset_v1p1beta1_generated_assetserviceclient_searchallresources_stringstringliststring_sync] import com.google.cloud.asset.v1p1beta1.AssetServiceClient; import com.google.cloud.asset.v1p1beta1.StandardResourceMetadata; import java.util.ArrayList; diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java index adfe58284cab..600ffafdb1f0 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeed.java @@ -20,6 +20,7 @@ import com.google.cloud.asset.v1p2beta1.AssetServiceClient; import com.google.cloud.asset.v1p2beta1.DeleteFeedRequest; import com.google.cloud.asset.v1p2beta1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeed { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java index 187733cda0d2..0cfd47b3f821 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedFeedname.java @@ -19,6 +19,7 @@ // [START asset_v1p2beta1_generated_assetserviceclient_deletefeed_feedname_sync] import com.google.cloud.asset.v1p2beta1.AssetServiceClient; import com.google.cloud.asset.v1p2beta1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeedFeedname { diff --git a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java index e58feaba9468..447fe065436f 100644 --- a/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java +++ b/java-asset/samples/snippets/generated/com/google/cloud/asset/v1p2beta1/assetserviceclient/deletefeed/SyncDeleteFeedString.java @@ -19,6 +19,7 @@ // [START asset_v1p2beta1_generated_assetserviceclient_deletefeed_string_sync] import com.google.cloud.asset.v1p2beta1.AssetServiceClient; import com.google.cloud.asset.v1p2beta1.FeedName; +import com.google.protobuf.Empty; public class SyncDeleteFeedString {