google-apis-gkehub_v1beta 0.71.0 → 0.73.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: 350764e3d535dac768e072e4a3e79187b9fc0513a664619a31c533cbceb5b47a
4
- data.tar.gz: 9fe7886e478919a3ad2cea38a0209556e1e6f4eed120695a6a094930255abe7a
3
+ metadata.gz: 9d5de93628f1dc38df8af248eab227053164f1f3c614322bb9caeccb5e68f3c3
4
+ data.tar.gz: e3e270b15da609f36fa919d2a96f95e9e07026d0e19feaaf2064b02e9401fc93
5
5
  SHA512:
6
- metadata.gz: db707d24b999df083df6e68fef46d04c4501bf533303ccb3e8818dc966e70783480edf169219277fb6101e41a61e2f00214e03004c7b73e127519cf5bc4c96eb
7
- data.tar.gz: aa9e1f90968665951fb9c663ecb4aa325423755457726efd650375f6d26825a2b7d25042a33a2295c8d3e82a8c5b1d6f3e1a5fc383b9e682ecda75e24b31f48f
6
+ metadata.gz: 78318851c1c6bf471ee2ae8f603463d4c6082fc9b25a61cb87d0b5f9e7fa0d11f870be694eff936f359dc2ca430b3a10583dd44cb76aaf19f9c3b31cdbfddf82
7
+ data.tar.gz: 7977bb470bd46f99c64961200c421ffef6d7bb0234c7b0f54f47151569a2a70b02939497450a46d7739c0fb3feca05edee3d770f4ea8dade87a117ac56e569ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.73.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240322
6
+
7
+ ### v0.72.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240318
10
+
3
11
  ### v0.71.0 (2024-03-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20240229
@@ -2717,6 +2717,11 @@ module Google
2717
2717
  # @return [Google::Apis::GkehubV1beta::IdentityServiceGoogleConfig]
2718
2718
  attr_accessor :google_config
2719
2719
 
2720
+ # Configuration for the LDAP Auth flow.
2721
+ # Corresponds to the JSON property `ldapConfig`
2722
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceLdapConfig]
2723
+ attr_accessor :ldap_config
2724
+
2720
2725
  # Identifier for auth config.
2721
2726
  # Corresponds to the JSON property `name`
2722
2727
  # @return [String]
@@ -2745,6 +2750,7 @@ module Google
2745
2750
  def update!(**args)
2746
2751
  @azuread_config = args[:azuread_config] if args.key?(:azuread_config)
2747
2752
  @google_config = args[:google_config] if args.key?(:google_config)
2753
+ @ldap_config = args[:ldap_config] if args.key?(:ldap_config)
2748
2754
  @name = args[:name] if args.key?(:name)
2749
2755
  @oidc_config = args[:oidc_config] if args.key?(:oidc_config)
2750
2756
  @proxy = args[:proxy] if args.key?(:proxy)
@@ -2831,6 +2837,84 @@ module Google
2831
2837
  end
2832
2838
  end
2833
2839
 
