Skip to content

Commit 05ecf30

Browse files
feat: Automated regeneration of netapp v1 client (googleapis#21891)
Auto-created at 2025-02-26 21:34:43 +0000 using the toys pull request generator.
1 parent 6d29cbd commit 05ecf30

File tree

6 files changed

+362
-3
lines changed

6 files changed

+362
-3
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275153,6 +275153,9 @@
275153275153
"/netapp:v1/HybridPeeringDetails/command": command
275154275154
"/netapp:v1/HybridPeeringDetails/commandExpiryTime": command_expiry_time
275155275155
"/netapp:v1/HybridPeeringDetails/passphrase": passphrase
275156+
"/netapp:v1/HybridPeeringDetails/peerClusterName": peer_cluster_name
275157+
"/netapp:v1/HybridPeeringDetails/peerSvmName": peer_svm_name
275158+
"/netapp:v1/HybridPeeringDetails/peerVolumeName": peer_volume_name
275156275159
"/netapp:v1/HybridPeeringDetails/subnetIp": subnet_ip
275157275160
"/netapp:v1/HybridReplicationParameters": hybrid_replication_parameters
275158275161
"/netapp:v1/HybridReplicationParameters/clusterLocation": cluster_location
@@ -275272,6 +275275,8 @@
275272275275
"/netapp:v1/LocationData/placerLocation": placer_location
275273275276
"/netapp:v1/LocationData/spannerLocation": spanner_location
275274275277
"/netapp:v1/LocationMetadata": location_metadata
275278+
"/netapp:v1/LocationMetadata/supportedFlexPerformance": supported_flex_performance
275279+
"/netapp:v1/LocationMetadata/supportedFlexPerformance/supported_flex_performance": supported_flex_performance
275275275280
"/netapp:v1/LocationMetadata/supportedServiceLevels": supported_service_levels
275276275281
"/netapp:v1/LocationMetadata/supportedServiceLevels/supported_service_level": supported_service_level
275277275282
"/netapp:v1/MonthlySchedule": monthly_schedule

generated/google-apis-netapp_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-netapp_v1
22

3-
### v0.5.0 (2025-01-26)
3+
### v0.5.0 (2025-02-26)
44

5-
* Regenerated from discovery document revision 20250116
5+
* Regenerated from discovery document revision 20250129
66
* Regenerated using generator version 0.16.0
77

88
### v0.4.0 (2024-12-22)

generated/google-apis-netapp_v1/lib/google/apis/netapp_v1/classes.rb

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,24 @@ class HybridPeeringDetails
670670
# @return [String]
671671
attr_accessor :passphrase
672672

673+
# Optional. Name of the user's local source cluster to be peered with the
674+
# destination cluster.
675+
# Corresponds to the JSON property `peerClusterName`
676+
# @return [String]
677+
attr_accessor :peer_cluster_name
678+
679+
# Optional. Name of the user's local source vserver svm to be peered with the
680+
# destination vserver svm.
681+
# Corresponds to the JSON property `peerSvmName`
682+
# @return [String]
683+
attr_accessor :peer_svm_name
684+
685+
# Optional. Name of the user's local source volume to be peered with the
686+
# destination volume.
687+
# Corresponds to the JSON property `peerVolumeName`
688+
# @return [String]
689+
attr_accessor :peer_volume_name
690+
673691
# Optional. IP address of the subnet.
674692
# Corresponds to the JSON property `subnetIp`
675693
# @return [String]
@@ -684,6 +702,9 @@ def update!(**args)
684702
@command = args[:command] if args.key?(:command)
685703
@command_expiry_time = args[:command_expiry_time] if args.key?(:command_expiry_time)
686704
@passphrase = args[:passphrase] if args.key?(:passphrase)
705+
@peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
706+
@peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
707+
@peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
687708
@subnet_ip = args[:subnet_ip] if args.key?(:subnet_ip)
688709
end
689710
end
@@ -1030,6 +1051,37 @@ def update!(**args)
10301051
end
10311052
end
10321053

1054+
# ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.
1055+
class ListQuotaRulesResponse
1056+
include Google::Apis::Core::Hashable
1057+
1058+
# A token identifying a page of results the server should return.
1059+
# Corresponds to the JSON property `nextPageToken`
1060+
# @return [String]
1061+
attr_accessor :next_page_token
1062+
1063+
# List of quota rules
1064+
# Corresponds to the JSON property `quotaRules`
1065+
# @return [Array<Google::Apis::NetappV1::QuotaRule>]
1066+
attr_accessor :quota_rules
1067+
1068+
# Locations that could not be reached.
1069+
# Corresponds to the JSON property `unreachable`
1070+
# @return [Array<String>]
1071+
attr_accessor :unreachable
1072+
1073+
def initialize(**args)
1074+
update!(**args)
1075+
end
1076+
1077+
# Update properties of this object
1078+
def update!(**args)
1079+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1080+
@quota_rules = args[:quota_rules] if args.key?(:quota_rules)
1081+
@unreachable = args[:unreachable] if args.key?(:unreachable)
1082+
end
1083+
end
1084+
10331085
# ListReplicationsResponse is the result of ListReplicationsRequest.
10341086
class ListReplicationsResponse
10351087
include Google::Apis::Core::Hashable
@@ -1207,6 +1259,11 @@ def update!(**args)
12071259
class LocationMetadata
12081260
include Google::Apis::Core::Hashable
12091261

1262+
# Output only. Supported flex performance in a location.
1263+
# Corresponds to the JSON property `supportedFlexPerformance`
1264+
# @return [Array<String>]
1265+
attr_accessor :supported_flex_performance
1266+
12101267
# Output only. Supported service levels in a location.
12111268
# Corresponds to the JSON property `supportedServiceLevels`
12121269
# @return [Array<String>]
@@ -1218,6 +1275,7 @@ def initialize(**args)
12181275

12191276
# Update properties of this object
12201277
def update!(**args)
1278+
@supported_flex_performance = args[:supported_flex_performance] if args.key?(:supported_flex_performance)
12211279
@supported_service_levels = args[:supported_service_levels] if args.key?(:supported_service_levels)
12221280
end
12231281
end
@@ -1425,6 +1483,77 @@ def update!(**args)
14251483
end
14261484
end
14271485

1486+
# QuotaRule specifies the maximum disk space a user or group can use within a
1487+
# volume. They can be used for creating default and individual quota rules.
1488+
class QuotaRule
1489+
include Google::Apis::Core::Hashable
1490+
1491+
# Output only. Create time of the quota rule
1492+
# Corresponds to the JSON property `createTime`
1493+
# @return [String]
1494+
attr_accessor :create_time
1495+
1496+
# Optional. Description of the quota rule
1497+
# Corresponds to the JSON property `description`
1498+
# @return [String]
1499+
attr_accessor :description
1500+
1501+
# Required. The maximum allowed disk space in MiB.
1502+
# Corresponds to the JSON property `diskLimitMib`
1503+
# @return [Fixnum]
1504+
attr_accessor :disk_limit_mib
1505+
1506+
# Optional. Labels of the quota rule
1507+
# Corresponds to the JSON property `labels`
1508+
# @return [Hash<String,String>]
1509+
attr_accessor :labels
1510+
1511+
# Identifier. The resource name of the quota rule. Format: `projects/`
1512+
# project_number`/locations/`location_id`/volumes/volumes/`volume_id`/quotaRules/
1513+
# `quota_rule_id``.
1514+
# Corresponds to the JSON property `name`
1515+
# @return [String]
1516+
attr_accessor :name
1517+
1518+
# Output only. State of the quota rule
1519+
# Corresponds to the JSON property `state`
1520+
# @return [String]
1521+
attr_accessor :state
1522+
1523+
# Output only. State details of the quota rule
1524+
# Corresponds to the JSON property `stateDetails`
1525+
# @return [String]
1526+
attr_accessor :state_details
1527+
1528+
# Optional. The quota rule applies to the specified user or group, identified by
1529+
# a Unix UID/GID, Windows SID, or null for default.
1530+
# Corresponds to the JSON property `target`
1531+
# @return [String]
1532+
attr_accessor :target
1533+
1534+
# Required. The type of quota rule.
1535+
# Corresponds to the JSON property `type`
1536+
# @return [String]
1537+
attr_accessor :type
1538+
1539+
def initialize(**args)
1540+
update!(**args)
1541+
end
1542+
1543+
# Update properties of this object
1544+
def update!(**args)
1545+
@create_time = args[:create_time] if args.key?(:create_time)
1546+
@description = args[:description] if args.key?(:description)
1547+
@disk_limit_mib = args[:disk_limit_mib] if args.key?(:disk_limit_mib)
1548+
@labels = args[:labels] if args.key?(:labels)
1549+
@name = args[:name] if args.key?(:name)
1550+
@state = args[:state] if args.key?(:state)
1551+
@state_details = args[:state_details] if args.key?(:state_details)
1552+
@target = args[:target] if args.key?(:target)
1553+
@type = args[:type] if args.key?(:type)
1554+
end
1555+
end
1556+
14281557
# Replication is a nested resource under Volume, that describes a cross-region
14291558
# replication relationship between 2 volumes in different regions.
14301559
class Replication

generated/google-apis-netapp_v1/lib/google/apis/netapp_v1/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module NetappV1
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250116"
25+
REVISION = "20250129"
2626
end
2727
end
2828
end

generated/google-apis-netapp_v1/lib/google/apis/netapp_v1/representations.rb

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
160160
include Google::Apis::Core::JsonObjectSupport
161161
end
162162

163+
class ListQuotaRulesResponse
164+
class Representation < Google::Apis::Core::JsonRepresentation; end
165+
166+
include Google::Apis::Core::JsonObjectSupport
167+
end
168+
163169
class ListReplicationsResponse
164170
class Representation < Google::Apis::Core::JsonRepresentation; end
165171

@@ -220,6 +226,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
220226
include Google::Apis::Core::JsonObjectSupport
221227
end
222228

229+
class QuotaRule
230+
class Representation < Google::Apis::Core::JsonRepresentation; end
231+
232+
include Google::Apis::Core::JsonObjectSupport
233+
end
234+
223235
class Replication
224236
class Representation < Google::Apis::Core::JsonRepresentation; end
225237

@@ -494,6 +506,9 @@ class Representation < Google::Apis::Core::JsonRepresentation
494506
property :command, as: 'command'
495507
property :command_expiry_time, as: 'commandExpiryTime'
496508
property :passphrase, as: 'passphrase'
509+
property :peer_cluster_name, as: 'peerClusterName'
510+
property :peer_svm_name, as: 'peerSvmName'
511+
property :peer_volume_name, as: 'peerVolumeName'
497512
property :subnet_ip, as: 'subnetIp'
498513
end
499514
end
@@ -595,6 +610,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
595610
end
596611
end
597612

613+
class ListQuotaRulesResponse
614+
# @private
615+
class Representation < Google::Apis::Core::JsonRepresentation
616+
property :next_page_token, as: 'nextPageToken'
617+
collection :quota_rules, as: 'quotaRules', class: Google::Apis::NetappV1::QuotaRule, decorator: Google::Apis::NetappV1::QuotaRule::Representation
618+
619+
collection :unreachable, as: 'unreachable'
620+
end
621+
end
622+
598623
class ListReplicationsResponse
599624
# @private
600625
class Representation < Google::Apis::Core::JsonRepresentation
@@ -649,6 +674,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
649674
class LocationMetadata
650675
# @private
651676
class Representation < Google::Apis::Core::JsonRepresentation
677+
collection :supported_flex_performance, as: 'supportedFlexPerformance'
652678
collection :supported_service_levels, as: 'supportedServiceLevels'
653679
end
654680
end
@@ -699,6 +725,21 @@ class Representation < Google::Apis::Core::JsonRepresentation
699725
end
700726
end
701727

728+
class QuotaRule
729+
# @private
730+
class Representation < Google::Apis::Core::JsonRepresentation
731+
property :create_time, as: 'createTime'
732+
property :description, as: 'description'
733+
property :disk_limit_mib, as: 'diskLimitMib'
734+
hash :labels, as: 'labels'
735+
property :name, as: 'name'
736+
property :state, as: 'state'
737+
property :state_details, as: 'stateDetails'
738+
property :target, as: 'target'
739+
property :type, as: 'type'
740+
end
741+
end
742+
702743
class Replication
703744
# @private
704745
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)