google-apis-gkehub_v1alpha 0.77.0 → 0.78.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: 65d8ec76342f9000f9fa7402d46478aefe45148f84b25c0c2649cb283e6a8e52
4
- data.tar.gz: 72430d5414b570dbc138a55760ada7c9b09f5d1b75bfaae6626b6fe5e8590319
3
+ metadata.gz: d030efad1314a3abab865ff9bd3cee0a080560535a441cc425d73592ed7e9920
4
+ data.tar.gz: 57661f79dda5da7f53a820294b0b1cef0b964029a2edb9eaac85f04a9104bd38
5
5
  SHA512:
6
- metadata.gz: 6d53aa24ca2a671b4433e9b3c7a2956c90571bfb6b31b70468287c7788650e68fdbac26048d62871a8fd608d104d5585957ee4981fe4e97c50e9508497248d9f
7
- data.tar.gz: 34847f168339ea45b5bee001f3937231804298c07c5878094c2a7a18d62188a9987c4376b4cf1d603dbd322a61818dff5239c957711cd5a96f251d483b0d51f6
6
+ metadata.gz: a27371604216d0d24a5226b28e6cd2fb9b9118340326a18a519e143f730fe9c0b2ca2e8d04873172ddc46641ef9936dc100957298c6525785a4f6aea2289d6ab
7
+ data.tar.gz: 95184e8d50b46caf89e757d56433f9c5c9cabba112e45baec69aed449aeea3e0bf8bd1b466e0e281eb0b4d0df061512461e84c802bbeaf820da3b51717dae85c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.78.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240318
6
+
3
7
  ### v0.77.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240229
@@ -2907,6 +2907,11 @@ module Google
2907
2907
  # @return [Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig]
2908
2908
  attr_accessor :google_config
2909
2909
 
2910
+ # Configuration for the LDAP Auth flow.
2911
+ # Corresponds to the JSON property `ldapConfig`
2912
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceLdapConfig]
2913
+ attr_accessor :ldap_config
2914
+
2910
2915
  # Identifier for auth config.
2911
2916
  # Corresponds to the JSON property `name`
2912
2917
  # @return [String]
@@ -2935,6 +2940,7 @@ module Google
2935
2940
  def update!(**args)
2936
2941
  @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2937
2942
  @google_config = args[:google_config] if args.key?(:google_config)
2943
+ @ldap_config = args[:ldap_config] if args.key?(:ldap_config)
2938
2944
  @name = args[:name] if args.key?(:name)
2939
2945
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2940
2946
  @proxy = args[:proxy] if args.key?(:proxy)
@@ -3021,6 +3027,84 @@ module Google
3021
3027
  end
3022
3028
  end
3023
3029
 
