google-apis-gkehub_v1 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: c04c401589be56fe5cb2724484b16e3a08a820d4a4c8381b6e66a5bd3e0a28da
4
- data.tar.gz: 5f5c70ca3278132f012fa0b26a39d67276e6a11d634210e3fe6a754b66297b31
3
+ metadata.gz: bc89251d46bcb07b2b1fbe507e5b75f57a751276d29f7e86cfaa2ea19954e567
4
+ data.tar.gz: 967d8367b32c0940e47733ba74df93219bb972733a7360a5df55e86cf9d6a687
5
5
  SHA512:
6
- metadata.gz: 3ab41428716089a9c9dfde98976eef9a4f655c07876a684c9d1790810a3d53987054a5651516a157427a216d1b427d4c7309a8f0f011bad4af4a6bebd4ef7537
7
- data.tar.gz: 4101c01341303499892ac35a8d7c489719223302414971a30379c50de3eb92343bc11dec36e66f9b99acc2e7966a8a50a1708dd65d84d04cae8a1afbee8d2168
6
+ metadata.gz: 6425f780db700bcc89c715cebafe89e5fdaae76d79d92881bf366eacb9f4ed7cb3631711bf2199196b4cf25c366ccd3140b597a80ab2cdcd92a9f314080b3171
7
+ data.tar.gz: 406071146ef1ff3c19d6f148406d5663ccbb8795e301bc6dd9f9fe112053cb0fa9b61f4ec03daababc886ec73cbb1db5881b642b1922169c1c95fd42c849079e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.71.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240318
6
+
7
+ ### v0.70.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240229
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.69.0 (2024-02-23)
4
13
 
5
14
  * Unspecified changes
@@ -2562,6 +2562,11 @@ module Google
2562
2562
  # @return [Google::Apis::GkehubV1::IdentityServiceGoogleConfig]
2563
2563
  attr_accessor :google_config
2564
2564
 
2565
+ # Configuration for the LDAP Auth flow.
2566
+ # Corresponds to the JSON property `ldapConfig`
2567
+ # @return [Google::Apis::GkehubV1::IdentityServiceLdapConfig]
2568
+ attr_accessor :ldap_config
2569
+
2565
2570
  # Identifier for auth config.
2566
2571
  # Corresponds to the JSON property `name`
2567
2572
  # @return [String]
@@ -2577,6 +2582,11 @@ module Google
2577
2582
  # @return [String]
2578
2583
  attr_accessor :proxy
2579
2584
 
2585
+ # Configuration for the SAML Auth flow.
2586
+ # Corresponds to the JSON property `samlConfig`
2587
+ # @return [Google::Apis::GkehubV1::IdentityServiceSamlConfig]
2588
+ attr_accessor :saml_config
2589
+
2580
2590
  def initialize(**args)
2581
2591
  update!(**args)
2582
2592
  end
@@ -2585,9 +2595,11 @@ module Google
2585
2595
  def update!(**args)
2586
2596
  @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2587
2597
  @google_config = args[:google_config] if args.key?(:google_config)
2598
+ @ldap_config = args[:ldap_config] if args.key?(:ldap_config)
2588
2599
  @name = args[:name] if args.key?(:name)
2589
2600
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2590
2601
  @proxy = args[:proxy] if args.key?(:proxy)
2602
+ @saml_config = args[:saml_config] if args.key?(:saml_config)
2591
2603
  end
2592
2604
  end
2593
2605
 
@@ -2613,6 +2625,11 @@ module Google
2613
2625
  # @return [String]
2614
2626
  attr_accessor :encrypted_client_secret
2615
2627
 
2628
+ # Optional. Format of the AzureAD groups that the client wants for auth.
2629
+ # Corresponds to the JSON property `groupFormat`
2630
+ # @return [String]
2631
+ attr_accessor :group_format
2632
+
2616
2633
  # The redirect URL that kubectl uses for authorization.
2617
2634
  # Corresponds to the JSON property `kubectlRedirectUri`
2618
2635
  # @return [String]
@@ -2624,6 +2641,11 @@ module Google
2624
2641
  # @return [String]
2625
2642
  attr_accessor :tenant
2626
2643
 
2644
+ # Optional. Claim in the AzureAD ID Token that holds the user details.
2645
+ # Corresponds to the JSON property `userClaim`
2646
+ # @return [String]
2647
+ attr_accessor :user_claim
2648
+
2627
2649
  def initialize(**args)