2840
+ # Contains the properties for locating and authenticating groups in the
2841
+ # directory.
2842
+ class IdentityServiceGroupConfig
2843
+ include Google::Apis::Core::Hashable
2844
+
2845
+ # Required. The location of the subtree in the LDAP directory to search for
2846
+ # group entries.
2847
+ # Corresponds to the JSON property `baseDn`
2848
+ # @return [String]
2849
+ attr_accessor :base_dn
2850
+
2851
+ # Optional. Optional filter to be used when searching for groups a user belongs
2852
+ # to. This can be used to explicitly match only certain groups in order to
2853
+ # reduce the amount of groups returned for each user. This defaults to "(
2854
+ # objectClass=Group)".
2855
+ # Corresponds to the JSON property `filter`
2856
+ # @return [String]
2857
+ attr_accessor :filter
2858
+
2859
+ # Optional. The identifying name of each group a user belongs to. For example,
2860
+ # if this is set to "distinguishedName" then RBACs and other group expectations
2861
+ # should be written as full DNs. This defaults to "distinguishedName".
2862
+ # Corresponds to the JSON property `idAttribute`
2863
+ # @return [String]
2864
+ attr_accessor :id_attribute
2865
+
2866
+ def initialize(**args)
2867
+ update!(**args)
2868
+ end
2869
+
2870
+ # Update properties of this object
2871
+ def update!(**args)
2872
+ @base_dn = args[:base_dn] if args.key?(:base_dn)
2873
+ @filter = args[:filter] if args.key?(:filter)
2874
+ @id_attribute = args[:id_attribute] if args.key?(:id_attribute)
2875
+ end
2876
+ end
2877
+
2878
+ # Configuration for the LDAP Auth flow.
2879
+ class IdentityServiceLdapConfig
2880
+ include Google::Apis::Core::Hashable
2881
+
2882
+ # Contains the properties for locating and authenticating groups in the
2883
+ # directory.
2884
+ # Corresponds to the JSON property `group`
2885
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceGroupConfig]
2886
+ attr_accessor :group
2887
+
2888
+ # Server settings for the external LDAP server.
2889
+ # Corresponds to the JSON property `server`
2890
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceServerConfig]
2891
+ attr_accessor :server
2892
+
2893
+ # Contains the credentials of the service account which is authorized to perform
2894
+ # the LDAP search in the directory. The credentials can be supplied by the
2895
+ # combination of the DN and password or the client certificate.
2896
+ # Corresponds to the JSON property `serviceAccount`
2897
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceServiceAccountConfig]
2898
+ attr_accessor :service_account
2899
+
2900
+ # Defines where users exist in the LDAP directory.
2901
+ # Corresponds to the JSON property `user`
2902
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceUserConfig]
2903
+ attr_accessor :user
2904
+
2905
+ def initialize(**args)
2906
+ update!(**args)
2907
+ end
2908
+
2909
+ # Update properties of this object
2910
+ def update!(**args)
2911
+ @group = args[:group] if args.key?(:group)
2912
+ @server = args[:server] if args.key?(:server)
2913
+ @service_account = args[:service_account] if args.key?(:service_account)
2914
+ @user = args[:user] if args.key?(:user)
2915
+ end
2916
+ end
2917
+
2834
2918
  # **Anthos Identity Service**: Configuration for a single Membership.
2835
2919
  class IdentityServiceMembershipSpec
2836
2920
  include Google::Apis::Core::Hashable
@@ -3061,6 +3145,147 @@ module Google
3061
3145
  end
3062
3146
  end
3063
3147
 
