google-cloud-lustre-v1 1.0.1 → 1.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/README.md +1 -2
- data/lib/google/cloud/lustre/v1/bindings_override.rb +58 -1
- data/lib/google/cloud/lustre/v1/directory_policy_pb.rb +31 -0
- data/lib/google/cloud/lustre/v1/instance_pb.rb +16 -1
- data/lib/google/cloud/lustre/v1/lustre/client.rb +1249 -124
- data/lib/google/cloud/lustre/v1/lustre/credentials.rb +1 -1
- data/lib/google/cloud/lustre/v1/lustre/operations.rb +1 -1
- data/lib/google/cloud/lustre/v1/lustre/paths.rb +107 -1
- data/lib/google/cloud/lustre/v1/lustre/rest/client.rb +1173 -117
- data/lib/google/cloud/lustre/v1/lustre/rest/operations.rb +1 -1
- data/lib/google/cloud/lustre/v1/lustre/rest/service_stub.rb +615 -1
- data/lib/google/cloud/lustre/v1/lustre/rest.rb +1 -1
- data/lib/google/cloud/lustre/v1/lustre.rb +1 -1
- data/lib/google/cloud/lustre/v1/lustre_pb.rb +3 -1
- data/lib/google/cloud/lustre/v1/lustre_services_pb.rb +21 -1
- data/lib/google/cloud/lustre/v1/mirror_pb.rb +37 -0
- data/lib/google/cloud/lustre/v1/rest.rb +1 -1
- data/lib/google/cloud/lustre/v1/transfer_pb.rb +1 -1
- data/lib/google/cloud/lustre/v1/version.rb +1 -1
- data/lib/google/cloud/lustre/v1.rb +1 -1
- data/lib/google-cloud-lustre-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/field_info.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/lustre/v1/directory_policy.rb +142 -0
- data/proto_docs/google/cloud/lustre/v1/instance.rb +294 -7
- data/proto_docs/google/cloud/lustre/v1/mirror.rb +298 -0
- data/proto_docs/google/cloud/lustre/v1/transfer.rb +13 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/code.rb +1 -1
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/date.rb +56 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/timeofday.rb +49 -0
- metadata +30 -8
|
@@ -7,13 +7,15 @@ require 'google/protobuf'
|
|
|
7
7
|
require 'google/api/annotations_pb'
|
|
8
8
|
require 'google/api/client_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/cloud/lustre/v1/directory_policy_pb'
|
|
10
11
|
require 'google/cloud/lustre/v1/instance_pb'
|
|
12
|
+
require 'google/cloud/lustre/v1/mirror_pb'
|
|
11
13
|
require 'google/cloud/lustre/v1/transfer_pb'
|
|
12
14
|
require 'google/longrunning/operations_pb'
|
|
13
15
|
require 'google/protobuf/empty_pb'
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
descriptor_data = "\n#google/cloud/lustre/v1/lustre.proto\x12\x16google.cloud.lustre.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a%google/cloud/lustre/v1/instance.proto\x1a%google/cloud/lustre/v1/transfer.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto2\
|
|
18
|
+
descriptor_data = "\n#google/cloud/lustre/v1/lustre.proto\x12\x16google.cloud.lustre.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/lustre/v1/directory_policy.proto\x1a%google/cloud/lustre/v1/instance.proto\x1a#google/cloud/lustre/v1/mirror.proto\x1a%google/cloud/lustre/v1/transfer.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto2\xcf\x1c\n\x06Lustre\x12\xac\x01\n\rListInstances\x12,.google.cloud.lustre.v1.ListInstancesRequest\x1a-.google.cloud.lustre.v1.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\x99\x01\n\x0bGetInstance\x12*.google.cloud.lustre.v1.GetInstanceRequest\x1a .google.cloud.lustre.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xdd\x01\n\x0e\x43reateInstance\x12-.google.cloud.lustre.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xdf\x01\n\x0eUpdateInstance\x12-.google.cloud.lustre.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xc9\x01\n\x0e\x44\x65leteInstance\x12-.google.cloud.lustre.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xef\x01\n\x15RescheduleMaintenance\x12\x34.google.cloud.lustre.v1.RescheduleMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x0fname,reschedule\x82\xd3\xe4\x93\x02H\"C/v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance:\x01*\x12\xcd\x01\n\nImportData\x12).google.cloud.lustre.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41(\n\x12ImportDataResponse\x12\x12ImportDataMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/instances/*}:importData:\x01*\x12\xc6\x01\n\nExportData\x12).google.cloud.lustre.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41(\n\x12\x45xportDataResponse\x12\x12\x45xportDataMetadata\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/instances/*}:exportData:\x01*\x12\xdf\x01\n\x0c\x43reateMirror\x12+.google.cloud.lustre.v1.CreateMirrorRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1e\n\x06Mirror\x12\x14\x43reateMirrorMetadata\xda\x41\x17parent,mirror,mirror_id\x82\xd3\xe4\x93\x02\x41\"7/v1/{parent=projects/*/locations/*/instances/*}/mirrors:\x06mirror\x12\xde\x01\n\x0cUpdateMirror\x12+.google.cloud.lustre.v1.UpdateMirrorRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1b\n\x06Mirror\x12\x11OperationMetadata\xda\x41\x12mirror,update_mask\x82\xd3\xe4\x93\x02H2>/v1/{mirror.name=projects/*/locations/*/instances/*/mirrors/*}:\x06mirror\x12\xcf\x01\n\x0c\x44\x65leteMirror\x12+.google.cloud.lustre.v1.DeleteMirrorRequest\x1a\x1d.google.longrunning.Operation\"s\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/instances/*/mirrors/*}\x12\x9d\x01\n\tGetMirror\x12(.google.cloud.lustre.v1.GetMirrorRequest\x1a\x1e.google.cloud.lustre.v1.Mirror\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/instances/*/mirrors/*}\x12\xb0\x01\n\x0bListMirrors\x12*.google.cloud.lustre.v1.ListMirrorsRequest\x1a+.google.cloud.lustre.v1.ListMirrorsResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*/instances/*}/mirrors\x12\x9f\x02\n\x15\x43reateDirectoryPolicy\x12\x34.google.cloud.lustre.v1.CreateDirectoryPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\xca\x41$\n\x0f\x44irectoryPolicy\x12\x11OperationMetadata\xda\x41+parent,directory_policy,directory_policy_id\x82\xd3\xe4\x93\x02U\"A/v1/{parent=projects/*/locations/*/instances/*}/directoryPolicies:\x10\x64irectory_policy\x12\xeb\x01\n\x15\x44\x65leteDirectoryPolicy\x12\x34.google.cloud.lustre.v1.DeleteDirectoryPolicyRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43*A/v1/{name=projects/*/locations/*/instances/*/directoryPolicies/*}\x12\xc2\x01\n\x12GetDirectoryPolicy\x12\x31.google.cloud.lustre.v1.GetDirectoryPolicyRequest\x1a\'.google.cloud.lustre.v1.DirectoryPolicy\"P\xda\x41\x04name\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/instances/*/directoryPolicies/*}\x12\xd8\x01\n\x15ListDirectoryPolicies\x12\x34.google.cloud.lustre.v1.ListDirectoryPoliciesRequest\x1a\x35.google.cloud.lustre.v1.ListDirectoryPoliciesResponse\"R\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/instances/*}/directoryPolicies\x1aI\xca\x41\x15lustre.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc6\x04\n\x1a\x63om.google.cloud.lustre.v1B\x0bLustreProtoP\x01Z2cloud.google.com/go/lustre/apiv1/lustrepb;lustrepb\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41\xbb\x01\n%compute.googleapis.com/ResourcePolicy\x12\x46projects/{project}/regions/{region}/resourcePolicies/{resource_policy}\x12Jprojects/{project}/locations/{location}/resourcePolicies/{resource_policy}b\x06proto3"
|
|
17
19
|
|
|
18
20
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
21
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/lustre/v1/lustre.proto for package 'google.cloud.lustre.v1'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2026 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -43,10 +43,30 @@ module Google
|
|
|
43
43
|
rpc :UpdateInstance, ::Google::Cloud::Lustre::V1::UpdateInstanceRequest, ::Google::Longrunning::Operation
|
|
44
44
|
# Deletes a single instance.
|
|
45
45
|
rpc :DeleteInstance, ::Google::Cloud::Lustre::V1::DeleteInstanceRequest, ::Google::Longrunning::Operation
|
|
46
|
+
# Reschedules a planned maintenance event for a specific instance.
|
|
47
|
+
rpc :RescheduleMaintenance, ::Google::Cloud::Lustre::V1::RescheduleMaintenanceRequest, ::Google::Longrunning::Operation
|
|
46
48
|
# Imports data from Cloud Storage to a Managed Lustre instance.
|
|
47
49
|
rpc :ImportData, ::Google::Cloud::Lustre::V1::ImportDataRequest, ::Google::Longrunning::Operation
|
|
48
50
|
# Exports data from a Managed Lustre instance to Cloud Storage.
|
|
49
51
|
rpc :ExportData, ::Google::Cloud::Lustre::V1::ExportDataRequest, ::Google::Longrunning::Operation
|
|
52
|
+
# Creates a new mirror in a given instance.
|
|
53
|
+
rpc :CreateMirror, ::Google::Cloud::Lustre::V1::CreateMirrorRequest, ::Google::Longrunning::Operation
|
|
54
|
+
# Updates the parameters of a single mirror.
|
|
55
|
+
rpc :UpdateMirror, ::Google::Cloud::Lustre::V1::UpdateMirrorRequest, ::Google::Longrunning::Operation
|
|
56
|
+
# Deletes a single mirror.
|
|
57
|
+
rpc :DeleteMirror, ::Google::Cloud::Lustre::V1::DeleteMirrorRequest, ::Google::Longrunning::Operation
|
|
58
|
+
# Gets details of a single mirror.
|
|
59
|
+
rpc :GetMirror, ::Google::Cloud::Lustre::V1::GetMirrorRequest, ::Google::Cloud::Lustre::V1::Mirror
|
|
60
|
+
# Gets details of multiple mirrors under a given instance.
|
|
61
|
+
rpc :ListMirrors, ::Google::Cloud::Lustre::V1::ListMirrorsRequest, ::Google::Cloud::Lustre::V1::ListMirrorsResponse
|
|
62
|
+
# Creates a directory policy resource.
|
|
63
|
+
rpc :CreateDirectoryPolicy, ::Google::Cloud::Lustre::V1::CreateDirectoryPolicyRequest, ::Google::Longrunning::Operation
|
|
64
|
+
# Deletes a directory policy resource.
|
|
65
|
+
rpc :DeleteDirectoryPolicy, ::Google::Cloud::Lustre::V1::DeleteDirectoryPolicyRequest, ::Google::Longrunning::Operation
|
|
66
|
+
# Gets details of a single directory policy.
|
|
67
|
+
rpc :GetDirectoryPolicy, ::Google::Cloud::Lustre::V1::GetDirectoryPolicyRequest, ::Google::Cloud::Lustre::V1::DirectoryPolicy
|
|
68
|
+
# Gets details of multiple directory policies under a given instance.
|
|
69
|
+
rpc :ListDirectoryPolicies, ::Google::Cloud::Lustre::V1::ListDirectoryPoliciesRequest, ::Google::Cloud::Lustre::V1::ListDirectoryPoliciesResponse
|
|
50
70
|
end
|
|
51
71
|
|
|
52
72
|
Stub = Service.rpc_stub_class
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/lustre/v1/mirror.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/field_info_pb'
|
|
9
|
+
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/cloud/lustre/v1/transfer_pb'
|
|
11
|
+
require 'google/protobuf/field_mask_pb'
|
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
descriptor_data = "\n#google/cloud/lustre/v1/mirror.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/cloud/lustre/v1/transfer.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x06\n\x06Mirror\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x38\n\x08gcs_path\x18\x03 \x01(\x0b\x32\x1f.google.cloud.lustre.v1.GcsPathB\x05\xe2\x41\x02\x02\x05\x12>\n\x0blustre_path\x18\x04 \x01(\x0b\x32\".google.cloud.lustre.v1.LustrePathB\x05\xe2\x41\x02\x02\x05\x12\x42\n\tdirection\x18\x05 \x01(\x0e\x32(.google.cloud.lustre.v1.Mirror.DirectionB\x05\xe2\x41\x02\x02\x05\x12$\n\x16\x64\x65leted_files_retained\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12@\n\x06labels\x18\x08 \x03(\x0b\x32*.google.cloud.lustre.v1.Mirror.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x19\n\x03uid\x18\x0b \x01(\tB\x0c\xe2\x41\x01\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x39\n\x05state\x18\x0c \x01(\x0e\x32$.google.cloud.lustre.v1.Mirror.StateB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\tDirection\x12\x19\n\x15\x44IRECTION_UNSPECIFIED\x10\x00\x12\x16\n\x12\x46ROM_CLOUD_STORAGE\x10\x01\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x10\n\x0cINITIAL_SYNC\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04\x12\r\n\tSUSPENDED\x10\x05:\x81\x01\xea\x41~\n\x1clustre.googleapis.com/Mirror\x12Mprojects/{project}/locations/{location}/instances/{instance}/mirrors/{mirror}*\x07mirrors2\x06mirror\"\xbd\x01\n\x13\x43reateMirrorRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\x12\x1clustre.googleapis.com/Mirror\x12\x17\n\tmirror_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x34\n\x06mirror\x18\x03 \x01(\x0b\x32\x1e.google.cloud.lustre.v1.MirrorB\x04\xe2\x41\x01\x02\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\xa4\x01\n\x13UpdateMirrorRequest\x12\x34\n\x06mirror\x18\x01 \x01(\x0b\x32\x1e.google.cloud.lustre.v1.MirrorB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12 \n\nrequest_id\x18\x03 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"l\n\x13\x44\x65leteMirrorRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1clustre.googleapis.com/Mirror\x12 \n\nrequest_id\x18\x02 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"G\n\x10GetMirrorRequest\x12\x33\n\x04name\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\n\x1clustre.googleapis.com/Mirror\"\xac\x01\n\x12ListMirrorsRequest\x12\x35\n\x06parent\x18\x01 \x01(\tB%\xe2\x41\x01\x02\xfa\x41\x1e\x12\x1clustre.googleapis.com/Mirror\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"z\n\x13ListMirrorsResponse\x12/\n\x07mirrors\x18\x01 \x03(\x0b\x32\x1e.google.cloud.lustre.v1.Mirror\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x19\n\x0bunreachable\x18\x03 \x03(\tB\x04\xe2\x41\x01\x06\"\xd9\x02\n\x14\x43reateMirrorMetadata\x12M\n\x12operation_metadata\x18\x01 \x01(\x0b\x32\x31.google.cloud.lustre.v1.TransferOperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x42_\n\x1a\x63om.google.cloud.lustre.v1B\x0bMirrorProtoP\x01Z2cloud.google.com/go/lustre/apiv1/lustrepb;lustrepbb\x06proto3"
|
|
16
|
+
|
|
17
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Lustre
|
|
23
|
+
module V1
|
|
24
|
+
Mirror = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.Mirror").msgclass
|
|
25
|
+
Mirror::Direction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.Mirror.Direction").enummodule
|
|
26
|
+
Mirror::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.Mirror.State").enummodule
|
|
27
|
+
CreateMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.CreateMirrorRequest").msgclass
|
|
28
|
+
UpdateMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.UpdateMirrorRequest").msgclass
|
|
29
|
+
DeleteMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.DeleteMirrorRequest").msgclass
|
|
30
|
+
GetMirrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.GetMirrorRequest").msgclass
|
|
31
|
+
ListMirrorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.ListMirrorsRequest").msgclass
|
|
32
|
+
ListMirrorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.ListMirrorsResponse").msgclass
|
|
33
|
+
CreateMirrorMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.lustre.v1.CreateMirrorMetadata").msgclass
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
require 'google/rpc/code_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n%google/cloud/lustre/v1/transfer.proto\x12\x16google.cloud.lustre.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\
|
|
14
|
+
descriptor_data = "\n%google/cloud/lustre/v1/transfer.proto\x12\x16google.cloud.lustre.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xba\x02\n\x11ImportDataRequest\x12\x33\n\x08gcs_path\x18\x02 \x01(\x0b\x32\x1f.google.cloud.lustre.v1.GcsPathH\x00\x12\x39\n\x0blustre_path\x18\x03 \x01(\x0b\x32\".google.cloud.lustre.v1.LustrePathH\x01\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1elustre.googleapis.com/Instance\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x43\n\x0fservice_account\x18\x05 \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\xba\x02\n\x11\x45xportDataRequest\x12\x39\n\x0blustre_path\x18\x02 \x01(\x0b\x32\".google.cloud.lustre.v1.LustrePathH\x00\x12\x33\n\x08gcs_path\x18\x03 \x01(\x0b\x32\x1f.google.cloud.lustre.v1.GcsPathH\x01\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe2\x41\x01\x02\xfa\x41 \n\x1elustre.googleapis.com/Instance\x12 \n\nrequest_id\x18\x04 \x01(\tB\x0c\xe2\x41\x01\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x43\n\x0fservice_account\x18\x05 \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccountB\x08\n\x06sourceB\r\n\x0b\x64\x65stination\"\x14\n\x12\x45xportDataResponse\"\x14\n\x12ImportDataResponse\"\xd7\x02\n\x12\x45xportDataMetadata\x12M\n\x12operation_metadata\x18\x01 \x01(\x0b\x32\x31.google.cloud.lustre.v1.TransferOperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\"\xc3\x02\n\x12ImportDataMetadata\x12M\n\x12operation_metadata\x18\x01 \x01(\x0b\x32\x31.google.cloud.lustre.v1.TransferOperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x07 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\"\x1c\n\x07GcsPath\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\" \n\nLustrePath\x12\x12\n\x04path\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\"\x86\x02\n\x10TransferCounters\x12\x1b\n\x13\x66ound_objects_count\x18\x01 \x01(\x03\x12\x19\n\x11\x62ytes_found_count\x18\x02 \x01(\x03\x12\x1d\n\x15objects_skipped_count\x18\x03 \x01(\x03\x12\x1b\n\x13\x62ytes_skipped_count\x18\x04 \x01(\x03\x12\x1c\n\x14objects_copied_count\x18\x05 \x01(\x03\x12\x1a\n\x12\x62ytes_copied_count\x18\x06 \x01(\x03\x12\"\n\x14objects_failed_count\x18\x07 \x01(\x03\x42\x04\xe2\x41\x01\x03\x12 \n\x12\x62ytes_failed_count\x18\x08 \x01(\x03\x42\x04\xe2\x41\x01\x03\"9\n\rErrorLogEntry\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\rerror_details\x18\x02 \x03(\t\"\x97\x01\n\x0c\x45rrorSummary\x12*\n\nerror_code\x18\x01 \x01(\x0e\x32\x10.google.rpc.CodeB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x65rror_count\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x02\x12@\n\x11\x65rror_log_entries\x18\x03 \x03(\x0b\x32%.google.cloud.lustre.v1.ErrorLogEntry\"\x9c\x04\n\x19TransferOperationMetadata\x12\x46\n\x12source_lustre_path\x18\x03 \x01(\x0b\x32\".google.cloud.lustre.v1.LustrePathB\x04\xe2\x41\x01\x03H\x00\x12@\n\x0fsource_gcs_path\x18\x04 \x01(\x0b\x32\x1f.google.cloud.lustre.v1.GcsPathB\x04\xe2\x41\x01\x03H\x00\x12\x45\n\x14\x64\x65stination_gcs_path\x18\x05 \x01(\x0b\x32\x1f.google.cloud.lustre.v1.GcsPathB\x04\xe2\x41\x01\x03H\x01\x12K\n\x17\x64\x65stination_lustre_path\x18\x06 \x01(\x0b\x32\".google.cloud.lustre.v1.LustrePathB\x04\xe2\x41\x01\x03H\x01\x12@\n\x08\x63ounters\x18\x01 \x01(\x0b\x32(.google.cloud.lustre.v1.TransferCountersB\x04\xe2\x41\x01\x03\x12\x41\n\rtransfer_type\x18\x02 \x01(\x0e\x32$.google.cloud.lustre.v1.TransferTypeB\x04\xe2\x41\x01\x03\x12\x43\n\x0f\x65rror_summaries\x18\x07 \x03(\x0b\x32$.google.cloud.lustre.v1.ErrorSummaryB\x04\xe2\x41\x01\x03\x42\x08\n\x06sourceB\r\n\x0b\x64\x65stination*E\n\x0cTransferType\x12\x1d\n\x19TRANSFER_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06IMPORT\x10\x01\x12\n\n\x06\x45XPORT\x10\x02\x42\x61\n\x1a\x63om.google.cloud.lustre.v1B\rTransferProtoP\x01Z2cloud.google.com/go/lustre/apiv1/lustrepb;lustrepbb\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Lustre
|
|
23
|
+
module V1
|
|
24
|
+
# A directory policy for a Managed Lustre instance.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Immutable. Identifier. The resource name of the directory policy.
|
|
28
|
+
# DirectoryPolicy names have the form
|
|
29
|
+
# `projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}`.
|
|
30
|
+
# \\{id} is user provided.
|
|
31
|
+
# @!attribute [rw] directory_path
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Required. Immutable. The lustre instance filesystem full path of the
|
|
34
|
+
# directory. It must start with a slash. e.g. /lustre/testFolder
|
|
35
|
+
# @!attribute [r] lustre_project_id
|
|
36
|
+
# @return [::Integer]
|
|
37
|
+
# Output only. The lustre project ID assigned for the directory by the
|
|
38
|
+
# service. This read-only ID can be used to manage quotas. See more details
|
|
39
|
+
# in
|
|
40
|
+
# https://docs.cloud.google.com/managed-lustre/docs/file-system-quotas#set_quotas
|
|
41
|
+
# @!attribute [r] uid
|
|
42
|
+
# @return [::String]
|
|
43
|
+
# Output only. Unique ID of the resource.
|
|
44
|
+
# @!attribute [r] state
|
|
45
|
+
# @return [::Google::Cloud::Lustre::V1::DirectoryPolicy::State]
|
|
46
|
+
# Output only. The current state of the directory policy.
|
|
47
|
+
class DirectoryPolicy
|
|
48
|
+
include ::Google::Protobuf::MessageExts
|
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
50
|
+
|
|
51
|
+
# State of the directory policy.
|
|
52
|
+
module State
|
|
53
|
+
# State is unspecified.
|
|
54
|
+
STATE_UNSPECIFIED = 0
|
|
55
|
+
|
|
56
|
+
# Directory policy is being created.
|
|
57
|
+
CREATING = 1
|
|
58
|
+
|
|
59
|
+
# Directory policy is active and ready to be used.
|
|
60
|
+
ACTIVE = 2
|
|
61
|
+
|
|
62
|
+
# Directory policy is being deleted.
|
|
63
|
+
DELETING = 3
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Request message for CreateDirectoryPolicy.
|
|
68
|
+
# @!attribute [rw] parent
|
|
69
|
+
# @return [::String]
|
|
70
|
+
# Required. The parent instance.
|
|
71
|
+
# It must be in the format of
|
|
72
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
|
73
|
+
# @!attribute [rw] directory_policy_id
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Required. The ID for the DirectoryPolicy to create.
|
|
76
|
+
# @!attribute [rw] directory_policy
|
|
77
|
+
# @return [::Google::Cloud::Lustre::V1::DirectoryPolicy]
|
|
78
|
+
# Required. The directory policy to create.
|
|
79
|
+
class CreateDirectoryPolicyRequest
|
|
80
|
+
include ::Google::Protobuf::MessageExts
|
|
81
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Request message for DeleteDirectoryPolicy.
|
|
85
|
+
# @!attribute [rw] name
|
|
86
|
+
# @return [::String]
|
|
87
|
+
# Required. The resource name of the directory policy.
|
|
88
|
+
# DirectoryPolicy names have the form
|
|
89
|
+
# `projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}`.
|
|
90
|
+
class DeleteDirectoryPolicyRequest
|
|
91
|
+
include ::Google::Protobuf::MessageExts
|
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Request message for GetDirectoryPolicy.
|
|
96
|
+
# @!attribute [rw] name
|
|
97
|
+
# @return [::String]
|
|
98
|
+
# Required. The resource name of the directory policy.
|
|
99
|
+
# DirectoryPolicy names have the form
|
|
100
|
+
# `projects/{project}/locations/{location}/instances/{instance}/directoryPolicies/{id}`.
|
|
101
|
+
class GetDirectoryPolicyRequest
|
|
102
|
+
include ::Google::Protobuf::MessageExts
|
|
103
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Request message for ListDirectoryPolicies.
|
|
107
|
+
# @!attribute [rw] parent
|
|
108
|
+
# @return [::String]
|
|
109
|
+
# Required. The parent instance.
|
|
110
|
+
# It must be in the format of
|
|
111
|
+
# `projects/{project}/locations/{location}/instances/{instance}`.
|
|
112
|
+
# @!attribute [rw] page_size
|
|
113
|
+
# @return [::Integer]
|
|
114
|
+
# Optional. Requested page size. Server might return fewer items than
|
|
115
|
+
# requested. If unspecified, the server will pick an appropriate default. The
|
|
116
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
|
117
|
+
# @!attribute [rw] page_token
|
|
118
|
+
# @return [::String]
|
|
119
|
+
# Optional. A page token, received from a previous `ListDirectoryPolicies`
|
|
120
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all
|
|
121
|
+
# other parameters provided to `ListDirectoryPolicies` must match the call
|
|
122
|
+
# that provided the page token.
|
|
123
|
+
class ListDirectoryPoliciesRequest
|
|
124
|
+
include ::Google::Protobuf::MessageExts
|
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Response message for ListDirectoryPolicies.
|
|
129
|
+
# @!attribute [rw] directory_policies
|
|
130
|
+
# @return [::Array<::Google::Cloud::Lustre::V1::DirectoryPolicy>]
|
|
131
|
+
# The list of DirectoryPolicies.
|
|
132
|
+
# @!attribute [rw] next_page_token
|
|
133
|
+
# @return [::String]
|
|
134
|
+
# A token identifying a page of results the server should return.
|
|
135
|
+
class ListDirectoryPoliciesResponse
|
|
136
|
+
include ::Google::Protobuf::MessageExts
|
|
137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|