google-apis-gkehub_v1beta 0.69.0 → 0.71.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: e5a246e2e95714fd49fb089f8e3cbecdb62c2ac4cd6e096f442162fe22f1d503
4
- data.tar.gz: 124738d50c988cda6f27d865d789c04587c41e9c57805c41a820672b10876574
3
+ metadata.gz: 350764e3d535dac768e072e4a3e79187b9fc0513a664619a31c533cbceb5b47a
4
+ data.tar.gz: 9fe7886e478919a3ad2cea38a0209556e1e6f4eed120695a6a094930255abe7a
5
5
  SHA512:
6
- metadata.gz: 46f9d25f27e020bb406712e82dcec0d3e3f60c5d7269a567883eac9cc3d550f4d77fe40aa2e01e2d242b80471b500ab98600ee409acec8c77411ac5fb92da8a4
7
- data.tar.gz: 106cc51c48cdf2d530017f4a730c6f0f6991c2c35a0a1bee7e1d26164a47d18df8716a43564e4ffd6f48b28e6ffcd58757672d2969041d6bcfc148751bf97e91
6
+ metadata.gz: db707d24b999df083df6e68fef46d04c4501bf533303ccb3e8818dc966e70783480edf169219277fb6101e41a61e2f00214e03004c7b73e127519cf5bc4c96eb
7
+ data.tar.gz: aa9e1f90968665951fb9c663ecb4aa325423755457726efd650375f6d26825a2b7d25042a33a2295c8d3e82a8c5b1d6f3e1a5fc383b9e682ecda75e24b31f48f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.71.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240229
6
+
7
+ ### v0.70.0 (2024-02-24)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.69.0 (2024-02-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20240209
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/anthos/multicluster-managem
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -2732,6 +2732,11 @@ module Google
2732
2732
  # @return [String]
2733
2733
  attr_accessor :proxy
2734
2734
 
2735
+ # Configuration for the SAML Auth flow.
2736
+ # Corresponds to the JSON property `samlConfig`
2737
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceSamlConfig]
2738
+ attr_accessor :saml_config
2739
+
2735
2740
  def initialize(**args)
2736
2741
  update!(**args)
2737
2742
  end
@@ -2743,6 +2748,7 @@ module Google
2743
2748
  @name = args[:name] if args.key?(:name)
2744
2749
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2745
2750
  @proxy = args[:proxy] if args.key?(:proxy)
2751
+ @saml_config = args[:saml_config] if args.key?(:saml_config)
2746
2752
  end
2747
2753
  end
2748
2754
 
@@ -2768,6 +2774,11 @@ module Google
2768
2774
  # @return [String]
2769
2775
  attr_accessor :encrypted_client_secret
2770
2776
 
2777
+ # Optional. Format of the AzureAD groups that the client wants for auth.
2778
+ # Corresponds to the JSON property `groupFormat`
2779
+ # @return [String]
2780
+ attr_accessor :group_format
2781
+
2771
2782
  # The redirect URL that kubectl uses for authorization.
2772
2783
  # Corresponds to the JSON property `kubectlRedirectUri`
2773
2784
  # @return [String]
@@ -2779,6 +2790,11 @@ module Google
2779
2790
  # @return [String]
2780
2791
  attr_accessor :tenant
2781
2792
 
2793
+ # Optional. Claim in the AzureAD ID Token that holds the user details.
2794
+ # Corresponds to the JSON property `userClaim`
2795
+ # @return [String]
2796
+ attr_accessor :user_claim
2797
+
2782
2798
  def initialize(**args)
2783
2799
  update!(**args)
2784
2800
  end
@@ -2788,8 +2804,10 @@ module Google
2788
2804
  @client_id = args[:client_id] if args.key?(:client_id)
2789
2805
  @client_secret = args[:client_secret] if args.key?(:client_secret)
2790
2806
  @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2807
+ @group_format = args[:group_format] if args.key?(:group_format)
2791
2808
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2792
2809
  @tenant = args[:tenant] if args.key?(:tenant)
2810
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
2793
2811
  end
2794
2812
  end
2795
2813
 
@@ -2973,6 +2991,76 @@ module Google
2973
2991
  end
2974
2992
  end
2975
2993
 
