google-apis-gkehub_v1alpha 0.76.0 → 0.77.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c423d720343550769ef4aa8717139ea549b53264881bf873295812ade9dd5af
4
- data.tar.gz: b146b72057ff8e38da2f67b8f2d7cc03c7d02e2d6383981ecf23dd5c7cc27aaf
3
+ metadata.gz: 65d8ec76342f9000f9fa7402d46478aefe45148f84b25c0c2649cb283e6a8e52
4
+ data.tar.gz: 72430d5414b570dbc138a55760ada7c9b09f5d1b75bfaae6626b6fe5e8590319
5
5
  SHA512:
6
- metadata.gz: 4c6fc9387e283a6220940ab99375965998035368ea93e3ce5e64162738a4db8c82f0a1e0210dc1d02d2bc716c2190e0c750c6845d82193da03438db95f054dde
7
- data.tar.gz: 4c7ac1845e0061e2d6e4e23c769995a426b842bf5145f3b3630e98011d3fc5707bead1de47d3d90c913fbfd80976ed291c9216b73e0f8a2a40ce783404b885f4
6
+ metadata.gz: 6d53aa24ca2a671b4433e9b3c7a2956c90571bfb6b31b70468287c7788650e68fdbac26048d62871a8fd608d104d5585957ee4981fe4e97c50e9508497248d9f
7
+ data.tar.gz: 34847f168339ea45b5bee001f3937231804298c07c5878094c2a7a18d62188a9987c4376b4cf1d603dbd322a61818dff5239c957711cd5a96f251d483b0d51f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.77.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240229
6
+
3
7
  ### v0.76.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240225
@@ -2922,6 +2922,11 @@ module Google
2922
2922
  # @return [String]
2923
2923
  attr_accessor :proxy
2924
2924
 
2925
+ # Configuration for the SAML Auth flow.
2926
+ # Corresponds to the JSON property `samlConfig`
2927
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceSamlConfig]
2928
+ attr_accessor :saml_config
2929
+
2925
2930
  def initialize(**args)
2926
2931
  update!(**args)
2927
2932
  end
@@ -2933,6 +2938,7 @@ module Google
2933
2938
  @name = args[:name] if args.key?(:name)
2934
2939
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2935
2940
  @proxy = args[:proxy] if args.key?(:proxy)
2941
+ @saml_config = args[:saml_config] if args.key?(:saml_config)
2936
2942
  end
2937
2943
  end
2938
2944
 
@@ -2958,6 +2964,11 @@ module Google
2958
2964
  # @return [String]
2959
2965
  attr_accessor :encrypted_client_secret
2960
2966
 
2967
+ # Optional. Format of the AzureAD groups that the client wants for auth.
2968
+ # Corresponds to the JSON property `groupFormat`
2969
+ # @return [String]
2970
+ attr_accessor :group_format
2971
+
2961
2972
  # The redirect URL that kubectl uses for authorization.
2962
2973
  # Corresponds to the JSON property `kubectlRedirectUri`
2963
2974
  # @return [String]
@@ -2969,6 +2980,11 @@ module Google
2969
2980
  # @return [String]
2970
2981
  attr_accessor :tenant
2971
2982
 
2983
+ # Optional. Claim in the AzureAD ID Token that holds the user details.
2984
+ # Corresponds to the JSON property `userClaim`
2985
+ # @return [String]
2986
+ attr_accessor :user_claim
2987
+
2972
2988
  def initialize(**args)
2973
2989
  update!(**args)
2974
2990
  end
@@ -2978,8 +2994,10 @@ module Google
2978
2994
  @client_id = args[:client_id] if args.key?(:client_id)
2979
2995
  @client_secret = args[:client_secret] if args.key?(:client_secret)
2980
2996
  @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2997
+ @group_format = args[:group_format] if args.key?(:group_format)
2981
2998
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2982
2999
  @tenant = args[:tenant] if args.key?(:tenant)
3000
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
2983
3001
  end
2984
3002
  end
2985
3003
 
@@ -3163,6 +3181,76 @@ module Google
3163
3181
  end
3164
3182
  end
3165
3183
 