3148
+ # Server settings for the external LDAP server.
3149
+ class IdentityServiceServerConfig
3150
+ include Google::Apis::Core::Hashable
3151
+
3152
+ # Optional. Contains a Base64 encoded, PEM formatted certificate authority
3153
+ # certificate for the LDAP server. This must be provided for the "ldaps" and "
3154
+ # startTLS" connections.
3155
+ # Corresponds to the JSON property `certificateAuthorityData`
3156
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3157
+ # @return [String]
3158
+ attr_accessor :certificate_authority_data
3159
+
3160
+ # Optional. Defines the connection type to communicate with the LDAP server. If `
3161
+ # starttls` or `ldaps` is specified, the certificate_authority_data should not
3162
+ # be empty.
3163
+ # Corresponds to the JSON property `connectionType`
3164
+ # @return [String]
3165
+ attr_accessor :connection_type
3166
+
3167
+ # Required. Defines the hostname or IP of the LDAP server. Port is optional and
3168
+ # will default to 389, if unspecified. For example, "ldap.server.example" or "10.
3169
+ # 10.10.10:389".
3170
+ # Corresponds to the JSON property `host`
3171
+ # @return [String]
3172
+ attr_accessor :host
3173
+
3174
+ def initialize(**args)
3175
+ update!(**args)
3176
+ end
3177
+
3178
+ # Update properties of this object
3179
+ def update!(**args)
3180
+ @certificate_authority_data = args[:certificate_authority_data] if args.key?(:certificate_authority_data)
3181
+ @connection_type = args[:connection_type] if args.key?(:connection_type)
3182
+ @host = args[:host] if args.key?(:host)
3183
+ end
3184
+ end
3185
+
3186
+ # Contains the credentials of the service account which is authorized to perform
3187
+ # the LDAP search in the directory. The credentials can be supplied by the
3188
+ # combination of the DN and password or the client certificate.
3189
+ class IdentityServiceServiceAccountConfig
3190
+ include Google::Apis::Core::Hashable
3191
+
3192
+ # The structure holds the LDAP simple binding credential.
3193
+ # Corresponds to the JSON property `simpleBindCredentials`
3194
+ # @return [Google::Apis::GkehubV1beta::IdentityServiceSimpleBindCredentials]
3195
+ attr_accessor :simple_bind_credentials
3196
+
3197
+ def initialize(**args)
3198
+ update!(**args)
3199
+ end
3200
+
3201
+ # Update properties of this object
3202
+ def update!(**args)
3203
+ @simple_bind_credentials = args[:simple_bind_credentials] if args.key?(:simple_bind_credentials)
3204
+ end
3205
+ end
3206
+
3207
+ # The structure holds the LDAP simple binding credential.
3208
+ class IdentityServiceSimpleBindCredentials
3209
+ include Google::Apis::Core::Hashable
3210
+
3211
+ # Required. The distinguished name(DN) of the service account object/user.
3212
+ # Corresponds to the JSON property `dn`
3213
+ # @return [String]
3214
+ attr_accessor :dn
3215
+
3216
+ # Output only. The encrypted password of the service account object/user.
3217
+ # Corresponds to the JSON property `encryptedPassword`
3218
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3219
+ # @return [String]
3220
+ attr_accessor :encrypted_password
3221
+
3222
+ # Required. Input only. The password of the service account object/user.
3223
+ # Corresponds to the JSON property `password`
3224
+ # @return [String]
3225
+ attr_accessor :password
3226
+
3227
+ def initialize(**args)
3228
+ update!(**args)
3229
+ end
3230
+
3231
+ # Update properties of this object
3232
+ def update!(**args)
3233
+ @dn = args[:dn] if args.key?(:dn)
3234
+ @encrypted_password = args[:encrypted_password] if args.key?(:encrypted_password)
3235
+ @password = args[:password] if args.key?(:password)
3236
+ end
3237
+ end
3238
+
3239
+ # Defines where users exist in the LDAP directory.
3240
+ class IdentityServiceUserConfig
3241
+ include Google::Apis::Core::Hashable
3242
+
3243
+ # Required. The location of the subtree in the LDAP directory to search for user
3244
+ # entries.
3245
+ # Corresponds to the JSON property `baseDn`
3246
+ # @return [String]
3247
+ attr_accessor :base_dn
3248
+
3249
+ # Optional. Filter to apply when searching for the user. This can be used to
3250
+ # further restrict the user accounts which are allowed to login. This defaults
3251
+ # to "(objectClass=User)".
3252
+ # Corresponds to the JSON property `filter`
3253
+ # @return [String]
3254
+ attr_accessor :filter
3255
+
3256
+ # Optional. Determines which attribute to use as the user's identity after they
3257
+ # are authenticated. This is distinct from the loginAttribute field to allow
3258
+ # users to login with a username, but then have their actual identifier be an
3259
+ # email address or full Distinguished Name (DN). For example, setting
3260
+ # loginAttribute to "sAMAccountName" and identifierAttribute to "
3261
+ # userPrincipalName" would allow a user to login as "bsmith", but actual RBAC
3262
+ # policies for the user would be written as "bsmith@example.com". Using "
3263
+ # userPrincipalName" is recommended since this will be unique for each user.
3264
+ # This defaults to "userPrincipalName".
3265
+ # Corresponds to the JSON property `idAttribute`
3266
+ # @return [String]
3267
+ attr_accessor :id_attribute
3268
+
3269
+ # Optional. The name of the attribute which matches against the input username.
3270
+ # This is used to find the user in the LDAP database e.g. "(=)" and is combined
3271
+ # with the optional filter field. This defaults to "userPrincipalName".
3272
+ # Corresponds to the JSON property `loginAttribute`
3273
+ # @return [String]
3274
+ attr_accessor :login_attribute
3275
+
3276
+ def initialize(**args)
3277
+ update!(**args)
3278
+ end
3279
+
3280
+ # Update properties of this object
3281
+ def update!(**args)
3282
+ @base_dn = args[:base_dn] if args.key?(:base_dn)
3283
+ @filter = args[:filter] if args.key?(:filter)
3284
+ @id_attribute = args[:id_attribute] if args.key?(:id_attribute)
3285
+ @login_attribute = args[:login_attribute] if args.key?(:login_attribute)
3286
+ end
3287
+ end
3288
+
3064
3289
  # KubernetesMetadata provides informational metadata for Memberships