3030
+ # Contains the properties for locating and authenticating groups in the
3031
+ # directory.
3032
+ class IdentityServiceGroupConfig
3033
+ include Google::Apis::Core::Hashable
3034
+
3035
+ # Required. The location of the subtree in the LDAP directory to search for
3036
+ # group entries.
3037
+ # Corresponds to the JSON property `baseDn`
3038
+ # @return [String]
3039
+ attr_accessor :base_dn
3040
+
3041
+ # Optional. Optional filter to be used when searching for groups a user belongs
3042
+ # to. This can be used to explicitly match only certain groups in order to
3043
+ # reduce the amount of groups returned for each user. This defaults to "(
3044
+ # objectClass=Group)".
3045
+ # Corresponds to the JSON property `filter`
3046
+ # @return [String]
3047
+ attr_accessor :filter
3048
+
3049
+ # Optional. The identifying name of each group a user belongs to. For example,
3050
+ # if this is set to "distinguishedName" then RBACs and other group expectations
3051
+ # should be written as full DNs. This defaults to "distinguishedName".
3052
+ # Corresponds to the JSON property `idAttribute`
3053
+ # @return [String]
3054
+ attr_accessor :id_attribute
3055
+
3056
+ def initialize(**args)
3057
+ update!(**args)
3058
+ end
3059
+
3060
+ # Update properties of this object
3061
+ def update!(**args)
3062
+ @base_dn = args[:base_dn] if args.key?(:base_dn)
3063
+ @filter = args[:filter] if args.key?(:filter)
3064
+ @id_attribute = args[:id_attribute] if args.key?(:id_attribute)
3065
+ end
3066
+ end
3067
+
3068
+ # Configuration for the LDAP Auth flow.
3069
+ class IdentityServiceLdapConfig
3070
+ include Google::Apis::Core::Hashable
3071
+
3072
+ # Contains the properties for locating and authenticating groups in the
3073
+ # directory.
3074
+ # Corresponds to the JSON property `group`
3075
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceGroupConfig]
3076
+ attr_accessor :group
3077
+
3078
+ # Server settings for the external LDAP server.
3079
+ # Corresponds to the JSON property `server`
3080
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceServerConfig]
3081
+ attr_accessor :server
3082
+
3083
+ # Contains the credentials of the service account which is authorized to perform
3084
+ # the LDAP search in the directory. The credentials can be supplied by the
3085
+ # combination of the DN and password or the client certificate.
3086
+ # Corresponds to the JSON property `serviceAccount`
3087
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceServiceAccountConfig]
3088
+ attr_accessor :service_account
3089
+
3090
+ # Defines where users exist in the LDAP directory.
3091
+ # Corresponds to the JSON property `user`
3092
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceUserConfig]
3093
+ attr_accessor :user
3094
+
3095
+ def initialize(**args)
3096
+ update!(**args)
3097
+ end
3098
+
3099
+ # Update properties of this object
3100
+ def update!(**args)
3101
+ @group = args[:group] if args.key?(:group)
3102
+ @server = args[:server] if args.key?(:server)
3103
+ @service_account = args[:service_account] if args.key?(:service_account)
3104
+ @user = args[:user] if args.key?(:user)
3105
+ end
3106
+ end
3107
+
3024
3108
  # **Anthos Identity Service**: Configuration for a single Membership.
3025
3109
  class IdentityServiceMembershipSpec
3026
3110
  include Google::Apis::Core::Hashable
@@ -3251,6 +3335,147 @@ module Google
3251
3335
  end
3252
3336
  end
3253
3337
 
