google-apis-gkehub_v1 0.69.0 → 0.70.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d1b7ffb49ec6285cc0ac184c2811428f3fe01320a5017e5cc5546957b140155
|
4
|
+
data.tar.gz: 6e6ade05664ee51e22b640839d60caeb01ede83557d1a11a0db1e5684a6a897e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c50bf84c230e5de92e418ab0833173bce31c626e70bc116477072a2cb6ea1777d5c7f741236e008060bbbffefe74110a6681cd1ce932edb79b2a25e99cb82066
|
7
|
+
data.tar.gz: 6a9074e30f0f98a62f7da29c7b9303d6746bb2254fd77573a21e6a6c4db5d1021196f2545b2ccad415377cc271d2df0b81eaa2c2eef768101ebb15426c21d251
|
data/CHANGELOG.md
CHANGED
@@ -2577,6 +2577,11 @@ module Google
|
|
2577
2577
|
# @return [String]
|
2578
2578
|
attr_accessor :proxy
|
2579
2579
|
|
2580
|
+
# Configuration for the SAML Auth flow.
|
2581
|
+
# Corresponds to the JSON property `samlConfig`
|
2582
|
+
# @return [Google::Apis::GkehubV1::IdentityServiceSamlConfig]
|
2583
|
+
attr_accessor :saml_config
|
2584
|
+
|
2580
2585
|
def initialize(**args)
|
2581
2586
|
update!(**args)
|
2582
2587
|
end
|
@@ -2588,6 +2593,7 @@ module Google
|
|
2588
2593
|
@name = args[:name] if args.key?(:name)
|
2589
2594
|
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
2590
2595
|
@proxy = args[:proxy] if args.key?(:proxy)
|
2596
|
+
@saml_config = args[:saml_config] if args.key?(:saml_config)
|
2591
2597
|
end
|
2592
2598
|
end
|
2593
2599
|
|
@@ -2613,6 +2619,11 @@ module Google
|
|
2613
2619
|
# @return [String]
|
2614
2620
|
attr_accessor :encrypted_client_secret
|
2615
2621
|
|
2622
|
+
# Optional. Format of the AzureAD groups that the client wants for auth.
|
2623
|
+
# Corresponds to the JSON property `groupFormat`
|
2624
|
+
# @return [String]
|
2625
|
+
attr_accessor :group_format
|
2626
|
+
|
2616
2627
|
# The redirect URL that kubectl uses for authorization.
|
2617
2628
|
# Corresponds to the JSON property `kubectlRedirectUri`
|
2618
2629
|
# @return [String]
|
@@ -2624,6 +2635,11 @@ module Google
|
|
2624
2635
|
# @return [String]
|
2625
2636
|
attr_accessor :tenant
|
2626
2637
|
|
2638
|
+
# Optional. Claim in the AzureAD ID Token that holds the user details.
|
2639
|
+
# Corresponds to the JSON property `userClaim`
|
2640
|
+
# @return [String]
|
2641
|
+
attr_accessor :user_claim
|
2642
|
+
|
2627
2643
|
def initialize(**args)
|
2628
2644
|
update!(**args)
|
2629
2645
|
end
|
@@ -2633,8 +2649,10 @@ module Google
|
|
2633
2649
|
@client_id = args[:client_id] if args.key?(:client_id)
|
2634
2650
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
2635
2651
|
@encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
|
2652
|
+
@group_format = args[:group_format] if args.key?(:group_format)
|
2636
2653
|
@kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
|
2637
2654
|
@tenant = args[:tenant] if args.key?(:tenant)
|
2655
|
+
@user_claim = args[:user_claim] if args.key?(:user_claim)
|
2638
2656
|
end
|
2639
2657
|
end
|
2640
2658
|
|
@@ -2818,6 +2836,76 @@ module Google
|
|
2818
2836
|
end
|
2819
2837
|
end
|
2820
2838
|
|
2839
|
+
# Configuration for the SAML Auth flow.
|
2840
|
+
class IdentityServiceSamlConfig
|
2841
|
+
include Google::Apis::Core::Hashable
|
2842
|
+
|
2843
|
+
# Optional. The mapping of additional user attributes like nickname, birthday
|
2844
|
+
# and address etc.. `key` is the name of this additional attribute. `value` is a
|
2845
|
+
# string presenting as CEL(common expression language, go/cel) used for getting
|
2846
|
+
# the value from the resources. Take nickname as an example, in this case, `key`
|
2847
|
+
# is "attribute.nickname" and `value` is "assertion.nickname".
|
2848
|
+
# Corresponds to the JSON property `attributeMapping`
|
2849
|
+
# @return [Hash<String,String>]
|
2850
|
+
attr_accessor :attribute_mapping
|
2851
|
+
|
2852
|
+
# Optional. Prefix to prepend to group name.
|
2853
|
+
# Corresponds to the JSON property `groupPrefix`
|
2854
|
+
# @return [String]
|
2855
|
+
attr_accessor :group_prefix
|
2856
|
+
|
2857
|
+
# Optional. The SAML attribute to read groups from. This value is expected to be
|
2858
|
+
# a string and will be passed along as-is (with the option of being prefixed by
|
2859
|
+
# the `group_prefix`).
|
2860
|
+
# Corresponds to the JSON property `groupsAttribute`
|
2861
|
+
# @return [String]
|
2862
|
+
attr_accessor :groups_attribute
|
2863
|
+
|
2864
|
+
# Required. The list of IdP certificates to validate the SAML response against.
|
2865
|
+
# Corresponds to the JSON property `identityProviderCertificates`
|
2866
|
+
# @return [Array<String>]
|
2867
|
+
attr_accessor :identity_provider_certificates
|
2868
|
+
|
2869
|
+
# Required. The entity ID of the SAML IdP.
|
2870
|
+
# Corresponds to the JSON property `identityProviderId`
|
2871
|
+
# @return [String]
|
2872
|
+
attr_accessor :identity_provider_id
|
2873
|
+
|
2874
|
+
# Required. The URI where the SAML IdP exposes the SSO service.
|
2875
|
+
# Corresponds to the JSON property `identityProviderSsoUri`
|
2876
|
+
# @return [String]
|
2877
|
+
attr_accessor :identity_provider_sso_uri
|
2878
|
+
|
2879
|
+
# Optional. The SAML attribute to read username from. If unspecified, the
|
2880
|
+
# username will be read from the NameID element of the assertion in SAML
|
2881
|
+
# response. This value is expected to be a string and will be passed along as-is
|
2882
|
+
# (with the option of being prefixed by the `user_prefix`).
|
2883
|
+
# Corresponds to the JSON property `userAttribute`
|
2884
|
+
# @return [String]
|
2885
|
+
attr_accessor :user_attribute
|
2886
|
+
|
2887
|
+
# Optional. Prefix to prepend to user name.
|
2888
|
+
# Corresponds to the JSON property `userPrefix`
|
2889
|
+
# @return [String]
|
2890
|
+
attr_accessor :user_prefix
|
2891
|
+
|
2892
|
+
def initialize(**args)
|
2893
|
+
update!(**args)
|
2894
|
+
end
|
2895
|
+
|
2896
|
+
# Update properties of this object
|
2897
|
+
def update!(**args)
|
2898
|
+
@attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
|
2899
|
+
@group_prefix = args[:group_prefix] if args.key?(:group_prefix)
|
2900
|
+
@groups_attribute = args[:groups_attribute] if args.key?(:groups_attribute)
|
2901
|
+
@identity_provider_certificates = args[:identity_provider_certificates] if args.key?(:identity_provider_certificates)
|
2902
|
+
@identity_provider_id = args[:identity_provider_id] if args.key?(:identity_provider_id)
|
2903
|
+
@identity_provider_sso_uri = args[:identity_provider_sso_uri] if args.key?(:identity_provider_sso_uri)
|
2904
|
+
@user_attribute = args[:user_attribute] if args.key?(:user_attribute)
|
2905
|
+
@user_prefix = args[:user_prefix] if args.key?(:user_prefix)
|
2906
|
+
end
|
2907
|
+
end
|
2908
|
+
|
2821
2909
|
# KubernetesMetadata provides informational metadata for Memberships
|
2822
2910
|
# representing Kubernetes clusters.
|
2823
2911
|
class KubernetesMetadata
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1
|
18
18
|
# Version of the google-apis-gkehub_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240229"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -496,6 +496,12 @@ module Google
|
|
496
496
|
include Google::Apis::Core::JsonObjectSupport
|
497
497
|
end
|
498
498
|
|
499
|
+
class IdentityServiceSamlConfig
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
499
505
|
class KubernetesMetadata
|
500
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
507
|
|
@@ -1617,6 +1623,8 @@ module Google
|
|
1617
1623
|
property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1::IdentityServiceOidcConfig::Representation
|
1618
1624
|
|
1619
1625
|
property :proxy, as: 'proxy'
|
1626
|
+
property :saml_config, as: 'samlConfig', class: Google::Apis::GkehubV1::IdentityServiceSamlConfig, decorator: Google::Apis::GkehubV1::IdentityServiceSamlConfig::Representation
|
1627
|
+
|
1620
1628
|
end
|
1621
1629
|
end
|
1622
1630
|
|
@@ -1626,8 +1634,10 @@ module Google
|
|
1626
1634
|
property :client_id, as: 'clientId'
|
1627
1635
|
property :client_secret, as: 'clientSecret'
|
1628
1636
|
property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
|
1637
|
+
property :group_format, as: 'groupFormat'
|
1629
1638
|
property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
|
1630
1639
|
property :tenant, as: 'tenant'
|
1640
|
+
property :user_claim, as: 'userClaim'
|
1631
1641
|
end
|
1632
1642
|
end
|
1633
1643
|
|
@@ -1677,6 +1687,20 @@ module Google
|
|
1677
1687
|
end
|
1678
1688
|
end
|
1679
1689
|
|
1690
|
+
class IdentityServiceSamlConfig
|
1691
|
+
# @private
|
1692
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1693
|
+
hash :attribute_mapping, as: 'attributeMapping'
|
1694
|
+
property :group_prefix, as: 'groupPrefix'
|
1695
|
+
property :groups_attribute, as: 'groupsAttribute'
|
1696
|
+
collection :identity_provider_certificates, as: 'identityProviderCertificates'
|
1697
|
+
property :identity_provider_id, as: 'identityProviderId'
|
1698
|
+
property :identity_provider_sso_uri, as: 'identityProviderSsoUri'
|
1699
|
+
property :user_attribute, as: 'userAttribute'
|
1700
|
+
property :user_prefix, as: 'userPrefix'
|
1701
|
+
end
|
1702
|
+
end
|
1703
|
+
|
1680
1704
|
class KubernetesMetadata
|
1681
1705
|
# @private
|
1682
1706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.70.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.70.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|