UNPKG

@google-cloud/asset

Version:
1,164 lines 313 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "asset": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.Asset.V1", "go_package": "cloud.google.com/go/asset/apiv1/assetpb;assetpb", "java_multiple_files": true, "java_outer_classname": "AssetProto", "java_package": "com.google.cloud.asset.v1", "php_namespace": "Google\\Cloud\\Asset\\V1" }, "nested": { "ResourceOwners": { "fields": { "resourceOwners": { "rule": "repeated", "type": "string", "id": 1 } } }, "AssetService": { "options": { "(google.api.default_host)": "cloudasset.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ExportAssets": { "requestType": "ExportAssetsRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=*/*}:exportAssets", "(google.api.http).body": "*", "(google.longrunning.operation_info).response_type": "google.cloud.asset.v1.ExportAssetsResponse", "(google.longrunning.operation_info).metadata_type": "google.cloud.asset.v1.ExportAssetsRequest" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=*/*}:exportAssets", "body": "*" } }, { "(google.longrunning.operation_info)": { "response_type": "google.cloud.asset.v1.ExportAssetsResponse", "metadata_type": "google.cloud.asset.v1.ExportAssetsRequest" } } ] }, "ListAssets": { "requestType": "ListAssetsRequest", "responseType": "ListAssetsResponse", "options": { "(google.api.http).get": "/v1/{parent=*/*}/assets", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=*/*}/assets" } }, { "(google.api.method_signature)": "parent" } ] }, "BatchGetAssetsHistory": { "requestType": "BatchGetAssetsHistoryRequest", "responseType": "BatchGetAssetsHistoryResponse", "options": { "(google.api.http).get": "/v1/{parent=*/*}:batchGetAssetsHistory" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=*/*}:batchGetAssetsHistory" } } ] }, "CreateFeed": { "requestType": "CreateFeedRequest", "responseType": "Feed", "options": { "(google.api.http).post": "/v1/{parent=*/*}/feeds", "(google.api.http).body": "*", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=*/*}/feeds", "body": "*" } }, { "(google.api.method_signature)": "parent" } ] }, "GetFeed": { "requestType": "GetFeedRequest", "responseType": "Feed", "options": { "(google.api.http).get": "/v1/{name=*/*/feeds/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=*/*/feeds/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListFeeds": { "requestType": "ListFeedsRequest", "responseType": "ListFeedsResponse", "options": { "(google.api.http).get": "/v1/{parent=*/*}/feeds", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=*/*}/feeds" } }, { "(google.api.method_signature)": "parent" } ] }, "UpdateFeed": { "requestType": "UpdateFeedRequest", "responseType": "Feed", "options": { "(google.api.http).patch": "/v1/{feed.name=*/*/feeds/*}", "(google.api.http).body": "*", "(google.api.method_signature)": "feed" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{feed.name=*/*/feeds/*}", "body": "*" } }, { "(google.api.method_signature)": "feed" } ] }, "DeleteFeed": { "requestType": "DeleteFeedRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=*/*/feeds/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=*/*/feeds/*}" } }, { "(google.api.method_signature)": "name" } ] }, "SearchAllResources": { "requestType": "SearchAllResourcesRequest", "responseType": "SearchAllResourcesResponse", "options": { "(google.api.http).get": "/v1/{scope=*/*}:searchAllResources", "(google.api.method_signature)": "scope,query,asset_types" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{scope=*/*}:searchAllResources" } }, { "(google.api.method_signature)": "scope,query,asset_types" } ] }, "SearchAllIamPolicies": { "requestType": "SearchAllIamPoliciesRequest", "responseType": "SearchAllIamPoliciesResponse", "options": { "(google.api.http).get": "/v1/{scope=*/*}:searchAllIamPolicies", "(google.api.method_signature)": "scope,query" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{scope=*/*}:searchAllIamPolicies" } }, { "(google.api.method_signature)": "scope,query" } ] }, "AnalyzeIamPolicy": { "requestType": "AnalyzeIamPolicyRequest", "responseType": "AnalyzeIamPolicyResponse", "options": { "(google.api.http).get": "/v1/{analysis_query.scope=*/*}:analyzeIamPolicy" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{analysis_query.scope=*/*}:analyzeIamPolicy" } } ] }, "AnalyzeIamPolicyLongrunning": { "requestType": "AnalyzeIamPolicyLongrunningRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{analysis_query.scope=*/*}:analyzeIamPolicyLongrunning", "(google.api.http).body": "*", "(google.longrunning.operation_info).response_type": "google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse", "(google.longrunning.operation_info).metadata_type": "google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{analysis_query.scope=*/*}:analyzeIamPolicyLongrunning", "body": "*" } }, { "(google.longrunning.operation_info)": { "response_type": "google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse", "metadata_type": "google.cloud.asset.v1.AnalyzeIamPolicyLongrunningMetadata" } } ] }, "AnalyzeMove": { "requestType": "AnalyzeMoveRequest", "responseType": "AnalyzeMoveResponse", "options": { "(google.api.http).get": "/v1/{resource=*/*}:analyzeMove" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{resource=*/*}:analyzeMove" } } ] }, "QueryAssets": { "requestType": "QueryAssetsRequest", "responseType": "QueryAssetsResponse", "options": { "(google.api.http).post": "/v1/{parent=*/*}:queryAssets", "(google.api.http).body": "*" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=*/*}:queryAssets", "body": "*" } } ] }, "CreateSavedQuery": { "requestType": "CreateSavedQueryRequest", "responseType": "SavedQuery", "options": { "(google.api.http).post": "/v1/{parent=*/*}/savedQueries", "(google.api.http).body": "saved_query", "(google.api.method_signature)": "parent,saved_query,saved_query_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=*/*}/savedQueries", "body": "saved_query" } }, { "(google.api.method_signature)": "parent,saved_query,saved_query_id" } ] }, "GetSavedQuery": { "requestType": "GetSavedQueryRequest", "responseType": "SavedQuery", "options": { "(google.api.http).get": "/v1/{name=*/*/savedQueries/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=*/*/savedQueries/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListSavedQueries": { "requestType": "ListSavedQueriesRequest", "responseType": "ListSavedQueriesResponse", "options": { "(google.api.http).get": "/v1/{parent=*/*}/savedQueries", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=*/*}/savedQueries" } }, { "(google.api.method_signature)": "parent" } ] }, "UpdateSavedQuery": { "requestType": "UpdateSavedQueryRequest", "responseType": "SavedQuery", "options": { "(google.api.http).patch": "/v1/{saved_query.name=*/*/savedQueries/*}", "(google.api.http).body": "saved_query", "(google.api.method_signature)": "saved_query,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{saved_query.name=*/*/savedQueries/*}", "body": "saved_query" } }, { "(google.api.method_signature)": "saved_query,update_mask" } ] }, "DeleteSavedQuery": { "requestType": "DeleteSavedQueryRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=*/*/savedQueries/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=*/*/savedQueries/*}" } }, { "(google.api.method_signature)": "name" } ] }, "BatchGetEffectiveIamPolicies": { "requestType": "BatchGetEffectiveIamPoliciesRequest", "responseType": "BatchGetEffectiveIamPoliciesResponse", "options": { "(google.api.http).get": "/v1/{scope=*/*}/effectiveIamPolicies:batchGet" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{scope=*/*}/effectiveIamPolicies:batchGet" } } ] }, "AnalyzeOrgPolicies": { "requestType": "AnalyzeOrgPoliciesRequest", "responseType": "AnalyzeOrgPoliciesResponse", "options": { "(google.api.http).get": "/v1/{scope=*/*}:analyzeOrgPolicies", "(google.api.method_signature)": "scope,constraint,filter" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{scope=*/*}:analyzeOrgPolicies" } }, { "(google.api.method_signature)": "scope,constraint,filter" } ] }, "AnalyzeOrgPolicyGovernedContainers": { "requestType": "AnalyzeOrgPolicyGovernedContainersRequest", "responseType": "AnalyzeOrgPolicyGovernedContainersResponse", "options": { "(google.api.http).get": "/v1/{scope=*/*}:analyzeOrgPolicyGovernedContainers", "(google.api.method_signature)": "scope,constraint,filter" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{scope=*/*}:analyzeOrgPolicyGovernedContainers" } }, { "(google.api.method_signature)": "scope,constraint,filter" } ] }, "AnalyzeOrgPolicyGovernedAssets": { "requestType": "AnalyzeOrgPolicyGovernedAssetsRequest", "responseType": "AnalyzeOrgPolicyGovernedAssetsResponse", "options": { "(google.api.http).get": "/v1/{scope=*/*}:analyzeOrgPolicyGovernedAssets", "(google.api.method_signature)": "scope,constraint,filter" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{scope=*/*}:analyzeOrgPolicyGovernedAssets" } }, { "(google.api.method_signature)": "scope,constraint,filter" } ] } } }, "AnalyzeIamPolicyLongrunningMetadata": { "fields": { "createTime": { "type": "google.protobuf.Timestamp", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "ExportAssetsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "cloudasset.googleapis.com/Asset" } }, "readTime": { "type": "google.protobuf.Timestamp", "id": 2 }, "assetTypes": { "rule": "repeated", "type": "string", "id": 3 }, "contentType": { "type": "ContentType", "id": 4 }, "outputConfig": { "type": "OutputConfig", "id": 5, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "relationshipTypes": { "rule": "repeated", "type": "string", "id": 6 } } }, "ExportAssetsResponse": { "fields": { "readTime": { "type": "google.protobuf.Timestamp", "id": 1 }, "outputConfig": { "type": "OutputConfig", "id": 2 }, "outputResult": { "type": "OutputResult", "id": 3 } } }, "ListAssetsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "cloudasset.googleapis.com/Asset" } }, "readTime": { "type": "google.protobuf.Timestamp", "id": 2 }, "assetTypes": { "rule": "repeated", "type": "string", "id": 3 }, "contentType": { "type": "ContentType", "id": 4 }, "pageSize": { "type": "int32", "id": 5 }, "pageToken": { "type": "string", "id": 6 }, "relationshipTypes": { "rule": "repeated", "type": "string", "id": 7 } } }, "ListAssetsResponse": { "fields": { "readTime": { "type": "google.protobuf.Timestamp", "id": 1 }, "assets": { "rule": "repeated", "type": "Asset", "id": 2 }, "nextPageToken": { "type": "string", "id": 3 } } }, "BatchGetAssetsHistoryRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "cloudasset.googleapis.com/Asset" } }, "assetNames": { "rule": "repeated", "type": "string", "id": 2 }, "contentType": { "type": "ContentType", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "readTimeWindow": { "type": "TimeWindow", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "relationshipTypes": { "rule": "repeated", "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "BatchGetAssetsHistoryResponse": { "fields": { "assets": { "rule": "repeated", "type": "TemporalAsset", "id": 1 } } }, "CreateFeedRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "feedId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "feed": { "type": "Feed", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetFeedRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "cloudasset.googleapis.com/Feed" } } } }, "ListFeedsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "ListFeedsResponse": { "fields": { "feeds": { "rule": "repeated", "type": "Feed", "id": 1 } } }, "UpdateFeedRequest": { "fields": { "feed": { "type": "Feed", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "updateMask": { "type": "google.protobuf.FieldMask", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "DeleteFeedRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "cloudasset.googleapis.com/Feed" } } } }, "OutputConfig": { "oneofs": { "destination": { "oneof": [ "gcsDestination", "bigqueryDestination" ] } }, "fields": { "gcsDestination": { "type": "GcsDestination", "id": 1 }, "bigqueryDestination": { "type": "BigQueryDestination", "id": 2 } } }, "OutputResult": { "oneofs": { "result": { "oneof": [ "gcsResult" ] } }, "fields": { "gcsResult": { "type": "GcsOutputResult", "id": 1 } } }, "GcsOutputResult": { "fields": { "uris": { "rule": "repeated", "type": "string", "id": 1 } } }, "GcsDestination": { "oneofs": { "objectUri": { "oneof": [ "uri", "uriPrefix" ] } }, "fields": { "uri": { "type": "string", "id": 1 }, "uriPrefix": { "type": "string", "id": 2 } } }, "BigQueryDestination": { "fields": { "dataset": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "table": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "force": { "type": "bool", "id": 3 }, "partitionSpec": { "type": "PartitionSpec", "id": 4 }, "separateTablesPerAssetType": { "type": "bool", "id": 5 } } }, "PartitionSpec": { "fields": { "partitionKey": { "type": "PartitionKey", "id": 1 } }, "nested": { "PartitionKey": { "values": { "PARTITION_KEY_UNSPECIFIED": 0, "READ_TIME": 1, "REQUEST_TIME": 2 } } } }, "PubsubDestination": { "fields": { "topic": { "type": "string", "id": 1 } } }, "FeedOutputConfig": { "oneofs": { "destination": { "oneof": [ "pubsubDestination" ] } }, "fields": { "pubsubDestination": { "type": "PubsubDestination", "id": 1 } } }, "Feed": { "options": { "(google.api.resource).type": "cloudasset.googleapis.com/Feed", "(google.api.resource).pattern": "organizations/{organization}/feeds/{feed}", "(google.api.resource).history": "ORIGINALLY_SINGLE_PATTERN" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "assetNames": { "rule": "repeated", "type": "string", "id": 2 }, "assetTypes": { "rule": "repeated", "type": "string", "id": 3 }, "contentType": { "type": "ContentType", "id": 4 }, "feedOutputConfig": { "type": "FeedOutputConfig", "id": 5, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "condition": { "type": "google.type.Expr", "id": 6 }, "relationshipTypes": { "rule": "repeated", "type": "string", "id": 7 } } }, "SearchAllResourcesRequest": { "fields": { "scope": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "query": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "assetTypes": { "rule": "repeated", "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageSize": { "type": "int32", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageToken": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "orderBy": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "readMask": { "type": "google.protobuf.FieldMask", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SearchAllResourcesResponse": { "fields": { "results": { "rule": "repeated", "type": "ResourceSearchResult", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "SearchAllIamPoliciesRequest": { "fields": { "scope": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "query": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageSize": { "type": "int32", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageToken": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "assetTypes": { "rule": "repeated", "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "orderBy": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SearchAllIamPoliciesResponse": { "fields": { "results": { "rule": "repeated", "type": "IamPolicySearchResult", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "IamPolicyAnalysisQuery": { "fields": { "scope": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "resourceSelector": { "type": "ResourceSelector", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "identitySelector": { "type": "IdentitySelector", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "accessSelector": { "type": "AccessSelector", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "options": { "type": "Options", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "conditionContext": { "type": "ConditionContext", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "ResourceSelector": { "fields": { "fullResourceName": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "IdentitySelector": { "fields": { "identity": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "AccessSelector": { "fields": { "roles": { "rule": "repeated", "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "permissions": { "rule": "repeated", "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "Options": { "fields": { "expandGroups": { "type": "bool", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "expandRoles": { "type": "bool", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "expandResources": { "type": "bool", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "outputResourceEdges": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "outputGroupEdges": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "analyzeServiceAccountImpersonation": { "type": "bool", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ConditionContext": { "oneofs": { "TimeContext": { "oneof": [ "accessTime" ] } }, "fields": { "accessTime": { "type": "google.protobuf.Timestamp", "id": 1 } } } } }, "AnalyzeIamPolicyRequest":