2994
+ # Configuration for the SAML Auth flow.
2995
+ class IdentityServiceSamlConfig
2996
+ include Google::Apis::Core::Hashable
2997
+
2998
+ # Optional. The mapping of additional user attributes like nickname, birthday
2999
+ # and address etc.. `key` is the name of this additional attribute. `value` is a
3000
+ # string presenting as CEL(common expression language, go/cel) used for getting
3001
+ # the value from the resources. Take nickname as an example, in this case, `key`
3002
+ # is "attribute.nickname" and `value` is "assertion.nickname".
3003
+ # Corresponds to the JSON property `attributeMapping`
3004
+ # @return [Hash<String,String>]
3005
+ attr_accessor :attribute_mapping
3006
+
3007
+ # Optional. Prefix to prepend to group name.
3008
+ # Corresponds to the JSON property `groupPrefix`
3009
+ # @return [String]
3010
+ attr_accessor :group_prefix
3011
+
3012
+ # Optional. The SAML attribute to read groups from. This value is expected to be
3013
+ # a string and will be passed along as-is (with the option of being prefixed by
3014
+ # the `group_prefix`).
3015
+ # Corresponds to the JSON property `groupsAttribute`
3016
+ # @return [String]
3017
+ attr_accessor :groups_attribute
3018
+
3019
+ # Required. The list of IdP certificates to validate the SAML response against.
3020
+ # Corresponds to the JSON property `identityProviderCertificates`
3021
+ # @return [Array<String>]
3022
+ attr_accessor :identity_provider_certificates
3023
+
3024
+ # Required. The entity ID of the SAML IdP.
3025
+ # Corresponds to the JSON property `identityProviderId`
3026
+ # @return [String]
3027
+ attr_accessor :identity_provider_id
3028
+
3029
+ # Required. The URI where the SAML IdP exposes the SSO service.
3030
+ # Corresponds to the JSON property `identityProviderSsoUri`
3031
+ # @return [String]
3032
+ attr_accessor :identity_provider_sso_uri
3033
+
3034
+ # Optional. The SAML attribute to read username from. If unspecified, the
3035
+ # username will be read from the NameID element of the assertion in SAML
3036
+ # response. This value is expected to be a string and will be passed along as-is
3037
+ # (with the option of being prefixed by the `user_prefix`).
3038
+ # Corresponds to the JSON property `userAttribute`
3039
+ # @return [String]
3040
+ attr_accessor :user_attribute
3041
+
3042
+ # Optional. Prefix to prepend to user name.
3043
+ # Corresponds to the JSON property `userPrefix`
3044
+ # @return [String]
3045
+ attr_accessor :user_prefix
3046
+
3047
+ def initialize(**args)
3048
+ update!(**args)
3049
+ end
3050
+
3051
+ # Update properties of this object
3052
+ def update!(**args)
3053
+ @attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
3054
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
3055
+ @groups_attribute = args[:groups_attribute] if args.key?(:groups_attribute)
3056
+ @identity_provider_certificates = args[:identity_provider_certificates] if args.key?(:identity_provider_certificates)
3057
+ @identity_provider_id = args[:identity_provider_id] if args.key?(:identity_provider_id)
3058
+ @identity_provider_sso_uri = args[:identity_provider_sso_uri] if args.key?(:identity_provider_sso_uri)
3059
+ @user_attribute = args[:user_attribute] if args.key?(:user_attribute)
3060
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
3061
+ end
3062
+ end
3063
+
2976
3064
  # KubernetesMetadata provides informational metadata for Memberships
2977
3065
  # representing Kubernetes clusters.
2978
3066
  class KubernetesMetadata
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240209"
25
+ REVISION = "20240229"
26
26
  end
27
27
  end
28
28
  end
@@ -532,6 +532,12 @@ module Google
532
532
  include Google::Apis::Core::JsonObjectSupport
533
533
  end
534
534
 
535
+ class IdentityServiceSamlConfig
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
535
541
  class KubernetesMetadata
536
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
543
 
@@ -1724,6 +1730,8 @@ module Google
1724
1730
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig::Representation
1725
1731
 
1726
1732
  property :proxy, as: 'proxy'
1733
+ property :saml_config, as: 'samlConfig', class: Google::Apis::GkehubV1beta::IdentityServiceSamlConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceSamlConfig::Representation
1734
+
1727
1735
  end
1728
1736
  end
1729
1737
 
@@ -1733,8 +1741,10 @@ module Google
1733
1741
  property :client_id, as: 'clientId'
1734
1742
  property :client_secret, as: 'clientSecret'
1735
1743
  property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1744
+ property :group_format, as: 'groupFormat'
1736
1745
  property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1737
1746
  property :tenant, as: 'tenant'
1747
+ property :user_claim, as: 'userClaim'
1738
1748
  end
1739
1749
  end
1740
1750
 
@@ -1784,6 +1794,20 @@ module Google
1784
1794
  end
1785
1795
  end
1786
1796
 
1797
+ class IdentityServiceSamlConfig
1798
+ # @private
1799
+ class Representation < Google::Apis::Core::JsonRepresentation
1800
+ hash :attribute_mapping, as: 'attributeMapping'
1801
+ property :group_prefix, as: 'groupPrefix'
1802
+ property :groups_attribute, as: 'groupsAttribute'
1803
+ collection :identity_provider_certificates, as: 'identityProviderCertificates'
1804
+ property :identity_provider_id, as: 'identityProviderId'
1805
+ property :identity_provider_sso_uri, as: 'identityProviderSsoUri'
1806
+ property :user_attribute, as: 'userAttribute'
1807
+ property :user_prefix, as: 'userPrefix'
1808
+ end
1809
+ end
1810
+
1787
1811
  class KubernetesMetadata
1788
1812
  # @private
1789
1813
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.71.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-02-18 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.71.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for GKE Hub API V1beta