Skip to content

Commit 538dcc8

Browse files
feat: Automated regeneration of netapp v1 client (#24246)
Auto-created at 2025-09-14 09:19:31 +0000 using the toys pull request generator.
1 parent e85e913 commit 538dcc8

File tree

6 files changed

+27
-4
lines changed

6 files changed

+27
-4
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295577,6 +295577,7 @@
295577295577
"/netapp:v1/SimpleExportPolicyRule": simple_export_policy_rule
295578295578
"/netapp:v1/SimpleExportPolicyRule/accessType": access_type
295579295579
"/netapp:v1/SimpleExportPolicyRule/allowedClients": allowed_clients
295580+
"/netapp:v1/SimpleExportPolicyRule/anonUid": anon_uid
295580295581
"/netapp:v1/SimpleExportPolicyRule/hasRootAccess": has_root_access
295581295582
"/netapp:v1/SimpleExportPolicyRule/kerberos5ReadOnly": kerberos5_read_only
295582295583
"/netapp:v1/SimpleExportPolicyRule/kerberos5ReadWrite": kerberos5_read_write
@@ -295586,6 +295587,7 @@
295586295587
"/netapp:v1/SimpleExportPolicyRule/kerberos5pReadWrite": kerberos5p_read_write
295587295588
"/netapp:v1/SimpleExportPolicyRule/nfsv3": nfsv3
295588295589
"/netapp:v1/SimpleExportPolicyRule/nfsv4": nfsv4
295590+
"/netapp:v1/SimpleExportPolicyRule/squashMode": squash_mode
295589295591
"/netapp:v1/Snapshot": snapshot
295590295592
"/netapp:v1/Snapshot/createTime": create_time
295591295593
"/netapp:v1/Snapshot/description": description

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.16.0 (2025-09-14)
4+
5+
* Regenerated from discovery document revision 20250908
6+
37
### v0.15.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250901

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,6 +1914,12 @@ class SimpleExportPolicyRule
19141914
# @return [String]
19151915
attr_accessor :allowed_clients
19161916

1917+
# Optional. An integer representing the anonymous user ID. Range is 0 to
1918+
# 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH.
1919+
# Corresponds to the JSON property `anonUid`
1920+
# @return [Fixnum]
1921+
attr_accessor :anon_uid
1922+
19171923
# Whether Unix root access will be granted.
19181924
# Corresponds to the JSON property `hasRootAccess`
19191925
# @return [String]
@@ -1982,6 +1988,13 @@ class SimpleExportPolicyRule
19821988
attr_accessor :nfsv4
19831989
alias_method :nfsv4?, :nfsv4
19841990

1991+
# Optional. Defines how user identity squashing is applied for this export rule.
1992+
# This field is the preferred way to configure squashing behavior and takes
1993+
# precedence over `has_root_access` if both are provided.
1994+
# Corresponds to the JSON property `squashMode`
1995+
# @return [String]
1996+
attr_accessor :squash_mode
1997+
19851998
def initialize(**args)
19861999
update!(**args)
19872000
end
@@ -1990,6 +2003,7 @@ def initialize(**args)
19902003
def update!(**args)
19912004
@access_type = args[:access_type] if args.key?(:access_type)
19922005
@allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
2006+
@anon_uid = args[:anon_uid] if args.key?(:anon_uid)
19932007
@has_root_access = args[:has_root_access] if args.key?(:has_root_access)
19942008
@kerberos5_read_only = args[:kerberos5_read_only] if args.key?(:kerberos5_read_only)
19952009
@kerberos5_read_write = args[:kerberos5_read_write] if args.key?(:kerberos5_read_write)
@@ -1999,6 +2013,7 @@ def update!(**args)
19992013
@kerberos5p_read_write = args[:kerberos5p_read_write] if args.key?(:kerberos5p_read_write)
20002014
@nfsv3 = args[:nfsv3] if args.key?(:nfsv3)
20012015
@nfsv4 = args[:nfsv4] if args.key?(:nfsv4)
2016+
@squash_mode = args[:squash_mode] if args.key?(:squash_mode)
20022017
end
20032018
end
20042019

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.15.0"
19+
GEM_VERSION = "0.16.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 = "20250901"
25+
REVISION = "20250908"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ class SimpleExportPolicyRule
837837
class Representation < Google::Apis::Core::JsonRepresentation
838838
property :access_type, as: 'accessType'
839839
property :allowed_clients, as: 'allowedClients'
840+
property :anon_uid, :numeric_string => true, as: 'anonUid'
840841
property :has_root_access, as: 'hasRootAccess'
841842
property :kerberos5_read_only, as: 'kerberos5ReadOnly'
842843
property :kerberos5_read_write, as: 'kerberos5ReadWrite'
@@ -846,6 +847,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
846847
property :kerberos5p_read_write, as: 'kerberos5pReadWrite'
847848
property :nfsv3, as: 'nfsv3'
848849
property :nfsv4, as: 'nfsv4'
850+
property :squash_mode, as: 'squashMode'
849851
end
850852
end
851853

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8787
# @param [String] name
8888
# The resource that owns the locations collection, if applicable.
8989
# @param [Array<String>, String] extra_location_types
90-
# Optional. Do not use this field. It is unsupported and is ignored unless
91-
# explicitly documented otherwise. This is primarily for internal usage.
90+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
91+
# field which is primarily intended for internal usage.
9292
# @param [String] filter
9393
# A filter to narrow down results to a preferred subset. The filtering language
9494
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)