diff --git a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/ServiceUsageClient.java b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/ServiceUsageClient.java index f3a318fa..230f8621 100644 --- a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/ServiceUsageClient.java +++ b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/ServiceUsageClient.java @@ -40,7 +40,11 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * Service Description: [Service Usage API](/service-usage/docs/overview) + * Service Description: Enables services that service consumers want to use on Google Cloud + * Platform, lists the available or enabled services, or disables services that service consumers no + * longer use. + * + *
See [Service Usage API](https://cloud.google.com/service-usage/docs/overview) * *
This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: diff --git a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/package-info.java b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/package-info.java index 12a2dba2..de9df1c6 100644 --- a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/package-info.java +++ b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/package-info.java @@ -19,7 +19,11 @@ * *
======================= ServiceUsageClient ======================= * - *
Service Description: [Service Usage API](/service-usage/docs/overview) + *
Service Description: Enables services that service consumers want to use on Google Cloud + * Platform, lists the available or enabled services, or disables services that service consumers no + * longer use. + * + *
See [Service Usage API](https://cloud.google.com/service-usage/docs/overview) * *
Sample for ServiceUsageClient: * diff --git a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageClient.java b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageClient.java index bb854b46..800dbd36 100644 --- a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageClient.java +++ b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageClient.java @@ -41,7 +41,7 @@ // AUTO-GENERATED DOCUMENTATION AND CLASS. /** - * Service Description: [Service Usage API](/service-usage/docs/overview) + * Service Description: [Service Usage API](https://cloud.google.com/service-usage/docs/overview) * *
This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. Sample code to get started: diff --git a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/package-info.java b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/package-info.java index 254a4e62..6571196e 100644 --- a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/package-info.java +++ b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/package-info.java @@ -19,7 +19,7 @@ * *
======================= ServiceUsageClient ======================= * - *
Service Description: [Service Usage API](/service-usage/docs/overview) + *
Service Description: [Service Usage API](https://cloud.google.com/service-usage/docs/overview) * *
Sample for ServiceUsageClient:
*
diff --git a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/ServiceUsageStubSettings.java b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/ServiceUsageStubSettings.java
index 0a3df9a5..e4398973 100644
--- a/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/ServiceUsageStubSettings.java
+++ b/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/ServiceUsageStubSettings.java
@@ -128,7 +128,11 @@
public class ServiceUsageStubSettings extends StubSettings
- * [Service Usage API](/service-usage/docs/overview)
+ * Enables services that service consumers want to use on Google Cloud Platform,
+ * lists the available or enabled services, or disables services that service
+ * consumers no longer use.
+ * See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
@javax.annotation.Generated(
@@ -349,7 +352,10 @@ public ServiceUsageFutureStub newStub(
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * Enables services that service consumers want to use on Google Cloud Platform,
+ * lists the available or enabled services, or disables services that service
+ * consumers no longer use.
+ * See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public abstract static class ServiceUsageImplBase implements io.grpc.BindableService {
@@ -507,7 +513,10 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * Enables services that service consumers want to use on Google Cloud Platform,
+ * lists the available or enabled services, or disables services that service
+ * consumers no longer use.
+ * See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public static final class ServiceUsageStub
@@ -641,7 +650,10 @@ public void batchGetServices(
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * Enables services that service consumers want to use on Google Cloud Platform,
+ * lists the available or enabled services, or disables services that service
+ * consumers no longer use.
+ * See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public static final class ServiceUsageBlockingStub
@@ -758,7 +770,10 @@ public com.google.api.serviceusage.v1.BatchGetServicesResponse batchGetServices(
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * Enables services that service consumers want to use on Google Cloud Platform,
+ * lists the available or enabled services, or disables services that service
+ * consumers no longer use.
+ * See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public static final class ServiceUsageFutureStub
diff --git a/grpc-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageGrpc.java b/grpc-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageGrpc.java
index 6ca4294c..c1eeb666 100644
--- a/grpc-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageGrpc.java
+++ b/grpc-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageGrpc.java
@@ -21,7 +21,7 @@
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
@javax.annotation.Generated(
@@ -994,7 +994,7 @@ public ServiceUsageFutureStub newStub(
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public abstract static class ServiceUsageImplBase implements io.grpc.BindableService {
@@ -1441,7 +1441,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public static final class ServiceUsageStub
@@ -1808,7 +1808,7 @@ public void generateServiceIdentity(
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public static final class ServiceUsageBlockingStub
@@ -2114,7 +2114,7 @@ public com.google.longrunning.Operation generateServiceIdentity(
*
*
*
- * [Service Usage API](/service-usage/docs/overview)
+ * [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
*
*/
public static final class ServiceUsageFutureStub
diff --git a/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ResourcesProto.java b/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ResourcesProto.java
index 00daf8dd..2984e677 100644
--- a/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ResourcesProto.java
+++ b/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ResourcesProto.java
@@ -72,10 +72,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022*\n\nmonitoring\030\034 \001(\0132\026.google.api.Monito"
+ "ring\"+\n\021OperationMetadata\022\026\n\016resource_na"
+ "mes\030\002 \003(\t*9\n\005State\022\025\n\021STATE_UNSPECIFIED\020"
- + "\000\022\014\n\010DISABLED\020\001\022\013\n\007ENABLED\020\002Bz\n\036com.goog"
- + "le.api.serviceusage.v1B\016ResourcesProtoP\001"
- + "ZFgoogle.golang.org/genproto/googleapis/"
- + "api/serviceusage/v1;serviceusageb\006proto3"
+ + "\000\022\014\n\010DISABLED\020\001\022\013\n\007ENABLED\020\002B\332\001\n\036com.goo"
+ + "gle.api.serviceusage.v1B\016ResourcesProtoP"
+ + "\001ZFgoogle.golang.org/genproto/googleapis"
+ + "/api/serviceusage/v1;serviceusage\252\002\034Goog"
+ + "le.Cloud.ServiceUsage.V1\312\002\034Google\\Cloud\\"
+ + "ServiceUsage\\V1\352\002\037Google::Cloud::Service"
+ + "Usage::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ServiceUsageProto.java b/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ServiceUsageProto.java
index e9e32582..c9f67817 100644
--- a/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ServiceUsageProto.java
+++ b/proto-google-cloud-service-usage-v1/src/main/java/com/google/api/serviceusage/v1/ServiceUsageProto.java
@@ -149,10 +149,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oogleapis.com/auth/cloud-platform,https:"
+ "//www.googleapis.com/auth/cloud-platform"
+ ".read-only,https://www.googleapis.com/au"
- + "th/service.managementB}\n\036com.google.api."
- + "serviceusage.v1B\021ServiceUsageProtoP\001ZFgo"
- + "ogle.golang.org/genproto/googleapis/api/"
- + "serviceusage/v1;serviceusageb\006proto3"
+ + "th/service.managementB\335\001\n\036com.google.api"
+ + ".serviceusage.v1B\021ServiceUsageProtoP\001ZFg"
+ + "oogle.golang.org/genproto/googleapis/api"
+ + "/serviceusage/v1;serviceusage\252\002\034Google.C"
+ + "loud.ServiceUsage.V1\312\002\034Google\\Cloud\\Serv"
+ + "iceUsage\\V1\352\002\037Google::Cloud::ServiceUsag"
+ + "e::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/resources.proto b/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/resources.proto
index 127ff8bb..a2aaae96 100644
--- a/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/resources.proto
+++ b/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/resources.proto
@@ -26,10 +26,13 @@ import "google/api/usage.proto";
import "google/protobuf/api.proto";
import "google/api/annotations.proto";
+option csharp_namespace = "Google.Cloud.ServiceUsage.V1";
option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage";
option java_multiple_files = true;
option java_outer_classname = "ResourcesProto";
option java_package = "com.google.api.serviceusage.v1";
+option php_namespace = "Google\\Cloud\\ServiceUsage\\V1";
+option ruby_package = "Google::Cloud::ServiceUsage::V1";
// A service that is available for use by the consumer.
message Service {
diff --git a/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/serviceusage.proto b/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/serviceusage.proto
index 872fc38e..fad7c327 100644
--- a/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/serviceusage.proto
+++ b/proto-google-cloud-service-usage-v1/src/main/proto/google/api/serviceusage/v1/serviceusage.proto
@@ -21,12 +21,19 @@ import "google/api/serviceusage/v1/resources.proto";
import "google/longrunning/operations.proto";
import "google/api/client.proto";
+option csharp_namespace = "Google.Cloud.ServiceUsage.V1";
option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage";
option java_multiple_files = true;
option java_outer_classname = "ServiceUsageProto";
option java_package = "com.google.api.serviceusage.v1";
+option php_namespace = "Google\\Cloud\\ServiceUsage\\V1";
+option ruby_package = "Google::Cloud::ServiceUsage::V1";
-// [Service Usage API](/service-usage/docs/overview)
+// Enables services that service consumers want to use on Google Cloud Platform,
+// lists the available or enabled services, or disables services that service
+// consumers no longer use.
+//
+// See [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
service ServiceUsage {
option (google.api.default_host) = "serviceusage.googleapis.com";
option (google.api.oauth_scopes) =
diff --git a/proto-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageProto.java b/proto-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageProto.java
index a7849a70..eca373a7 100644
--- a/proto-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageProto.java
+++ b/proto-google-cloud-service-usage-v1beta1/src/main/java/com/google/api/serviceusage/v1beta1/ServiceUsageProto.java
@@ -286,7 +286,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ServiceIdentityResponse.IdentityState\";\n"
+ "\rIdentityState\022\036\n\032IDENTITY_STATE_UNSPECI"
+ "FIED\020\000\022\n\n\006ACTIVE\020\001\"\034\n\032GetServiceIdentity"
- + "Metadata2\216#\n\014ServiceUsage\022\307\001\n\rEnableServ"
+ + "Metadata2\374#\n\014ServiceUsage\022\307\001\n\rEnableServ"
+ "ice\0225.google.api.serviceusage.v1beta1.En"
+ "ableServiceRequest\032\035.google.longrunning."
+ "Operation\"`\210\002\001\202\323\344\223\002*\"%/v1beta1/{name=*/*"
@@ -396,15 +396,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "uest\032\035.google.longrunning.Operation\"k\202\323\344"
+ "\223\002:\"8/v1beta1/{parent=*/*/services/*}:ge"
+ "nerateServiceIdentity\312A(\n\017ServiceIdentit"
- + "y\022\025google.protobuf.Empty\032O\312A\033serviceusag"
- + "e.googleapis.com\322A.https://www.googleapi"
- + "s.com/auth/cloud-platformB\360\001\n#com.google"
- + ".api.serviceusage.v1beta1B\021ServiceUsageP"
- + "rotoP\001ZKgoogle.golang.org/genproto/googl"
- + "eapis/api/serviceusage/v1beta1;serviceus"
- + "age\252\002\037Google.Api.ServiceUsage.V1Beta1\312\002\037"
- + "Google\\Api\\ServiceUsage\\V1beta1\352\002\"Google"
- + "::Api::ServiceUsage::V1beta1b\006proto3"
+ + "y\022\025google.protobuf.Empty\032\274\001\312A\033serviceusa"
+ + "ge.googleapis.com\322A\232\001https://www.googlea"
+ + "pis.com/auth/cloud-platform,https://www."
+ + "googleapis.com/auth/cloud-platform.read-"
+ + "only,https://www.googleapis.com/auth/ser"
+ + "vice.managementB\360\001\n#com.google.api.servi"
+ + "ceusage.v1beta1B\021ServiceUsageProtoP\001ZKgo"
+ + "ogle.golang.org/genproto/googleapis/api/"
+ + "serviceusage/v1beta1;serviceusage\252\002\037Goog"
+ + "le.Api.ServiceUsage.V1Beta1\312\002\037Google\\Api"
+ + "\\ServiceUsage\\V1beta1\352\002\"Google::Api::Ser"
+ + "viceUsage::V1beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-service-usage-v1beta1/src/main/proto/google/api/serviceusage/v1beta1/serviceusage.proto b/proto-google-cloud-service-usage-v1beta1/src/main/proto/google/api/serviceusage/v1beta1/serviceusage.proto
index f41633f7..2b0761f3 100644
--- a/proto-google-cloud-service-usage-v1beta1/src/main/proto/google/api/serviceusage/v1beta1/serviceusage.proto
+++ b/proto-google-cloud-service-usage-v1beta1/src/main/proto/google/api/serviceusage/v1beta1/serviceusage.proto
@@ -31,10 +31,13 @@ option java_package = "com.google.api.serviceusage.v1beta1";
option php_namespace = "Google\\Api\\ServiceUsage\\V1beta1";
option ruby_package = "Google::Api::ServiceUsage::V1beta1";
-// [Service Usage API](/service-usage/docs/overview)
+// [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
service ServiceUsage {
option (google.api.default_host) = "serviceusage.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform,"
+ "https://www.googleapis.com/auth/cloud-platform.read-only,"
+ "https://www.googleapis.com/auth/service.management";
// Enables a service so that it can be used with a project.
//