3065
3290
  # representing Kubernetes clusters.
3066
3291
  class KubernetesMetadata
@@ -3172,6 +3397,39 @@ module Google
3172
3397
  end
3173
3398
  end
3174
3399
 
3400
+ # List of Memberships bound to a Scope.
3401
+ class ListBoundMembershipsResponse
3402
+ include Google::Apis::Core::Hashable
3403
+
3404
+ # The list of Memberships bound to the given Scope.
3405
+ # Corresponds to the JSON property `memberships`
3406
+ # @return [Array<Google::Apis::GkehubV1beta::Membership>]
3407
+ attr_accessor :memberships
3408
+
3409
+ # A token to request the next page of resources from the `ListBoundMemberships`
3410
+ # method. The value of an empty string means that there are no more resources to
3411
+ # return.
3412
+ # Corresponds to the JSON property `nextPageToken`
3413
+ # @return [String]
3414
+ attr_accessor :next_page_token
3415
+
3416
+ # List of locations that could not be reached while fetching this list.
3417
+ # Corresponds to the JSON property `unreachable`
3418
+ # @return [Array<String>]
3419
+ attr_accessor :unreachable
3420
+
3421
+ def initialize(**args)
3422
+ update!(**args)
3423
+ end
3424
+
3425
+ # Update properties of this object
3426
+ def update!(**args)
3427
+ @memberships = args[:memberships] if args.key?(:memberships)
3428
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3429
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3430
+ end
3431
+ end
3432
+
3175
3433
  # Response message for the `GkeHub.ListFeatures` method.
3176
3434
  class ListFeaturesResponse
3177
3435
  include Google::Apis::Core::Hashable
@@ -3362,6 +3620,33 @@ module Google
3362
3620
  end
3363
3621
  end
3364
3622
 
3623
+ # List of permitted Scopes.
3624
+ class ListPermittedScopesResponse
3625
+ include Google::Apis::Core::Hashable
3626
+
3627
+ # A token to request the next page of resources from the `ListPermittedScopes`
3628
+ # method. The value of an empty string means that there are no more resources to
3629
+ # return.
3630
+ # Corresponds to the JSON property `nextPageToken`
3631
+ # @return [String]
3632
+ attr_accessor :next_page_token
3633
+
3634
+ # The list of permitted Scopes
3635
+ # Corresponds to the JSON property `scopes`
3636
+ # @return [Array<Google::Apis::GkehubV1beta::Scope>]
3637
+ attr_accessor :scopes
3638
+
3639
+ def initialize(**args)
3640
+ update!(**args)
3641
+ end
3642
+
3643
+ # Update properties of this object
3644
+ def update!(**args)
3645
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3646
+ @scopes = args[:scopes] if args.key?(:scopes)
3647
+ end
3648
+ end
3649
+
3365
3650
  # List of fleet namespaces.
3366
3651
  class ListScopeNamespacesResponse
3367
3652
  include Google::Apis::Core::Hashable
@@ -5218,6 +5503,44 @@ module Google
5218
5503
  end
5219
5504
  end
5220
5505
 
5506
+ # Condition being reported.
5507
+ class ServiceMeshCondition
5508
+ include Google::Apis::Core::Hashable
5509
+
5510
+ # Unique identifier of the condition which describes the condition recognizable
5511
+ # to the user.
5512
+ # Corresponds to the JSON property `code`
5513
+ # @return [String]
5514
+ attr_accessor :code
5515
+
5516
+ # A short summary about the issue.
5517
+ # Corresponds to the JSON property `details`
5518
+ # @return [String]
5519
+ attr_accessor :details
5520
+
5521
+ # Links contains actionable information.
5522
+ # Corresponds to the JSON property `documentationLink`
5523
+ # @return [String]
5524
+ attr_accessor :documentation_link
5525
+
5526
+ # Severity level of the condition.
5527
+ # Corresponds to the JSON property `severity`
5528
+ # @return [String]
5529
+ attr_accessor :severity
5530
+
5531
+ def initialize(**args)
5532
+ update!(**args)
5533
+ end
5534
+
5535
+ # Update properties of this object
5536
+ def update!(**args)
5537
+ @code = args[:code] if args.key?(:code)
5538
+ @details = args[:details] if args.key?(:details)
5539
+ @documentation_link = args[:documentation_link] if args.key?(:documentation_link)
5540
+ @severity = args[:severity] if args.key?(:severity)
5541
+ end
5542
+ end
5543
+
5221
5544
  # Status of control plane management.
5222
5545
  class ServiceMeshControlPlaneManagement
5223
5546
  include Google::Apis::Core::Hashable
@@ -5299,6 +5622,11 @@ module Google
5299
5622
  class ServiceMeshMembershipState
5300
5623
  include Google::Apis::Core::Hashable
5301
5624
 
5625
+ # Output only. List of condition reporting membership statues
5626
+ # Corresponds to the JSON property `conditions`
5627
+ # @return [Array<Google::Apis::GkehubV1beta::ServiceMeshCondition>]
5628
+ attr_accessor :conditions
5629
+
5302
5630
  # Status of control plane management.
5303
5631
  # Corresponds to the JSON property `controlPlaneManagement`
5304
5632
  # @return [Google::Apis::GkehubV1beta::ServiceMeshControlPlaneManagement]
@@ -5315,6 +5643,7 @@ module Google
5315
5643
 
5316
5644
  # Update properties of this object
5317
5645
  def update!(**args)
5646
+ @conditions = args[:conditions] if args.key?(:conditions)
5318
5647
  @control_plane_management = args[:control_plane_management] if args.key?(:control_plane_management)
5319
5648
  @data_plane_management = args[:data_plane_management] if args.key?(:data_plane_management)
5320
5649
  end
@@ -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.71.0"
19
+ GEM_VERSION = "0.73.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 = "20240322"
26
26
  end
27
27
  end
28
28
  end
@@ -514,6 +514,18 @@ module Google
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
+ class IdentityServiceGroupConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class IdentityServiceLdapConfig
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
517
529
  class IdentityServiceMembershipSpec
518
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
531
 
@@ -538,6 +550,30 @@ module Google
538
550
  include Google::Apis::Core::JsonObjectSupport
539
551
  end
540
552
 
553
+ class IdentityServiceServerConfig
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class IdentityServiceServiceAccountConfig
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class IdentityServiceSimpleBindCredentials
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class IdentityServiceUserConfig
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
541
577
  class KubernetesMetadata
542
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
579
 
@@ -550,6 +586,12 @@ module Google
550
586
  include Google::Apis::Core::JsonObjectSupport
551
587
  end
552
588
 
589
+ class ListBoundMembershipsResponse
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
553
595
  class ListFeaturesResponse
554
596
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
597
 
@@ -592,6 +634,12 @@ module Google
592
634
  include Google::Apis::Core::JsonObjectSupport
593
635
  end
594
636
 
637
+ class ListPermittedScopesResponse
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
595
643
  class ListScopeNamespacesResponse
596
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
645
 
