google-cloud-lustre-v1 0.1.0 → 0.1.1
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/lib/google/cloud/lustre/v1/instance_pb.rb +1 -1
- data/lib/google/cloud/lustre/v1/lustre/client.rb +13 -5
- data/lib/google/cloud/lustre/v1/lustre/rest/client.rb +13 -5
- data/lib/google/cloud/lustre/v1/version.rb +1 -1
- data/proto_docs/google/cloud/lustre/v1/instance.rb +3 -4
- data/proto_docs/google/cloud/lustre/v1/transfer.rb +24 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bdeb2e8f43d26b8e8b6bda6bea90a8c5d9b65c0ce5039a67a46e345b6bb9246
|
4
|
+
data.tar.gz: 456957a7f5d7c10217aa78bf03c5b26af4698601d81ebc7fae3e0464a5ffcb52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c783a76908d5528f317de28d2ab56d18658ed8f7990f983340b8a79486a862df6afb362be0b7a1a4a5c82de7ce8fccb6231623fbd75c1de42945b1f53b54a947
|
7
|
+
data.tar.gz: eb02ac5a68384c7eb5d765048fdc67abd8f4ad87569ad2baab6342695f28f839dd917cc4022b8f6a998de0bec61bb018ba14daa15ecfc998589e78c9ae2f156c
|
@@ -11,7 +11,7 @@ require 'google/protobuf/field_mask_pb'
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n%google/cloud/lustre/v1/instance.proto\x12\x16google.cloud.lustre.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\x06\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\nfilesystem\x18\n \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x19\n\x0c\x63\x61pacity_gib\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12:\n\x07network\x18\x03 \x01(\tB)\xe0\x41\x05\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12:\n\x05state\x18\x04 \x01(\x0e\x32&.google.cloud.lustre.v1.Instance.StateB\x03\xe0\x41\x03\x12\x18\n\x0bmount_point\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x06labels\x18\t \x03(\x0b\x32,.google.cloud.lustre.v1.Instance.LabelsEntryB\x03\xe0\x41\x01\x12(\n\x1bper_unit_storage_throughput\x18\x0b \x01(\x03\x42\x03\xe0\x41\
|
14
|
+
descriptor_data = "\n%google/cloud/lustre/v1/instance.proto\x12\x16google.cloud.lustre.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\x06\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x1a\n\nfilesystem\x18\n \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x19\n\x0c\x63\x61pacity_gib\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\x12:\n\x07network\x18\x03 \x01(\tB)\xe0\x41\x05\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12:\n\x05state\x18\x04 \x01(\x0e\x32&.google.cloud.lustre.v1.Instance.StateB\x03\xe0\x41\x03\x12\x18\n\x0bmount_point\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x06labels\x18\t \x03(\x0b\x32,.google.cloud.lustre.v1.Instance.LabelsEntryB\x03\xe0\x41\x01\x12(\n\x1bper_unit_storage_throughput\x18\x0b \x01(\x03\x42\x03\xe0\x41\x02\x12 \n\x13gke_support_enabled\x18\x0c \x01(\x08\x42\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\"q\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\r\n\tUPGRADING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06:v\xea\x41s\n\x1elustre.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instance\"\xab\x01\n\x14ListInstancesRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1elustre.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\"\x7f\n\x15ListInstancesResponse\x12\x33\n\tinstances\x18\x01 \x03(\x0b\x32 .google.cloud.lustre.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"J\n\x12GetInstanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1elustre.googleapis.com/Instance\"\xc3\x01\n\x15\x43reateInstanceRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1elustre.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x08instance\x18\x03 \x01(\x0b\x32 .google.cloud.lustre.v1.InstanceB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa7\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x37\n\x08instance\x18\x02 \x01(\x0b\x32 .google.cloud.lustre.v1.InstanceB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"n\n\x15\x44\x65leteInstanceRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1elustre.googleapis.com/Instance\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\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\x42\x61\n\x1a\x63om.google.cloud.lustre.v1B\rInstanceProtoP\x01Z2cloud.google.com/go/lustre/apiv1/lustrepb;lustrepbb\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -768,15 +768,18 @@ module Google
|
|
768
768
|
#
|
769
769
|
# @param gcs_path [::Google::Cloud::Lustre::V1::GcsPath, ::Hash]
|
770
770
|
# The Cloud Storage source bucket and, optionally, path inside the bucket.
|
771
|
+
# If a path inside the bucket is specified, it must end with a forward
|
772
|
+
# slash (`/`).
|
771
773
|
# @param lustre_path [::Google::Cloud::Lustre::V1::LustrePath, ::Hash]
|
772
774
|
# Lustre path destination.
|
773
775
|
# @param name [::String]
|
774
|
-
# Required.
|
776
|
+
# Required. The name of the Managed Lustre instance in the format
|
777
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
775
778
|
# @param request_id [::String]
|
776
779
|
# Optional. UUID to identify requests.
|
777
780
|
# @param service_account [::String]
|
778
781
|
# Optional. User-specified service account used to perform the transfer.
|
779
|
-
# If unspecified, the default Lustre
|
782
|
+
# If unspecified, the default Managed Lustre service agent will be used.
|
780
783
|
#
|
781
784
|
# @yield [response, operation] Access the result along with the RPC operation
|
782
785
|
# @yieldparam response [::Gapic::Operation]
|
@@ -870,11 +873,16 @@ module Google
|
|
870
873
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
871
874
|
#
|
872
875
|
# @param lustre_path [::Google::Cloud::Lustre::V1::LustrePath, ::Hash]
|
873
|
-
#
|
876
|
+
# The root directory path to the Managed Lustre file system. Must start
|
877
|
+
# with `/`. Default is `/`.
|
874
878
|
# @param gcs_path [::Google::Cloud::Lustre::V1::GcsPath, ::Hash]
|
875
|
-
# Cloud Storage
|
879
|
+
# The URI to a Cloud Storage bucket, or a path within a bucket, using
|
880
|
+
# the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
|
881
|
+
# path inside the bucket is specified, it must end with a forward slash
|
882
|
+
# (`/`).
|
876
883
|
# @param name [::String]
|
877
|
-
# Required.
|
884
|
+
# Required. The name of the Managed Lustre instance in the format
|
885
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
878
886
|
# @param request_id [::String]
|
879
887
|
# Optional. UUID to identify requests.
|
880
888
|
# @param service_account [::String]
|
@@ -727,15 +727,18 @@ module Google
|
|
727
727
|
#
|
728
728
|
# @param gcs_path [::Google::Cloud::Lustre::V1::GcsPath, ::Hash]
|
729
729
|
# The Cloud Storage source bucket and, optionally, path inside the bucket.
|
730
|
+
# If a path inside the bucket is specified, it must end with a forward
|
731
|
+
# slash (`/`).
|
730
732
|
# @param lustre_path [::Google::Cloud::Lustre::V1::LustrePath, ::Hash]
|
731
733
|
# Lustre path destination.
|
732
734
|
# @param name [::String]
|
733
|
-
# Required.
|
735
|
+
# Required. The name of the Managed Lustre instance in the format
|
736
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
734
737
|
# @param request_id [::String]
|
735
738
|
# Optional. UUID to identify requests.
|
736
739
|
# @param service_account [::String]
|
737
740
|
# Optional. User-specified service account used to perform the transfer.
|
738
|
-
# If unspecified, the default Lustre
|
741
|
+
# If unspecified, the default Managed Lustre service agent will be used.
|
739
742
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
740
743
|
# @yieldparam result [::Gapic::Operation]
|
741
744
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -822,11 +825,16 @@ module Google
|
|
822
825
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
823
826
|
#
|
824
827
|
# @param lustre_path [::Google::Cloud::Lustre::V1::LustrePath, ::Hash]
|
825
|
-
#
|
828
|
+
# The root directory path to the Managed Lustre file system. Must start
|
829
|
+
# with `/`. Default is `/`.
|
826
830
|
# @param gcs_path [::Google::Cloud::Lustre::V1::GcsPath, ::Hash]
|
827
|
-
# Cloud Storage
|
831
|
+
# The URI to a Cloud Storage bucket, or a path within a bucket, using
|
832
|
+
# the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
|
833
|
+
# path inside the bucket is specified, it must end with a forward slash
|
834
|
+
# (`/`).
|
828
835
|
# @param name [::String]
|
829
|
-
# Required.
|
836
|
+
# Required. The name of the Managed Lustre instance in the format
|
837
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
830
838
|
# @param request_id [::String]
|
831
839
|
# Optional. UUID to identify requests.
|
832
840
|
# @param service_account [::String]
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# @!attribute [rw] capacity_gib
|
34
34
|
# @return [::Integer]
|
35
35
|
# Required. The storage capacity of the instance in gibibytes (GiB). Allowed
|
36
|
-
# values are from `18000` to `
|
36
|
+
# values are from `18000` to `954000`, in increments of 9000.
|
37
37
|
# @!attribute [rw] network
|
38
38
|
# @return [::String]
|
39
39
|
# Required. Immutable. The full name of the VPC network to which the instance
|
@@ -60,9 +60,8 @@ module Google
|
|
60
60
|
# Optional. Labels as key value pairs.
|
61
61
|
# @!attribute [rw] per_unit_storage_throughput
|
62
62
|
# @return [::Integer]
|
63
|
-
#
|
64
|
-
# Valid values are 250, 500, 1000.
|
65
|
-
# Default value is 1000.
|
63
|
+
# Required. The throughput of the instance in MB/s/TiB.
|
64
|
+
# Valid values are 125, 250, 500, 1000.
|
66
65
|
# @!attribute [rw] gke_support_enabled
|
67
66
|
# @return [::Boolean]
|
68
67
|
# Optional. Indicates whether you want to enable support for GKE clients. By
|
@@ -25,34 +25,42 @@ module Google
|
|
25
25
|
# @!attribute [rw] gcs_path
|
26
26
|
# @return [::Google::Cloud::Lustre::V1::GcsPath]
|
27
27
|
# The Cloud Storage source bucket and, optionally, path inside the bucket.
|
28
|
+
# If a path inside the bucket is specified, it must end with a forward
|
29
|
+
# slash (`/`).
|
28
30
|
# @!attribute [rw] lustre_path
|
29
31
|
# @return [::Google::Cloud::Lustre::V1::LustrePath]
|
30
32
|
# Lustre path destination.
|
31
33
|
# @!attribute [rw] name
|
32
34
|
# @return [::String]
|
33
|
-
# Required.
|
35
|
+
# Required. The name of the Managed Lustre instance in the format
|
36
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
34
37
|
# @!attribute [rw] request_id
|
35
38
|
# @return [::String]
|
36
39
|
# Optional. UUID to identify requests.
|
37
40
|
# @!attribute [rw] service_account
|
38
41
|
# @return [::String]
|
39
42
|
# Optional. User-specified service account used to perform the transfer.
|
40
|
-
# If unspecified, the default Lustre
|
43
|
+
# If unspecified, the default Managed Lustre service agent will be used.
|
41
44
|
class ImportDataRequest
|
42
45
|
include ::Google::Protobuf::MessageExts
|
43
46
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
47
|
end
|
45
48
|
|
46
|
-
#
|
49
|
+
# Export data from Managed Lustre to a Cloud Storage bucket.
|
47
50
|
# @!attribute [rw] lustre_path
|
48
51
|
# @return [::Google::Cloud::Lustre::V1::LustrePath]
|
49
|
-
#
|
52
|
+
# The root directory path to the Managed Lustre file system. Must start
|
53
|
+
# with `/`. Default is `/`.
|
50
54
|
# @!attribute [rw] gcs_path
|
51
55
|
# @return [::Google::Cloud::Lustre::V1::GcsPath]
|
52
|
-
# Cloud Storage
|
56
|
+
# The URI to a Cloud Storage bucket, or a path within a bucket, using
|
57
|
+
# the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
|
58
|
+
# path inside the bucket is specified, it must end with a forward slash
|
59
|
+
# (`/`).
|
53
60
|
# @!attribute [rw] name
|
54
61
|
# @return [::String]
|
55
|
-
# Required.
|
62
|
+
# Required. The name of the Managed Lustre instance in the format
|
63
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
56
64
|
# @!attribute [rw] request_id
|
57
65
|
# @return [::String]
|
58
66
|
# Optional. UUID to identify requests.
|
@@ -144,21 +152,25 @@ module Google
|
|
144
152
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
145
153
|
end
|
146
154
|
|
147
|
-
# Cloud Storage
|
155
|
+
# Specifies a Cloud Storage bucket and, optionally, a path inside the bucket.
|
148
156
|
# @!attribute [rw] uri
|
149
157
|
# @return [::String]
|
150
|
-
# Required. URI to a Cloud Storage path
|
151
|
-
# `gs://<bucket_name
|
158
|
+
# Required. The URI to a Cloud Storage bucket, or a path within a bucket,
|
159
|
+
# using the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
|
160
|
+
# path inside the bucket is specified, it must end with a forward slash
|
161
|
+
# (`/`).
|
152
162
|
class GcsPath
|
153
163
|
include ::Google::Protobuf::MessageExts
|
154
164
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
165
|
end
|
156
166
|
|
157
|
-
#
|
167
|
+
# The root directory path to the Lustre file system.
|
158
168
|
# @!attribute [rw] path
|
159
169
|
# @return [::String]
|
160
|
-
# Optional.
|
161
|
-
# with
|
170
|
+
# Optional. The root directory path to the Managed Lustre file system. Must
|
171
|
+
# start with
|
172
|
+
# `/`. Default is `/`. If you're importing data into Managed Lustre, any
|
173
|
+
# path other than the default must already exist on the file system.
|
162
174
|
class LustrePath
|
163
175
|
include ::Google::Protobuf::MessageExts
|
164
176
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-lustre-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.6.
|
119
|
+
rubygems_version: 3.6.9
|
120
120
|
specification_version: 4
|
121
121
|
summary: API Client library for the Google Cloud Managed Lustre V1 API
|
122
122
|
test_files: []
|