google-cloud-netapp-v1 1.6.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/netapp/v1/backup_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +10 -0
- data/lib/google/cloud/netapp/v1/common_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/netapp/client.rb +515 -0
- data/lib/google/cloud/netapp/v1/netapp/paths.rb +21 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +516 -18
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +307 -0
- data/lib/google/cloud/netapp/v1/quota_rule_pb.rb +57 -0
- data/lib/google/cloud/netapp/v1/replication_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +1 -1
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/netapp/v1/backup.rb +6 -0
- data/proto_docs/google/cloud/netapp/v1/common.rb +15 -0
- data/proto_docs/google/cloud/netapp/v1/quota_rule.rb +200 -0
- data/proto_docs/google/cloud/netapp/v1/replication.rb +12 -0
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +6 -0
- data/proto_docs/google/cloud/netapp/v1/volume.rb +3 -0
- metadata +5 -3
@@ -0,0 +1,200 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 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 NetApp
|
23
|
+
module V1
|
24
|
+
# ListQuotaRulesRequest for listing quota rules.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Parent value for ListQuotaRulesRequest
|
28
|
+
# @!attribute [rw] page_size
|
29
|
+
# @return [::Integer]
|
30
|
+
# Optional. Requested page size. Server may return fewer items than
|
31
|
+
# requested. If unspecified, the server will pick an appropriate default.
|
32
|
+
# @!attribute [rw] page_token
|
33
|
+
# @return [::String]
|
34
|
+
# Optional. A token identifying a page of results the server should return.
|
35
|
+
# @!attribute [rw] filter
|
36
|
+
# @return [::String]
|
37
|
+
# Optional. Filtering results
|
38
|
+
# @!attribute [rw] order_by
|
39
|
+
# @return [::String]
|
40
|
+
# Optional. Hint for how to order the results
|
41
|
+
class ListQuotaRulesRequest
|
42
|
+
include ::Google::Protobuf::MessageExts
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
|
46
|
+
# ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.
|
47
|
+
# @!attribute [rw] quota_rules
|
48
|
+
# @return [::Array<::Google::Cloud::NetApp::V1::QuotaRule>]
|
49
|
+
# List of quota rules
|
50
|
+
# @!attribute [rw] next_page_token
|
51
|
+
# @return [::String]
|
52
|
+
# A token identifying a page of results the server should return.
|
53
|
+
# @!attribute [rw] unreachable
|
54
|
+
# @return [::Array<::String>]
|
55
|
+
# Locations that could not be reached.
|
56
|
+
class ListQuotaRulesResponse
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
end
|
60
|
+
|
61
|
+
# GetQuotaRuleRequest for getting a quota rule.
|
62
|
+
# @!attribute [rw] name
|
63
|
+
# @return [::String]
|
64
|
+
# Required. Name of the quota rule
|
65
|
+
class GetQuotaRuleRequest
|
66
|
+
include ::Google::Protobuf::MessageExts
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
|
+
end
|
69
|
+
|
70
|
+
# CreateQuotaRuleRequest for creating a quota rule.
|
71
|
+
# @!attribute [rw] parent
|
72
|
+
# @return [::String]
|
73
|
+
# Required. Parent value for CreateQuotaRuleRequest
|
74
|
+
# @!attribute [rw] quota_rule
|
75
|
+
# @return [::Google::Cloud::NetApp::V1::QuotaRule]
|
76
|
+
# Required. Fields of the to be created quota rule.
|
77
|
+
# @!attribute [rw] quota_rule_id
|
78
|
+
# @return [::String]
|
79
|
+
# Required. ID of the quota rule to create. Must be unique within the parent
|
80
|
+
# resource. Must contain only letters, numbers, underscore and hyphen, with
|
81
|
+
# the first character a letter or underscore, the last a letter or underscore
|
82
|
+
# or a number, and a 63 character maximum.
|
83
|
+
class CreateQuotaRuleRequest
|
84
|
+
include ::Google::Protobuf::MessageExts
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
|
88
|
+
# UpdateQuotaRuleRequest for updating a quota rule.
|
89
|
+
# @!attribute [rw] update_mask
|
90
|
+
# @return [::Google::Protobuf::FieldMask]
|
91
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
92
|
+
# Quota Rule resource by the update.
|
93
|
+
# The fields specified in the update_mask are relative to the resource, not
|
94
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
95
|
+
# user does not provide a mask then all fields will be overwritten.
|
96
|
+
# @!attribute [rw] quota_rule
|
97
|
+
# @return [::Google::Cloud::NetApp::V1::QuotaRule]
|
98
|
+
# Required. The quota rule being updated
|
99
|
+
class UpdateQuotaRuleRequest
|
100
|
+
include ::Google::Protobuf::MessageExts
|
101
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
102
|
+
end
|
103
|
+
|
104
|
+
# DeleteQuotaRuleRequest for deleting a single quota rule.
|
105
|
+
# @!attribute [rw] name
|
106
|
+
# @return [::String]
|
107
|
+
# Required. Name of the quota rule.
|
108
|
+
class DeleteQuotaRuleRequest
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
end
|
112
|
+
|
113
|
+
# QuotaRule specifies the maximum disk space a user or group can use within a
|
114
|
+
# volume. They can be used for creating default and individual quota rules.
|
115
|
+
# @!attribute [rw] name
|
116
|
+
# @return [::String]
|
117
|
+
# Identifier. The resource name of the quota rule.
|
118
|
+
# Format:
|
119
|
+
# `projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}`.
|
120
|
+
# @!attribute [rw] target
|
121
|
+
# @return [::String]
|
122
|
+
# Optional. The quota rule applies to the specified user or group, identified
|
123
|
+
# by a Unix UID/GID, Windows SID, or null for default.
|
124
|
+
# @!attribute [rw] type
|
125
|
+
# @return [::Google::Cloud::NetApp::V1::QuotaRule::Type]
|
126
|
+
# Required. The type of quota rule.
|
127
|
+
# @!attribute [rw] disk_limit_mib
|
128
|
+
# @return [::Integer]
|
129
|
+
# Required. The maximum allowed disk space in MiB.
|
130
|
+
# @!attribute [r] state
|
131
|
+
# @return [::Google::Cloud::NetApp::V1::QuotaRule::State]
|
132
|
+
# Output only. State of the quota rule
|
133
|
+
# @!attribute [r] state_details
|
134
|
+
# @return [::String]
|
135
|
+
# Output only. State details of the quota rule
|
136
|
+
# @!attribute [r] create_time
|
137
|
+
# @return [::Google::Protobuf::Timestamp]
|
138
|
+
# Output only. Create time of the quota rule
|
139
|
+
# @!attribute [rw] description
|
140
|
+
# @return [::String]
|
141
|
+
# Optional. Description of the quota rule
|
142
|
+
# @!attribute [rw] labels
|
143
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
144
|
+
# Optional. Labels of the quota rule
|
145
|
+
class QuotaRule
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
|
+
|
149
|
+
# @!attribute [rw] key
|
150
|
+
# @return [::String]
|
151
|
+
# @!attribute [rw] value
|
152
|
+
# @return [::String]
|
153
|
+
class LabelsEntry
|
154
|
+
include ::Google::Protobuf::MessageExts
|
155
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
156
|
+
end
|
157
|
+
|
158
|
+
# Types of Quota Rule
|
159
|
+
module Type
|
160
|
+
# Unspecified type for quota rule
|
161
|
+
TYPE_UNSPECIFIED = 0
|
162
|
+
|
163
|
+
# Individual user quota rule
|
164
|
+
INDIVIDUAL_USER_QUOTA = 1
|
165
|
+
|
166
|
+
# Individual group quota rule
|
167
|
+
INDIVIDUAL_GROUP_QUOTA = 2
|
168
|
+
|
169
|
+
# Default user quota rule
|
170
|
+
DEFAULT_USER_QUOTA = 3
|
171
|
+
|
172
|
+
# Default group quota rule
|
173
|
+
DEFAULT_GROUP_QUOTA = 4
|
174
|
+
end
|
175
|
+
|
176
|
+
# Quota Rule states
|
177
|
+
module State
|
178
|
+
# Unspecified state for quota rule
|
179
|
+
STATE_UNSPECIFIED = 0
|
180
|
+
|
181
|
+
# Quota rule is creating
|
182
|
+
CREATING = 1
|
183
|
+
|
184
|
+
# Quota rule is updating
|
185
|
+
UPDATING = 2
|
186
|
+
|
187
|
+
# Quota rule is deleting
|
188
|
+
DELETING = 3
|
189
|
+
|
190
|
+
# Quota rule is ready
|
191
|
+
READY = 4
|
192
|
+
|
193
|
+
# Quota rule is in error state.
|
194
|
+
ERROR = 5
|
195
|
+
end
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
@@ -240,6 +240,18 @@ module Google
|
|
240
240
|
# @!attribute [rw] passphrase
|
241
241
|
# @return [::String]
|
242
242
|
# Optional. Temporary passphrase generated to accept cluster peering command.
|
243
|
+
# @!attribute [rw] peer_volume_name
|
244
|
+
# @return [::String]
|
245
|
+
# Optional. Name of the user's local source volume to be peered with the
|
246
|
+
# destination volume.
|
247
|
+
# @!attribute [rw] peer_cluster_name
|
248
|
+
# @return [::String]
|
249
|
+
# Optional. Name of the user's local source cluster to be peered with the
|
250
|
+
# destination cluster.
|
251
|
+
# @!attribute [rw] peer_svm_name
|
252
|
+
# @return [::String]
|
253
|
+
# Optional. Name of the user's local source vserver svm to be peered with the
|
254
|
+
# destination vserver svm.
|
243
255
|
class HybridPeeringDetails
|
244
256
|
include ::Google::Protobuf::MessageExts
|
245
257
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -191,6 +191,12 @@ module Google
|
|
191
191
|
# @!attribute [rw] zone
|
192
192
|
# @return [::String]
|
193
193
|
# Optional. Specifies the active zone for regional storagePool.
|
194
|
+
# @!attribute [r] satisfies_pzs
|
195
|
+
# @return [::Boolean]
|
196
|
+
# Output only. Reserved for future use
|
197
|
+
# @!attribute [r] satisfies_pzi
|
198
|
+
# @return [::Boolean]
|
199
|
+
# Output only. Reserved for future use
|
194
200
|
class StoragePool
|
195
201
|
include ::Google::Protobuf::MessageExts
|
196
202
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -474,6 +474,9 @@ module Google
|
|
474
474
|
# @!attribute [rw] instructions
|
475
475
|
# @return [::String]
|
476
476
|
# Instructions for mounting
|
477
|
+
# @!attribute [r] ip_address
|
478
|
+
# @return [::String]
|
479
|
+
# Output only. IP Address.
|
477
480
|
class MountOption
|
478
481
|
include ::Google::Protobuf::MessageExts
|
479
482
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-netapp-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- lib/google/cloud/netapp/v1/netapp/rest/client.rb
|
98
98
|
- lib/google/cloud/netapp/v1/netapp/rest/operations.rb
|
99
99
|
- lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb
|
100
|
+
- lib/google/cloud/netapp/v1/quota_rule_pb.rb
|
100
101
|
- lib/google/cloud/netapp/v1/replication_pb.rb
|
101
102
|
- lib/google/cloud/netapp/v1/rest.rb
|
102
103
|
- lib/google/cloud/netapp/v1/snapshot_pb.rb
|
@@ -116,6 +117,7 @@ files:
|
|
116
117
|
- proto_docs/google/cloud/netapp/v1/cloud_netapp_service.rb
|
117
118
|
- proto_docs/google/cloud/netapp/v1/common.rb
|
118
119
|
- proto_docs/google/cloud/netapp/v1/kms.rb
|
120
|
+
- proto_docs/google/cloud/netapp/v1/quota_rule.rb
|
119
121
|
- proto_docs/google/cloud/netapp/v1/replication.rb
|
120
122
|
- proto_docs/google/cloud/netapp/v1/snapshot.rb
|
121
123
|
- proto_docs/google/cloud/netapp/v1/storage_pool.rb
|
@@ -145,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
147
|
- !ruby/object:Gem::Version
|
146
148
|
version: '0'
|
147
149
|
requirements: []
|
148
|
-
rubygems_version: 3.6.
|
150
|
+
rubygems_version: 3.6.3
|
149
151
|
specification_version: 4
|
150
152
|
summary: Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage
|
151
153
|
service that provides advanced data management capabilities and highly scalable
|