2628
2650
  update!(**args)
2629
2651
  end
@@ -2633,8 +2655,10 @@ module Google
2633
2655
  @client_id = args[:client_id] if args.key?(:client_id)
2634
2656
  @client_secret = args[:client_secret] if args.key?(:client_secret)
2635
2657
  @encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
2658
+ @group_format = args[:group_format] if args.key?(:group_format)
2636
2659
  @kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
2637
2660
  @tenant = args[:tenant] if args.key?(:tenant)
2661
+ @user_claim = args[:user_claim] if args.key?(:user_claim)
2638
2662
  end
2639
2663
  end
2640
2664
 
@@ -2658,6 +2682,84 @@ module Google
2658
2682
  end
2659
2683
  end
2660
2684
 
2685
+ # Contains the properties for locating and authenticating groups in the
2686
+ # directory.
2687
+ class IdentityServiceGroupConfig
2688
+ include Google::Apis::Core::Hashable
2689
+
2690
+ # Required. The location of the subtree in the LDAP directory to search for
2691
+ # group entries.
2692
+ # Corresponds to the JSON property `baseDn`
2693
+ # @return [String]
2694
+ attr_accessor :base_dn
2695
+
2696
+ # Optional. Optional filter to be used when searching for groups a user belongs
2697
+ # to. This can be used to explicitly match only certain groups in order to
2698
+ # reduce the amount of groups returned for each user. This defaults to "(
2699
+ # objectClass=Group)".
2700
+ # Corresponds to the JSON property `filter`
2701
+ # @return [String]
2702
+ attr_accessor :filter
2703
+
2704
+ # Optional. The identifying name of each group a user belongs to. For example,
2705
+ # if this is set to "distinguishedName" then RBACs and other group expectations
2706
+ # should be written as full DNs. This defaults to "distinguishedName".
2707
+ # Corresponds to the JSON property `idAttribute`
2708
+ # @return [String]
2709
+ attr_accessor :id_attribute
2710
+
2711
+ def initialize(**args)
2712
+ update!(**args)
2713
+ end
2714
+
2715
+ # Update properties of this object
2716
+ def update!(**args)
2717
+ @base_dn = args[:base_dn] if args.key?(:base_dn)
2718
+ @filter = args[:filter] if args.key?(:filter)
2719
+ @id_attribute = args[:id_attribute] if args.key?(:id_attribute)
2720
+ end
2721
+ end
2722
+
2723
+ # Configuration for the LDAP Auth flow.
2724
+ class IdentityServiceLdapConfig
2725
+ include Google::Apis::Core::Hashable
2726
+
2727
+ # Contains the properties for locating and authenticating groups in the
2728
+ # directory.
2729
+ # Corresponds to the JSON property `group`
2730
+ # @return [Google::Apis::GkehubV1::IdentityServiceGroupConfig]
2731
+ attr_accessor :group
2732
+
2733
+ # Server settings for the external LDAP server.
2734
+ # Corresponds to the JSON property `server`
2735
+ # @return [Google::Apis::GkehubV1::IdentityServiceServerConfig]
2736
+ attr_accessor :server
2737
+
2738
+ # Contains the credentials of the service account which is authorized to perform
2739
+ # the LDAP search in the directory. The credentials can be supplied by the
2740
+ # combination of the DN and password or the client certificate.
2741
+ # Corresponds to the JSON property `serviceAccount`
2742
+ # @return [Google::Apis::GkehubV1::IdentityServiceServiceAccountConfig]
2743
+ attr_accessor :service_account
2744
+
2745
+ # Defines where users exist in the LDAP directory.
2746
+ # Corresponds to the JSON property `user`
2747
+ # @return [Google::Apis::GkehubV1::IdentityServiceUserConfig]
2748
+ attr_accessor :user
2749
+
2750
+ def initialize(**args)
2751
+ update!(**args)
2752
+ end
2753
+
2754
+ # Update properties of this object
2755
+ def update!(**args)
2756
+ @group = args[:group] if args.key?(:group)
2757
+ @server = args[:server] if args.key?(:server)
2758
+ @service_account = args[:service_account] if args.key?(:service_account)
2759
+ @user = args[:user] if args.key?(:user)
2760
+ end
2761
+ end
2762
+
2661
2763
  # **Anthos Identity Service**: Configuration for a single Membership.
2662
2764
  class IdentityServiceMembershipSpec
2663
2765
  include Google::Apis::Core::Hashable
@@ -2818,6 +2920,217 @@ module Google
2818
2920
  end
2819
2921
  end
2820
2922
 
2923
+ # Configuration for the SAML Auth flow.
2924
+ class IdentityServiceSamlConfig
2925
+ include Google::Apis::Core::Hashable
2926
+
2927
+ # Optional. The mapping of additional user attributes like nickname, birthday
2928
+ # and address etc.. `key` is the name of this additional attribute. `value` is a
2929
+ # string presenting as CEL(common expression language, go/cel) used for getting
2930
+ # the value from the resources. Take nickname as an example, in this case, `key`
2931
+ # is "attribute.nickname" and `value` is "assertion.nickname".
2932
+ # Corresponds to the JSON property `attributeMapping`
2933
+ # @return [Hash<String,String>]
2934
+ attr_accessor :attribute_mapping
2935
+
2936
+ # Optional. Prefix to prepend to group name.
2937
+ # Corresponds to the JSON property `groupPrefix`
2938
+ # @return [String]
2939
+ attr_accessor :group_prefix
2940
+
2941
+ # Optional. The SAML attribute to read groups from. This value is expected to be
2942
+ # a string and will be passed along as-is (with the option of being prefixed by
2943
+ # the `group_prefix`).
2944
+ # Corresponds to the JSON property `groupsAttribute`
2945
+ # @return [String]
2946
+ attr_accessor :groups_attribute
2947
+
2948
+ # Required. The list of IdP certificates to validate the SAML response against.
2949
+ # Corresponds to the JSON property `identityProviderCertificates`
2950
+ # @return [Array<String>]
2951
+ attr_accessor :identity_provider_certificates
2952
+
2953
+ # Required. The entity ID of the SAML IdP.
2954
+ # Corresponds to the JSON property `identityProviderId`
2955
+ # @return [String]
2956
+ attr_accessor :identity_provider_id
2957
+
2958
+ # Required. The URI where the SAML IdP exposes the SSO service.
2959
+ # Corresponds to the JSON property `identityProviderSsoUri`
2960
+ # @return [String]
2961
+ attr_accessor :identity_provider_sso_uri
2962
+
2963
+ # Optional. The SAML attribute to read username from. If unspecified, the
2964
+ # username will be read from the NameID element of the assertion in SAML
2965
+ # response. This value is expected to be a string and will be passed along as-is
2966
+ # (with the option of being prefixed by the `user_prefix`).
2967
+ # Corresponds to the JSON property `userAttribute`
2968
+ # @return [String]
2969
+ attr_accessor :user_attribute
2970
+
2971
+ # Optional. Prefix to prepend to user name.
2972
+ # Corresponds to the JSON property `userPrefix`
2973
+ # @return [String]
2974
+ attr_accessor :user_prefix
2975
+
2976
+ def initialize(**args)
2977
+ update!(**args)
2978
+ end
2979
+
2980
+ # Update properties of this object
2981
+ def update!(**args)
2982
+ @attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
2983
+ @group_prefix = args[:group_prefix] if args.key?(:group_prefix)
2984
+ @groups_attribute = args[:groups_attribute] if args.key?(:groups_attribute)
2985
+ @identity_provider_certificates = args[:identity_provider_certificates] if args.key?(:identity_provider_certificates)
2986
+ @identity_provider_id = args[:identity_provider_id] if args.key?(:identity_provider_id)
2987
+ @identity_provider_sso_uri = args[:identity_provider_sso_uri] if args.key?(:identity_provider_sso_uri)
2988
+ @user_attribute = args[:user_attribute] if args.key?(:user_attribute)
2989
+ @user_prefix = args[:user_prefix] if args.key?(:user_prefix)
2990
+ end
2991
+ end
2992
+
2993
+ # Server settings for the external LDAP server.
2994
+ class IdentityServiceServerConfig
2995
+ include Google::Apis::Core::Hashable
2996
+
2997
+ # Optional. Contains a Base64 encoded, PEM formatted certificate authority
2998
+ # certificate for the LDAP server. This must be provided for the "ldaps" and "
2999
+ # startTLS" connections.
3000
+ # Corresponds to the JSON property `certificateAuthorityData`
3001
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3002
+ # @return [String]
3003
+ attr_accessor :certificate_authority_data
3004
+
3005
+ # Optional. Defines the connection type to communicate with the LDAP server. If `
3006
+ # starttls` or `ldaps` is specified, the certificate_authority_data should not
3007
+ # be empty.
3008
+ # Corresponds to the JSON property `connectionType`
3009
+ # @return [String]
3010
+ attr_accessor :connection_type
3011
+
3012
+ # Required. Defines the hostname or IP of the LDAP server. Port is optional and
3013
+ # will default to 389, if unspecified. For example, "ldap.server.example" or "10.
3014
+ # 10.10.10:389".
3015
+ # Corresponds to the JSON property `host`
3016
+ # @return [String]
3017
+ attr_accessor :host
3018
+
3019
+ def initialize(**args)
3020
+ update!(**args)
3021
+ end
3022
+
3023
+ # Update properties of this object
3024
+ def update!(**args)
3025
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
3026
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
3027
+ @host = args[:host] if args.key?(:host)
3028
+ end
3029
+ end
3030
+
3031
+ # Contains the credentials of the service account which is authorized to perform
3032
+ # the LDAP search in the directory. The credentials can be supplied by the
3033
+ # combination of the DN and password or the client certificate.
3034
+ class IdentityServiceServiceAccountConfig
3035
+ include Google::Apis::Core::Hashable
3036
+
3037
+ # The structure holds the LDAP simple binding credential.
3038
+ # Corresponds to the JSON property `simpleBindCredentials`
3039
+ # @return [Google::Apis::GkehubV1::IdentityServiceSimpleBindCredentials]
3040
+ attr_accessor :simple_bind_credentials
3041
+
3042
+ def initialize(**args)
3043
+ update!(**args)
3044
+ end
3045
+
3046
+ # Update properties of this object
3047
+ def update!(**args)
3048
+ @simple_bind_credentials = args[:simple_bind_credentials] if args.key?(:simple_bind_credentials)
3049
+ end
3050
+ end
3051
+
3052
+ # The structure holds the LDAP simple binding credential.
3053
+ class IdentityServiceSimpleBindCredentials
3054
+ include Google::Apis::Core::Hashable
3055
+
3056
+ # Required. The distinguished name(DN) of the service account object/user.
3057
+ # Corresponds to the JSON property `dn`
3058
+ # @return [String]
3059
+ attr_accessor :dn
3060
+
3061
+ # Output only. The encrypted password of the service account object/user.
3062
+ # Corresponds to the JSON property `encryptedPassword`
3063
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3064
+ # @return [String]
3065
+ attr_accessor :encrypted_password
3066
+
3067
+ # Required. Input only. The password of the service account object/user.
3068
+ # Corresponds to the JSON property `password`
3069
+ # @return [String]
3070
+ attr_accessor :password
3071
+
3072
+ def initialize(**args)
3073
+ update!(**args)
3074
+ end
3075
+
3076
+ # Update properties of this object
3077
+ def update!(**args)
3078
+ @dn = args[:dn] if args.key?(:dn)
3079
+ @encrypted_password = args[:encrypted_password] if args.key?(:encrypted_password)
3080
+ @password = args[:password] if args.key?(:password)
3081
+ end
3082
+ end
3083
+
3084
+ # Defines where users exist in the LDAP directory.
3085
+ class IdentityServiceUserConfig
3086
+ include Google::Apis::Core::Hashable
3087
+
3088
+ # Required. The location of the subtree in the LDAP directory to search for user
3089
+ # entries.
3090
+ # Corresponds to the JSON property `baseDn`
3091
+ # @return [String]
3092
+ attr_accessor :base_dn
3093
+
3094
+ # Optional. Filter to apply when searching for the user. This can be used to
3095
+ # further restrict the user accounts which are allowed to login. This defaults
3096
+ # to "(objectClass=User)".
3097
+ # Corresponds to the JSON property `filter`
3098
+ # @return [String]
3099
+ attr_accessor :filter
3100
+
3101
+ # Optional. Determines which attribute to use as the user's identity after they
3102
+ # are authenticated. This is distinct from the loginAttribute field to allow
3103
+ # users to login with a username, but then have their actual identifier be an
3104
+ # email address or full Distinguished Name (DN). For example, setting
3105
+ # loginAttribute to "sAMAccountName" and identifierAttribute to "
3106
+ # userPrincipalName" would allow a user to login as "bsmith", but actual RBAC
3107
+ # policies for the user would be written as "bsmith@example.com". Using "
3108
+ # userPrincipalName" is recommended since this will be unique for each user.
3109
+ # This defaults to "userPrincipalName".
3110
+ # Corresponds to the JSON property `idAttribute`
3111
+ # @return [String]
3112
+ attr_accessor :id_attribute
3113
+
3114
+ # Optional. The name of the attribute which matches against the input username.
3115
+ # This is used to find the user in the LDAP database e.g. "(=)" and is combined
3116
+ # with the optional filter field. This defaults to "userPrincipalName".
3117
+ # Corresponds to the JSON property `loginAttribute`
3118
+ # @return [String]
3119
+ attr_accessor :login_attribute
3120
+
3121
+ def initialize(**args)
3122
+ update!(**args)
3123
+ end
3124
+
3125
+ # Update properties of this object
3126
+ def update!(**args)
3127
+ @base_dn = args[:base_dn] if args.key?(:base_dn)
3128
+ @filter = args[:filter] if args.key?(:filter)
3129
+ @id_attribute = args[:id_attribute] if args.key?(:id_attribute)
3130
+ @login_attribute = args[:login_attribute] if args.key?(:login_attribute)
3131
+ end
3132
+ end
3133
+
2821
3134
  # KubernetesMetadata provides informational metadata for Memberships
2822
3135
  # representing Kubernetes clusters.
2823
3136
  class KubernetesMetadata
@@ -2929,6 +3242,39 @@ module Google
2929
3242
  end
2930
3243
  end
2931
3244
 
3245
+ # List of Memberships bound to a Scope.
3246
+ class ListBoundMembershipsResponse
3247
+ include Google::Apis::Core::Hashable
3248
+
3249
+ # The list of Memberships bound to the given Scope.
3250
+ # Corresponds to the JSON property `memberships`
3251
+ # @return [Array<Google::Apis::GkehubV1::Membership>]
3252
+ attr_accessor :memberships
3253
+
3254
+ # A token to request the next page of resources from the `ListBoundMemberships`
3255
+ # method. The value of an empty string means that there are no more resources to
3256
+ # return.
3257
+ # Corresponds to the JSON property `nextPageToken`
3258
+ # @return [String]
3259
+ attr_accessor :next_page_token
3260
+
3261
+ # List of locations that could not be reached while fetching this list.
3262
+ # Corresponds to the JSON property `unreachable`
3263
+ # @return [Array<String>]
3264
+ attr_accessor :unreachable
3265
+
3266
+ def initialize(**args)
3267
+ update!(**args)
3268
+ end
3269
+
3270
+ # Update properties of this object
3271
+ def update!(**args)
3272
+ @memberships = args[:memberships] if args.key?(:memberships)
3273
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3274
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3275
+ end
3276
+ end
3277
+
2932
3278
  # Response message for the `GkeHub.ListFeatures` method.
2933
3279
  class ListFeaturesResponse
2934
3280
  include Google::Apis::Core::Hashable
@@ -3092,6 +3438,33 @@ module Google
3092
3438
  end
3093
3439
  end
3094
3440
 
3441
+ # List of permitted Scopes.
3442
+ class ListPermittedScopesResponse
3443
+ include Google::Apis::Core::Hashable
3444
+
3445
+ # A token to request the next page of resources from the `ListPermittedScopes`
3446
+ # method. The value of an empty string means that there are no more resources to
3447
+ # return.
3448
+ # Corresponds to the JSON property `nextPageToken`
3449
+ # @return [String]
3450
+ attr_accessor :next_page_token
3451
+
3452
+ # The list of permitted Scopes
3453
+ # Corresponds to the JSON property `scopes`
3454
+ # @return [Array<Google::Apis::GkehubV1::Scope>]
3455
+ attr_accessor :scopes
3456
+
3457
+ def initialize(**args)
3458
+ update!(**args)
3459
+ end
3460
+
3461
+ # Update properties of this object
3462
+ def update!(**args)
3463
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3464
+ @scopes = args[:scopes] if args.key?(:scopes)
3465
+ end
3466
+ end
3467
+
3095
3468
  # List of fleet namespaces.
3096
3469
  class ListScopeNamespacesResponse
3097
3470
  include Google::Apis::Core::Hashable
@@ -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.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 = "20240318"
26
26
  end
27
27
  end
28
28
  end
@@ -478,6 +478,18 @@ module Google
478
478
  include Google::Apis::Core::JsonObjectSupport
