Skip to content

Commit 07df535

Browse files
feat: Automated regeneration of netapp v1 client (googleapis#24102)
Auto-created at 2025-08-24 11:05:57 +0000 using the toys pull request generator.
1 parent b96aeac commit 07df535

File tree

5 files changed

+74
-2
lines changed

5 files changed

+74
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291510,14 +291510,17 @@
291510291510
"/netapp:v1/HybridReplicationParameters": hybrid_replication_parameters
291511291511
"/netapp:v1/HybridReplicationParameters/clusterLocation": cluster_location
291512291512
"/netapp:v1/HybridReplicationParameters/description": description
291513+
"/netapp:v1/HybridReplicationParameters/hybridReplicationType": hybrid_replication_type
291513291514
"/netapp:v1/HybridReplicationParameters/labels": labels
291514291515
"/netapp:v1/HybridReplicationParameters/labels/label": label
291516+
"/netapp:v1/HybridReplicationParameters/largeVolumeConstituentCount": large_volume_constituent_count
291515291517
"/netapp:v1/HybridReplicationParameters/peerClusterName": peer_cluster_name
291516291518
"/netapp:v1/HybridReplicationParameters/peerIpAddresses": peer_ip_addresses
291517291519
"/netapp:v1/HybridReplicationParameters/peerIpAddresses/peer_ip_address": peer_ip_address
291518291520
"/netapp:v1/HybridReplicationParameters/peerSvmName": peer_svm_name
291519291521
"/netapp:v1/HybridReplicationParameters/peerVolumeName": peer_volume_name
291520291522
"/netapp:v1/HybridReplicationParameters/replication": replication
291523+
"/netapp:v1/HybridReplicationParameters/replicationSchedule": replication_schedule
291521291524
"/netapp:v1/IsolationExpectations": isolation_expectations
291522291525
"/netapp:v1/IsolationExpectations/requirementOverride": requirement_override
291523291526
"/netapp:v1/IsolationExpectations/ziOrgPolicy": zi_org_policy
@@ -291683,6 +291686,7 @@
291683291686
"/netapp:v1/Replication/healthy": healthy
291684291687
"/netapp:v1/Replication/hybridPeeringDetails": hybrid_peering_details
291685291688
"/netapp:v1/Replication/hybridReplicationType": hybrid_replication_type
291689+
"/netapp:v1/Replication/hybridReplicationUserCommands": hybrid_replication_user_commands
291686291690
"/netapp:v1/Replication/labels": labels
291687291691
"/netapp:v1/Replication/labels/label": label
291688291692
"/netapp:v1/Replication/mirrorState": mirror_state
@@ -291792,6 +291796,9 @@
291792291796
"/netapp:v1/TransferStats/totalTransferDuration": total_transfer_duration
291793291797
"/netapp:v1/TransferStats/transferBytes": transfer_bytes
291794291798
"/netapp:v1/TransferStats/updateTime": update_time
291799+
"/netapp:v1/UserCommands": user_commands
291800+
"/netapp:v1/UserCommands/commands": commands
291801+
"/netapp:v1/UserCommands/commands/command": command
291795291802
"/netapp:v1/ValidateDirectoryServiceRequest": validate_directory_service_request
291796291803
"/netapp:v1/ValidateDirectoryServiceRequest/directoryServiceType": directory_service_type
291797291804
"/netapp:v1/VerifyKmsConfigRequest": verify_kms_config_request

generated/google-apis-netapp_v1/CHANGELOG.md

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

3+
### v0.14.0 (2025-08-24)
4+
5+
* Regenerated from discovery document revision 20250817
6+
37
### v0.13.0 (2025-08-17)
48

59
* Regenerated from discovery document revision 20250813

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,11 +839,21 @@ class HybridReplicationParameters
839839
# @return [String]
840840
attr_accessor :description
841841

842+
# Optional. Type of the hybrid replication.
843+
# Corresponds to the JSON property `hybridReplicationType`
844+
# @return [String]
845+
attr_accessor :hybrid_replication_type
846+
842847
# Optional. Labels to be added to the replication as the key value pairs.
843848
# Corresponds to the JSON property `labels`
844849
# @return [Hash<String,String>]
845850
attr_accessor :labels
846851

852+
# Optional. Constituent volume count for large volume.
853+
# Corresponds to the JSON property `largeVolumeConstituentCount`
854+
# @return [Fixnum]
855+
attr_accessor :large_volume_constituent_count
856+
847857
# Required. Name of the user's local source cluster to be peered with the
848858
# destination cluster.
849859
# Corresponds to the JSON property `peerClusterName`
@@ -872,6 +882,11 @@ class HybridReplicationParameters
872882
# @return [String]
873883
attr_accessor :replication
874884

885+
# Optional. Replication Schedule for the replication created.
886+
# Corresponds to the JSON property `replicationSchedule`
887+
# @return [String]
888+
attr_accessor :replication_schedule
889+
875890
def initialize(**args)
876891
update!(**args)
877892
end
@@ -880,12 +895,15 @@ def initialize(**args)
880895
def update!(**args)
881896
@cluster_location = args[:cluster_location] if args.key?(:cluster_location)
882897
@description = args[:description] if args.key?(:description)
898+
@hybrid_replication_type = args[:hybrid_replication_type] if args.key?(:hybrid_replication_type)
883899
@labels = args[:labels] if args.key?(:labels)
900+
@large_volume_constituent_count = args[:large_volume_constituent_count] if args.key?(:large_volume_constituent_count)
884901
@peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
885902
@peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses)
886903
@peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
887904
@peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
888905
@replication = args[:replication] if args.key?(:replication)
906+
@replication_schedule = args[:replication_schedule] if args.key?(:replication_schedule)
889907
end
890908
end
891909

