Update cloud asset api v1p4beta1.
PiperOrigin-RevId: 298686266
This commit is contained in:
parent
c0d171acec
commit
541b1ded4a
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2019 Google LLC.
|
||||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
|
@ -11,7 +11,6 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
|
|
@ -35,6 +34,7 @@ option php_namespace = "Google\\Cloud\\Asset\\V1p4beta1";
|
|||
// Asset service definition.
|
||||
service AssetService {
|
||||
option (google.api.default_host) = "cloudasset.googleapis.com";
|
||||
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
|
||||
|
||||
// Analyzes IAM policies based on the specified request. Returns
|
||||
// a list of [IamPolicyAnalysisResult][google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult] matching the request.
|
||||
|
|
@ -50,7 +50,8 @@ service AssetService {
|
|||
// map responses to requests.
|
||||
rpc ExportIamPolicyAnalysis(ExportIamPolicyAnalysisRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
get: "/v1p4beta1/{analysis_query.parent=*/*}:exportIamPolicyAnalysis"
|
||||
post: "/v1p4beta1/{analysis_query.parent=*/*}:exportIamPolicyAnalysis"
|
||||
body: "*"
|
||||
};
|
||||
option (google.longrunning.operation_info) = {
|
||||
response_type: "google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse"
|
||||
|
|
@ -253,9 +254,7 @@ message IamPolicyAnalysisOutputConfig {
|
|||
// gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
|
||||
// Editing Object
|
||||
// Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
|
||||
// for more information. An INVALID_ARGUMENT error will be
|
||||
// returned if file with the same name "gs://bucket_name/object_name"
|
||||
// already exists.
|
||||
// for more information.
|
||||
string uri = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2019 Google LLC.
|
||||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
|
@ -11,7 +11,6 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,14 @@ backend:
|
|||
|
||||
authentication:
|
||||
rules:
|
||||
- selector: google.cloud.asset.v1p4beta1.AssetService.AnalyzeIamPolicy
|
||||
oauth:
|
||||
canonical_scopes: |-
|
||||
https://www.googleapis.com/auth/cloud-platform
|
||||
- selector: google.cloud.asset.v1p4beta1.AssetService.ExportIamPolicyAnalysis
|
||||
oauth:
|
||||
canonical_scopes: |-
|
||||
https://www.googleapis.com/auth/cloud-platform
|
||||
- selector: google.longrunning.Operations.GetOperation
|
||||
oauth:
|
||||
canonical_scopes: |-
|
||||
|
|
|
|||
Loading…
Reference in New Issue