3184
+ # Configuration for the SAML Auth flow.
3185
+ class IdentityServiceSamlConfig
3186
+ include Google::Apis::Core::Hashable
3187
+
3188
+ # Optional. The mapping of additional user attributes like nickname, birthday
3189
+ # and address etc.. `key` is the name of this additional attribute. `value` is a
3190
+ # string presenting as CEL(common expression language, go/cel) used for getting
3191
+ # the value from the resources. Take nickname as an example, in this case, `key`
3192
+ # is "attribute.nickname" and `value` is "assertion.nickname".
3193
+ # Corresponds to the JSON property `attributeMapping`
3194
+ # @return [Hash<String,String>]
3195
+ attr_accessor :attribute_mapping
3196
+
3197
+ # Optional. Prefix to prepend to group name.
3198
+ # Corresponds to the JSON property `groupPrefix`
3199
+ # @return [String]
3200
+ attr_accessor :group_prefix
3201
+
3202
+ # Optional. The SAML attribute to read groups from. This value is expected to be
3203
+ # a string and will be passed along as-is (with the option of being prefixed by
3204
+ # the `group_prefix`).
3205
+ # Corresponds to the JSON property `groupsAttribute`
3206
+ # @return [String]
3207
+ attr_accessor :groups_attribute
3208
+
3209
+ # Required. The list of IdP certificates to validate the SAML response against.
3210
+ # Corresponds to the JSON property `identityProviderCertificates`
3211
+ # @return [Array<String>]
3212
+ attr_accessor :identity_provider_certificates
3213
+
3214
+ # Required. The entity ID of the SAML IdP.
3215
+ # Corresponds to the JSON property `identityProviderId`
3216
+ # @return [String]
3217
+ attr_accessor :identity_provider_id
3218
+
3219
+ # Required. The URI where the SAML IdP exposes the SSO service.
3220
+ # Corresponds to the JSON property `identityProviderSsoUri`
3221
+ # @return [String]
3222
+ attr_accessor :identity_provider_sso_uri
3223
+
3224
+ # Optional. The SAML attribute to read username from. If unspecified, the
3225
+ # username will be read from the NameID element of the assertion in SAML
3226
+ # response. This value is expected to be a string and will be passed along as-is
3227
+ # (with the option of being prefixed by the `user_prefix`).
3228
+ # Corresponds to the JSON property `userAttribute`
3229
+ # @return [String]
3230
+ attr_accessor :user_attribute
3231
+
3232
+ # Optional. Prefix to prepend to user name.
3233
+ # Corresponds to the JSON property `userPrefix`
3234
+ # @return [String]
3235
+ attr_accessor :user_prefix
3236
+
3237
+ def initialize(**args)
3238
+ update!(**args)
3239
+ end
3240
+
3241
+ # Update properties of this object
3242
+ def update!(**args)
3243
+ @attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
3244
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
3245
+ @groups_attribute = args[:groups_attribute] if args.key?(:groups_attribute)
3246
+ @identity_provider_certificates = args[:identity_provider_certificates] if args.key?(:identity_provider_certificates)
3247
+ @identity_provider_id = args[:identity_provider_id] if args.key?(:identity_provider_id)
3248
+ @identity_provider_sso_uri = args[:identity_provider_sso_uri] if args.key?(:identity_provider_sso_uri)
3249
+ @user_attribute = args[:user_attribute] if args.key?(:user_attribute)
3250
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
3251
+ end
3252
+ end
3253
+
3166
3254
  # KubernetesMetadata provides informational metadata for Memberships
3167
3255
  # representing Kubernetes clusters.
3168
3256
  class KubernetesMetadata
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1alpha
18
18
  # Version of the google-apis-gkehub_v1alpha gem
19
- GEM_VERSION = "0.76.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240225"
25
+ REVISION = "20240229"
26
26
  end
27
27
  end
28
28
  end
@@ -562,6 +562,12 @@ module Google
562
562
  include Google::Apis::Core::JsonObjectSupport
563
563
  end
564
564
 
565
+ class IdentityServiceSamlConfig
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
565
571
  class KubernetesMetadata
566
572
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
573
 
@@ -1895,6 +1901,8 @@ module Google
1895
1901
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1896
1902
 
1897
1903
  property :proxy, as: 'proxy'
1904
+ property :saml_config, as: 'samlConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceSamlConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceSamlConfig::Representation
1905
+
1898
1906
  end
1899
1907
  end
1900
1908
 
@@ -1904,8 +1912,10 @@ module Google
1904
1912
  property :client_id, as: 'clientId'
1905
1913
  property :client_secret, as: 'clientSecret'
1906
1914
  property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1915
+ property :group_format, as: 'groupFormat'
1907
1916
  property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1908
1917
  property :tenant, as: 'tenant'
1918
+ property :user_claim, as: 'userClaim'
1909
1919
  end
1910
1920
  end
1911
1921
 
@@ -1955,6 +1965,20 @@ module Google
1955
1965
  end
1956
1966
  end
1957
1967
 
1968
+ class IdentityServiceSamlConfig
1969
+ # @private
1970
+ class Representation < Google::Apis::Core::JsonRepresentation
1971
+ hash :attribute_mapping, as: 'attributeMapping'
1972
+ property :group_prefix, as: 'groupPrefix'
1973
+ property :groups_attribute, as: 'groupsAttribute'
1974
+ collection :identity_provider_certificates, as: 'identityProviderCertificates'
1975
+ property :identity_provider_id, as: 'identityProviderId'
1976
+ property :identity_provider_sso_uri, as: 'identityProviderSsoUri'
1977
+ property :user_attribute, as: 'userAttribute'
1978
+ property :user_prefix, as: 'userPrefix'
1979
+ end
1980
+ end
1981
+
1958
1982
  class KubernetesMetadata
1959
1983
  # @private
1960
1984
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.77.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []