google-apis-gkehub_v1 0.70.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc89251d46bcb07b2b1fbe507e5b75f57a751276d29f7e86cfaa2ea19954e567
|
4
|
+
data.tar.gz: 967d8367b32c0940e47733ba74df93219bb972733a7360a5df55e86cf9d6a687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6425f780db700bcc89c715cebafe89e5fdaae76d79d92881bf366eacb9f4ed7cb3631711bf2199196b4cf25c366ccd3140b597a80ab2cdcd92a9f314080b3171
|
7
|
+
data.tar.gz: 406071146ef1ff3c19d6f148406d5663ccbb8795e301bc6dd9f9fe112053cb0fa9b61f4ec03daababc886ec73cbb1db5881b642b1922169c1c95fd42c849079e
|
data/CHANGELOG.md
CHANGED
@@ -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]
|
@@ -2590,6 +2595,7 @@ module Google
|
|
2590
2595
|
def update!(**args)
|
2591
2596
|
@azuread_config = args[:azuread_config] if args.key?(:azuread_config)
|
2592
2597
|
@google_config = args[:google_config] if args.key?(:google_config)
|
2598
|
+
@ldap_config = args[:ldap_config] if args.key?(:ldap_config)
|
2593
2599
|
@name = args[:name] if args.key?(:name)
|
2594
2600
|
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
2595
2601
|
@proxy = args[:proxy] if args.key?(:proxy)
|
@@ -2676,6 +2682,84 @@ module Google
|
|
2676
2682
|
end
|
2677
2683
|
end
|
2678
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
|
+
|
2679
2763
|
# **Anthos Identity Service**: Configuration for a single Membership.
|
2680
2764
|
class IdentityServiceMembershipSpec
|
2681
2765
|
include Google::Apis::Core::Hashable
|
@@ -2906,6 +2990,147 @@ module Google
|
|
2906
2990
|
end
|
2907
2991
|
end
|
2908
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
|
+
|
2909
3134
|
# KubernetesMetadata provides informational metadata for Memberships
|
2910
3135
|
# representing Kubernetes clusters.
|
2911
3136
|
class KubernetesMetadata
|
@@ -3017,6 +3242,39 @@ module Google
|
|
3017
3242
|
end
|
3018
3243
|
end
|
3019
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
|
+
|
3020
3278
|
# Response message for the `GkeHub.ListFeatures` method.
|
3021
3279
|
class ListFeaturesResponse
|
3022
3280
|
include Google::Apis::Core::Hashable
|
@@ -3180,6 +3438,33 @@ module Google
|
|
3180
3438
|
end
|
3181
3439
|
end
|
3182
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
|
+
|
3183
3468
|
# List of fleet namespaces.
|
3184
3469
|
class ListScopeNamespacesResponse
|
3185
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.
|
19
|
+
GEM_VERSION = "0.71.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 = "
|
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
|
|
@@ -502,6 +514,30 @@ module Google
|
|
502
514
|
include Google::Apis::Core::JsonObjectSupport
|
503
515
|
end
|
504
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
|
+
|
505
541
|
class KubernetesMetadata
|
506
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
543
|
|
@@ -514,6 +550,12 @@ module Google
|
|
514
550
|
include Google::Apis::Core::JsonObjectSupport
|
515
551
|
end
|
516
552
|
|
553
|
+
class ListBoundMembershipsResponse
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
517
559
|
class ListFeaturesResponse
|
518
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
561
|
|
@@ -550,6 +592,12 @@ module Google
|
|
550
592
|
include Google::Apis::Core::JsonObjectSupport
|
551
593
|
end
|
552
594
|
|
595
|
+
class ListPermittedScopesResponse
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
553
601
|
class ListScopeNamespacesResponse
|
554
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
603
|
|
@@ -1619,6 +1667,8 @@ module Google
|
|
1619
1667
|
|
1620
1668
|
property :google_config, as: 'googleConfig', class: Google::Apis::GkehubV1::IdentityServiceGoogleConfig, decorator: Google::Apis::GkehubV1::IdentityServiceGoogleConfig::Representation
|
1621
1669
|
|
1670
|
+
property :ldap_config, as: 'ldapConfig', class: Google::Apis::GkehubV1::IdentityServiceLdapConfig, decorator: Google::Apis::GkehubV1::IdentityServiceLdapConfig::Representation
|
1671
|
+
|
1622
1672
|
property :name, as: 'name'
|
1623
1673
|
property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1::IdentityServiceOidcConfig::Representation
|
1624
1674
|
|
@@ -1648,6 +1698,29 @@ module Google
|
|
1648
1698
|
end
|
1649
1699
|
end
|
1650
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
|
+
|
1651
1724
|
class IdentityServiceMembershipSpec
|
1652
1725
|
# @private
|
1653
1726
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1701,6 +1774,42 @@ module Google
|
|
1701
1774
|
end
|
1702
1775
|
end
|
1703
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
|
+
|
1704
1813
|
class KubernetesMetadata
|
1705
1814
|
# @private
|
1706
1815
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1726,6 +1835,16 @@ module Google
|
|
1726
1835
|
end
|
1727
1836
|
end
|
1728
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
|
+
|
1729
1848
|
class ListFeaturesResponse
|
1730
1849
|
# @private
|
1731
1850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1781,6 +1900,15 @@ module Google
|
|
1781
1900
|
end
|
1782
1901
|
end
|
1783
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
|
+
|
1784
1912
|
class ListScopeNamespacesResponse
|
1785
1913
|
# @private
|
1786
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.
|
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-03-
|
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.
|
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: []
|