google-cloud-parallelstore-v1beta 0.a → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +144 -8
- data/lib/google/cloud/parallelstore/v1beta/bindings_override.rb +102 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/client.rb +1194 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/credentials.rb +47 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/operations.rb +809 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/paths.rb +122 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/client.rb +1126 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/operations.rb +902 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/service_stub.rb +486 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest.rb +68 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore.rb +70 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore_pb.rb +75 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore_services_pb.rb +71 -0
- data/lib/google/cloud/parallelstore/v1beta/rest.rb +38 -0
- data/lib/google/cloud/parallelstore/v1beta/version.rb +7 -2
- data/lib/google/cloud/parallelstore/v1beta.rb +45 -0
- data/lib/google-cloud-parallelstore-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +399 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +65 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/parallelstore/v1beta/parallelstore.rb +566 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- metadata +95 -11
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/parallelstore/v1beta/parallelstore.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/field_info_pb'
|
11
|
+
require 'google/api/resource_pb'
|
12
|
+
require 'google/longrunning/operations_pb'
|
13
|
+
require 'google/protobuf/empty_pb'
|
14
|
+
require 'google/protobuf/field_mask_pb'
|
15
|
+
require 'google/protobuf/timestamp_pb'
|
16
|
+
|
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\"\xe1\x06\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\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\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
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
40
|
+
end
|
41
|
+
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
44
|
+
end
|
45
|
+
|
46
|
+
module Google
|
47
|
+
module Cloud
|
48
|
+
module Parallelstore
|
49
|
+
module V1beta
|
50
|
+
Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.Instance").msgclass
|
51
|
+
Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.Instance.State").enummodule
|
52
|
+
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ListInstancesRequest").msgclass
|
53
|
+
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ListInstancesResponse").msgclass
|
54
|
+
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.GetInstanceRequest").msgclass
|
55
|
+
CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.CreateInstanceRequest").msgclass
|
56
|
+
UpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.UpdateInstanceRequest").msgclass
|
57
|
+
DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.DeleteInstanceRequest").msgclass
|
58
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.OperationMetadata").msgclass
|
59
|
+
SourceGcsBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.SourceGcsBucket").msgclass
|
60
|
+
DestinationGcsBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.DestinationGcsBucket").msgclass
|
61
|
+
SourceParallelstore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.SourceParallelstore").msgclass
|
62
|
+
DestinationParallelstore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.DestinationParallelstore").msgclass
|
63
|
+
ImportDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ImportDataRequest").msgclass
|
64
|
+
ExportDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ExportDataRequest").msgclass
|
65
|
+
ImportDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ImportDataResponse").msgclass
|
66
|
+
ImportDataMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ImportDataMetadata").msgclass
|
67
|
+
ExportDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ExportDataResponse").msgclass
|
68
|
+
ExportDataMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.ExportDataMetadata").msgclass
|
69
|
+
TransferOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferOperationMetadata").msgclass
|
70
|
+
TransferCounters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferCounters").msgclass
|
71
|
+
TransferType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferType").enummodule
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/parallelstore/v1beta/parallelstore.proto for package 'Google.Cloud.Parallelstore.V1beta'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2024 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/parallelstore/v1beta/parallelstore_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Parallelstore
|
25
|
+
module V1beta
|
26
|
+
module Parallelstore
|
27
|
+
# Service describing handlers for resources
|
28
|
+
# Configures and manages parallelstore resources.
|
29
|
+
#
|
30
|
+
# Parallelstore service.
|
31
|
+
#
|
32
|
+
# The `parallelstore.googleapis.com` service implements the parallelstore API
|
33
|
+
# and defines the following resource model for managing instances:
|
34
|
+
# * The service works with a collection of cloud projects, named: `/projects/*`
|
35
|
+
# * Each project has a collection of available locations, named: `/locations/*`
|
36
|
+
# * Each location has a collection of instances named `/instances/*`.
|
37
|
+
# * Parallelstore instances are resources of the form:
|
38
|
+
# `/projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
39
|
+
#
|
40
|
+
# Note that location_id must be a Google Cloud `zone`; for example:
|
41
|
+
# * `projects/12345/locations/us-central1-c/instances/my-parallelstore-share`
|
42
|
+
class Service
|
43
|
+
|
44
|
+
include ::GRPC::GenericService
|
45
|
+
|
46
|
+
self.marshal_class_method = :encode
|
47
|
+
self.unmarshal_class_method = :decode
|
48
|
+
self.service_name = 'google.cloud.parallelstore.v1beta.Parallelstore'
|
49
|
+
|
50
|
+
# Lists Instances in a given project and location.
|
51
|
+
rpc :ListInstances, ::Google::Cloud::Parallelstore::V1beta::ListInstancesRequest, ::Google::Cloud::Parallelstore::V1beta::ListInstancesResponse
|
52
|
+
# Gets details of a single Instance.
|
53
|
+
rpc :GetInstance, ::Google::Cloud::Parallelstore::V1beta::GetInstanceRequest, ::Google::Cloud::Parallelstore::V1beta::Instance
|
54
|
+
# Creates a Parallelstore instance in a given project and location.
|
55
|
+
rpc :CreateInstance, ::Google::Cloud::Parallelstore::V1beta::CreateInstanceRequest, ::Google::Longrunning::Operation
|
56
|
+
# Updates the parameters of a single Instance.
|
57
|
+
rpc :UpdateInstance, ::Google::Cloud::Parallelstore::V1beta::UpdateInstanceRequest, ::Google::Longrunning::Operation
|
58
|
+
# Deletes a single Instance.
|
59
|
+
rpc :DeleteInstance, ::Google::Cloud::Parallelstore::V1beta::DeleteInstanceRequest, ::Google::Longrunning::Operation
|
60
|
+
# ImportData copies data from Cloud Storage to Parallelstore.
|
61
|
+
rpc :ImportData, ::Google::Cloud::Parallelstore::V1beta::ImportDataRequest, ::Google::Longrunning::Operation
|
62
|
+
# ExportData copies data from Parallelstore to Cloud Storage
|
63
|
+
rpc :ExportData, ::Google::Cloud::Parallelstore::V1beta::ExportDataRequest, ::Google::Longrunning::Operation
|
64
|
+
end
|
65
|
+
|
66
|
+
Stub = Service.rpc_stub_class
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/parallelstore/v1beta/parallelstore/rest"
|
20
|
+
require "google/cloud/parallelstore/v1beta/bindings_override"
|
21
|
+
require "google/cloud/parallelstore/v1beta/version"
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Parallelstore
|
26
|
+
##
|
27
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
#
|
31
|
+
# require "google/cloud/parallelstore/v1beta/rest"
|
32
|
+
# client = ::Google::Cloud::Parallelstore::V1beta::Parallelstore::Rest::Client.new
|
33
|
+
#
|
34
|
+
module V1beta
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright 2024 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
6
|
# you may not use this file except in compliance with the License.
|
5
7
|
# You may obtain a copy of the License at
|
6
8
|
#
|
7
|
-
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
10
|
#
|
9
11
|
# Unless required by applicable law or agreed to in writing, software
|
10
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -12,11 +14,14 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
15
20
|
module Google
|
16
21
|
module Cloud
|
17
22
|
module Parallelstore
|
18
23
|
module V1beta
|
19
|
-
VERSION = "0.
|
24
|
+
VERSION = "0.2.0"
|
20
25
|
end
|
21
26
|
end
|
22
27
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/parallelstore/v1beta/parallelstore"
|
20
|
+
require "google/cloud/parallelstore/v1beta/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Parallelstore
|
25
|
+
##
|
26
|
+
# API client module.
|
27
|
+
#
|
28
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
29
|
+
#
|
30
|
+
# require "google/cloud/parallelstore/v1beta"
|
31
|
+
# client = ::Google::Cloud::Parallelstore::V1beta::Parallelstore::Client.new
|
32
|
+
#
|
33
|
+
# @example Load this package, including all its services, and instantiate a REST client
|
34
|
+
#
|
35
|
+
# require "google/cloud/parallelstore/v1beta"
|
36
|
+
# client = ::Google::Cloud::Parallelstore::V1beta::Parallelstore::Rest::Client.new
|
37
|
+
#
|
38
|
+
module V1beta
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
helper_path = ::File.join __dir__, "v1beta", "_helpers.rb"
|
45
|
+
require "google/cloud/parallelstore/v1beta/_helpers" if ::File.file? helper_path
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/parallelstore/v1beta"
|