479
479
  end
480
480
 
481
+ class IdentityServiceGroupConfig
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class IdentityServiceLdapConfig
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
481
493
  class IdentityServiceMembershipSpec
482
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
495
 
@@ -496,6 +508,36 @@ module Google
496
508
  include Google::Apis::Core::JsonObjectSupport
497
509
  end
498
510
 
511
+ class IdentityServiceSamlConfig
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class IdentityServiceServerConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class IdentityServiceServiceAccountConfig
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class IdentityServiceSimpleBindCredentials
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class IdentityServiceUserConfig
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
499
541
  class KubernetesMetadata
500
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
543
 
@@ -508,6 +550,12 @@ module Google
508
550
  include Google::Apis::Core::JsonObjectSupport
509
551
  end
510
552
 
553
+ class ListBoundMembershipsResponse
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
511
559
  class ListFeaturesResponse
512
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
561
 
@@ -544,6 +592,12 @@ module Google
544
592
  include Google::Apis::Core::JsonObjectSupport
545
593
  end
546
594
 
595
+ class ListPermittedScopesResponse
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
547
601
  class ListScopeNamespacesResponse
548
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
603
 
@@ -1613,10 +1667,14 @@ module Google
1613
1667
 
1614
1668
  property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1::IdentityServiceGoogleConfig::Representation
1615
1669
 
1670
+ property :ldap_config, as: 'ldapConfig', class: Google::Apis::GkehubV1::IdentityServiceLdapConfig, decorator: Google::Apis::GkehubV1::IdentityServiceLdapConfig::Representation
1671
+
1616
1672
  property :name, as: 'name'
1617
1673
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1::IdentityServiceOidcConfig::Representation
1618
1674
 
1619
1675
  property :proxy, as: 'proxy'
1676
+ property :saml_config, as: 'samlConfig', class: Google::Apis::GkehubV1::IdentityServiceSamlConfig, decorator: Google::Apis::GkehubV1::IdentityServiceSamlConfig::Representation
1677
+
1620
1678
  end
1621
1679
  end
1622
1680
 
@@ -1626,8 +1684,10 @@ module Google
1626
1684
  property :client_id, as: 'clientId'
1627
1685
  property :client_secret, as: 'clientSecret'
1628
1686
  property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
1687
+ property :group_format, as: 'groupFormat'
1629
1688
  property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
1630
1689
  property :tenant, as: 'tenant'
1690
+ property :user_claim, as: 'userClaim'
1631
1691
  end
1632
1692
  end
1633
1693
 
@@ -1638,6 +1698,29 @@ module Google
1638
1698
  end
1639
1699
  end
1640
1700
 
1701
+ class IdentityServiceGroupConfig
1702
+ # @private
1703
+ class Representation < Google::Apis::Core::JsonRepresentation
1704
+ property :base_dn, as: 'baseDn'
1705
+ property :filter, as: 'filter'
1706
+ property :id_attribute, as: 'idAttribute'
1707
+ end
1708
+ end
1709
+
1710
+ class IdentityServiceLdapConfig
1711
+ # @private
1712
+ class Representation < Google::Apis::Core::JsonRepresentation
1713
+ property :group, as: 'group', class: Google::Apis::GkehubV1::IdentityServiceGroupConfig, decorator: Google::Apis::GkehubV1::IdentityServiceGroupConfig::Representation
1714
+
1715
+ property :server, as: 'server', class: Google::Apis::GkehubV1::IdentityServiceServerConfig, decorator: Google::Apis::GkehubV1::IdentityServiceServerConfig::Representation
1716
+
1717
+ property :service_account, as: 'serviceAccount', class: Google::Apis::GkehubV1::IdentityServiceServiceAccountConfig, decorator: Google::Apis::GkehubV1::IdentityServiceServiceAccountConfig::Representation
1718
+
1719
+ property :user, as: 'user', class: Google::Apis::GkehubV1::IdentityServiceUserConfig, decorator: Google::Apis::GkehubV1::IdentityServiceUserConfig::Representation
1720
+
1721
+ end
1722
+ end
1723
+
1641
1724
  class IdentityServiceMembershipSpec
1642
1725
  # @private
1643
1726
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1677,6 +1760,56 @@ module Google
1677
1760
  end
1678
1761
  end
1679
1762
 
