aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogle APIs <noreply@google.com>2019-02-28 12:15:49 -0800
committerCopybara-Service <copybara-piper@google.com>2019-02-28 12:17:30 -0800
commit6cf73b53b69cda791aabe9bc478a7ec6351228ca (patch)
tree4c6278bb774f9ea349e22a572ee78cdd5a768ec5
parent2a18b58835c0975a6665671a1ac76ff857ea069f (diff)
downloadgoogleapis-6cf73b53b69cda791aabe9bc478a7ec6351228ca.tar.gz
Synchronize new proto/yaml changes.
PiperOrigin-RevId: 236171556
-rw-r--r--google/cloud/securitycenter/v1/asset.proto5
-rw-r--r--google/cloud/securitycenter/v1/finding.proto5
-rw-r--r--google/cloud/securitycenter/v1/organization_settings.proto1
-rw-r--r--google/cloud/securitycenter/v1/security_marks.proto1
-rw-r--r--google/cloud/securitycenter/v1/securitycenter_service.proto19
-rw-r--r--google/cloud/securitycenter/v1/source.proto1
-rw-r--r--google/cloud/securitycenter/v1beta1/organization_settings.proto1
-rw-r--r--google/cloud/securitycenter/v1beta1/security_marks.proto1
-rw-r--r--google/cloud/videointelligence/v1/video_intelligence.proto21
-rw-r--r--google/cloud/videointelligence/v1beta1/video_intelligence.proto20
-rw-r--r--google/cloud/videointelligence/v1beta2/video_intelligence.proto21
-rw-r--r--google/cloud/videointelligence/v1p1beta1/video_intelligence.proto16
-rw-r--r--google/cloud/videointelligence/v1p2beta1/video_intelligence.proto16
-rw-r--r--google/cloud/videointelligence/v1p3beta1/video_intelligence.proto20
-rw-r--r--google/cloud/websecurityscanner/v1alpha/crawled_url.proto1
-rw-r--r--google/cloud/websecurityscanner/v1alpha/finding.proto1
-rw-r--r--google/cloud/websecurityscanner/v1alpha/finding_addon.proto1
-rw-r--r--google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto1
-rw-r--r--google/cloud/websecurityscanner/v1alpha/scan_config.proto1
-rw-r--r--google/cloud/websecurityscanner/v1alpha/scan_run.proto1
-rw-r--r--google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto13
21 files changed, 86 insertions, 81 deletions
diff --git a/google/cloud/securitycenter/v1/asset.proto b/google/cloud/securitycenter/v1/asset.proto
index 00753b7c1..7508fc62a 100644
--- a/google/cloud/securitycenter/v1/asset.proto
+++ b/google/cloud/securitycenter/v1/asset.proto
@@ -17,16 +17,15 @@ syntax = "proto3";
package google.cloud.securitycenter.v1;
+import "google/api/annotations.proto";
+import "google/cloud/securitycenter/v1/security_marks.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
-import "google/cloud/securitycenter/v1/security_marks.proto";
-import "google/api/annotations.proto";
option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
-
// Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
// Platform (GCP) resource.
//
diff --git a/google/cloud/securitycenter/v1/finding.proto b/google/cloud/securitycenter/v1/finding.proto
index 21f5bc835..992598cff 100644
--- a/google/cloud/securitycenter/v1/finding.proto
+++ b/google/cloud/securitycenter/v1/finding.proto
@@ -17,16 +17,15 @@ syntax = "proto3";
package google.cloud.securitycenter.v1;
+import "google/api/annotations.proto";
+import "google/cloud/securitycenter/v1/security_marks.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
-import "google/cloud/securitycenter/v1/security_marks.proto";
-import "google/api/annotations.proto";
option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
-
// Cloud Security Command Center (Cloud SCC) finding.
//
// A finding is a record of assessment data (security, risk, health or privacy)
diff --git a/google/cloud/securitycenter/v1/organization_settings.proto b/google/cloud/securitycenter/v1/organization_settings.proto
index bde7c3e89..c3c12a281 100644
--- a/google/cloud/securitycenter/v1/organization_settings.proto
+++ b/google/cloud/securitycenter/v1/organization_settings.proto
@@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
-
// User specified settings that are attached to the Cloud Security Command
// Center (Cloud SCC) organization.
message OrganizationSettings {
diff --git a/google/cloud/securitycenter/v1/security_marks.proto b/google/cloud/securitycenter/v1/security_marks.proto
index f6e5ba591..b4197e74e 100644
--- a/google/cloud/securitycenter/v1/security_marks.proto
+++ b/google/cloud/securitycenter/v1/security_marks.proto
@@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
-
// User specified security marks that are attached to the parent Cloud Security
// Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
// SCC organization -- they can be modified and viewed by all users who have
diff --git a/google/cloud/securitycenter/v1/securitycenter_service.proto b/google/cloud/securitycenter/v1/securitycenter_service.proto
index f36bb3b7c..59ce2b964 100644
--- a/google/cloud/securitycenter/v1/securitycenter_service.proto
+++ b/google/cloud/securitycenter/v1/securitycenter_service.proto
@@ -36,7 +36,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
-
// V1 APIs for Security Center service.
service SecurityCenter {
// Creates a source.
@@ -57,7 +56,8 @@ service SecurityCenter {
}
// Gets the access control policy on the specified Source.
- rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
option (google.api.http) = {
post: "/v1/{resource=organizations/*/sources/*}:getIamPolicy"
body: "*"
@@ -65,7 +65,8 @@ service SecurityCenter {
}
// Gets the settings for an organization.
- rpc GetOrganizationSettings(GetOrganizationSettingsRequest) returns (OrganizationSettings) {
+ rpc GetOrganizationSettings(GetOrganizationSettingsRequest)
+ returns (OrganizationSettings) {
option (google.api.http) = {
get: "/v1/{name=organizations/*/organizationSettings}"
};
@@ -129,7 +130,8 @@ service SecurityCenter {
// This API can only be called with limited frequency for an organization. If
// it is called too frequently the caller will receive a TOO_MANY_REQUESTS
// error.
- rpc RunAssetDiscovery(RunAssetDiscoveryRequest) returns (google.longrunning.Operation) {
+ rpc RunAssetDiscovery(RunAssetDiscoveryRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{parent=organizations/*}/assets:runDiscovery"
body: "*"
@@ -145,7 +147,8 @@ service SecurityCenter {
}
// Sets the access control policy on the specified Source.
- rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
+ returns (google.iam.v1.Policy) {
option (google.api.http) = {
post: "/v1/{resource=organizations/*/sources/*}:setIamPolicy"
body: "*"
@@ -153,7 +156,8 @@ service SecurityCenter {
}
// Returns the permissions that a caller has on the specified source.
- rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
+ returns (google.iam.v1.TestIamPermissionsResponse) {
option (google.api.http) = {
post: "/v1/{resource=organizations/*/sources/*}:testIamPermissions"
body: "*"
@@ -170,7 +174,8 @@ service SecurityCenter {
}
// Updates an organization's settings.
- rpc UpdateOrganizationSettings(UpdateOrganizationSettingsRequest) returns (OrganizationSettings) {
+ rpc UpdateOrganizationSettings(UpdateOrganizationSettingsRequest)
+ returns (OrganizationSettings) {
option (google.api.http) = {
patch: "/v1/{organization_settings.name=organizations/*/organizationSettings}"
body: "organization_settings"
diff --git a/google/cloud/securitycenter/v1/source.proto b/google/cloud/securitycenter/v1/source.proto
index 8fa038873..e58a0596d 100644
--- a/google/cloud/securitycenter/v1/source.proto
+++ b/google/cloud/securitycenter/v1/source.proto
@@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1";
-
// Cloud Security Command Center's (Cloud SCC) finding source. A finding source
// is an entity or a mechanism that can produce a finding. A source is like a
// container of findings that come from the same scanner, logger, monitor, etc.
diff --git a/google/cloud/securitycenter/v1beta1/organization_settings.proto b/google/cloud/securitycenter/v1beta1/organization_settings.proto
index cc9f1c3ce..ca9be1145 100644
--- a/google/cloud/securitycenter/v1beta1/organization_settings.proto
+++ b/google/cloud/securitycenter/v1beta1/organization_settings.proto
@@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1beta1";
-
// User specified settings that are attached to the Cloud Security Command
// Center (Cloud SCC) organization.
message OrganizationSettings {
diff --git a/google/cloud/securitycenter/v1beta1/security_marks.proto b/google/cloud/securitycenter/v1beta1/security_marks.proto
index 02eb9ed23..cfcb5f7dc 100644
--- a/google/cloud/securitycenter/v1beta1/security_marks.proto
+++ b/google/cloud/securitycenter/v1beta1/security_marks.proto
@@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/
option java_multiple_files = true;
option java_package = "com.google.cloud.securitycenter.v1beta1";
-
// User specified security marks that are attached to the parent Cloud Security
// Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
// SCC organization -- they can be modified and viewed by all users who have
diff --git a/google/cloud/videointelligence/v1/video_intelligence.proto b/google/cloud/videointelligence/v1/video_intelligence.proto
index 048750865..09b51f5d0 100644
--- a/google/cloud/videointelligence/v1/video_intelligence.proto
+++ b/google/cloud/videointelligence/v1/video_intelligence.proto
@@ -30,15 +30,18 @@ option java_outer_classname = "VideoIntelligenceServiceProto";
option java_package = "com.google.cloud.videointelligence.v1";
option php_namespace = "Google\\Cloud\\VideoIntelligence\\V1";
-
// Service that implements Google Cloud Video Intelligence API.
service VideoIntelligenceService {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
- rpc AnnotateVideo(AnnotateVideoRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = { post: "/v1/videos:annotate" body: "*" };
+ rpc AnnotateVideo(AnnotateVideoRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/videos:annotate"
+ body: "*"
+ };
}
}
@@ -48,10 +51,10 @@ message AnnotateVideoRequest {
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
- // A video URI may include wildcards in `object-id`, and thus identify
- // multiple videos. Supported wildcards: '*' to match 0 or more characters;
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris). A video
+ // URI may include wildcards in `object-id`, and thus identify multiple
+ // videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
string input_uri = 1;
@@ -71,8 +74,8 @@ message AnnotateVideoRequest {
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
// Optional cloud region where annotation should take place. Supported cloud
diff --git a/google/cloud/videointelligence/v1beta1/video_intelligence.proto b/google/cloud/videointelligence/v1beta1/video_intelligence.proto
index 9ec2a5e9f..86b5b800c 100644
--- a/google/cloud/videointelligence/v1beta1/video_intelligence.proto
+++ b/google/cloud/videointelligence/v1beta1/video_intelligence.proto
@@ -34,8 +34,12 @@ service VideoIntelligenceService {
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
- rpc AnnotateVideo(AnnotateVideoRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = { post: "/v1beta1/videos:annotate" body: "*" };
+ rpc AnnotateVideo(AnnotateVideoRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta1/videos:annotate"
+ body: "*"
+ };
}
}
@@ -45,10 +49,10 @@ message AnnotateVideoRequest {
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
- // A video URI may include wildcards in `object-id`, and thus identify
- // multiple videos. Supported wildcards: '*' to match 0 or more characters;
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris). A video
+ // URI may include wildcards in `object-id`, and thus identify multiple
+ // videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
string input_uri = 1;
@@ -67,8 +71,8 @@ message AnnotateVideoRequest {
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
// Optional cloud region where annotation should take place. Supported cloud
diff --git a/google/cloud/videointelligence/v1beta2/video_intelligence.proto b/google/cloud/videointelligence/v1beta2/video_intelligence.proto
index 6099e97d5..b86664784 100644
--- a/google/cloud/videointelligence/v1beta2/video_intelligence.proto
+++ b/google/cloud/videointelligence/v1beta2/video_intelligence.proto
@@ -29,15 +29,18 @@ option java_outer_classname = "VideoIntelligenceServiceProto";
option java_package = "com.google.cloud.videointelligence.v1beta2";
option php_namespace = "Google\\Cloud\\VideoIntelligence\\V1beta2";
-
// Service that implements Google Cloud Video Intelligence API.
service VideoIntelligenceService {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
- rpc AnnotateVideo(AnnotateVideoRequest) returns (google.longrunning.Operation) {
- option (google.api.http) = { post: "/v1beta2/videos:annotate" body: "*" };
+ rpc AnnotateVideo(AnnotateVideoRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta2/videos:annotate"
+ body: "*"
+ };
}
}
@@ -47,10 +50,10 @@ message AnnotateVideoRequest {
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
- // A video URI may include wildcards in `object-id`, and thus identify
- // multiple videos. Supported wildcards: '*' to match 0 or more characters;
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris). A video
+ // URI may include wildcards in `object-id`, and thus identify multiple
+ // videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
string input_uri = 1;
@@ -70,8 +73,8 @@ message AnnotateVideoRequest {
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
// Optional cloud region where annotation should take place. Supported cloud
diff --git a/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto b/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto
index 24bdb8eeb..626cc35b8 100644
--- a/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto
+++ b/google/cloud/videointelligence/v1p1beta1/video_intelligence.proto
@@ -29,14 +29,14 @@ option java_outer_classname = "VideoIntelligenceServiceProto";
option java_package = "com.google.cloud.videointelligence.v1p1beta1";
option php_namespace = "Google\\Cloud\\VideoIntelligence\\V1p1beta1";
-
// Service that implements Google Cloud Video Intelligence API.
service VideoIntelligenceService {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
- rpc AnnotateVideo(AnnotateVideoRequest) returns (google.longrunning.Operation) {
+ rpc AnnotateVideo(AnnotateVideoRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1p1beta1/videos:annotate"
body: "*"
@@ -50,10 +50,10 @@ message AnnotateVideoRequest {
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
- // A video URI may include wildcards in `object-id`, and thus identify
- // multiple videos. Supported wildcards: '*' to match 0 or more characters;
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris). A video
+ // URI may include wildcards in `object-id`, and thus identify multiple
+ // videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
string input_uri = 1;
@@ -73,8 +73,8 @@ message AnnotateVideoRequest {
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
// Optional cloud region where annotation should take place. Supported cloud
diff --git a/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto b/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
index ce540c90c..b1318167e 100644
--- a/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
+++ b/google/cloud/videointelligence/v1p2beta1/video_intelligence.proto
@@ -30,14 +30,14 @@ option java_outer_classname = "VideoIntelligenceServiceProto";
option java_package = "com.google.cloud.videointelligence.v1p2beta1";
option php_namespace = "Google\\Cloud\\VideoIntelligence\\V1p2beta1";
-
// Service that implements Google Cloud Video Intelligence API.
service VideoIntelligenceService {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
- rpc AnnotateVideo(AnnotateVideoRequest) returns (google.longrunning.Operation) {
+ rpc AnnotateVideo(AnnotateVideoRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1p2beta1/videos:annotate"
body: "*"
@@ -51,10 +51,10 @@ message AnnotateVideoRequest {
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
- // A video URI may include wildcards in `object-id`, and thus identify
- // multiple videos. Supported wildcards: '*' to match 0 or more characters;
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris). A video
+ // URI may include wildcards in `object-id`, and thus identify multiple
+ // videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
string input_uri = 1;
@@ -74,8 +74,8 @@ message AnnotateVideoRequest {
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
// Optional cloud region where annotation should take place. Supported cloud
diff --git a/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto b/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto
index fa5b7515d..dc65a651e 100644
--- a/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto
+++ b/google/cloud/videointelligence/v1p3beta1/video_intelligence.proto
@@ -30,14 +30,14 @@ option java_outer_classname = "VideoIntelligenceServiceProto";
option java_package = "com.google.cloud.videointelligence.v1p3beta1";
option php_namespace = "Google\\Cloud\\VideoIntelligence\\V1p3beta1";
-
// Service that implements Google Cloud Video Intelligence API.
service VideoIntelligenceService {
// Performs asynchronous video annotation. Progress and results can be
// retrieved through the `google.longrunning.Operations` interface.
// `Operation.metadata` contains `AnnotateVideoProgress` (progress).
// `Operation.response` contains `AnnotateVideoResponse` (results).
- rpc AnnotateVideo(AnnotateVideoRequest) returns (google.longrunning.Operation) {
+ rpc AnnotateVideo(AnnotateVideoRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1p3beta1/videos:annotate"
body: "*"
@@ -51,7 +51,7 @@ service StreamingVideoIntelligenceService {
// while sending video/audio bytes.
// This method is only available via the gRPC API (not REST).
rpc StreamingAnnotateVideo(stream StreamingAnnotateVideoRequest)
- returns (stream StreamingAnnotateVideoResponse);
+ returns (stream StreamingAnnotateVideoResponse);
}
// Video annotation request.
@@ -60,10 +60,10 @@ message AnnotateVideoRequest {
// [Google Cloud Storage](https://cloud.google.com/storage/) URIs are
// supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
- // A video URI may include wildcards in `object-id`, and thus identify
- // multiple videos. Supported wildcards: '*' to match 0 or more characters;
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris). A video
+ // URI may include wildcards in `object-id`, and thus identify multiple
+ // videos. Supported wildcards: '*' to match 0 or more characters;
// '?' to match 1 character. If unset, the input video should be embedded
// in the request as `input_content`. If set, `input_content` should be unset.
string input_uri = 1;
@@ -83,8 +83,8 @@ message AnnotateVideoRequest {
// Currently, only [Google Cloud Storage](https://cloud.google.com/storage/)
// URIs are supported, which must be specified in the following format:
// `gs://bucket-id/object-id` (other URI formats return
- // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
- // [Request URIs](/storage/docs/reference-uris).
+ // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For
+ // more information, see [Request URIs](/storage/docs/reference-uris).
string output_uri = 4;
// Optional cloud region where annotation should take place. Supported cloud
@@ -545,7 +545,7 @@ message StreamingVideoConfig {
// Config for STREAMING_EXPLICIT_CONTENT_DETECTION.
StreamingExplicitContentDetectionConfig explicit_content_detection_config =
- 4;
+ 4;
// Config for STREAMING_OBJECT_TRACKING.
StreamingObjectTrackingConfig object_tracking_config = 5;
diff --git a/google/cloud/websecurityscanner/v1alpha/crawled_url.proto b/google/cloud/websecurityscanner/v1alpha/crawled_url.proto
index 8951e50bf..d4c40eae8 100644
--- a/google/cloud/websecurityscanner/v1alpha/crawled_url.proto
+++ b/google/cloud/websecurityscanner/v1alpha/crawled_url.proto
@@ -23,7 +23,6 @@ option java_multiple_files = true;
option java_outer_classname = "CrawledUrlProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web
// Security Scanner Service crawls the web applications, following all links
// within the scope of sites, to find the URLs to test against.
diff --git a/google/cloud/websecurityscanner/v1alpha/finding.proto b/google/cloud/websecurityscanner/v1alpha/finding.proto
index bdb151526..07140e276 100644
--- a/google/cloud/websecurityscanner/v1alpha/finding.proto
+++ b/google/cloud/websecurityscanner/v1alpha/finding.proto
@@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "FindingProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// A Finding resource represents a vulnerability instance identified during a
// ScanRun.
message Finding {
diff --git a/google/cloud/websecurityscanner/v1alpha/finding_addon.proto b/google/cloud/websecurityscanner/v1alpha/finding_addon.proto
index d0777f64d..a7d344b84 100644
--- a/google/cloud/websecurityscanner/v1alpha/finding_addon.proto
+++ b/google/cloud/websecurityscanner/v1alpha/finding_addon.proto
@@ -23,7 +23,6 @@ option java_multiple_files = true;
option java_outer_classname = "FindingAddonProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// Information reported for an outdated library.
message OutdatedLibrary {
// The name of the outdated library.
diff --git a/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto b/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto
index 6b324482b..73115667f 100644
--- a/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto
+++ b/google/cloud/websecurityscanner/v1alpha/finding_type_stats.proto
@@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "FindingTypeStatsProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// A FindingTypeStats resource represents stats regarding a specific FindingType
// of Findings under a given ScanRun.
message FindingTypeStats {
diff --git a/google/cloud/websecurityscanner/v1alpha/scan_config.proto b/google/cloud/websecurityscanner/v1alpha/scan_config.proto
index ffebe6fd7..144f7f2b5 100644
--- a/google/cloud/websecurityscanner/v1alpha/scan_config.proto
+++ b/google/cloud/websecurityscanner/v1alpha/scan_config.proto
@@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "ScanConfigProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// A ScanConfig resource contains the configurations to launch a scan.
message ScanConfig {
// Scan authentication configuration.
diff --git a/google/cloud/websecurityscanner/v1alpha/scan_run.proto b/google/cloud/websecurityscanner/v1alpha/scan_run.proto
index 13b7e7578..36e2d0925 100644
--- a/google/cloud/websecurityscanner/v1alpha/scan_run.proto
+++ b/google/cloud/websecurityscanner/v1alpha/scan_run.proto
@@ -24,7 +24,6 @@ option java_multiple_files = true;
option java_outer_classname = "ScanRunProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// A ScanRun is a output-only resource representing an actual run of the scan.
message ScanRun {
// Types of ScanRun execution state.
diff --git a/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto b/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto
index b23375359..b07516aaf 100644
--- a/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto
+++ b/google/cloud/websecurityscanner/v1alpha/web_security_scanner.proto
@@ -30,7 +30,6 @@ option java_multiple_files = true;
option java_outer_classname = "WebSecurityScannerProto";
option java_package = "com.google.cloud.websecurityscanner.v1alpha";
-
// Cloud Web Security Scanner Service identifies security vulnerabilities in web
// applications hosted on Google Cloud Platform. It crawls your application, and
// attempts to exercise as many user inputs and event handlers as possible.
@@ -44,7 +43,8 @@ service WebSecurityScanner {
}
// Deletes an existing ScanConfig and its child resources.
- rpc DeleteScanConfig(DeleteScanConfigRequest) returns (google.protobuf.Empty) {
+ rpc DeleteScanConfig(DeleteScanConfigRequest)
+ returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1alpha/{name=projects/*/scanConfigs/*}"
};
@@ -58,7 +58,8 @@ service WebSecurityScanner {
}
// Lists ScanConfigs under a given project.
- rpc ListScanConfigs(ListScanConfigsRequest) returns (ListScanConfigsResponse) {
+ rpc ListScanConfigs(ListScanConfigsRequest)
+ returns (ListScanConfigsResponse) {
option (google.api.http) = {
get: "/v1alpha/{parent=projects/*}/scanConfigs"
};
@@ -104,7 +105,8 @@ service WebSecurityScanner {
}
// List CrawledUrls under a given ScanRun.
- rpc ListCrawledUrls(ListCrawledUrlsRequest) returns (ListCrawledUrlsResponse) {
+ rpc ListCrawledUrls(ListCrawledUrlsRequest)
+ returns (ListCrawledUrlsResponse) {
option (google.api.http) = {
get: "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/crawledUrls"
};
@@ -125,7 +127,8 @@ service WebSecurityScanner {
}
// List all FindingTypeStats under a given ScanRun.
- rpc ListFindingTypeStats(ListFindingTypeStatsRequest) returns (ListFindingTypeStatsResponse) {
+ rpc ListFindingTypeStats(ListFindingTypeStatsRequest)
+ returns (ListFindingTypeStatsResponse) {
option (google.api.http) = {
get: "/v1alpha/{parent=projects/*/scanConfigs/*/scanRuns/*}/findingTypeStats"
};