@@ -874,6 +922,12 @@ module Google
874
922
  include Google::Apis::Core::JsonObjectSupport
875
923
  end
876
924
 
925
+ class ServiceMeshCondition
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
877
931
  class ServiceMeshControlPlaneManagement
878
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
933
 
@@ -1726,6 +1780,8 @@ module Google
1726
1780
 
1727
1781
  property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1beta::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceGoogleConfig::Representation
1728
1782
 
1783
+ property :ldap_config, as: 'ldapConfig', class: Google::Apis::GkehubV1beta::IdentityServiceLdapConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceLdapConfig::Representation
1784
+
1729
1785
  property :name, as: 'name'
1730
1786
  property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceOidcConfig::Representation
1731
1787
 
@@ -1755,6 +1811,29 @@ module Google
1755
1811
  end
1756
1812
  end
1757
1813
 
1814
+ class IdentityServiceGroupConfig
1815
+ # @private
1816
+ class Representation < Google::Apis::Core::JsonRepresentation
1817
+ property :base_dn, as: 'baseDn'
1818
+ property :filter, as: 'filter'
1819
+ property :id_attribute, as: 'idAttribute'
1820
+ end
1821
+ end
1822
+
1823
+ class IdentityServiceLdapConfig
1824
+ # @private
1825
+ class Representation < Google::Apis::Core::JsonRepresentation
1826
+ property :group, as: 'group', class: Google::Apis::GkehubV1beta::IdentityServiceGroupConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceGroupConfig::Representation
1827
+
1828
+ property :server, as: 'server', class: Google::Apis::GkehubV1beta::IdentityServiceServerConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceServerConfig::Representation
1829
+
1830
+ property :service_account, as: 'serviceAccount', class: Google::Apis::GkehubV1beta::IdentityServiceServiceAccountConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceServiceAccountConfig::Representation
1831
+
1832
+ property :user, as: 'user', class: Google::Apis::GkehubV1beta::IdentityServiceUserConfig, decorator: Google::Apis::GkehubV1beta::IdentityServiceUserConfig::Representation
1833
+
1834
+ end
1835
+ end
1836
+
1758
1837
  class IdentityServiceMembershipSpec
1759
1838
  # @private
1760
1839
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1808,6 +1887,42 @@ module Google
1808
1887
  end
1809
1888
  end
1810
1889
 
1890
+ class IdentityServiceServerConfig
1891
+ # @private
1892
+ class Representation < Google::Apis::Core::JsonRepresentation
1893
+ property :certificate_authority_data, :base64 => true, as: 'certificateAuthorityData'
1894
+ property :connection_type, as: 'connectionType'
1895
+ property :host, as: 'host'
1896
+ end
1897
+ end
1898
+
1899
+ class IdentityServiceServiceAccountConfig
1900
+ # @private
1901
+ class Representation < Google::Apis::Core::JsonRepresentation
1902
+ property :simple_bind_credentials, as: 'simpleBindCredentials', class: Google::Apis::GkehubV1beta::IdentityServiceSimpleBindCredentials, decorator: Google::Apis::GkehubV1beta::IdentityServiceSimpleBindCredentials::Representation
1903
+
1904
+ end
1905
+ end
1906
+
1907
+ class IdentityServiceSimpleBindCredentials
1908
+ # @private
1909
+ class Representation < Google::Apis::Core::JsonRepresentation
1910
+ property :dn, as: 'dn'
1911
+ property :encrypted_password, :base64 => true, as: 'encryptedPassword'
1912
+ property :password, as: 'password'
1913
+ end
1914
+ end
1915
+
1916
+ class IdentityServiceUserConfig
1917
+ # @private
1918
+ class Representation < Google::Apis::Core::JsonRepresentation
1919
+ property :base_dn, as: 'baseDn'
1920
+ property :filter, as: 'filter'
1921
+ property :id_attribute, as: 'idAttribute'
1922
+ property :login_attribute, as: 'loginAttribute'
1923
+ end
1924
+ end
1925
+
1811
1926
  class KubernetesMetadata