@@ -1727,6 +1745,11 @@ class Replication
17271745
# @return [String]
17281746
attr_accessor :hybrid_replication_type
17291747

1748+
# UserCommands contains the commands to be executed by the customer.
1749+
# Corresponds to the JSON property `hybridReplicationUserCommands`
1750+
# @return [Google::Apis::NetappV1::UserCommands]
1751+
attr_accessor :hybrid_replication_user_commands
1752+
17301753
# Resource labels to represent user provided metadata.
17311754
# Corresponds to the JSON property `labels`
17321755
# @return [Hash<String,String>]
@@ -1789,6 +1812,7 @@ def update!(**args)
17891812
@healthy = args[:healthy] if args.key?(:healthy)
17901813
@hybrid_peering_details = args[:hybrid_peering_details] if args.key?(:hybrid_peering_details)
17911814
@hybrid_replication_type = args[:hybrid_replication_type] if args.key?(:hybrid_replication_type)
1815+
@hybrid_replication_user_commands = args[:hybrid_replication_user_commands] if args.key?(:hybrid_replication_user_commands)
17921816
@labels = args[:labels] if args.key?(:labels)
17931817
@mirror_state = args[:mirror_state] if args.key?(:mirror_state)
17941818
@name = args[:name] if args.key?(:name)
@@ -2476,6 +2500,25 @@ def update!(**args)
24762500
end
24772501
end
24782502

2503+
# UserCommands contains the commands to be executed by the customer.
2504+
class UserCommands
2505+
include Google::Apis::Core::Hashable
2506+
2507+
# Output only. List of commands to be executed by the customer.
2508+
# Corresponds to the JSON property `commands`
2509+
# @return [Array<String>]
2510+
attr_accessor :commands
2511+
2512+
def initialize(**args)
2513+
update!(**args)
2514+
end
2515+
2516+
# Update properties of this object
2517+
def update!(**args)
2518+
@commands = args[:commands] if args.key?(:commands)
2519+
end
2520+
end
2521+
24792522
# ValidateDirectoryServiceRequest validates the directory service policy
24802523
# attached to the storage pool.
24812524
class ValidateDirectoryServiceRequest

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module NetappV1
1818
# Version of the google-apis-netapp_v1 gem
19-
GEM_VERSION = "0.13.0"
19+
GEM_VERSION = "0.14.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
328328
include Google::Apis::Core::JsonObjectSupport
329329
end
330330

331+
class UserCommands
332+
class Representation < Google::Apis::Core::JsonRepresentation; end
333+
334+
include Google::Apis::Core::JsonObjectSupport
335+
end
336+
331337
class ValidateDirectoryServiceRequest
332338
class Representation < Google::Apis::Core::JsonRepresentation; end
333339

@@ -545,12 +551,15 @@ class HybridReplicationParameters
545551
class Representation < Google::Apis::Core::JsonRepresentation
546552
property :cluster_location, as: 'clusterLocation'
547553
property :description, as: 'description'
554+
property :hybrid_replication_type, as: 'hybridReplicationType'
548555
hash :labels, as: 'labels'
556+
property :large_volume_constituent_count, as: 'largeVolumeConstituentCount'
549557
property :peer_cluster_name, as: 'peerClusterName'
550558
collection :peer_ip_addresses, as: 'peerIpAddresses'
551559
property :peer_svm_name, as: 'peerSvmName'
552560
property :peer_volume_name, as: 'peerVolumeName'
553561
property :replication, as: 'replication'
562+
property :replication_schedule, as: 'replicationSchedule'
554563
end
555564
end
556565

@@ -781,6 +790,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
781790
property :hybrid_peering_details, as: 'hybridPeeringDetails', class: Google::Apis::NetappV1::HybridPeeringDetails, decorator: Google::Apis::NetappV1::HybridPeeringDetails::Representation
782791

783792
property :hybrid_replication_type, as: 'hybridReplicationType'
793+
property :hybrid_replication_user_commands, as: 'hybridReplicationUserCommands', class: Google::Apis::NetappV1::UserCommands, decorator: Google::Apis::NetappV1::UserCommands::Representation
794+
784795
hash :labels, as: 'labels'
785796
property :mirror_state, as: 'mirrorState'
786797
property :name, as: 'name'
@@ -952,6 +963,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
952963
end
953964
end
954965

966+
class UserCommands
967+
# @private
968+
class Representation < Google::Apis::Core::JsonRepresentation
969+
collection :commands, as: 'commands'
970+
end
971+
end
972+
955973
class ValidateDirectoryServiceRequest
956974
# @private
957975
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)