3338
+ # Server settings for the external LDAP server.
3339
+ class IdentityServiceServerConfig
3340
+ include Google::Apis::Core::Hashable
3341
+
3342
+ # Optional. Contains a Base64 encoded, PEM formatted certificate authority
3343
+ # certificate for the LDAP server. This must be provided for the "ldaps" and "
3344
+ # startTLS" connections.
3345
+ # Corresponds to the JSON property `certificateAuthorityData`
3346
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3347
+ # @return [String]
3348
+ attr_accessor :certificate_authority_data
3349
+
3350
+ # Optional. Defines the connection type to communicate with the LDAP server. If `
3351
+ # starttls` or `ldaps` is specified, the certificate_authority_data should not
3352
+ # be empty.
3353
+ # Corresponds to the JSON property `connectionType`
3354
+ # @return [String]
3355
+ attr_accessor :connection_type
3356
+
3357
+ # Required. Defines the hostname or IP of the LDAP server. Port is optional and
3358
+ # will default to 389, if unspecified. For example, "ldap.server.example" or "10.
3359
+ # 10.10.10:389".
3360
+ # Corresponds to the JSON property `host`
3361
+ # @return [String]
3362
+ attr_accessor :host
3363
+
3364
+ def initialize(**args)
3365
+ update!(**args)
3366
+ end
3367
+
3368
+ # Update properties of this object
3369
+ def update!(**args)
3370
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
3371
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
3372
+ @host = args[:host] if args.key?(:host)
3373
+ end
3374
+ end
3375
+
3376
+ # Contains the credentials of the service account which is authorized to perform
3377
+ # the LDAP search in the directory. The credentials can be supplied by the
3378
+ # combination of the DN and password or the client certificate.
3379
+ class IdentityServiceServiceAccountConfig
3380
+ include Google::Apis::Core::Hashable
3381
+
3382
+ # The structure holds the LDAP simple binding credential.
3383
+ # Corresponds to the JSON property `simpleBindCredentials`
3384
+ # @return [Google::Apis::GkehubV1alpha::IdentityServiceSimpleBindCredentials]
3385
+ attr_accessor :simple_bind_credentials
3386
+
3387
+ def initialize(**args)
3388
+ update!(**args)
3389
+ end
3390
+
3391
+ # Update properties of this object
3392
+ def update!(**args)
3393
+ @simple_bind_credentials = args[:simple_bind_credentials] if args.key?(:simple_bind_credentials)
3394
+ end
3395
+ end
3396
+
3397
+ # The structure holds the LDAP simple binding credential.
3398
+ class IdentityServiceSimpleBindCredentials
3399
+ include Google::Apis::Core::Hashable
3400
+
3401
+ # Required. The distinguished name(DN) of the service account object/user.
3402
+ # Corresponds to the JSON property `dn`
3403
+ # @return [String]
3404
+ attr_accessor :dn
3405
+
3406
+ # Output only. The encrypted password of the service account object/user.
3407
+ # Corresponds to the JSON property `encryptedPassword`
3408
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3409
+ # @return [String]
3410
+ attr_accessor :encrypted_password
3411
+
3412
+ # Required. Input only. The password of the service account object/user.
3413
+ # Corresponds to the JSON property `password`
3414
+ # @return [String]
3415
+ attr_accessor :password
3416
+
3417
+ def initialize(**args)
3418
+ update!(**args)
3419
+ end
3420
+
3421
+ # Update properties of this object
3422
+ def update!(**args)
3423
+ @dn = args[:dn] if args.key?(:dn)
3424
+ @encrypted_password = args[:encrypted_password] if args.key?(:encrypted_password)
3425
+ @password = args[:password] if args.key?(:password)
3426
+ end
3427
+ end
3428
+
3429
+ # Defines where users exist in the LDAP directory.
3430
+ class IdentityServiceUserConfig
3431
+ include Google::Apis::Core::Hashable
3432
+
3433
+ # Required. The location of the subtree in the LDAP directory to search for user
3434
+ # entries.
3435
+ # Corresponds to the JSON property `baseDn`
3436
+ # @return [String]
3437
+ attr_accessor :base_dn
3438
+
3439
+ # Optional. Filter to apply when searching for the user. This can be used to
3440
+ # further restrict the user accounts which are allowed to login. This defaults
3441
+ # to "(objectClass=User)".
3442
+ # Corresponds to the JSON property `filter`
3443
+ # @return [String]
3444
+ attr_accessor :filter
3445
+
3446
+ # Optional. Determines which attribute to use as the user's identity after they
3447
+ # are authenticated. This is distinct from the loginAttribute field to allow
3448
+ # users to login with a username, but then have their actual identifier be an
3449
+ # email address or full Distinguished Name (DN). For example, setting
3450
+ # loginAttribute to "sAMAccountName" and identifierAttribute to "
3451
+ # userPrincipalName" would allow a user to login as "bsmith", but actual RBAC
3452
+ # policies for the user would be written as "bsmith@example.com". Using "
3453
+ # userPrincipalName" is recommended since this will be unique for each user.
3454
+ # This defaults to "userPrincipalName".
3455
+ # Corresponds to the JSON property `idAttribute`
3456
+ # @return [String]
3457
+ attr_accessor :id_attribute
3458
+
3459
+ # Optional. The name of the attribute which matches against the input username.
3460
+ # This is used to find the user in the LDAP database e.g. "(=)" and is combined
3461
+ # with the optional filter field. This defaults to "userPrincipalName".
3462
+ # Corresponds to the JSON property `loginAttribute`
3463
+ # @return [String]
3464
+ attr_accessor :login_attribute
3465
+
3466
+ def initialize(**args)
3467
+ update!(**args)
3468
+ end
3469
+
3470
+ # Update properties of this object
3471
+ def update!(**args)
3472
+ @base_dn = args[:base_dn] if args.key?(:base_dn)
3473
+ @filter = args[:filter] if args.key?(:filter)
3474
+ @id_attribute = args[:id_attribute] if args.key?(:id_attribute)
3475
+ @login_attribute = args[:login_attribute] if args.key?(:login_attribute)
3476
+ end
3477
+ end
3478
+
3254
3479
  # KubernetesMetadata provides informational metadata for Memberships
3255
3480
  # representing Kubernetes clusters.
3256
3481
  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.77.0"
19
+ GEM_VERSION = "0.78.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 = "20240229"
25
+ REVISION = "20240318"
26
26
  end
27
27
  end
28
28
  end
@@ -544,6 +544,18 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
+ class IdentityServiceGroupConfig
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class IdentityServiceLdapConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
547
559
  class IdentityServiceMembershipSpec
548
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
561
 
@@ -568,6 +580,30 @@ module Google
568
580
  include Google::Apis::Core::JsonObjectSupport
569
581
  end
570
582
 
583
+ class IdentityServiceServerConfig
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
589
+ class IdentityServiceServiceAccountConfig
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class IdentityServiceSimpleBindCredentials
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class IdentityServiceUserConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
571
607
  class KubernetesMetadata
572
608
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
609
 
@@ -1897,6 +1933,8 @@ module Google
1897
1933
 
1898
1934
  property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceGoogleConfig::Representation
1899
1935
 
1936
+ property :ldap_config, as: 'ldapConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceLdapConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceLdapConfig::Representation
1937
+
1900
1938
  property :name, as: 'name'
1901
1939
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
1902
1940
 
@@ -1926,6 +1964,29 @@ module Google
1926
1964
  end
1927
1965
  end
1928
1966
 
1967
+ class IdentityServiceGroupConfig
1968
+ # @private
1969
+ class Representation < Google::Apis::Core::JsonRepresentation
1970
+ property :base_dn, as: 'baseDn'
1971
+ property :filter, as: 'filter'
1972
+ property :id_attribute, as: 'idAttribute'
1973
+ end
1974
+ end
1975
+
1976
+ class IdentityServiceLdapConfig
1977
+ # @private
1978
+ class Representation < Google::Apis::Core::JsonRepresentation
1979
+ property :group, as: 'group', class: Google::Apis::GkehubV1alpha::IdentityServiceGroupConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceGroupConfig::Representation
1980
+
1981
+ property :server, as: 'server', class: Google::Apis::GkehubV1alpha::IdentityServiceServerConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceServerConfig::Representation
1982
+
1983
+ property :service_account, as: 'serviceAccount', class: Google::Apis::GkehubV1alpha::IdentityServiceServiceAccountConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceServiceAccountConfig::Representation
1984
+
1985
+ property :user, as: 'user', class: Google::Apis::GkehubV1alpha::IdentityServiceUserConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceUserConfig::Representation
1986
+
1987
+ end
1988
+ end
1989
+
1929
1990
  class IdentityServiceMembershipSpec
1930
1991
  # @private
1931
1992
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1979,6 +2040,42 @@ module Google
1979
2040
  end
1980
2041
  end
1981
2042
 
2043
+ class IdentityServiceServerConfig
2044
+ # @private
2045
+ class Representation < Google::Apis::Core::JsonRepresentation
2046
+ property :certificate_authority_data, :base64 => true, as: 'certificateAuthorityData'
2047
+ property :connection_type, as: 'connectionType'
2048
+ property :host, as: 'host'
2049
+ end
2050
+ end
2051
+
2052
+ class IdentityServiceServiceAccountConfig
2053
+ # @private
2054
+ class Representation < Google::Apis::Core::JsonRepresentation
2055
+ property :simple_bind_credentials, as: 'simpleBindCredentials', class: Google::Apis::GkehubV1alpha::IdentityServiceSimpleBindCredentials, decorator: Google::Apis::GkehubV1alpha::IdentityServiceSimpleBindCredentials::Representation
2056
+
2057
+ end
2058
+ end
2059
+
2060
+ class IdentityServiceSimpleBindCredentials
2061
+ # @private
2062
+ class Representation < Google::Apis::Core::JsonRepresentation
2063
+ property :dn, as: 'dn'
2064
+ property :encrypted_password, :base64 => true, as: 'encryptedPassword'
2065
+ property :password, as: 'password'
2066
+ end
2067
+ end
2068
+
2069
+ class IdentityServiceUserConfig
2070
+ # @private
2071
+ class Representation < Google::Apis::Core::JsonRepresentation
2072
+ property :base_dn, as: 'baseDn'
2073
+ property :filter, as: 'filter'
2074
+ property :id_attribute, as: 'idAttribute'
2075
+ property :login_attribute, as: 'loginAttribute'
2076
+ end
2077
+ end
2078
+
1982
2079
  class KubernetesMetadata
1983
2080
  # @private
1984
2081
  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.77.0
4
+ version: 0.78.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-10 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.77.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.78.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: []