1812
1927
  # @private
1813
1928
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1833,6 +1948,16 @@ module Google
1833
1948
  end
1834
1949
  end
1835
1950
 
1951
+ class ListBoundMembershipsResponse
1952
+ # @private
1953
+ class Representation < Google::Apis::Core::JsonRepresentation
1954
+ collection :memberships, as: 'memberships', class: Google::Apis::GkehubV1beta::Membership, decorator: Google::Apis::GkehubV1beta::Membership::Representation
1955
+
1956
+ property :next_page_token, as: 'nextPageToken'
1957
+ collection :unreachable, as: 'unreachable'
1958
+ end
1959
+ end
1960
+
1836
1961
  class ListFeaturesResponse
1837
1962
  # @private
1838
1963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1897,6 +2022,15 @@ module Google
1897
2022
  end
1898
2023
  end
1899
2024
 
2025
+ class ListPermittedScopesResponse
2026
+ # @private
2027
+ class Representation < Google::Apis::Core::JsonRepresentation
2028
+ property :next_page_token, as: 'nextPageToken'
2029
+ collection :scopes, as: 'scopes', class: Google::Apis::GkehubV1beta::Scope, decorator: Google::Apis::GkehubV1beta::Scope::Representation
2030
+
2031
+ end
2032
+ end
2033
+
1900
2034
  class ListScopeNamespacesResponse
1901
2035
  # @private
1902
2036
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2405,6 +2539,16 @@ module Google
2405
2539
  end
2406
2540
  end
2407
2541
 
2542
+ class ServiceMeshCondition
2543
+ # @private
2544
+ class Representation < Google::Apis::Core::JsonRepresentation
2545
+ property :code, as: 'code'
2546
+ property :details, as: 'details'
2547
+ property :documentation_link, as: 'documentationLink'
2548
+ property :severity, as: 'severity'
2549
+ end
2550
+ end
2551
+
2408
2552
  class ServiceMeshControlPlaneManagement
2409
2553
  # @private
2410
2554
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2434,6 +2578,8 @@ module Google
2434
2578
  class ServiceMeshMembershipState
2435
2579
  # @private
2436
2580
  class Representation < Google::Apis::Core::JsonRepresentation
2581
+ collection :conditions, as: 'conditions', class: Google::Apis::GkehubV1beta::ServiceMeshCondition, decorator: Google::Apis::GkehubV1beta::ServiceMeshCondition::Representation
2582
+
2437
2583
  property :control_plane_management, as: 'controlPlaneManagement', class: Google::Apis::GkehubV1beta::ServiceMeshControlPlaneManagement, decorator: Google::Apis::GkehubV1beta::ServiceMeshControlPlaneManagement::Representation
2438
2584
 
2439
2585
  property :data_plane_management, as: 'dataPlaneManagement', class: Google::Apis::GkehubV1beta::ServiceMeshDataPlaneManagement, decorator: Google::Apis::GkehubV1beta::ServiceMeshDataPlaneManagement::Representation
@@ -1847,6 +1847,96 @@ module Google
1847
1847
  execute_or_queue_command(command, &block)
1848
1848
  end
1849
1849
 
