google-cloud-parallelstore-v1beta 0.1.0 → 0.3.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/README.md +1 -1
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/client.rb +14 -2
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/paths.rb +17 -0
- data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/client.rb +14 -2
- data/lib/google/cloud/parallelstore/v1beta/parallelstore_pb.rb +3 -1
- data/lib/google/cloud/parallelstore/v1beta/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -10
- data/proto_docs/google/api/field_info.rb +23 -0
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/parallelstore/v1beta/parallelstore.rb +54 -0
- 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: d67ccb02fe920245d9a5673074a7ce97c38b95b434d368447664c360b612f7bd
|
4
|
+
data.tar.gz: adb6c48438102be6ea5ed1ae5eb21b11875d330365db0ab3ffc43b7cab88cbad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a8869e945bbe960cd584e6cf19be63f173fd5517f7855e3e47ffdd84f2cdc4d652f2a1db7bea1fbf3eec8a42c106fb2bc3a0d57a4c34e2b3f2c22ab019780e1
|
7
|
+
data.tar.gz: ae955c86deaaf7e648da7e35b97635fe516832aa2cb0ee0fa845909e38535ecd4fce950d2f9b899a0eb6390283f01c9744476c941cd749b6ee1f938c8150dc59
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ response = client.list_instances request
|
|
40
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1beta/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/parallelstore)
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/parallelstore?hl=en)
|
44
44
|
for general usage information.
|
45
45
|
|
46
46
|
## Enabling Logging
|
@@ -753,7 +753,7 @@ module Google
|
|
753
753
|
# @param options [::Gapic::CallOptions, ::Hash]
|
754
754
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
755
755
|
#
|
756
|
-
# @overload import_data(source_gcs_bucket: nil, destination_parallelstore: nil, name: nil, request_id: nil)
|
756
|
+
# @overload import_data(source_gcs_bucket: nil, destination_parallelstore: nil, name: nil, request_id: nil, service_account: nil)
|
757
757
|
# Pass arguments to `import_data` via keyword arguments. Note that at
|
758
758
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
759
759
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -778,6 +778,12 @@ module Google
|
|
778
778
|
#
|
779
779
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
780
780
|
# not supported (00000000-0000-0000-0000-000000000000).
|
781
|
+
# @param service_account [::String]
|
782
|
+
# Optional. User-specified Service Account (SA) credentials to be used when
|
783
|
+
# performing the transfer.
|
784
|
+
# Format: `projects/{project_id}/serviceAccounts/{service_account}`
|
785
|
+
# If unspecified, the Parallelstore service agent is used:
|
786
|
+
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
|
781
787
|
#
|
782
788
|
# @yield [response, operation] Access the result along with the RPC operation
|
783
789
|
# @yieldparam response [::Gapic::Operation]
|
@@ -865,7 +871,7 @@ module Google
|
|
865
871
|
# @param options [::Gapic::CallOptions, ::Hash]
|
866
872
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
867
873
|
#
|
868
|
-
# @overload export_data(source_parallelstore: nil, destination_gcs_bucket: nil, name: nil, request_id: nil)
|
874
|
+
# @overload export_data(source_parallelstore: nil, destination_gcs_bucket: nil, name: nil, request_id: nil, service_account: nil)
|
869
875
|
# Pass arguments to `export_data` via keyword arguments. Note that at
|
870
876
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
871
877
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -890,6 +896,12 @@ module Google
|
|
890
896
|
#
|
891
897
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
892
898
|
# not supported (00000000-0000-0000-0000-000000000000).
|
899
|
+
# @param service_account [::String]
|
900
|
+
# Optional. User-specified Service Account (SA) credentials to be used when
|
901
|
+
# performing the transfer.
|
902
|
+
# Format: `projects/{project_id}/serviceAccounts/{service_account}`
|
903
|
+
# If unspecified, the Parallelstore service agent is used:
|
904
|
+
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
|
893
905
|
#
|
894
906
|
# @yield [response, operation] Access the result along with the RPC operation
|
895
907
|
# @yieldparam response [::Gapic::Operation]
|
@@ -96,6 +96,23 @@ module Google
|
|
96
96
|
"projects/#{project}/global/networks/#{network}"
|
97
97
|
end
|
98
98
|
|
99
|
+
##
|
100
|
+
# Create a fully-qualified ServiceAccount resource string.
|
101
|
+
#
|
102
|
+
# The resource will be in the following format:
|
103
|
+
#
|
104
|
+
# `projects/{project}/serviceAccounts/{service_account}`
|
105
|
+
#
|
106
|
+
# @param project [String]
|
107
|
+
# @param service_account [String]
|
108
|
+
#
|
109
|
+
# @return [::String]
|
110
|
+
def service_account_path project:, service_account:
|
111
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
112
|
+
|
113
|
+
"projects/#{project}/serviceAccounts/#{service_account}"
|
114
|
+
end
|
115
|
+
|
99
116
|
extend self
|
100
117
|
end
|
101
118
|
end
|
@@ -711,7 +711,7 @@ module Google
|
|
711
711
|
# @param options [::Gapic::CallOptions, ::Hash]
|
712
712
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
713
713
|
#
|
714
|
-
# @overload import_data(source_gcs_bucket: nil, destination_parallelstore: nil, name: nil, request_id: nil)
|
714
|
+
# @overload import_data(source_gcs_bucket: nil, destination_parallelstore: nil, name: nil, request_id: nil, service_account: nil)
|
715
715
|
# Pass arguments to `import_data` via keyword arguments. Note that at
|
716
716
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
717
717
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -736,6 +736,12 @@ module Google
|
|
736
736
|
#
|
737
737
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
738
738
|
# not supported (00000000-0000-0000-0000-000000000000).
|
739
|
+
# @param service_account [::String]
|
740
|
+
# Optional. User-specified Service Account (SA) credentials to be used when
|
741
|
+
# performing the transfer.
|
742
|
+
# Format: `projects/{project_id}/serviceAccounts/{service_account}`
|
743
|
+
# If unspecified, the Parallelstore service agent is used:
|
744
|
+
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
|
739
745
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
740
746
|
# @yieldparam result [::Gapic::Operation]
|
741
747
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -816,7 +822,7 @@ module Google
|
|
816
822
|
# @param options [::Gapic::CallOptions, ::Hash]
|
817
823
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
818
824
|
#
|
819
|
-
# @overload export_data(source_parallelstore: nil, destination_gcs_bucket: nil, name: nil, request_id: nil)
|
825
|
+
# @overload export_data(source_parallelstore: nil, destination_gcs_bucket: nil, name: nil, request_id: nil, service_account: nil)
|
820
826
|
# Pass arguments to `export_data` via keyword arguments. Note that at
|
821
827
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
822
828
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -841,6 +847,12 @@ module Google
|
|
841
847
|
#
|
842
848
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
843
849
|
# not supported (00000000-0000-0000-0000-000000000000).
|
850
|
+
# @param service_account [::String]
|
851
|
+
# Optional. User-specified Service Account (SA) credentials to be used when
|
852
|
+
# performing the transfer.
|
853
|
+
# Format: `projects/{project_id}/serviceAccounts/{service_account}`
|
854
|
+
# If unspecified, the Parallelstore service agent is used:
|
855
|
+
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
|
844
856
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
845
857
|
# @yieldparam result [::Gapic::Operation]
|
846
858
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -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\"\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\"\xbd\x02\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\x42\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\xbd\x02\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\x42\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\xa6\x03\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}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\"\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"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -69,6 +69,8 @@ module Google
|
|
69
69
|
TransferOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferOperationMetadata").msgclass
|
70
70
|
TransferCounters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferCounters").msgclass
|
71
71
|
TransferType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.TransferType").enummodule
|
72
|
+
FileStripeLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.FileStripeLevel").enummodule
|
73
|
+
DirectoryStripeLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.parallelstore.v1beta.DirectoryStripeLevel").enummodule
|
72
74
|
end
|
73
75
|
end
|
74
76
|
end
|
@@ -290,6 +290,13 @@ module Google
|
|
290
290
|
# @return [::String]
|
291
291
|
# The fully qualified name of the method, for which the options below apply.
|
292
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
293
300
|
# @!attribute [rw] long_running
|
294
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
302
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +305,14 @@ module Google
|
|
298
305
|
#
|
299
306
|
# Example of a YAML configuration::
|
300
307
|
#
|
301
|
-
#
|
302
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
303
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
311
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
307
313
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
316
|
# @!attribute [rw] auto_populated_fields
|
313
317
|
# @return [::Array<::String>]
|
314
318
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +321,8 @@ module Google
|
|
317
321
|
#
|
318
322
|
# Example of a YAML configuration:
|
319
323
|
#
|
320
|
-
#
|
321
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
322
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
327
|
# auto_populated_fields:
|
324
328
|
# - request_id
|
@@ -25,6 +25,12 @@ module Google
|
|
25
25
|
# The standard format of a field value. This does not explicitly configure
|
26
26
|
# any API consumer, just documents the API's format for the field it is
|
27
27
|
# applied to.
|
28
|
+
# @!attribute [rw] referenced_types
|
29
|
+
# @return [::Array<::Google::Api::TypeReference>]
|
30
|
+
# The type(s) that the annotated, generic field may represent.
|
31
|
+
#
|
32
|
+
# Currently, this must only be used on fields of type `google.protobuf.Any`.
|
33
|
+
# Supporting other generic types may be considered in the future.
|
28
34
|
class FieldInfo
|
29
35
|
include ::Google::Protobuf::MessageExts
|
30
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -61,5 +67,22 @@ module Google
|
|
61
67
|
IPV4_OR_IPV6 = 4
|
62
68
|
end
|
63
69
|
end
|
70
|
+
|
71
|
+
# A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
|
72
|
+
# @!attribute [rw] type_name
|
73
|
+
# @return [::String]
|
74
|
+
# The name of the type that the annotated, generic field may represent.
|
75
|
+
# If the type is in the same protobuf package, the value can be the simple
|
76
|
+
# message name e.g., `"MyMessage"`. Otherwise, the value must be the
|
77
|
+
# fully-qualified message name e.g., `"google.library.v1.Book"`.
|
78
|
+
#
|
79
|
+
# If the type(s) are unknown to the service (e.g. the field accepts generic
|
80
|
+
# user input), use the wildcard `"*"` to denote this behavior.
|
81
|
+
#
|
82
|
+
# See [AIP-202](https://google.aip.dev/202#type-references) for more details.
|
83
|
+
class TypeReference
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
64
87
|
end
|
65
88
|
end
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -90,6 +90,16 @@ module Google
|
|
90
90
|
# "test-default" associated with IP range 10.0.0.0/29. This field is
|
91
91
|
# populated by the service and and contains the value currently used by the
|
92
92
|
# service.
|
93
|
+
# @!attribute [rw] file_stripe_level
|
94
|
+
# @return [::Google::Cloud::Parallelstore::V1beta::FileStripeLevel]
|
95
|
+
# Optional. Stripe level for files.
|
96
|
+
# MIN better suited for small size files.
|
97
|
+
# MAX higher throughput performance for larger files.
|
98
|
+
# @!attribute [rw] directory_stripe_level
|
99
|
+
# @return [::Google::Cloud::Parallelstore::V1beta::DirectoryStripeLevel]
|
100
|
+
# Optional. Stripe level for directories.
|
101
|
+
# MIN when directory has a small number of files.
|
102
|
+
# MAX when directory has a large number of files.
|
93
103
|
class Instance
|
94
104
|
include ::Google::Protobuf::MessageExts
|
95
105
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -365,6 +375,13 @@ module Google
|
|
365
375
|
#
|
366
376
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
367
377
|
# not supported (00000000-0000-0000-0000-000000000000).
|
378
|
+
# @!attribute [rw] service_account
|
379
|
+
# @return [::String]
|
380
|
+
# Optional. User-specified Service Account (SA) credentials to be used when
|
381
|
+
# performing the transfer.
|
382
|
+
# Format: `projects/{project_id}/serviceAccounts/{service_account}`
|
383
|
+
# If unspecified, the Parallelstore service agent is used:
|
384
|
+
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
|
368
385
|
class ImportDataRequest
|
369
386
|
include ::Google::Protobuf::MessageExts
|
370
387
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -396,6 +413,13 @@ module Google
|
|
396
413
|
#
|
397
414
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
398
415
|
# not supported (00000000-0000-0000-0000-000000000000).
|
416
|
+
# @!attribute [rw] service_account
|
417
|
+
# @return [::String]
|
418
|
+
# Optional. User-specified Service Account (SA) credentials to be used when
|
419
|
+
# performing the transfer.
|
420
|
+
# Format: `projects/{project_id}/serviceAccounts/{service_account}`
|
421
|
+
# If unspecified, the Parallelstore service agent is used:
|
422
|
+
# service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
|
399
423
|
class ExportDataRequest
|
400
424
|
include ::Google::Protobuf::MessageExts
|
401
425
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -546,6 +570,36 @@ module Google
|
|
546
570
|
# Exports from Parallelstore.
|
547
571
|
EXPORT = 2
|
548
572
|
end
|
573
|
+
|
574
|
+
# Represents the striping options for files.
|
575
|
+
module FileStripeLevel
|
576
|
+
# Default file striping
|
577
|
+
FILE_STRIPE_LEVEL_UNSPECIFIED = 0
|
578
|
+
|
579
|
+
# Minimum file striping
|
580
|
+
FILE_STRIPE_LEVEL_MIN = 1
|
581
|
+
|
582
|
+
# Medium file striping
|
583
|
+
FILE_STRIPE_LEVEL_BALANCED = 2
|
584
|
+
|
585
|
+
# Maximum file striping
|
586
|
+
FILE_STRIPE_LEVEL_MAX = 3
|
587
|
+
end
|
588
|
+
|
589
|
+
# Represents the striping options for directories.
|
590
|
+
module DirectoryStripeLevel
|
591
|
+
# Default directory striping
|
592
|
+
DIRECTORY_STRIPE_LEVEL_UNSPECIFIED = 0
|
593
|
+
|
594
|
+
# Minimum directory striping
|
595
|
+
DIRECTORY_STRIPE_LEVEL_MIN = 1
|
596
|
+
|
597
|
+
# Medium directory striping
|
598
|
+
DIRECTORY_STRIPE_LEVEL_BALANCED = 2
|
599
|
+
|
600
|
+
# Maximum directory striping
|
601
|
+
DIRECTORY_STRIPE_LEVEL_MAX = 3
|
602
|
+
end
|
549
603
|
end
|
550
604
|
end
|
551
605
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-parallelstore-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|