UNPKG

@google-cloud/storage-control

Version:
1,226 lines (1,225 loc) 104 kB
{ "nested": { "google": { "nested": { "storage": { "nested": { "control": { "nested": { "v2": { "options": { "csharp_namespace": "Google.Cloud.Storage.Control.V2", "go_package": "cloud.google.com/go/storage/control/apiv2/controlpb;controlpb", "java_multiple_files": true, "java_outer_classname": "StorageControlProto", "java_package": "com.google.storage.control.v2", "php_namespace": "Google\\Cloud\\Storage\\Control\\V2", "ruby_package": "Google::Cloud::Storage::Control::V2", "(google.api.resource_definition).type": "storage.googleapis.com/Bucket", "(google.api.resource_definition).pattern": "projects/{project}/buckets/{bucket}" }, "nested": { "StorageControl": { "options": { "(google.api.default_host)": "storage.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/devstorage.read_write" }, "methods": { "CreateFolder": { "requestType": "CreateFolderRequest", "responseType": "Folder", "options": { "(google.api.routing).routing_parameters.field": "parent", "(google.api.routing).routing_parameters.path_template": "{bucket=**}", "(google.api.method_signature)": "parent,folder,folder_id" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "parent", "path_template": "{bucket=**}" } } }, { "(google.api.method_signature)": "parent,folder,folder_id" } ] }, "DeleteFolder": { "requestType": "DeleteFolderRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.routing).routing_parameters.field": "name", "(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "name", "path_template": "{bucket=projects/*/buckets/*}/**" } } }, { "(google.api.method_signature)": "name" } ] }, "GetFolder": { "requestType": "GetFolderRequest", "responseType": "Folder", "options": { "(google.api.routing).routing_parameters.field": "name", "(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "name", "path_template": "{bucket=projects/*/buckets/*}/**" } } }, { "(google.api.method_signature)": "name" } ] }, "ListFolders": { "requestType": "ListFoldersRequest", "responseType": "ListFoldersResponse", "options": { "(google.api.routing).routing_parameters.field": "parent", "(google.api.routing).routing_parameters.path_template": "{bucket=**}", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "parent", "path_template": "{bucket=**}" } } }, { "(google.api.method_signature)": "parent" } ] }, "RenameFolder": { "requestType": "RenameFolderRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.routing).routing_parameters.field": "name", "(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**", "(google.api.method_signature)": "name,destination_folder_id", "(google.longrunning.operation_info).response_type": "Folder", "(google.longrunning.operation_info).metadata_type": "RenameFolderMetadata" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "name", "path_template": "{bucket=projects/*/buckets/*}/**" } } }, { "(google.api.method_signature)": "name,destination_folder_id" }, { "(google.longrunning.operation_info)": { "response_type": "Folder", "metadata_type": "RenameFolderMetadata" } } ] }, "GetStorageLayout": { "requestType": "GetStorageLayoutRequest", "responseType": "StorageLayout", "options": { "(google.api.routing).routing_parameters.field": "name", "(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "name", "path_template": "{bucket=projects/*/buckets/*}/**" } } }, { "(google.api.method_signature)": "name" } ] }, "CreateManagedFolder": { "requestType": "CreateManagedFolderRequest", "responseType": "ManagedFolder", "options": { "(google.api.routing).routing_parameters.field": "parent", "(google.api.routing).routing_parameters.path_template": "{bucket=**}", "(google.api.method_signature)": "parent,managed_folder,managed_folder_id" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "parent", "path_template": "{bucket=**}" } } }, { "(google.api.method_signature)": "parent,managed_folder,managed_folder_id" } ] }, "DeleteManagedFolder": { "requestType": "DeleteManagedFolderRequest", "responseType": "google.protobuf.Empty", "options": { "(google.api.routing).routing_parameters.field": "name", "(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "name", "path_template": "{bucket=projects/*/buckets/*}/**" } } }, { "(google.api.method_signature)": "name" } ] }, "GetManagedFolder": { "requestType": "GetManagedFolderRequest", "responseType": "ManagedFolder", "options": { "(google.api.routing).routing_parameters.field": "name", "(google.api.routing).routing_parameters.path_template": "{bucket=projects/*/buckets/*}/**", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "name", "path_template": "{bucket=projects/*/buckets/*}/**" } } }, { "(google.api.method_signature)": "name" } ] }, "ListManagedFolders": { "requestType": "ListManagedFoldersRequest", "responseType": "ListManagedFoldersResponse", "options": { "(google.api.routing).routing_parameters.field": "parent", "(google.api.routing).routing_parameters.path_template": "{bucket=**}", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.routing)": { "routing_parameters": { "field": "parent", "path_template": "{bucket=**}" } } }, { "(google.api.method_signature)": "parent" } ] } } }, "PendingRenameInfo": { "fields": { "operation": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "Folder": { "options": { "(google.api.resource).type": "storage.googleapis.com/Folder", "(google.api.resource).pattern": "projects/{project}/buckets/{bucket}/folders/{folder=**}", "(google.api.resource).plural": "folders", "(google.api.resource).singular": "folder" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "metageneration": { "type": "int64", "id": 3, "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" } }, "pendingRenameInfo": { "type": "PendingRenameInfo", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "GetFolderRequest": { "oneofs": { "_ifMetagenerationMatch": { "oneof": [ "ifMetagenerationMatch" ] }, "_ifMetagenerationNotMatch": { "oneof": [ "ifMetagenerationNotMatch" ] } }, "fields": { "name": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "storage.googleapis.com/Folder" } }, "ifMetagenerationMatch": { "type": "int64", "id": 3, "options": { "proto3_optional": true } }, "ifMetagenerationNotMatch": { "type": "int64", "id": 4, "options": { "proto3_optional": true } }, "requestId": { "type": "string", "id": 5, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "CreateFolderRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "storage.googleapis.com/Folder" } }, "folder": { "type": "Folder", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "folderId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "recursive": { "type": "bool", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "requestId": { "type": "string", "id": 5, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "DeleteFolderRequest": { "oneofs": { "_ifMetagenerationMatch": { "oneof": [ "ifMetagenerationMatch" ] }, "_ifMetagenerationNotMatch": { "oneof": [ "ifMetagenerationNotMatch" ] } }, "fields": { "name": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "storage.googleapis.com/Folder" } }, "ifMetagenerationMatch": { "type": "int64", "id": 3, "options": { "proto3_optional": true } }, "ifMetagenerationNotMatch": { "type": "int64", "id": 4, "options": { "proto3_optional": true } }, "requestId": { "type": "string", "id": 5, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListFoldersRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "storage.googleapis.com/Folder" } }, "pageSize": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageToken": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "prefix": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "delimiter": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "lexicographicStart": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "lexicographicEnd": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "requestId": { "type": "string", "id": 9, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListFoldersResponse": { "fields": { "folders": { "rule": "repeated", "type": "Folder", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } }, "RenameFolderRequest": { "oneofs": { "_ifMetagenerationMatch": { "oneof": [ "ifMetagenerationMatch" ] }, "_ifMetagenerationNotMatch": { "oneof": [ "ifMetagenerationNotMatch" ] } }, "fields": { "name": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "storage.googleapis.com/Folder" } }, "destinationFolderId": { "type": "string", "id": 8, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "ifMetagenerationMatch": { "type": "int64", "id": 4, "options": { "proto3_optional": true } }, "ifMetagenerationNotMatch": { "type": "int64", "id": 5, "options": { "proto3_optional": true } }, "requestId": { "type": "string", "id": 6, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "CommonLongRunningOperationMetadata": { "fields": { "createTime": { "type": "google.protobuf.Timestamp", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "type": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "requestedCancellation": { "type": "bool", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "progressPercent": { "type": "int32", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "RenameFolderMetadata": { "fields": { "commonMetadata": { "type": "CommonLongRunningOperationMetadata", "id": 1 }, "sourceFolderId": { "type": "string", "id": 2 }, "destinationFolderId": { "type": "string", "id": 3 } } }, "StorageLayout": { "options": { "(google.api.resource).type": "storage.googleapis.com/StorageLayout", "(google.api.resource).pattern": "projects/{project}/buckets/{bucket}/storageLayout" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "location": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "locationType": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "customPlacementConfig": { "type": "CustomPlacementConfig", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "hierarchicalNamespace": { "type": "HierarchicalNamespace", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "CustomPlacementConfig": { "fields": { "dataLocations": { "rule": "repeated", "type": "string", "id": 1 } } }, "HierarchicalNamespace": { "fields": { "enabled": { "type": "bool", "id": 1 } } } } }, "GetStorageLayoutRequest": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "storage.googleapis.com/StorageLayout" } }, "prefix": { "type": "string", "id": 2 }, "requestId": { "type": "string", "id": 3, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "ManagedFolder": { "options": { "(google.api.resource).type": "storage.googleapis.com/ManagedFolder", "(google.api.resource).pattern": "projects/{project}/buckets/{bucket}/managedFolders/{managed_folder=**}", "(google.api.resource).plural": "managedFolders", "(google.api.resource).singular": "managedFolder" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "metageneration": { "type": "int64", "id": 3, "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" } } } }, "GetManagedFolderRequest": { "oneofs": { "_ifMetagenerationMatch": { "oneof": [ "ifMetagenerationMatch" ] }, "_ifMetagenerationNotMatch": { "oneof": [ "ifMetagenerationNotMatch" ] } }, "fields": { "name": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "storage.googleapis.com/ManagedFolder" } }, "ifMetagenerationMatch": { "type": "int64", "id": 3, "options": { "proto3_optional": true } }, "ifMetagenerationNotMatch": { "type": "int64", "id": 4, "options": { "proto3_optional": true } }, "requestId": { "type": "string", "id": 5, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "CreateManagedFolderRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "storage.googleapis.com/ManagedFolder" } }, "managedFolder": { "type": "ManagedFolder", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "managedFolderId": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "requestId": { "type": "string", "id": 4, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "DeleteManagedFolderRequest": { "oneofs": { "_ifMetagenerationMatch": { "oneof": [ "ifMetagenerationMatch" ] }, "_ifMetagenerationNotMatch": { "oneof": [ "ifMetagenerationNotMatch" ] } }, "fields": { "name": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "storage.googleapis.com/ManagedFolder" } }, "ifMetagenerationMatch": { "type": "int64", "id": 3, "options": { "proto3_optional": true } }, "ifMetagenerationNotMatch": { "type": "int64", "id": 4, "options": { "proto3_optional": true } }, "allowNonEmpty": { "type": "bool", "id": 5 }, "requestId": { "type": "string", "id": 6, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListManagedFoldersRequest": { "fields": { "parent": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).child_type": "storage.googleapis.com/ManagedFolder" } }, "pageSize": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "pageToken": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "prefix": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "requestId": { "type": "string", "id": 5, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OPTIONAL" } } } }, "ListManagedFoldersResponse": { "fields": { "managedFolders": { "rule": "repeated", "type": "ManagedFolder", "id": 1 }, "nextPageToken": { "type": "string", "id": 2 } } } } } } } } }, "api": { "options": { "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations", "java_multiple_files": true, "java_outer_classname": "HttpProto", "java_package": "com.google.api", "objc_class_prefix": "GAPI", "cc_enable_arenas": true }, "nested": { "methodSignature": { "rule": "repeated", "type": "string", "id": 1051, "extend": "google.protobuf.MethodOptions" }, "defaultHost": { "type": "string", "id": 1049, "extend": "google.protobuf.ServiceOptions" }, "oauthScopes": { "type": "string", "id": 1050, "extend": "google.protobuf.ServiceOptions" }, "CommonLanguageSettings": { "fields": { "referenceDocsUri": { "type": "string", "id": 1, "options": { "deprecated": true } }, "destinations": { "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 } } }, "ClientLibrarySettings": { "fields": { "version": { "type": "string", "id": 1 }, "launchStage": { "type": "LaunchStage", "id": 2 }, "restNumericEnums": { "type": "bool", "id": 3 }, "javaSettings": { "type": "JavaSettings", "id": 21 }, "cppSettings": { "type": "CppSettings", "id": 22 }, "phpSettings": { "type": "PhpSettings", "id": 23 }, "pythonSettings": { "type": "PythonSettings", "id": 24 }, "nodeSettings": { "type": "NodeSettings", "id": 25 }, "dotnetSettings": { "type": "DotnetSettings", "id": 26 }, "rubySettings": { "type": "RubySettings", "id": 27 }, "goSettings": { "type": "GoSettings", "id": 28 } } }, "Publishing": { "fields": { "methodSettings": { "rule": "repeated", "type": "MethodSettings", "id": 2 }, "newIssueUri": { "type": "string", "id": 101 }, "documentationUri": { "type": "string", "id": 102 }, "apiShortName": { "type": "string", "id": 103 }, "githubLabel": { "type": "string", "id": 104 }, "codeownerGithubTeams": { "rule": "repeated", "type": "string", "id": 105 }, "docTagPrefix": { "type": "string", "id": 106 }, "organization": { "type": "ClientLibraryOrganization", "id": 107 }, "librarySettings": { "rule": "repeated", "type": "ClientLibrarySettings", "id": 109 }, "protoReferenceDocumentationUri": { "type": "string", "id": 110 } } }, "JavaSettings": { "fields": { "libraryPackage": { "type": "string", "id": 1 }, "serviceClassNames": { "keyType": "string", "type": "string", "id": 2 }, "common": { "type": "CommonLanguageSettings", "id": 3 } } }, "CppSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "PhpSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "PythonSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "NodeSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "DotnetSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 }, "renamedServices": { "keyType": "string", "type": "string", "id": 2 }, "renamedResources": { "keyType": "string", "type": "string", "id": 3 }, "ignoredResources": { "rule": "repeated", "type": "string", "id": 4 }, "forcedNamespaceAliases": { "rule": "repeated", "type": "string", "id": 5 }, "handwrittenSignatures": { "rule": "repeated", "type": "string", "id": 6 } } }, "RubySettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "GoSettings": { "fields": { "common": { "type": "CommonLanguageSettings", "id": 1 } } }, "MethodSettings": { "fields": { "selector": { "type": "string", "id": 1 }, "longRunning": { "type": "LongRunning", "id": 2 }, "autoPopulatedFields": { "rule": "repeated", "type": "string", "id": 3 } }, "nested": { "LongRunning": { "fields": { "initialPollDelay": { "type": "google.protobuf.Duration", "id": 1 }, "pollDelayMultiplier": { "type": "float", "id": 2 }, "maxPollDelay": { "type": "google.protobuf.Duration", "id": 3 }, "totalPollTimeout": { "type": "google.protobuf.Duration", "id": 4 } } } } }, "ClientLibraryOrganization": {