google-cloud-parallelstore-v1beta 0.3.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/client.rb +67 -32
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/operations.rb +12 -15
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/client.rb +66 -32
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/operations.rb +43 -39
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/service_stub.rb +70 -44
- data/lib/google/cloud/parallelstore/v1beta/parallelstore_pb.rb +2 -1
- data/lib/google/cloud/parallelstore/v1beta/parallelstore_services_pb.rb +6 -6
- data/lib/google/cloud/parallelstore/v1beta/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/parallelstore/v1beta/parallelstore.rb +114 -93
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +5 -5
@@ -15,7 +15,7 @@ require 'google/protobuf/field_mask_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n5google/cloud/parallelstore/v1beta/parallelstore.proto\x12!google.cloud.parallelstore.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x08\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x05state\x18\x03 \x01(\x0e\x32\x31.google.cloud.parallelstore.v1beta.Instance.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x06labels\x18\x06 \x03(\x0b\x32\x37.google.cloud.parallelstore.v1beta.Instance.LabelsEntryB\x03\xe0\x41\x01\x12\x1c\n\x0c\x63\x61pacity_gib\x18\x08 \x01(\x03\x42\x06\xe0\x41\x05\xe0\x41\x02\x12\x19\n\x0c\x64\x61os_version\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\raccess_points\x18\n \x03(\tB\x03\xe0\x41\x03\x12:\n\x07network\x18\x0b \x01(\tB)\xe0\x41\x05\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x44\n\x11reserved_ip_range\x18\x0c \x01(\tB)\xe0\x41\x05\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Address\x12N\n\x1b\x65\x66\x66\x65\x63tive_reserved_ip_range\x18\x0e \x01(\tB)\xe0\x41\x05\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Address\x12R\n\x11\x66ile_stripe_level\x18\x0f \x01(\x0e\x32\x32.google.cloud.parallelstore.v1beta.FileStripeLevelB\x03\xe0\x41\x01\x12\\\n\x16\x64irectory_stripe_level\x18\x10 \x01(\x0e\x32\x37.google.cloud.parallelstore.v1beta.DirectoryStripeLevelB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04:}\xea\x41z\n%parallelstore.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instance\"\xb2\x01\n\x14ListInstancesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%parallelstore.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x85\x01\n\x15ListInstancesResponse\x12>\n\tinstances\x18\x01 \x03(\x0b\x32+.google.cloud.parallelstore.v1beta.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x12GetInstanceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\"\xcd\x01\n\x15\x43reateInstanceRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%parallelstore.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x08instance\x18\x03 \x01(\x0b\x32+.google.cloud.parallelstore.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x42\n\x08instance\x18\x02 \x01(\x0b\x32+.google.cloud.parallelstore.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x15\x44\x65leteInstanceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"#\n\x0fSourceGcsBucket\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x14\x44\x65stinationGcsBucket\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x13SourceParallelstore\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\"-\n\x18\x44\x65stinationParallelstore\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x81\x03\n\x11ImportDataRequest\x12O\n\x11source_gcs_bucket\x18\x02 \x01(\x0b\x32\x32.google.cloud.parallelstore.v1beta.SourceGcsBucketH\x00\x12`\n\x19\x64\x65stination_parallelstore\x18\x03 \x01(\x0b\x32;.google.cloud.parallelstore.v1beta.DestinationParallelstoreH\x01\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x42\n\x0fservice_account\x18\x05 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x81\x03\n\x11\x45xportDataRequest\x12V\n\x14source_parallelstore\x18\x02 \x01(\x0b\x32\x36.google.cloud.parallelstore.v1beta.SourceParallelstoreH\x00\x12Y\n\x16\x64\x65stination_gcs_bucket\x18\x03 \x01(\x0b\x32\x37.google.cloud.parallelstore.v1beta.DestinationGcsBucketH\x01\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x42\n\x0fservice_account\x18\x05 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x14\n\x12ImportDataResponse\"\xdb\x02\n\x12ImportDataMetadata\x12X\n\x12operation_metadata\x18\x01 \x01(\x0b\x32<.google.cloud.parallelstore.v1beta.TransferOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\x14\n\x12\x45xportDataResponse\"\xdb\x02\n\x12\x45xportDataMetadata\x12X\n\x12operation_metadata\x18\x01 \x01(\x0b\x32<.google.cloud.parallelstore.v1beta.TransferOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\xc7\x04\n\x19TransferOperationMetadata\x12[\n\x14source_parallelstore\x18\x07 \x01(\x0b\x32\x36.google.cloud.parallelstore.v1beta.SourceParallelstoreB\x03\xe0\x41\x03H\x00\x12T\n\x11source_gcs_bucket\x18\x08 \x01(\x0b\x32\x32.google.cloud.parallelstore.v1beta.SourceGcsBucketB\x03\xe0\x41\x03H\x00\x12^\n\x16\x64\x65stination_gcs_bucket\x18\t \x01(\x0b\x32\x37.google.cloud.parallelstore.v1beta.DestinationGcsBucketB\x03\xe0\x41\x03H\x01\x12\x65\n\x19\x64\x65stination_parallelstore\x18\n \x01(\x0b\x32;.google.cloud.parallelstore.v1beta.DestinationParallelstoreB\x03\xe0\x41\x03H\x01\x12J\n\x08\x63ounters\x18\x03 \x01(\x0b\x32\x33.google.cloud.parallelstore.v1beta.TransferCountersB\x03\xe0\x41\x03\x12K\n\rtransfer_type\x18\x06 \x01(\x0e\x32/.google.cloud.parallelstore.v1beta.TransferTypeB\x03\xe0\x41\x03\x42\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x9c\x01\n\x10TransferCounters\x12\x15\n\robjects_found\x18\x01 \x01(\x03\x12\x13\n\x0b\x62ytes_found\x18\x02 \x01(\x03\x12\x17\n\x0fobjects_skipped\x18\x03 \x01(\x03\x12\x15\n\rbytes_skipped\x18\x04 \x01(\x03\x12\x16\n\x0eobjects_copied\x18\x05 \x01(\x03\x12\x14\n\x0c\x62ytes_copied\x18\x06 \x01(\x03*E\n\x0cTransferType\x12\x1d\n\x19TRANSFER_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06IMPORT\x10\x01\x12\n\n\x06\x45XPORT\x10\x02*\x8a\x01\n\x0f\x46ileStripeLevel\x12!\n\x1d\x46ILE_STRIPE_LEVEL_UNSPECIFIED\x10\x00\x12\x19\n\x15\x46ILE_STRIPE_LEVEL_MIN\x10\x01\x12\x1e\n\x1a\x46ILE_STRIPE_LEVEL_BALANCED\x10\x02\x12\x19\n\x15\x46ILE_STRIPE_LEVEL_MAX\x10\x03*\xa3\x01\n\x14\x44irectoryStripeLevel\x12&\n\"DIRECTORY_STRIPE_LEVEL_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x44IRECTORY_STRIPE_LEVEL_MIN\x10\x01\x12#\n\x1f\x44IRECTORY_STRIPE_LEVEL_BALANCED\x10\x02\x12\x1e\n\x1a\x44IRECTORY_STRIPE_LEVEL_MAX\x10\x03\x32\xcd\x0c\n\rParallelstore\x12\xc6\x01\n\rListInstances\x12\x37.google.cloud.parallelstore.v1beta.ListInstancesRequest\x1a\x38.google.cloud.parallelstore.v1beta.ListInstancesResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{parent=projects/*/locations/*}/instances\x12\xb3\x01\n\x0bGetInstance\x12\x35.google.cloud.parallelstore.v1beta.GetInstanceRequest\x1a+.google.cloud.parallelstore.v1beta.Instance\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{name=projects/*/locations/*/instances/*}\x12\xed\x01\n\x0e\x43reateInstance\x12\x38.google.cloud.parallelstore.v1beta.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02=\"1/v1beta/{parent=projects/*/locations/*}/instances:\x08instance\x12\xef\x01\n\x0eUpdateInstance\x12\x38.google.cloud.parallelstore.v1beta.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x46\x32:/v1beta/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xd8\x01\n\x0e\x44\x65leteInstance\x12\x38.google.cloud.parallelstore.v1beta.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta/{name=projects/*/locations/*/instances/*}\x12\xd5\x01\n\nImportData\x12\x34.google.cloud.parallelstore.v1beta.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41(\n\x12ImportDataResponse\x12\x12ImportDataMetadata\x82\xd3\xe4\x93\x02\x41\"</v1beta/{name=projects/*/locations/*/instances/*}:importData:\x01*\x12\xd5\x01\n\nExportData\x12\x34.google.cloud.parallelstore.v1beta.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41(\n\x12\x45xportDataResponse\x12\x12\x45xportDataMetadata\x82\xd3\xe4\x93\x02\x41\"</v1beta/{name=projects/*/locations/*/instances/*}:exportData:\x01*\x1aP\xca\x41\x1cparallelstore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x82\x04\n%com.google.cloud.parallelstore.v1betaB\x12ParallelstoreProtoP\x01ZKcloud.google.com/go/parallelstore/apiv1beta/parallelstorepb;parallelstorepb\xaa\x02!Google.Cloud.Parallelstore.V1Beta\xca\x02!Google\\Cloud\\Parallelstore\\V1beta\xea\x02$Google::Cloud::Parallelstore::V1beta\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n\x1e\x63ompute.googleapis.com/Address\x12\x37projects/{project}/regions/{region}/addresses/{address}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}b\x06proto3"
|
18
|
+
descriptor_data = "\n5google/cloud/parallelstore/v1beta/parallelstore.proto\x12!google.cloud.parallelstore.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf3\x08\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x05state\x18\x03 \x01(\x0e\x32\x31.google.cloud.parallelstore.v1beta.Instance.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x06labels\x18\x06 \x03(\x0b\x32\x37.google.cloud.parallelstore.v1beta.Instance.LabelsEntryB\x03\xe0\x41\x01\x12\x1c\n\x0c\x63\x61pacity_gib\x18\x08 \x01(\x03\x42\x06\xe0\x41\x05\xe0\x41\x02\x12\x19\n\x0c\x64\x61os_version\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\raccess_points\x18\n \x03(\tB\x03\xe0\x41\x03\x12:\n\x07network\x18\x0b \x01(\tB)\xe0\x41\x05\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x44\n\x11reserved_ip_range\x18\x0c \x01(\tB)\xe0\x41\x05\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Address\x12N\n\x1b\x65\x66\x66\x65\x63tive_reserved_ip_range\x18\x0e \x01(\tB)\xe0\x41\x05\xe0\x41\x03\xfa\x41 \n\x1e\x63ompute.googleapis.com/Address\x12R\n\x11\x66ile_stripe_level\x18\x0f \x01(\x0e\x32\x32.google.cloud.parallelstore.v1beta.FileStripeLevelB\x03\xe0\x41\x01\x12\\\n\x16\x64irectory_stripe_level\x18\x10 \x01(\x0e\x32\x37.google.cloud.parallelstore.v1beta.DirectoryStripeLevelB\x03\xe0\x41\x01\x12O\n\x0f\x64\x65ployment_type\x18\x11 \x01(\x0e\x32\x31.google.cloud.parallelstore.v1beta.DeploymentTypeB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tUPGRADING\x10\x05:}\xea\x41z\n%parallelstore.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instance\"\xb2\x01\n\x14ListInstancesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%parallelstore.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x85\x01\n\x15ListInstancesResponse\x12>\n\tinstances\x18\x01 \x03(\x0b\x32+.google.cloud.parallelstore.v1beta.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x12GetInstanceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\"\xcd\x01\n\x15\x43reateInstanceRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%parallelstore.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x08instance\x18\x03 \x01(\x0b\x32+.google.cloud.parallelstore.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x42\n\x08instance\x18\x02 \x01(\x0b\x32+.google.cloud.parallelstore.v1beta.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"m\n\x15\x44\x65leteInstanceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"#\n\x0fSourceGcsBucket\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x14\x44\x65stinationGcsBucket\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x13SourceParallelstore\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\"-\n\x18\x44\x65stinationParallelstore\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x81\x03\n\x11ImportDataRequest\x12O\n\x11source_gcs_bucket\x18\x02 \x01(\x0b\x32\x32.google.cloud.parallelstore.v1beta.SourceGcsBucketH\x00\x12`\n\x19\x64\x65stination_parallelstore\x18\x03 \x01(\x0b\x32;.google.cloud.parallelstore.v1beta.DestinationParallelstoreH\x01\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x42\n\x0fservice_account\x18\x05 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x81\x03\n\x11\x45xportDataRequest\x12V\n\x14source_parallelstore\x18\x02 \x01(\x0b\x32\x36.google.cloud.parallelstore.v1beta.SourceParallelstoreH\x00\x12Y\n\x16\x64\x65stination_gcs_bucket\x18\x03 \x01(\x0b\x32\x37.google.cloud.parallelstore.v1beta.DestinationGcsBucketH\x01\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%parallelstore.googleapis.com/Instance\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x42\n\x0fservice_account\x18\x05 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x14\n\x12ImportDataResponse\"\xdb\x02\n\x12ImportDataMetadata\x12X\n\x12operation_metadata\x18\x01 \x01(\x0b\x32<.google.cloud.parallelstore.v1beta.TransferOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\x14\n\x12\x45xportDataResponse\"\xdb\x02\n\x12\x45xportDataMetadata\x12X\n\x12operation_metadata\x18\x01 \x01(\x0b\x32<.google.cloud.parallelstore.v1beta.TransferOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\xc7\x04\n\x19TransferOperationMetadata\x12[\n\x14source_parallelstore\x18\x07 \x01(\x0b\x32\x36.google.cloud.parallelstore.v1beta.SourceParallelstoreB\x03\xe0\x41\x03H\x00\x12T\n\x11source_gcs_bucket\x18\x08 \x01(\x0b\x32\x32.google.cloud.parallelstore.v1beta.SourceGcsBucketB\x03\xe0\x41\x03H\x00\x12^\n\x16\x64\x65stination_gcs_bucket\x18\t \x01(\x0b\x32\x37.google.cloud.parallelstore.v1beta.DestinationGcsBucketB\x03\xe0\x41\x03H\x01\x12\x65\n\x19\x64\x65stination_parallelstore\x18\n \x01(\x0b\x32;.google.cloud.parallelstore.v1beta.DestinationParallelstoreB\x03\xe0\x41\x03H\x01\x12J\n\x08\x63ounters\x18\x03 \x01(\x0b\x32\x33.google.cloud.parallelstore.v1beta.TransferCountersB\x03\xe0\x41\x03\x12K\n\rtransfer_type\x18\x06 \x01(\x0e\x32/.google.cloud.parallelstore.v1beta.TransferTypeB\x03\xe0\x41\x03\x42\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x9c\x01\n\x10TransferCounters\x12\x15\n\robjects_found\x18\x01 \x01(\x03\x12\x13\n\x0b\x62ytes_found\x18\x02 \x01(\x03\x12\x17\n\x0fobjects_skipped\x18\x03 \x01(\x03\x12\x15\n\rbytes_skipped\x18\x04 \x01(\x03\x12\x16\n\x0eobjects_copied\x18\x05 \x01(\x03\x12\x14\n\x0c\x62ytes_copied\x18\x06 \x01(\x03*E\n\x0cTransferType\x12\x1d\n\x19TRANSFER_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06IMPORT\x10\x01\x12\n\n\x06\x45XPORT\x10\x02*\x8a\x01\n\x0f\x46ileStripeLevel\x12!\n\x1d\x46ILE_STRIPE_LEVEL_UNSPECIFIED\x10\x00\x12\x19\n\x15\x46ILE_STRIPE_LEVEL_MIN\x10\x01\x12\x1e\n\x1a\x46ILE_STRIPE_LEVEL_BALANCED\x10\x02\x12\x19\n\x15\x46ILE_STRIPE_LEVEL_MAX\x10\x03*\xa3\x01\n\x14\x44irectoryStripeLevel\x12&\n\"DIRECTORY_STRIPE_LEVEL_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x44IRECTORY_STRIPE_LEVEL_MIN\x10\x01\x12#\n\x1f\x44IRECTORY_STRIPE_LEVEL_BALANCED\x10\x02\x12\x1e\n\x1a\x44IRECTORY_STRIPE_LEVEL_MAX\x10\x03*N\n\x0e\x44\x65ploymentType\x12\x1f\n\x1b\x44\x45PLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SCRATCH\x10\x01\x12\x0e\n\nPERSISTENT\x10\x02\x32\xcd\x0c\n\rParallelstore\x12\xc6\x01\n\rListInstances\x12\x37.google.cloud.parallelstore.v1beta.ListInstancesRequest\x1a\x38.google.cloud.parallelstore.v1beta.ListInstancesResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{parent=projects/*/locations/*}/instances\x12\xb3\x01\n\x0bGetInstance\x12\x35.google.cloud.parallelstore.v1beta.GetInstanceRequest\x1a+.google.cloud.parallelstore.v1beta.Instance\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta/{name=projects/*/locations/*/instances/*}\x12\xed\x01\n\x0e\x43reateInstance\x12\x38.google.cloud.parallelstore.v1beta.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02=\"1/v1beta/{parent=projects/*/locations/*}/instances:\x08instance\x12\xef\x01\n\x0eUpdateInstance\x12\x38.google.cloud.parallelstore.v1beta.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x46\x32:/v1beta/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xd8\x01\n\x0e\x44\x65leteInstance\x12\x38.google.cloud.parallelstore.v1beta.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta/{name=projects/*/locations/*/instances/*}\x12\xd5\x01\n\nImportData\x12\x34.google.cloud.parallelstore.v1beta.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41(\n\x12ImportDataResponse\x12\x12ImportDataMetadata\x82\xd3\xe4\x93\x02\x41\"</v1beta/{name=projects/*/locations/*/instances/*}:importData:\x01*\x12\xd5\x01\n\nExportData\x12\x34.google.cloud.parallelstore.v1beta.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41(\n\x12\x45xportDataResponse\x12\x12\x45xportDataMetadata\x82\xd3\xe4\x93\x02\x41\"</v1beta/{name=projects/*/locations/*/instances/*}:exportData:\x01*\x1aP\xca\x41\x1cparallelstore.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x82\x04\n%com.google.cloud.parallelstore.v1betaB\x12ParallelstoreProtoP\x01ZKcloud.google.com/go/parallelstore/apiv1beta/parallelstorepb;parallelstorepb\xaa\x02!Google.Cloud.Parallelstore.V1Beta\xca\x02!Google\\Cloud\\Parallelstore\\V1beta\xea\x02$Google::Cloud::Parallelstore::V1beta\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41Y\n\x1e\x63ompute.googleapis.com/Address\x12\x37projects/{project}/regions/{region}/addresses/{address}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}b\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -71,6 +71,7 @@ module Google
|
|
71
71
|
TransferType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferType").enummodule
|
72
72
|
FileStripeLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.FileStripeLevel").enummodule
|
73
73
|
DirectoryStripeLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.DirectoryStripeLevel").enummodule
|
74
|
+
DeploymentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.DeploymentType").enummodule
|
74
75
|
end
|
75
76
|
end
|
76
77
|
end
|
@@ -47,19 +47,19 @@ module Google
|
|
47
47
|
self.unmarshal_class_method = :decode
|
48
48
|
self.service_name = 'google.cloud.parallelstore.v1beta.Parallelstore'
|
49
49
|
|
50
|
-
# Lists
|
50
|
+
# Lists all instances in a given project and location.
|
51
51
|
rpc :ListInstances, ::Google::Cloud::Parallelstore::V1beta::ListInstancesRequest, ::Google::Cloud::Parallelstore::V1beta::ListInstancesResponse
|
52
|
-
# Gets details of a single
|
52
|
+
# Gets details of a single instance.
|
53
53
|
rpc :GetInstance, ::Google::Cloud::Parallelstore::V1beta::GetInstanceRequest, ::Google::Cloud::Parallelstore::V1beta::Instance
|
54
54
|
# Creates a Parallelstore instance in a given project and location.
|
55
55
|
rpc :CreateInstance, ::Google::Cloud::Parallelstore::V1beta::CreateInstanceRequest, ::Google::Longrunning::Operation
|
56
|
-
# Updates the parameters of a single
|
56
|
+
# Updates the parameters of a single instance.
|
57
57
|
rpc :UpdateInstance, ::Google::Cloud::Parallelstore::V1beta::UpdateInstanceRequest, ::Google::Longrunning::Operation
|
58
|
-
# Deletes a single
|
58
|
+
# Deletes a single instance.
|
59
59
|
rpc :DeleteInstance, ::Google::Cloud::Parallelstore::V1beta::DeleteInstanceRequest, ::Google::Longrunning::Operation
|
60
|
-
#
|
60
|
+
# Copies data from Cloud Storage to Parallelstore.
|
61
61
|
rpc :ImportData, ::Google::Cloud::Parallelstore::V1beta::ImportDataRequest, ::Google::Longrunning::Operation
|
62
|
-
#
|
62
|
+
# Copies data from Parallelstore to Cloud Storage.
|
63
63
|
rpc :ExportData, ::Google::Cloud::Parallelstore::V1beta::ExportDataRequest, ::Google::Longrunning::Operation
|
64
64
|
end
|
65
65
|
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
27
|
# Identifier. The resource name of the instance, in the format
|
28
|
-
# `projects/{project}/locations/{location}/instances/{instance_id}
|
28
|
+
# `projects/{project}/locations/{location}/instances/{instance_id}`.
|
29
29
|
# @!attribute [rw] description
|
30
30
|
# @return [::String]
|
31
31
|
# Optional. The description of the instance. 2048 characters or less.
|
@@ -42,64 +42,60 @@ module Google
|
|
42
42
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
43
43
|
# Optional. Cloud Labels are a flexible and lightweight mechanism for
|
44
44
|
# organizing cloud resources into groups that reflect a customer's
|
45
|
-
# organizational needs and deployment strategies.
|
46
|
-
#
|
47
|
-
# metrics are aggregated. And they can be used as arguments to policy
|
48
|
-
# management rules (e.g. route, firewall, load balancing, etc.).
|
49
|
-
#
|
50
|
-
# * Label keys must be between 1 and 63 characters long and must conform to
|
51
|
-
# the following regular expression: `[a-z][a-z0-9_-]{0,62}`.
|
52
|
-
# * Label values must be between 0 and 63 characters long and must conform
|
53
|
-
# to the regular expression `[a-z0-9_-]{0,63}`.
|
54
|
-
# * No more than 64 labels can be associated with a given resource.
|
55
|
-
#
|
56
|
-
# See https://goo.gl/xmQnxf for more information on and examples of labels.
|
57
|
-
#
|
58
|
-
# If you plan to use labels in your own code, please note that additional
|
59
|
-
# characters may be allowed in the future. Therefore, you are advised to use
|
60
|
-
# an internal label representation, such as JSON, which doesn't rely upon
|
61
|
-
# specific characters being disallowed. For example, representing labels
|
62
|
-
# as the string: name + "_" + value would prove problematic if we were to
|
63
|
-
# allow "_" in a future release.
|
45
|
+
# organizational needs and deployment strategies. See
|
46
|
+
# https://cloud.google.com/resource-manager/docs/labels-overview for details.
|
64
47
|
# @!attribute [rw] capacity_gib
|
65
48
|
# @return [::Integer]
|
66
|
-
# Required. Immutable.
|
67
|
-
#
|
49
|
+
# Required. Immutable. The instance's storage capacity in Gibibytes (GiB).
|
50
|
+
# Allowed values are between 12000 and 100000, in multiples of 4000; e.g.,
|
51
|
+
# 12000, 16000, 20000, ...
|
68
52
|
# @!attribute [r] daos_version
|
69
53
|
# @return [::String]
|
70
|
-
# Output only. The version of DAOS software running in the instance
|
54
|
+
# Output only. The version of DAOS software running in the instance.
|
71
55
|
# @!attribute [r] access_points
|
72
56
|
# @return [::Array<::String>]
|
73
|
-
# Output only.
|
74
|
-
# Contains a list of IPv4 addresses used for client side configuration.
|
57
|
+
# Output only. A list of IPv4 addresses used for client side configuration.
|
75
58
|
# @!attribute [rw] network
|
76
59
|
# @return [::String]
|
77
|
-
# Optional. Immutable. The name of the
|
60
|
+
# Optional. Immutable. The name of the Compute Engine
|
78
61
|
# [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
|
79
62
|
# instance is connected.
|
80
63
|
# @!attribute [rw] reserved_ip_range
|
81
64
|
# @return [::String]
|
82
|
-
# Optional. Immutable.
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# provided all ranges
|
65
|
+
# Optional. Immutable. The ID of the IP address range being used by the
|
66
|
+
# instance's VPC network. See [Configure a VPC
|
67
|
+
# network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
|
68
|
+
# If no ID is provided, all ranges are considered.
|
86
69
|
# @!attribute [r] effective_reserved_ip_range
|
87
70
|
# @return [::String]
|
88
|
-
# Output only. Immutable.
|
89
|
-
#
|
90
|
-
#
|
91
|
-
# populated by the service and and contains the value currently used by the
|
92
|
-
# service.
|
71
|
+
# Output only. Immutable. The ID of the IP address range being used by the
|
72
|
+
# instance's VPC network. This field is populated by the service and contains
|
73
|
+
# the value currently used by the service.
|
93
74
|
# @!attribute [rw] file_stripe_level
|
94
75
|
# @return [::Google::Cloud::Parallelstore::V1beta::FileStripeLevel]
|
95
|
-
# Optional. Stripe level for files.
|
96
|
-
#
|
97
|
-
#
|
76
|
+
# Optional. Stripe level for files. Allowed values are:
|
77
|
+
#
|
78
|
+
# * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size
|
79
|
+
# files.
|
80
|
+
# * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads
|
81
|
+
# involving a mix of small and large files.
|
82
|
+
# * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
|
98
83
|
# @!attribute [rw] directory_stripe_level
|
99
84
|
# @return [::Google::Cloud::Parallelstore::V1beta::DirectoryStripeLevel]
|
100
|
-
# Optional. Stripe level for directories.
|
101
|
-
#
|
102
|
-
#
|
85
|
+
# Optional. Stripe level for directories. Allowed values are:
|
86
|
+
#
|
87
|
+
# * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a
|
88
|
+
# small number of files.
|
89
|
+
# * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads
|
90
|
+
# involving a mix of small and large directories.
|
91
|
+
# * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large
|
92
|
+
# number of files.
|
93
|
+
# @!attribute [rw] deployment_type
|
94
|
+
# @return [::Google::Cloud::Parallelstore::V1beta::DeploymentType]
|
95
|
+
# Optional. The deployment type of the instance. Allowed values are:
|
96
|
+
#
|
97
|
+
# * `SCRATCH`: the instance is a scratch instance.
|
98
|
+
# * `PERSISTENT`: the instance is a persistent instance.
|
103
99
|
class Instance
|
104
100
|
include ::Google::Protobuf::MessageExts
|
105
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -113,7 +109,7 @@ module Google
|
|
113
109
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
110
|
end
|
115
111
|
|
116
|
-
#
|
112
|
+
# The possible states of a Parallelstore instance.
|
117
113
|
module State
|
118
114
|
# Not set.
|
119
115
|
STATE_UNSPECIFIED = 0
|
@@ -129,40 +125,43 @@ module Google
|
|
129
125
|
|
130
126
|
# The instance is not usable.
|
131
127
|
FAILED = 4
|
128
|
+
|
129
|
+
# The instance is being upgraded.
|
130
|
+
UPGRADING = 5
|
132
131
|
end
|
133
132
|
end
|
134
133
|
|
135
|
-
#
|
134
|
+
# List instances request.
|
136
135
|
# @!attribute [rw] parent
|
137
136
|
# @return [::String]
|
138
137
|
# Required. The project and location for which to retrieve instance
|
139
138
|
# information, in the format `projects/{project_id}/locations/{location}`.
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
# `{location}` value.
|
139
|
+
#
|
140
|
+
# To retrieve instance information for all locations, use "-" as the value of
|
141
|
+
# `{location}`.
|
144
142
|
# @!attribute [rw] page_size
|
145
143
|
# @return [::Integer]
|
146
144
|
# Optional. Requested page size. Server may return fewer items than
|
147
|
-
# requested. If unspecified, server will pick an appropriate default.
|
145
|
+
# requested. If unspecified, the server will pick an appropriate default.
|
148
146
|
# @!attribute [rw] page_token
|
149
147
|
# @return [::String]
|
150
148
|
# Optional. A token identifying a page of results the server should return.
|
151
149
|
# @!attribute [rw] filter
|
152
150
|
# @return [::String]
|
153
|
-
# Optional. Filtering results
|
151
|
+
# Optional. Filtering results.
|
154
152
|
# @!attribute [rw] order_by
|
155
153
|
# @return [::String]
|
156
|
-
# Optional. Hint for how to order the results
|
154
|
+
# Optional. Hint for how to order the results.
|
157
155
|
class ListInstancesRequest
|
158
156
|
include ::Google::Protobuf::MessageExts
|
159
157
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
158
|
end
|
161
159
|
|
162
|
-
#
|
160
|
+
# Response from
|
161
|
+
# {::Google::Cloud::Parallelstore::V1beta::Parallelstore::Client#list_instances ListInstances}.
|
163
162
|
# @!attribute [rw] instances
|
164
163
|
# @return [::Array<::Google::Cloud::Parallelstore::V1beta::Instance>]
|
165
|
-
# The list of Parallelstore
|
164
|
+
# The list of Parallelstore instances.
|
166
165
|
# @!attribute [rw] next_page_token
|
167
166
|
# @return [::String]
|
168
167
|
# A token identifying a page of results the server should return.
|
@@ -174,7 +173,7 @@ module Google
|
|
174
173
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
175
174
|
end
|
176
175
|
|
177
|
-
#
|
176
|
+
# Get an instance's details.
|
178
177
|
# @!attribute [rw] name
|
179
178
|
# @return [::String]
|
180
179
|
# Required. The instance resource name, in the format
|
@@ -184,17 +183,15 @@ module Google
|
|
184
183
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
185
184
|
end
|
186
185
|
|
187
|
-
#
|
188
|
-
# {::Google::Cloud::Parallelstore::V1beta::Parallelstore::Client#create_instance CreateInstance}
|
186
|
+
# Create a new Parallelstore instance.
|
189
187
|
# @!attribute [rw] parent
|
190
188
|
# @return [::String]
|
191
189
|
# Required. The instance's project and location, in the format
|
192
190
|
# `projects/{project}/locations/{location}`.
|
193
|
-
# Locations map to Google Cloud zones
|
191
|
+
# Locations map to Google Cloud zones; for example, `us-west1-b`.
|
194
192
|
# @!attribute [rw] instance_id
|
195
193
|
# @return [::String]
|
196
|
-
# Required. The
|
197
|
-
# project with the following restrictions:
|
194
|
+
# Required. The name of the Parallelstore instance.
|
198
195
|
#
|
199
196
|
# * Must contain only lowercase letters, numbers, and hyphens.
|
200
197
|
# * Must start with a letter.
|
@@ -224,16 +221,16 @@ module Google
|
|
224
221
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
222
|
end
|
226
223
|
|
227
|
-
#
|
224
|
+
# Update an instance.
|
228
225
|
# @!attribute [rw] update_mask
|
229
226
|
# @return [::Google::Protobuf::FieldMask]
|
230
|
-
# Required. Mask of fields to update
|
227
|
+
# Required. Mask of fields to update. Field mask is used to specify the
|
231
228
|
# fields to be overwritten in the Instance resource by the update. At least
|
232
229
|
# one path must be supplied in this field. The fields specified in the
|
233
230
|
# update_mask are relative to the resource, not the full request.
|
234
231
|
# @!attribute [rw] instance
|
235
232
|
# @return [::Google::Cloud::Parallelstore::V1beta::Instance]
|
236
|
-
# Required. The instance to update
|
233
|
+
# Required. The instance to update.
|
237
234
|
# @!attribute [rw] request_id
|
238
235
|
# @return [::String]
|
239
236
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -254,7 +251,7 @@ module Google
|
|
254
251
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
255
252
|
end
|
256
253
|
|
257
|
-
#
|
254
|
+
# Delete an instance.
|
258
255
|
# @!attribute [rw] name
|
259
256
|
# @return [::String]
|
260
257
|
# Required. Name of the resource
|
@@ -278,7 +275,7 @@ module Google
|
|
278
275
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
276
|
end
|
280
277
|
|
281
|
-
#
|
278
|
+
# Long-running operation metadata.
|
282
279
|
# @!attribute [r] create_time
|
283
280
|
# @return [::Google::Protobuf::Timestamp]
|
284
281
|
# Output only. The time the operation was created.
|
@@ -309,51 +306,52 @@ module Google
|
|
309
306
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
310
307
|
end
|
311
308
|
|
312
|
-
#
|
309
|
+
# Cloud Storage as the source of a data transfer.
|
313
310
|
# @!attribute [rw] uri
|
314
311
|
# @return [::String]
|
315
|
-
# Required. URI to a Cloud Storage
|
316
|
-
#
|
312
|
+
# Required. URI to a Cloud Storage bucket in the format:
|
313
|
+
# `gs://<bucket_name>/<path_inside_bucket>`. The path inside the bucket is
|
314
|
+
# optional.
|
317
315
|
class SourceGcsBucket
|
318
316
|
include ::Google::Protobuf::MessageExts
|
319
317
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
320
318
|
end
|
321
319
|
|
322
|
-
#
|
320
|
+
# Cloud Storage as the destination of a data transfer.
|
323
321
|
# @!attribute [rw] uri
|
324
322
|
# @return [::String]
|
325
|
-
# Required. URI to a Cloud Storage
|
326
|
-
#
|
323
|
+
# Required. URI to a Cloud Storage bucket in the format:
|
324
|
+
# `gs://<bucket_name>/<path_inside_bucket>`. The path inside the bucket is
|
325
|
+
# optional.
|
327
326
|
class DestinationGcsBucket
|
328
327
|
include ::Google::Protobuf::MessageExts
|
329
328
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
329
|
end
|
331
330
|
|
332
|
-
#
|
331
|
+
# Parallelstore as the source of a data transfer.
|
333
332
|
# @!attribute [rw] path
|
334
333
|
# @return [::String]
|
335
334
|
# Optional. Root directory path to the Paralellstore filesystem, starting
|
336
|
-
# with
|
335
|
+
# with `/`. Defaults to `/` if unset.
|
337
336
|
class SourceParallelstore
|
338
337
|
include ::Google::Protobuf::MessageExts
|
339
338
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
340
339
|
end
|
341
340
|
|
342
|
-
# Parallelstore as a
|
341
|
+
# Parallelstore as the destination of a data transfer.
|
343
342
|
# @!attribute [rw] path
|
344
343
|
# @return [::String]
|
345
344
|
# Optional. Root directory path to the Paralellstore filesystem, starting
|
346
|
-
# with
|
345
|
+
# with `/`. Defaults to `/` if unset.
|
347
346
|
class DestinationParallelstore
|
348
347
|
include ::Google::Protobuf::MessageExts
|
349
348
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
350
349
|
end
|
351
350
|
|
352
|
-
#
|
353
|
-
# Storage.
|
351
|
+
# Import data from Cloud Storage into a Parallelstore instance.
|
354
352
|
# @!attribute [rw] source_gcs_bucket
|
355
353
|
# @return [::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket]
|
356
|
-
# Cloud Storage source.
|
354
|
+
# The Cloud Storage source bucket and, optionally, path inside the bucket.
|
357
355
|
# @!attribute [rw] destination_parallelstore
|
358
356
|
# @return [::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore]
|
359
357
|
# Parallelstore destination.
|
@@ -377,18 +375,23 @@ module Google
|
|
377
375
|
# not supported (00000000-0000-0000-0000-000000000000).
|
378
376
|
# @!attribute [rw] service_account
|
379
377
|
# @return [::String]
|
380
|
-
# Optional. User-specified
|
378
|
+
# Optional. User-specified service account credentials to be used when
|
381
379
|
# performing the transfer.
|
382
|
-
#
|
380
|
+
#
|
381
|
+
# Use one of the following formats:
|
382
|
+
#
|
383
|
+
# * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
|
384
|
+
# * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
|
385
|
+
# * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
|
386
|
+
#
|
383
387
|
# If unspecified, the Parallelstore service agent is used:
|
384
|
-
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com
|
388
|
+
# `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
|
385
389
|
class ImportDataRequest
|
386
390
|
include ::Google::Protobuf::MessageExts
|
387
391
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
388
392
|
end
|
389
393
|
|
390
|
-
#
|
391
|
-
# parallelstore.
|
394
|
+
# Export data from Parallelstore to Cloud Storage.
|
392
395
|
# @!attribute [rw] source_parallelstore
|
393
396
|
# @return [::Google::Cloud::Parallelstore::V1beta::SourceParallelstore]
|
394
397
|
# Parallelstore source.
|
@@ -417,24 +420,29 @@ module Google
|
|
417
420
|
# @return [::String]
|
418
421
|
# Optional. User-specified Service Account (SA) credentials to be used when
|
419
422
|
# performing the transfer.
|
420
|
-
#
|
423
|
+
# Use one of the following formats:
|
424
|
+
#
|
425
|
+
# * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
|
426
|
+
# * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
|
427
|
+
# * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
|
428
|
+
#
|
421
429
|
# If unspecified, the Parallelstore service agent is used:
|
422
|
-
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com
|
430
|
+
# `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
|
423
431
|
class ExportDataRequest
|
424
432
|
include ::Google::Protobuf::MessageExts
|
425
433
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
426
434
|
end
|
427
435
|
|
428
|
-
#
|
436
|
+
# The response to a request to import data to Parallelstore.
|
429
437
|
class ImportDataResponse
|
430
438
|
include ::Google::Protobuf::MessageExts
|
431
439
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
432
440
|
end
|
433
441
|
|
434
|
-
#
|
442
|
+
# Metadata related to the data import operation.
|
435
443
|
# @!attribute [rw] operation_metadata
|
436
444
|
# @return [::Google::Cloud::Parallelstore::V1beta::TransferOperationMetadata]
|
437
|
-
#
|
445
|
+
# Data transfer operation metadata.
|
438
446
|
# @!attribute [r] create_time
|
439
447
|
# @return [::Google::Protobuf::Timestamp]
|
440
448
|
# Output only. The time the operation was created.
|
@@ -465,16 +473,16 @@ module Google
|
|
465
473
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
466
474
|
end
|
467
475
|
|
468
|
-
#
|
476
|
+
# The response to a request to export data from Parallelstore.
|
469
477
|
class ExportDataResponse
|
470
478
|
include ::Google::Protobuf::MessageExts
|
471
479
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
472
480
|
end
|
473
481
|
|
474
|
-
#
|
482
|
+
# Metadata related to the data export operation.
|
475
483
|
# @!attribute [rw] operation_metadata
|
476
484
|
# @return [::Google::Cloud::Parallelstore::V1beta::TransferOperationMetadata]
|
477
|
-
#
|
485
|
+
# Data transfer operation metadata.
|
478
486
|
# @!attribute [r] create_time
|
479
487
|
# @return [::Google::Protobuf::Timestamp]
|
480
488
|
# Output only. The time the operation was created.
|
@@ -505,7 +513,7 @@ module Google
|
|
505
513
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
506
514
|
end
|
507
515
|
|
508
|
-
#
|
516
|
+
# Long-running operation metadata related to a data transfer.
|
509
517
|
# @!attribute [r] source_parallelstore
|
510
518
|
# @return [::Google::Cloud::Parallelstore::V1beta::SourceParallelstore]
|
511
519
|
# Output only. Parallelstore source.
|
@@ -520,7 +528,7 @@ module Google
|
|
520
528
|
# Output only. Parallelstore destination.
|
521
529
|
# @!attribute [r] counters
|
522
530
|
# @return [::Google::Cloud::Parallelstore::V1beta::TransferCounters]
|
523
|
-
# Output only.
|
531
|
+
# Output only. The progress of the transfer operation.
|
524
532
|
# @!attribute [r] transfer_type
|
525
533
|
# @return [::Google::Cloud::Parallelstore::V1beta::TransferType]
|
526
534
|
# Output only. The type of transfer occurring.
|
@@ -573,7 +581,7 @@ module Google
|
|
573
581
|
|
574
582
|
# Represents the striping options for files.
|
575
583
|
module FileStripeLevel
|
576
|
-
#
|
584
|
+
# If not set, FileStripeLevel will default to FILE_STRIPE_LEVEL_BALANCED
|
577
585
|
FILE_STRIPE_LEVEL_UNSPECIFIED = 0
|
578
586
|
|
579
587
|
# Minimum file striping
|
@@ -588,7 +596,7 @@ module Google
|
|
588
596
|
|
589
597
|
# Represents the striping options for directories.
|
590
598
|
module DirectoryStripeLevel
|
591
|
-
#
|
599
|
+
# If not set, DirectoryStripeLevel will default to DIRECTORY_STRIPE_LEVEL_MAX
|
592
600
|
DIRECTORY_STRIPE_LEVEL_UNSPECIFIED = 0
|
593
601
|
|
594
602
|
# Minimum directory striping
|
@@ -600,6 +608,19 @@ module Google
|
|
600
608
|
# Maximum directory striping
|
601
609
|
DIRECTORY_STRIPE_LEVEL_MAX = 3
|
602
610
|
end
|
611
|
+
|
612
|
+
# Represents the deployment type for the instance.
|
613
|
+
module DeploymentType
|
614
|
+
# Default Deployment Type
|
615
|
+
# It is equivalent to SCRATCH
|
616
|
+
DEPLOYMENT_TYPE_UNSPECIFIED = 0
|
617
|
+
|
618
|
+
# Scratch
|
619
|
+
SCRATCH = 1
|
620
|
+
|
621
|
+
# Persistent
|
622
|
+
PERSISTENT = 2
|
623
|
+
end
|
603
624
|
end
|
604
625
|
end
|
605
626
|
end
|