1763
+ class IdentityServiceSamlConfig
1764
+ # @private
1765
+ class Representation < Google::Apis::Core::JsonRepresentation
1766
+ hash :attribute_mapping, as: 'attributeMapping'
1767
+ property :group_prefix, as: 'groupPrefix'
1768
+ property :groups_attribute, as: 'groupsAttribute'
1769
+ collection :identity_provider_certificates, as: 'identityProviderCertificates'
1770
+ property :identity_provider_id, as: 'identityProviderId'
1771
+ property :identity_provider_sso_uri, as: 'identityProviderSsoUri'
1772
+ property :user_attribute, as: 'userAttribute'
1773
+ property :user_prefix, as: 'userPrefix'
1774
+ end
1775
+ end
1776
+
1777
+ class IdentityServiceServerConfig
1778
+ # @private
1779
+ class Representation < Google::Apis::Core::JsonRepresentation
1780
+ property :certificate_authority_data, :base64 => true, as: 'certificateAuthorityData'
1781
+ property :connection_type, as: 'connectionType'
1782
+ property :host, as: 'host'
1783
+ end
1784
+ end
1785
+
1786
+ class IdentityServiceServiceAccountConfig
1787
+ # @private
1788
+ class Representation < Google::Apis::Core::JsonRepresentation
1789
+ property :simple_bind_credentials, as: 'simpleBindCredentials', class: Google::Apis::GkehubV1::IdentityServiceSimpleBindCredentials, decorator: Google::Apis::GkehubV1::IdentityServiceSimpleBindCredentials::Representation
1790
+
1791
+ end
1792
+ end
1793
+
1794
+ class IdentityServiceSimpleBindCredentials
1795
+ # @private
1796
+ class Representation < Google::Apis::Core::JsonRepresentation
1797
+ property :dn, as: 'dn'
1798
+ property :encrypted_password, :base64 => true, as: 'encryptedPassword'
1799
+ property :password, as: 'password'
1800
+ end
1801
+ end
1802
+
1803
+ class IdentityServiceUserConfig
1804
+ # @private
1805
+ class Representation < Google::Apis::Core::JsonRepresentation
1806
+ property :base_dn, as: 'baseDn'
1807
+ property :filter, as: 'filter'
1808
+ property :id_attribute, as: 'idAttribute'
1809
+ property :login_attribute, as: 'loginAttribute'
1810
+ end
1811
+ end
1812
+
1680
1813
  class KubernetesMetadata
1681
1814
  # @private
1682
1815
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1702,6 +1835,16 @@ module Google
1702
1835
  end
1703
1836
  end
1704
1837
 
1838
+ class ListBoundMembershipsResponse
1839
+ # @private
1840
+ class Representation < Google::Apis::Core::JsonRepresentation
1841
+ collection :memberships, as: 'memberships', class: Google::Apis::GkehubV1::Membership, decorator: Google::Apis::GkehubV1::Membership::Representation
1842
+
1843
+ property :next_page_token, as: 'nextPageToken'
1844
+ collection :unreachable, as: 'unreachable'
1845
+ end
1846
+ end
1847
+
1705
1848
  class ListFeaturesResponse
1706
1849
  # @private
1707
1850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1757,6 +1900,15 @@ module Google
1757
1900
  end
1758
1901
  end
1759
1902
 
1903
+ class ListPermittedScopesResponse
1904
+ # @private
1905
+ class Representation < Google::Apis::Core::JsonRepresentation
1906
+ property :next_page_token, as: 'nextPageToken'
1907
+ collection :scopes, as: 'scopes', class: Google::Apis::GkehubV1::Scope, decorator: Google::Apis::GkehubV1::Scope::Representation
1908
+
1909
+ end
1910
+ end
1911
+
1760
1912
  class ListScopeNamespacesResponse
1761
1913
  # @private
1762
1914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1622,6 +1622,96 @@ module Google
1622
1622
  execute_or_queue_command(command, &block)
1623
1623
  end
1624
1624
 
