UNPKG

@google-cloud/chronicle

Version:
1,104 lines (1,103 loc) 165 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "chronicle": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.Chronicle.V1", "go_package": "cloud.google.com/go/chronicle/apiv1/chroniclepb;chroniclepb", "java_multiple_files": true, "java_outer_classname": "RuleProto", "java_package": "google.cloud.chronicle.v1", "php_namespace": "Google\\Cloud\\Chronicle\\V1", "ruby_package": "Google::Cloud::Chronicle::V1" }, "nested": { "DataAccessControlService": { "options": { "(google.api.default_host)": "chronicle.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "CreateDataAccessLabel": { "requestType": "CreateDataAccessLabelRequest", "responseType": "DataAccessLabel", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessLabels", "(google.api.http).body": "data_access_label", "(google.api.method_signature)": "parent,data_access_label,data_access_label_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessLabels", "body": "data_access_label" } }, { "(google.api.method_signature)": "parent,data_access_label,data_access_label_id" } ] }, "GetDataAccessLabel": { "requestType": "GetDataAccessLabelRequest", "responseType": "DataAccessLabel", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/instances/*/dataAccessLabels/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/instances/*/dataAccessLabels/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListDataAccessLabels": { "requestType": "ListDataAccessLabelsRequest", "responseType": "ListDataAccessLabelsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessLabels", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessLabels" } }, { "(google.api.method_signature)": "parent" } ] }, "UpdateDataAccessLabel": { "requestType": "UpdateDataAccessLabelRequest", "responseType": "DataAccessLabel", "options": { "(google.api.http).patch": "/v1/{data_access_label.name=projects/*/locations/*/instances/*/dataAccessLabels/*}", "(google.api.http).body": "data_access_label", "(google.api.method_signature)": "data_access_label,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{data_access_label.name=projects/*/locations/*/instances/*/dataAccessLabels/*}", "body": "data_access_label" } }, { "(google.api.method_signature)": "data_access_label,update_mask" } ] }, "DeleteDataAccessLabel": { "requestType": "DeleteDataAccessLabelRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/instances/*/dataAccessLabels/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/instances/*/dataAccessLabels/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateDataAccessScope": { "requestType": "CreateDataAccessScopeRequest", "responseType": "DataAccessScope", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessScopes", "(google.api.http).body": "data_access_scope", "(google.api.method_signature)": "parent,data_access_scope,data_access_scope_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessScopes", "body": "data_access_scope" } }, { "(google.api.method_signature)": "parent,data_access_scope,data_access_scope_id" } ] }, "GetDataAccessScope": { "requestType": "GetDataAccessScopeRequest", "responseType": "DataAccessScope", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/instances/*/dataAccessScopes/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/instances/*/dataAccessScopes/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListDataAccessScopes": { "requestType": "ListDataAccessScopesRequest", "responseType": "ListDataAccessScopesResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessScopes", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/instances/*}/dataAccessScopes" } }, { "(google.api.method_signature)": "parent" } ] }, "UpdateDataAccessScope": { "requestType": "UpdateDataAccessScopeRequest", "responseType": "DataAccessScope", "options": { "(google.api.http).patch": "/v1/{data_access_scope.name=projects/*/locations/*/instances/*/dataAccessScopes/*}", "(google.api.http).body": "data_access_scope", "(google.api.method_signature)": "data_access_scope,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{data_access_scope.name=projects/*/locations/*/instances/*/dataAccessScopes/*}", "body": "data_access_scope" } }, { "(google.api.method_signature)": "data_access_scope,update_mask" } ] }, "DeleteDataAccessScope": { "requestType": "DeleteDataAccessScopeRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/instances/*/dataAccessScopes/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/instances/*/dataAccessScopes/*}" } }, { "(google.api.method_signature)": "name" } ] } } }, "CreateDataAccessLabelRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "chronicle.googleapis.com/DataAccessLabel" } }, "dataAccessLabel": { "type": "DataAccessLabel", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "dataAccessLabelId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetDataAccessLabelRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/DataAccessLabel" } } } }, "ListDataAccessLabelsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "chronicle.googleapis.com/DataAccessLabel" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListDataAccessLabelsResponse": { "fields": { "dataAccessLabels": { "rule": "repeated", "type": "DataAccessLabel", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "UpdateDataAccessLabelRequest": { "fields": { "dataAccessLabel": { "type": "DataAccessLabel", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "updateMask": { "type": "google.protobuf.FieldMask", "id": 2 } } }, "DeleteDataAccessLabelRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/DataAccessLabel" } } } }, "CreateDataAccessScopeRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "chronicle.googleapis.com/DataAccessScope" } }, "dataAccessScope": { "type": "DataAccessScope", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "dataAccessScopeId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "GetDataAccessScopeRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/DataAccessScope" } } } }, "ListDataAccessScopesRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "chronicle.googleapis.com/DataAccessScope" } }, "pageSize": { "type": "int32", "id": 2 }, "pageToken": { "type": "string", "id": 3 }, "filter": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListDataAccessScopesResponse": { "oneofs": { "_globalDataAccessScopeGranted": { "oneof": [ "globalDataAccessScopeGranted" ] } }, "fields": { "dataAccessScopes": { "rule": "repeated", "type": "DataAccessScope", "id": 1 }, "globalDataAccessScopeGranted": { "type": "bool", "id": 3, "options": { "proto3_optional": true } }, "nextPageToken": { "type": "string", "id": 2 } } }, "UpdateDataAccessScopeRequest": { "fields": { "dataAccessScope": { "type": "DataAccessScope", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "updateMask": { "type": "google.protobuf.FieldMask", "id": 2 } } }, "DeleteDataAccessScopeRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/DataAccessScope" } } } }, "DataAccessLabel": { "options": { "(google.api.resource).type": "chronicle.googleapis.com/DataAccessLabel", "(google.api.resource).pattern": "projects/{project}/locations/{location}/instances/{instance}/dataAccessLabels/{data_access_label}" }, "oneofs": { "definition": { "oneof": [ "udmQuery" ] } }, "fields": { "udmQuery": { "type": "string", "id": 3 }, "name": { "type": "string", "id": 1, "options": { "(google.api.resource_reference).type": "chronicle.googleapis.com/DataAccessLabel" } }, "displayName": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "author": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "lastEditor": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "description": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "DataAccessScope": { "options": { "(google.api.resource).type": "chronicle.googleapis.com/DataAccessScope", "(google.api.resource).pattern": "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{data_access_scope}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/DataAccessScope" } }, "allowedDataAccessLabels": { "rule": "repeated", "type": "DataAccessLabelReference", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "deniedDataAccessLabels": { "rule": "repeated", "type": "DataAccessLabelReference", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "displayName": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "author": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "lastEditor": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "description": { "type": "string", "id": 9, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "allowAll": { "type": "bool", "id": 10, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "DataAccessLabelReference": { "oneofs": { "label": { "oneof": [ "dataAccessLabel", "logType", "assetNamespace", "ingestionLabel" ] } }, "fields": { "dataAccessLabel": { "type": "string", "id": 1 }, "logType": { "type": "string", "id": 2 }, "assetNamespace": { "type": "string", "id": 3 }, "ingestionLabel": { "type": "IngestionLabel", "id": 4 }, "displayName": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "IngestionLabel": { "fields": { "ingestionLabelKey": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "ingestionLabelValue": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "EntityService": { "options": { "(google.api.default_host)": "chronicle.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "GetWatchlist": { "requestType": "GetWatchlistRequest", "responseType": "Watchlist", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/instances/*/watchlists/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/instances/*/watchlists/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListWatchlists": { "requestType": "ListWatchlistsRequest", "responseType": "ListWatchlistsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/instances/*}/watchlists", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/instances/*}/watchlists" } }, { "(google.api.method_signature)": "parent" } ] }, "CreateWatchlist": { "requestType": "CreateWatchlistRequest", "responseType": "Watchlist", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/instances/*}/watchlists", "(google.api.http).body": "watchlist", "(google.api.method_signature)": "parent,watchlist,watchlist_id" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*/instances/*}/watchlists", "body": "watchlist" } }, { "(google.api.method_signature)": "parent,watchlist,watchlist_id" } ] }, "UpdateWatchlist": { "requestType": "UpdateWatchlistRequest", "responseType": "Watchlist", "options": { "(google.api.http).patch": "/v1/{watchlist.name=projects/*/locations/*/instances/*/watchlists/*}", "(google.api.http).body": "watchlist", "(google.api.method_signature)": "watchlist,update_mask" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{watchlist.name=projects/*/locations/*/instances/*/watchlists/*}", "body": "watchlist" } }, { "(google.api.method_signature)": "watchlist,update_mask" } ] }, "DeleteWatchlist": { "requestType": "DeleteWatchlistRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/instances/*/watchlists/*}", "(google.api.method_signature)": "name,force" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/instances/*/watchlists/*}" } }, { "(google.api.method_signature)": "name,force" } ] } } }, "Watchlist": { "options": { "(google.api.resource).type": "chronicle.googleapis.com/Watchlist", "(google.api.resource).pattern": "projects/{project}/locations/{location}/instances/{instance}/watchlists/{watchlist}", "(google.api.resource).plural": "watchlists", "(google.api.resource).singular": "watchlist" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "displayName": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "description": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "multiplyingFactor": { "type": "float", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "entityPopulationMechanism": { "type": "EntityPopulationMechanism", "id": 6, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "entityCount": { "type": "EntityCount", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "watchlistUserPreferences": { "type": "WatchlistUserPreferences", "id": 10, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "EntityPopulationMechanism": { "oneofs": { "mechanism": { "oneof": [ "manual" ] } }, "fields": { "manual": { "type": "Manual", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Manual": { "fields": {} } } }, "EntityCount": { "fields": { "user": { "type": "int32", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "asset": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } } } }, "WatchlistUserPreferences": { "fields": { "pinned": { "type": "bool", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "GetWatchlistRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/Watchlist" } } } }, "ListWatchlistsRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "chronicle.googleapis.com/Watchlist" } }, "pageSize": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageToken": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "filter": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListWatchlistsResponse": { "fields": { "watchlists": { "rule": "repeated", "type": "Watchlist", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nextPageToken": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "CreateWatchlistRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "chronicle.googleapis.com/Watchlist" } }, "watchlistId": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "watchlist": { "type": "Watchlist", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "UpdateWatchlistRequest": { "fields": { "watchlist": { "type": "Watchlist", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "updateMask": { "type": "google.protobuf.FieldMask", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "DeleteWatchlistRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/Watchlist" } }, "force": { "type": "bool", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "InstanceService": { "options": { "(google.api.default_host)": "chronicle.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "GetInstance": { "requestType": "GetInstanceRequest", "responseType": "Instance", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/instances/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/instances/*}" } }, { "(google.api.method_signature)": "name" } ] } } }, "Instance": { "options": { "(google.api.resource).type": "chronicle.googleapis.com/Instance", "(google.api.resource).pattern": "projects/{project}/locations/{location}/instances/{instance}", "(google.api.resource).plural": "instances", "(google.api.resource).singular": "instance" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } } } }, "GetInstanceRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "chronicle.googleapis.com/Instance" } } } }, "ReferenceListService": { "options": { "(google.api.default_host)": "chronicle.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "GetReferenceList": { "requestType": "GetReferenceListRequest", "responseType": "ReferenceList", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/instances/*/referenceLists/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/instances/*/referenceLists/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListReferenceLists": { "requestType": "ListReferenceListsRequest", "responseType": "ListReferenceListsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/instances/*}/referenceLists", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/instances/*}/referenceLists" } }, { "(google.api.method_signature)": "parent" } ] }, "CreateReferenceList": { "requestType": "CreateReferenceListRequest", "responseType": "ReferenceList", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*/instances/*}/referenceLists", "(google.api.http).body": "reference_list", "(google.api.method_signature)": "parent,reference_list,reference_list_id"