UNPKG

@google-cloud/memorystore

Version:
1,089 lines (1,088 loc) 200 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "memorystore": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.Memorystore.V1", "go_package": "cloud.google.com/go/memorystore/apiv1/memorystorepb;memorystorepb", "java_multiple_files": true, "java_outer_classname": "V1mainProto", "java_package": "com.google.cloud.memorystore.v1", "php_namespace": "Google\\Cloud\\Memorystore\\V1", "ruby_package": "Google::Cloud::Memorystore::V1", "(google.api.resource_definition).type": "cloudkms.googleapis.com/CryptoKey", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" }, "nested": { "Memorystore": { "options": { "(google.api.default_host)": "memorystore.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListInstances": { "requestType": "ListInstancesRequest", "responseType": "ListInstancesResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/instances", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/instances" } }, { "(google.api.method_signature)": "parent" } ] }, "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" } ] }, "CreateInstance": { "requestType": "CreateInstanceRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/instances", "(google.api.http).body": "instance", "(google.api.method_signature)": "parent,instance,instance_id", "(google.longrunning.operation_info).response_type": "Instance", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/instances", "body": "instance" } }, { "(google.api.method_signature)": "parent,instance,instance_id" }, { "(google.longrunning.operation_info)": { "response_type": "Instance", "metadata_type": "OperationMetadata" } } ] }, "UpdateInstance": { "requestType": "UpdateInstanceRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).patch": "/v1/{instance.name=projects/*/locations/*/instances/*}", "(google.api.http).body": "instance", "(google.api.method_signature)": "instance,update_mask", "(google.longrunning.operation_info).response_type": "Instance", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "patch": "/v1/{instance.name=projects/*/locations/*/instances/*}", "body": "instance" } }, { "(google.api.method_signature)": "instance,update_mask" }, { "(google.longrunning.operation_info)": { "response_type": "Instance", "metadata_type": "OperationMetadata" } } ] }, "DeleteInstance": { "requestType": "DeleteInstanceRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/instances/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/instances/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "GetCertificateAuthority": { "requestType": "GetCertificateAuthorityRequest", "responseType": "CertificateAuthority", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/instances/*}/certificateAuthority", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/instances/*}/certificateAuthority" } }, { "(google.api.method_signature)": "name" } ] }, "RescheduleMaintenance": { "requestType": "RescheduleMaintenanceRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance", "(google.api.http).body": "*", "(google.api.method_signature)": "name,reschedule_type,schedule_time", "(google.longrunning.operation_info).response_type": "Instance", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance", "body": "*" } }, { "(google.api.method_signature)": "name,reschedule_type,schedule_time" }, { "(google.longrunning.operation_info)": { "response_type": "Instance", "metadata_type": "OperationMetadata" } } ] }, "ListBackupCollections": { "requestType": "ListBackupCollectionsRequest", "responseType": "ListBackupCollectionsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/backupCollections", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/backupCollections" } }, { "(google.api.method_signature)": "parent" } ] }, "GetBackupCollection": { "requestType": "GetBackupCollectionRequest", "responseType": "BackupCollection", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/backupCollections/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/backupCollections/*}" } }, { "(google.api.method_signature)": "name" } ] }, "ListBackups": { "requestType": "ListBackupsRequest", "responseType": "ListBackupsResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*/backupCollections/*}/backups", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*/backupCollections/*}/backups" } }, { "(google.api.method_signature)": "parent" } ] }, "GetBackup": { "requestType": "GetBackupRequest", "responseType": "Backup", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/backupCollections/*/backups/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/backupCollections/*/backups/*}" } }, { "(google.api.method_signature)": "name" } ] }, "DeleteBackup": { "requestType": "DeleteBackupRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).delete": "/v1/{name=projects/*/locations/*/backupCollections/*/backups/*}", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "delete": "/v1/{name=projects/*/locations/*/backupCollections/*/backups/*}" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "google.protobuf.Empty", "metadata_type": "OperationMetadata" } } ] }, "ExportBackup": { "requestType": "ExportBackupRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/backupCollections/*/backups/*}:export", "(google.api.http).body": "*", "(google.longrunning.operation_info).response_type": "Backup", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/backupCollections/*/backups/*}:export", "body": "*" } }, { "(google.longrunning.operation_info)": { "response_type": "Backup", "metadata_type": "OperationMetadata" } } ] }, "BackupInstance": { "requestType": "BackupInstanceRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{name=projects/*/locations/*/instances/*}:backup", "(google.api.http).body": "*", "(google.api.method_signature)": "name", "(google.longrunning.operation_info).response_type": "Instance", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{name=projects/*/locations/*/instances/*}:backup", "body": "*" } }, { "(google.api.method_signature)": "name" }, { "(google.longrunning.operation_info)": { "response_type": "Instance", "metadata_type": "OperationMetadata" } } ] } } }, "PscConnectionStatus": { "values": { "PSC_CONNECTION_STATUS_UNSPECIFIED": 0, "ACTIVE": 1, "NOT_FOUND": 2 } }, "ConnectionType": { "values": { "CONNECTION_TYPE_UNSPECIFIED": 0, "CONNECTION_TYPE_DISCOVERY": 1, "CONNECTION_TYPE_PRIMARY": 2, "CONNECTION_TYPE_READER": 3 } }, "Instance": { "options": { "(google.api.resource).type": "memorystore.googleapis.com/Instance", "(google.api.resource).pattern": "projects/{project}/locations/{location}/instances/{instance}", "(google.api.resource).plural": "instances", "(google.api.resource).singular": "instance" }, "oneofs": { "importSources": { "oneof": [ "gcsSource", "managedBackupSource" ] }, "_replicaCount": { "oneof": [ "replicaCount" ] }, "_deletionProtectionEnabled": { "oneof": [ "deletionProtectionEnabled" ] }, "_ondemandMaintenance": { "oneof": [ "ondemandMaintenance" ] }, "_asyncInstanceEndpointsDeletionEnabled": { "oneof": [ "asyncInstanceEndpointsDeletionEnabled" ] }, "_backupCollection": { "oneof": [ "backupCollection" ] } }, "fields": { "gcsSource": { "type": "GcsBackupSource", "id": 23, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "managedBackupSource": { "type": "ManagedBackupSource", "id": 24, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "createTime": { "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" } }, "labels": { "keyType": "string", "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "state": { "type": "State", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "stateInfo": { "type": "StateInfo", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "uid": { "type": "string", "id": 7, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "replicaCount": { "type": "int32", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } }, "authorizationMode": { "type": "AuthorizationMode", "id": 9, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "transitEncryptionMode": { "type": "TransitEncryptionMode", "id": 10, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "shardCount": { "type": "int32", "id": 11, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "discoveryEndpoints": { "rule": "repeated", "type": "DiscoveryEndpoint", "id": 12, "options": { "deprecated": true, "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "nodeType": { "type": "NodeType", "id": 13, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "persistenceConfig": { "type": "PersistenceConfig", "id": 14, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "engineVersion": { "type": "string", "id": 15, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "engineConfigs": { "keyType": "string", "type": "string", "id": 16, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nodeConfig": { "type": "NodeConfig", "id": 17, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "zoneDistributionConfig": { "type": "ZoneDistributionConfig", "id": 18, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "deletionProtectionEnabled": { "type": "bool", "id": 19, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } }, "pscAutoConnections": { "rule": "repeated", "type": "PscAutoConnection", "id": 20, "options": { "deprecated": true, "(google.api.field_behavior)": "IMMUTABLE" } }, "pscAttachmentDetails": { "rule": "repeated", "type": "PscAttachmentDetail", "id": 21, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endpoints": { "rule": "repeated", "type": "InstanceEndpoint", "id": 25, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "mode": { "type": "Mode", "id": 26, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "ondemandMaintenance": { "type": "bool", "id": 28, "options": { "(google.api.field_behavior)": "INPUT_ONLY", "proto3_optional": true } }, "maintenancePolicy": { "type": "MaintenancePolicy", "id": 31, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "maintenanceSchedule": { "type": "MaintenanceSchedule", "id": 32, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "crossInstanceReplicationConfig": { "type": "CrossInstanceReplicationConfig", "id": 33, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "asyncInstanceEndpointsDeletionEnabled": { "type": "bool", "id": 44, "options": { "(google.api.field_behavior)": "OPTIONAL", "proto3_optional": true } }, "backupCollection": { "type": "string", "id": 47, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "memorystore.googleapis.com/BackupCollection", "proto3_optional": true } }, "automatedBackupConfig": { "type": "AutomatedBackupConfig", "id": 48, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "StateInfo": { "oneofs": { "info": { "oneof": [ "updateInfo" ] } }, "fields": { "updateInfo": { "type": "UpdateInfo", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "UpdateInfo": { "oneofs": { "_targetShardCount": { "oneof": [ "targetShardCount" ] }, "_targetReplicaCount": { "oneof": [ "targetReplicaCount" ] }, "_targetEngineVersion": { "oneof": [ "targetEngineVersion" ] }, "_targetNodeType": { "oneof": [ "targetNodeType" ] } }, "fields": { "targetShardCount": { "type": "int32", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "proto3_optional": true } }, "targetReplicaCount": { "type": "int32", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "proto3_optional": true } }, "targetEngineVersion": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "proto3_optional": true } }, "targetNodeType": { "type": "NodeType", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "proto3_optional": true } } } } } }, "GcsBackupSource": { "fields": { "uris": { "rule": "repeated", "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ManagedBackupSource": { "fields": { "backup": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "InstanceEndpoint": { "fields": { "connections": { "rule": "repeated", "type": "ConnectionDetail", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ConnectionDetail": { "oneofs": { "connection": { "oneof": [ "pscAutoConnection", "pscConnection" ] } }, "fields": { "pscAutoConnection": { "type": "PscAutoConnection", "id": 1, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "pscConnection": { "type": "PscConnection", "id": 2 } } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "UPDATING": 3, "DELETING": 4 } }, "AuthorizationMode": { "values": { "AUTHORIZATION_MODE_UNSPECIFIED": 0, "AUTH_DISABLED": 1, "IAM_AUTH": 2 } }, "TransitEncryptionMode": { "values": { "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED": 0, "TRANSIT_ENCRYPTION_DISABLED": 1, "SERVER_AUTHENTICATION": 2 } }, "NodeType": { "values": { "NODE_TYPE_UNSPECIFIED": 0, "SHARED_CORE_NANO": 1, "HIGHMEM_MEDIUM": 2, "HIGHMEM_XLARGE": 3, "STANDARD_SMALL": 4 } }, "Mode": { "valuesOptions": { "STANDALONE": { "deprecated": true } }, "values": { "MODE_UNSPECIFIED": 0, "STANDALONE": 1, "CLUSTER": 2, "CLUSTER_DISABLED": 4 } } } }, "AutomatedBackupConfig": { "oneofs": { "schedule": { "oneof": [ "fixedFrequencySchedule" ] } }, "fields": { "fixedFrequencySchedule": { "type": "FixedFrequencySchedule", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "automatedBackupMode": { "type": "AutomatedBackupMode", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "retention": { "type": "google.protobuf.Duration", "id": 3, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "FixedFrequencySchedule": { "fields": { "startTime": { "type": "google.type.TimeOfDay", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "AutomatedBackupMode": { "values": { "AUTOMATED_BACKUP_MODE_UNSPECIFIED": 0, "DISABLED": 1, "ENABLED": 2 } } } }, "BackupCollection": { "options": { "(google.api.resource).type": "memorystore.googleapis.com/BackupCollection", "(google.api.resource).pattern": "projects/{project}/locations/{location}/backupCollections/{backup_collection}", "(google.api.resource).plural": "backupCollections", "(google.api.resource).singular": "backupCollection" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "instanceUid": { "type": "string", "id": 3, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "instance": { "type": "string", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "memorystore.googleapis.com/Instance" } }, "kmsKey": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKey" } }, "uid": { "type": "string", "id": 6, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "Backup": { "options": { "(google.api.resource).type": "memorystore.googleapis.com/Backup", "(google.api.resource).pattern": "projects/{project}/locations/{location}/backupCollections/{backup_collection}/backups/{backup}", "(google.api.resource).plural": "backups", "(google.api.resource).singular": "backup" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "IDENTIFIER" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "instance": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "memorystore.googleapis.com/Instance" } }, "instanceUid": { "type": "string", "id": 4, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "totalSizeBytes": { "type": "int64", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "expireTime": { "type": "google.protobuf.Timestamp", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "engineVersion": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "backupFiles": { "rule": "repeated", "type": "BackupFile", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "nodeType": { "type": "Instance.NodeType", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "replicaCount": { "type": "int32", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "shardCount": { "type": "int32", "id": 11, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "backupType": { "type": "BackupType", "id": 12, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "state": { "type": "State", "id": 13, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "uid": { "type": "string", "id": 15, "options": { "(google.api.field_info).format": "UUID4", "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "BackupType": { "values": { "BACKUP_TYPE_UNSPECIFIED": 0, "ON_DEMAND": 1, "AUTOMATED": 2 } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "SUSPENDED": 4 } } } }, "BackupFile": { "fields": { "fileName": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "sizeBytes": { "type": "int64", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "CrossInstanceReplicationConfig": { "fields": {