Skip to content

Commit 80f547b

Browse files
Google APIscopybara-github
authored andcommitted
feat: ServiceController V2 APIs are out of private preview
PiperOrigin-RevId: 785492473
1 parent 229bd75 commit 80f547b

1 file changed

Lines changed: 9 additions & 19 deletions

File tree

google/api/servicecontrol/v2/service_controller.proto

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,17 @@ import "google/api/client.proto";
2121
import "google/rpc/context/attribute_context.proto";
2222
import "google/rpc/status.proto";
2323

24-
option cc_enable_arenas = true;
2524
option csharp_namespace = "Google.Cloud.ServiceControl.V2";
2625
option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v2;servicecontrol";
2726
option java_multiple_files = true;
2827
option java_outer_classname = "ServiceControllerProto";
2928
option java_package = "com.google.api.servicecontrol.v2";
30-
option objc_class_prefix = "GASC";
3129
option php_namespace = "Google\\Cloud\\ServiceControl\\V2";
3230
option ruby_package = "Google::Cloud::ServiceControl::V2";
3331

3432
// [Service Control API
3533
// v2](https://cloud.google.com/service-infrastructure/docs/service-control/access-control)
3634
//
37-
// Private Preview. This feature is only available for approved services.
38-
//
3935
// This API provides admission control and telemetry reporting for services
4036
// that are integrated with [Service
4137
// Infrastructure](https://cloud.google.com/service-infrastructure).
@@ -45,8 +41,6 @@ service ServiceController {
4541
"https://www.googleapis.com/auth/cloud-platform,"
4642
"https://www.googleapis.com/auth/servicecontrol";
4743

48-
// Private Preview. This feature is only available for approved services.
49-
//
5044
// This method provides admission control for services that are integrated
5145
// with [Service
5246
// Infrastructure](https://cloud.google.com/service-infrastructure). It checks
@@ -74,8 +68,6 @@ service ServiceController {
7468
};
7569
}
7670

77-
// Private Preview. This feature is only available for approved services.
78-
//
7971
// This method provides telemetry reporting for services that are integrated
8072
// with [Service
8173
// Infrastructure](https://cloud.google.com/service-infrastructure). It
@@ -84,9 +76,8 @@ service ServiceController {
8476
// [Telemetry
8577
// Reporting](https://cloud.google.com/service-infrastructure/docs/telemetry-reporting).
8678
//
87-
// NOTE: The telemetry reporting has a hard limit of 1000 operations and 1MB
88-
// per Report call. It is recommended to have no more than 100 operations per
89-
// call.
79+
// NOTE: The telemetry reporting has a hard limit of 100 operations and 1MB
80+
// per Report call.
9081
//
9182
// This method requires the `servicemanagement.services.report` permission
9283
// on the specified service. For more information, see
@@ -140,16 +131,15 @@ message ResourceInfo {
140131
// Optional. The identifier of the container of this resource. For Google
141132
// Cloud APIs, the resource container must be one of the following formats:
142133
// - `projects/<project-id or project-number>`
143-
// - `folders/<folder-id>`
144-
// - `organizations/<organization-id>`
145-
// For the policy enforcement on the container level (VPCSC and Location
146-
// Policy check), this field takes precedence on the container extracted from
147-
// name when presents.
134+
// - `folders/<folder-number>`
135+
// - `organizations/<organization-number>`
136+
// Required for the policy enforcement on the container level (e.g. VPCSC,
137+
// Location Policy check, Org Policy check).
148138
string container = 4;
149139

150-
// Optional. The location of the resource. The value must be a valid zone,
151-
// region or multiregion. For example: "europe-west4" or
152-
// "northamerica-northeast1-a"
140+
// Optional. The location of the resource, it must be a valid zone, region or
141+
// multiregion, for example: "europe-west4", "northamerica-northeast1-a".
142+
// Required for location policy check.
153143
string location = 5;
154144
}
155145

0 commit comments

Comments
 (0)