1850
+ # Lists Memberships bound to a Scope. The response includes relevant Memberships
1851
+ # from all regions.
1852
+ # @param [String] scope_name
1853
+ # Required. Name of the Scope, in the format `projects/*/locations/global/scopes/
1854
+ # *`, to which the Memberships are bound.
1855
+ # @param [String] filter
1856
+ # Optional. Lists Memberships that match the filter expression, following the
1857
+ # syntax outlined in https://google.aip.dev/160. Currently, filtering can be
1858
+ # done only based on Memberships's `name`, `labels`, `create_time`, `update_time`
1859
+ # , and `unique_id`.
1860
+ # @param [Fixnum] page_size
1861
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1862
+ # of resources to return. If unspecified or set to 0, all resources will be
1863
+ # returned. Pagination is currently not supported; therefore, setting this field
1864
+ # does not have any impact for now.
1865
+ # @param [String] page_token
1866
+ # Optional. Token returned by previous call to `ListBoundMemberships` which
1867
+ # specifies the position in the list from where to continue listing the
1868
+ # resources.
1869
+ # @param [String] fields
1870
+ # Selector specifying which fields to include in a partial response.
1871
+ # @param [String] quota_user
1872
+ # Available to use for quota purposes for server-side applications. Can be any
1873
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1874
+ # @param [Google::Apis::RequestOptions] options
1875
+ # Request-specific options
1876
+ #
1877
+ # @yield [result, err] Result & error if block supplied
1878
+ # @yieldparam result [Google::Apis::GkehubV1beta::ListBoundMembershipsResponse] parsed result object
1879
+ # @yieldparam err [StandardError] error object if request failed
1880
+ #
1881
+ # @return [Google::Apis::GkehubV1beta::ListBoundMembershipsResponse]
1882
+ #
1883
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1884
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1885
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1886
+ def list_project_location_scope_memberships(scope_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1887
+ command = make_simple_command(:get, 'v1beta/{+scopeName}:listMemberships', options)
1888
+ command.response_representation = Google::Apis::GkehubV1beta::ListBoundMembershipsResponse::Representation
1889
+ command.response_class = Google::Apis::GkehubV1beta::ListBoundMembershipsResponse
1890
+ command.params['scopeName'] = scope_name unless scope_name.nil?
1891
+ command.query['filter'] = filter unless filter.nil?
1892
+ command.query['pageSize'] = page_size unless page_size.nil?
1893
+ command.query['pageToken'] = page_token unless page_token.nil?
1894
+ command.query['fields'] = fields unless fields.nil?
1895
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1896
+ execute_or_queue_command(command, &block)
1897
+ end
1898
+
1899
+ # Lists permitted Scopes.
1900
+ # @param [String] parent
1901
+ # Required. The parent (project and location) where the Scope will be listed.
1902
+ # Specified in the format `projects/*/locations/*`.
1903
+ # @param [Fixnum] page_size
1904
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1905
+ # of resources to return. If unspecified or set to 0, all resources will be
1906
+ # returned.
1907
+ # @param [String] page_token
1908
+ # Optional. Token returned by previous call to `ListPermittedScopes` which
1909
+ # specifies the position in the list from where to continue listing the
1910
+ # resources.
1911
+ # @param [String] fields
1912
+ # Selector specifying which fields to include in a partial response.
1913
+ # @param [String] quota_user
1914
+ # Available to use for quota purposes for server-side applications. Can be any
1915
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1916
+ # @param [Google::Apis::RequestOptions] options
1917
+ # Request-specific options
1918
+ #
1919
+ # @yield [result, err] Result & error if block supplied
1920
+ # @yieldparam result [Google::Apis::GkehubV1beta::ListPermittedScopesResponse] parsed result object
1921
+ # @yieldparam err [StandardError] error object if request failed
1922
+ #
1923
+ # @return [Google::Apis::GkehubV1beta::ListPermittedScopesResponse]
1924
+ #
1925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1928
+ def list_project_location_scope_permitted(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1929
+ command = make_simple_command(:get, 'v1beta/{+parent}/scopes:listPermitted', options)
1930
+ command.response_representation = Google::Apis::GkehubV1beta::ListPermittedScopesResponse::Representation
1931
+ command.response_class = Google::Apis::GkehubV1beta::ListPermittedScopesResponse
1932
+ command.params['parent'] = parent unless parent.nil?
1933
+ command.query['pageSize'] = page_size unless page_size.nil?
1934
+ command.query['pageToken'] = page_token unless page_token.nil?
1935
+ command.query['fields'] = fields unless fields.nil?
1936
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1937
+ execute_or_queue_command(command, &block)
1938
+ end
1939
+
1850
1940
  # Updates a scopes.
1851
1941
  # @param [String] name
1852
1942
  # 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_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.71.0
4
+ version: 0.73.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-31 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.71.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.73.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: []