123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- syntax = "proto3";
- package google.cloud.asset.v1p1beta1;
- import "google/api/annotations.proto";
- import "google/api/client.proto";
- import "google/api/field_behavior.proto";
- import "google/cloud/asset/v1p1beta1/assets.proto";
- option csharp_namespace = "Google.Cloud.Asset.V1P1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1;asset";
- option java_multiple_files = true;
- option java_outer_classname = "AssetServiceProto";
- option java_package = "com.google.cloud.asset.v1p1beta1";
- option php_namespace = "Google\\Cloud\\Asset\\V1p1beta1";
- service AssetService {
- option (google.api.default_host) = "cloudasset.googleapis.com";
- option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
-
-
-
-
-
-
- rpc SearchAllResources(SearchAllResourcesRequest) returns (SearchAllResourcesResponse) {
- option (google.api.http) = {
- get: "/v1p1beta1/{scope=*/*}/resources:searchAll"
- };
- option (google.api.method_signature) = "scope,query,asset_types";
- }
-
-
-
-
-
-
- rpc SearchAllIamPolicies(SearchAllIamPoliciesRequest) returns (SearchAllIamPoliciesResponse) {
- option (google.api.http) = {
- get: "/v1p1beta1/{scope=*/*}/iamPolicies:searchAll"
- };
- option (google.api.method_signature) = "scope,query";
- }
- }
- message SearchAllResourcesRequest {
-
-
-
-
-
-
- string scope = 1 [(google.api.field_behavior) = REQUIRED];
-
- string query = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
- repeated string asset_types = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- string page_token = 5 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- string order_by = 10 [(google.api.field_behavior) = OPTIONAL];
- }
- message SearchAllResourcesResponse {
-
- repeated StandardResourceMetadata results = 1;
-
-
-
- string next_page_token = 2;
- }
- message SearchAllIamPoliciesRequest {
-
-
-
-
-
-
- string scope = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
- string query = 2 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
-
-
-
-
- string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
- }
- message SearchAllIamPoliciesResponse {
-
-
- repeated IamPolicySearchResult results = 1;
-
-
-
- string next_page_token = 2;
- }
|