1625
+ # Lists Memberships bound to a Scope. The response includes relevant Memberships
1626
+ # from all regions.
1627
+ # @param [String] scope_name
1628
+ # Required. Name of the Scope, in the format `projects/*/locations/global/scopes/
1629
+ # *`, to which the Memberships are bound.
1630
+ # @param [String] filter
1631
+ # Optional. Lists Memberships that match the filter expression, following the
1632
+ # syntax outlined in https://google.aip.dev/160. Currently, filtering can be
1633
+ # done only based on Memberships's `name`, `labels`, `create_time`, `update_time`
1634
+ # , and `unique_id`.
1635
+ # @param [Fixnum] page_size
1636
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1637
+ # of resources to return. If unspecified or set to 0, all resources will be
1638
+ # returned. Pagination is currently not supported; therefore, setting this field
1639
+ # does not have any impact for now.
1640
+ # @param [String] page_token
1641
+ # Optional. Token returned by previous call to `ListBoundMemberships` which
1642
+ # specifies the position in the list from where to continue listing the
1643
+ # resources.
1644
+ # @param [String] fields
1645
+ # Selector specifying which fields to include in a partial response.
1646
+ # @param [String] quota_user
1647
+ # Available to use for quota purposes for server-side applications. Can be any
1648
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1649
+ # @param [Google::Apis::RequestOptions] options
1650
+ # Request-specific options
1651
+ #
1652
+ # @yield [result, err] Result & error if block supplied
1653
+ # @yieldparam result [Google::Apis::GkehubV1::ListBoundMembershipsResponse] parsed result object
1654
+ # @yieldparam err [StandardError] error object if request failed
1655
+ #
1656
+ # @return [Google::Apis::GkehubV1::ListBoundMembershipsResponse]
1657
+ #
1658
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1659
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1660
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1661
+ def list_project_location_scope_memberships(scope_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1662
+ command = make_simple_command(:get, 'v1/{+scopeName}:listMemberships', options)
1663
+ command.response_representation = Google::Apis::GkehubV1::ListBoundMembershipsResponse::Representation
1664
+ command.response_class = Google::Apis::GkehubV1::ListBoundMembershipsResponse
1665
+ command.params['scopeName'] = scope_name unless scope_name.nil?
1666
+ command.query['filter'] = filter unless filter.nil?
1667
+ command.query['pageSize'] = page_size unless page_size.nil?
1668
+ command.query['pageToken'] = page_token unless page_token.nil?
1669
+ command.query['fields'] = fields unless fields.nil?
1670
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1671
+ execute_or_queue_command(command, &block)
1672
+ end
1673
+
1674
+ # Lists permitted Scopes.
1675
+ # @param [String] parent
1676
+ # Required. The parent (project and location) where the Scope will be listed.
1677
+ # Specified in the format `projects/*/locations/*`.
1678
+ # @param [Fixnum] page_size
1679
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1680
+ # of resources to return. If unspecified or set to 0, all resources will be
1681
+ # returned.
1682
+ # @param [String] page_token
1683
+ # Optional. Token returned by previous call to `ListPermittedScopes` which
1684
+ # specifies the position in the list from where to continue listing the
1685
+ # resources.
1686
+ # @param [String] fields
1687
+ # Selector specifying which fields to include in a partial response.
1688
+ # @param [String] quota_user
1689
+ # Available to use for quota purposes for server-side applications. Can be any
1690
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1691
+ # @param [Google::Apis::RequestOptions] options
1692
+ # Request-specific options
1693
+ #
1694
+ # @yield [result, err] Result & error if block supplied
1695
+ # @yieldparam result [Google::Apis::GkehubV1::ListPermittedScopesResponse] parsed result object
1696
+ # @yieldparam err [StandardError] error object if request failed
1697
+ #
1698
+ # @return [Google::Apis::GkehubV1::ListPermittedScopesResponse]
1699
+ #
1700
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1701
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1702
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1703
+ def list_project_location_scope_permitted(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1704
+ command = make_simple_command(:get, 'v1/{+parent}/scopes:listPermitted', options)
1705
+ command.response_representation = Google::Apis::GkehubV1::ListPermittedScopesResponse::Representation
1706
+ command.response_class = Google::Apis::GkehubV1::ListPermittedScopesResponse
1707
+ command.params['parent'] = parent unless parent.nil?
1708
+ command.query['pageSize'] = page_size unless page_size.nil?
1709
+ command.query['pageToken'] = page_token unless page_token.nil?
1710
+ command.query['fields'] = fields unless fields.nil?
1711
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1712
+ execute_or_queue_command(command, &block)
1713
+ end
1714
+
1625
1715
  # Updates a scopes.
1626
1716
  # @param [String] name
1627
1717
  # The resource name for the scope `projects/`project`/locations/`location`/
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.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-25 00:00:00.000000000 Z
11
+ date: 2024-03-24 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.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.71.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: []