google-apis-gkehub_v1alpha 0.75.0 → 0.77.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65d8ec76342f9000f9fa7402d46478aefe45148f84b25c0c2649cb283e6a8e52
|
4
|
+
data.tar.gz: 72430d5414b570dbc138a55760ada7c9b09f5d1b75bfaae6626b6fe5e8590319
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d53aa24ca2a671b4433e9b3c7a2956c90571bfb6b31b70468287c7788650e68fdbac26048d62871a8fd608d104d5585957ee4981fe4e97c50e9508497248d9f
|
7
|
+
data.tar.gz: 34847f168339ea45b5bee001f3937231804298c07c5878094c2a7a18d62188a9987c4376b4cf1d603dbd322a61818dff5239c957711cd5a96f251d483b0d51f6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.77.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240229
|
6
|
+
|
7
|
+
### v0.76.0 (2024-03-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240225
|
10
|
+
|
3
11
|
### v0.75.0 (2024-02-24)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.14.0
|
@@ -2922,6 +2922,11 @@ module Google
|
|
2922
2922
|
# @return [String]
|
2923
2923
|
attr_accessor :proxy
|
2924
2924
|
|
2925
|
+
# Configuration for the SAML Auth flow.
|
2926
|
+
# Corresponds to the JSON property `samlConfig`
|
2927
|
+
# @return [Google::Apis::GkehubV1alpha::IdentityServiceSamlConfig]
|
2928
|
+
attr_accessor :saml_config
|
2929
|
+
|
2925
2930
|
def initialize(**args)
|
2926
2931
|
update!(**args)
|
2927
2932
|
end
|
@@ -2933,6 +2938,7 @@ module Google
|
|
2933
2938
|
@name = args[:name] if args.key?(:name)
|
2934
2939
|
@oidc_config = args[:oidc_config] if args.key?(:oidc_config)
|
2935
2940
|
@proxy = args[:proxy] if args.key?(:proxy)
|
2941
|
+
@saml_config = args[:saml_config] if args.key?(:saml_config)
|
2936
2942
|
end
|
2937
2943
|
end
|
2938
2944
|
|
@@ -2958,6 +2964,11 @@ module Google
|
|
2958
2964
|
# @return [String]
|
2959
2965
|
attr_accessor :encrypted_client_secret
|
2960
2966
|
|
2967
|
+
# Optional. Format of the AzureAD groups that the client wants for auth.
|
2968
|
+
# Corresponds to the JSON property `groupFormat`
|
2969
|
+
# @return [String]
|
2970
|
+
attr_accessor :group_format
|
2971
|
+
|
2961
2972
|
# The redirect URL that kubectl uses for authorization.
|
2962
2973
|
# Corresponds to the JSON property `kubectlRedirectUri`
|
2963
2974
|
# @return [String]
|
@@ -2969,6 +2980,11 @@ module Google
|
|
2969
2980
|
# @return [String]
|
2970
2981
|
attr_accessor :tenant
|
2971
2982
|
|
2983
|
+
# Optional. Claim in the AzureAD ID Token that holds the user details.
|
2984
|
+
# Corresponds to the JSON property `userClaim`
|
2985
|
+
# @return [String]
|
2986
|
+
attr_accessor :user_claim
|
2987
|
+
|
2972
2988
|
def initialize(**args)
|
2973
2989
|
update!(**args)
|
2974
2990
|
end
|
@@ -2978,8 +2994,10 @@ module Google
|
|
2978
2994
|
@client_id = args[:client_id] if args.key?(:client_id)
|
2979
2995
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
2980
2996
|
@encrypted_client_secret = args[:encrypted_client_secret] if args.key?(:encrypted_client_secret)
|
2997
|
+
@group_format = args[:group_format] if args.key?(:group_format)
|
2981
2998
|
@kubectl_redirect_uri = args[:kubectl_redirect_uri] if args.key?(:kubectl_redirect_uri)
|
2982
2999
|
@tenant = args[:tenant] if args.key?(:tenant)
|
3000
|
+
@user_claim = args[:user_claim] if args.key?(:user_claim)
|
2983
3001
|
end
|
2984
3002
|
end
|
2985
3003
|
|
@@ -3163,6 +3181,76 @@ module Google
|
|
3163
3181
|
end
|
3164
3182
|
end
|
3165
3183
|
|
3184
|
+
# Configuration for the SAML Auth flow.
|
3185
|
+
class IdentityServiceSamlConfig
|
3186
|
+
include Google::Apis::Core::Hashable
|
3187
|
+
|
3188
|
+
# Optional. The mapping of additional user attributes like nickname, birthday
|
3189
|
+
# and address etc.. `key` is the name of this additional attribute. `value` is a
|
3190
|
+
# string presenting as CEL(common expression language, go/cel) used for getting
|
3191
|
+
# the value from the resources. Take nickname as an example, in this case, `key`
|
3192
|
+
# is "attribute.nickname" and `value` is "assertion.nickname".
|
3193
|
+
# Corresponds to the JSON property `attributeMapping`
|
3194
|
+
# @return [Hash<String,String>]
|
3195
|
+
attr_accessor :attribute_mapping
|
3196
|
+
|
3197
|
+
# Optional. Prefix to prepend to group name.
|
3198
|
+
# Corresponds to the JSON property `groupPrefix`
|
3199
|
+
# @return [String]
|
3200
|
+
attr_accessor :group_prefix
|
3201
|
+
|
3202
|
+
# Optional. The SAML attribute to read groups from. This value is expected to be
|
3203
|
+
# a string and will be passed along as-is (with the option of being prefixed by
|
3204
|
+
# the `group_prefix`).
|
3205
|
+
# Corresponds to the JSON property `groupsAttribute`
|
3206
|
+
# @return [String]
|
3207
|
+
attr_accessor :groups_attribute
|
3208
|
+
|
3209
|
+
# Required. The list of IdP certificates to validate the SAML response against.
|
3210
|
+
# Corresponds to the JSON property `identityProviderCertificates`
|
3211
|
+
# @return [Array<String>]
|
3212
|
+
attr_accessor :identity_provider_certificates
|
3213
|
+
|
3214
|
+
# Required. The entity ID of the SAML IdP.
|
3215
|
+
# Corresponds to the JSON property `identityProviderId`
|
3216
|
+
# @return [String]
|
3217
|
+
attr_accessor :identity_provider_id
|
3218
|
+
|
3219
|
+
# Required. The URI where the SAML IdP exposes the SSO service.
|
3220
|
+
# Corresponds to the JSON property `identityProviderSsoUri`
|
3221
|
+
# @return [String]
|
3222
|
+
attr_accessor :identity_provider_sso_uri
|
3223
|
+
|
3224
|
+
# Optional. The SAML attribute to read username from. If unspecified, the
|
3225
|
+
# username will be read from the NameID element of the assertion in SAML
|
3226
|
+
# response. This value is expected to be a string and will be passed along as-is
|
3227
|
+
# (with the option of being prefixed by the `user_prefix`).
|
3228
|
+
# Corresponds to the JSON property `userAttribute`
|
3229
|
+
# @return [String]
|
3230
|
+
attr_accessor :user_attribute
|
3231
|
+
|
3232
|
+
# Optional. Prefix to prepend to user name.
|
3233
|
+
# Corresponds to the JSON property `userPrefix`
|
3234
|
+
# @return [String]
|
3235
|
+
attr_accessor :user_prefix
|
3236
|
+
|
3237
|
+
def initialize(**args)
|
3238
|
+
update!(**args)
|
3239
|
+
end
|
3240
|
+
|
3241
|
+
# Update properties of this object
|
3242
|
+
def update!(**args)
|
3243
|
+
@attribute_mapping = args[:attribute_mapping] if args.key?(:attribute_mapping)
|
3244
|
+
@group_prefix = args[:group_prefix] if args.key?(:group_prefix)
|
3245
|
+
@groups_attribute = args[:groups_attribute] if args.key?(:groups_attribute)
|
3246
|
+
@identity_provider_certificates = args[:identity_provider_certificates] if args.key?(:identity_provider_certificates)
|
3247
|
+
@identity_provider_id = args[:identity_provider_id] if args.key?(:identity_provider_id)
|
3248
|
+
@identity_provider_sso_uri = args[:identity_provider_sso_uri] if args.key?(:identity_provider_sso_uri)
|
3249
|
+
@user_attribute = args[:user_attribute] if args.key?(:user_attribute)
|
3250
|
+
@user_prefix = args[:user_prefix] if args.key?(:user_prefix)
|
3251
|
+
end
|
3252
|
+
end
|
3253
|
+
|
3166
3254
|
# KubernetesMetadata provides informational metadata for Memberships
|
3167
3255
|
# representing Kubernetes clusters.
|
3168
3256
|
class KubernetesMetadata
|
@@ -3307,6 +3395,39 @@ module Google
|
|
3307
3395
|
end
|
3308
3396
|
end
|
3309
3397
|
|
3398
|
+
# List of Memberships bound to a Scope.
|
3399
|
+
class ListBoundMembershipsResponse
|
3400
|
+
include Google::Apis::Core::Hashable
|
3401
|
+
|
3402
|
+
# The list of Memberships bound to the given Scope.
|
3403
|
+
# Corresponds to the JSON property `memberships`
|
3404
|
+
# @return [Array<Google::Apis::GkehubV1alpha::Membership>]
|
3405
|
+
attr_accessor :memberships
|
3406
|
+
|
3407
|
+
# A token to request the next page of resources from the `ListBoundMemberships`
|
3408
|
+
# method. The value of an empty string means that there are no more resources to
|
3409
|
+
# return.
|
3410
|
+
# Corresponds to the JSON property `nextPageToken`
|
3411
|
+
# @return [String]
|
3412
|
+
attr_accessor :next_page_token
|
3413
|
+
|
3414
|
+
# List of locations that could not be reached while fetching this list.
|
3415
|
+
# Corresponds to the JSON property `unreachable`
|
3416
|
+
# @return [Array<String>]
|
3417
|
+
attr_accessor :unreachable
|
3418
|
+
|
3419
|
+
def initialize(**args)
|
3420
|
+
update!(**args)
|
3421
|
+
end
|
3422
|
+
|
3423
|
+
# Update properties of this object
|
3424
|
+
def update!(**args)
|
3425
|
+
@memberships = args[:memberships] if args.key?(:memberships)
|
3426
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3427
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3428
|
+
end
|
3429
|
+
end
|
3430
|
+
|
3310
3431
|
# Response message for the `GkeHub.ListFeatures` method.
|
3311
3432
|
class ListFeaturesResponse
|
3312
3433
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.77.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 = "20240229"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -562,6 +562,12 @@ module Google
|
|
562
562
|
include Google::Apis::Core::JsonObjectSupport
|
563
563
|
end
|
564
564
|
|
565
|
+
class IdentityServiceSamlConfig
|
566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
|
+
|
568
|
+
include Google::Apis::Core::JsonObjectSupport
|
569
|
+
end
|
570
|
+
|
565
571
|
class KubernetesMetadata
|
566
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
567
573
|
|
@@ -580,6 +586,12 @@ module Google
|
|
580
586
|
include Google::Apis::Core::JsonObjectSupport
|
581
587
|
end
|
582
588
|
|
589
|
+
class ListBoundMembershipsResponse
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
583
595
|
class ListFeaturesResponse
|
584
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
597
|
|
@@ -1889,6 +1901,8 @@ module Google
|
|
1889
1901
|
property :oidc_config, as: 'oidcConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceOidcConfig::Representation
|
1890
1902
|
|
1891
1903
|
property :proxy, as: 'proxy'
|
1904
|
+
property :saml_config, as: 'samlConfig', class: Google::Apis::GkehubV1alpha::IdentityServiceSamlConfig, decorator: Google::Apis::GkehubV1alpha::IdentityServiceSamlConfig::Representation
|
1905
|
+
|
1892
1906
|
end
|
1893
1907
|
end
|
1894
1908
|
|
@@ -1898,8 +1912,10 @@ module Google
|
|
1898
1912
|
property :client_id, as: 'clientId'
|
1899
1913
|
property :client_secret, as: 'clientSecret'
|
1900
1914
|
property :encrypted_client_secret, :base64 => true, as: 'encryptedClientSecret'
|
1915
|
+
property :group_format, as: 'groupFormat'
|
1901
1916
|
property :kubectl_redirect_uri, as: 'kubectlRedirectUri'
|
1902
1917
|
property :tenant, as: 'tenant'
|
1918
|
+
property :user_claim, as: 'userClaim'
|
1903
1919
|
end
|
1904
1920
|
end
|
1905
1921
|
|
@@ -1949,6 +1965,20 @@ module Google
|
|
1949
1965
|
end
|
1950
1966
|
end
|
1951
1967
|
|
1968
|
+
class IdentityServiceSamlConfig
|
1969
|
+
# @private
|
1970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1971
|
+
hash :attribute_mapping, as: 'attributeMapping'
|
1972
|
+
property :group_prefix, as: 'groupPrefix'
|
1973
|
+
property :groups_attribute, as: 'groupsAttribute'
|
1974
|
+
collection :identity_provider_certificates, as: 'identityProviderCertificates'
|
1975
|
+
property :identity_provider_id, as: 'identityProviderId'
|
1976
|
+
property :identity_provider_sso_uri, as: 'identityProviderSsoUri'
|
1977
|
+
property :user_attribute, as: 'userAttribute'
|
1978
|
+
property :user_prefix, as: 'userPrefix'
|
1979
|
+
end
|
1980
|
+
end
|
1981
|
+
|
1952
1982
|
class KubernetesMetadata
|
1953
1983
|
# @private
|
1954
1984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1984,6 +2014,16 @@ module Google
|
|
1984
2014
|
end
|
1985
2015
|
end
|
1986
2016
|
|
2017
|
+
class ListBoundMembershipsResponse
|
2018
|
+
# @private
|
2019
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2020
|
+
collection :memberships, as: 'memberships', class: Google::Apis::GkehubV1alpha::Membership, decorator: Google::Apis::GkehubV1alpha::Membership::Representation
|
2021
|
+
|
2022
|
+
property :next_page_token, as: 'nextPageToken'
|
2023
|
+
collection :unreachable, as: 'unreachable'
|
2024
|
+
end
|
2025
|
+
end
|
2026
|
+
|
1987
2027
|
class ListFeaturesResponse
|
1988
2028
|
# @private
|
1989
2029
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1932,6 +1932,55 @@ module Google
|
|
1932
1932
|
execute_or_queue_command(command, &block)
|
1933
1933
|
end
|
1934
1934
|
|
1935
|
+
# Lists Memberships bound to a Scope. The response includes relevant Memberships
|
1936
|
+
# from all regions.
|
1937
|
+
# @param [String] scope_name
|
1938
|
+
# Required. Name of the Scope, in the format `projects/*/locations/global/scopes/
|
1939
|
+
# *`, to which the Memberships are bound.
|
1940
|
+
# @param [String] filter
|
1941
|
+
# Optional. Lists Memberships that match the filter expression, following the
|
1942
|
+
# syntax outlined in https://google.aip.dev/160. Currently, filtering can be
|
1943
|
+
# done only based on Memberships's `name`, `labels`, `create_time`, `update_time`
|
1944
|
+
# , and `unique_id`.
|
1945
|
+
# @param [Fixnum] page_size
|
1946
|
+
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1947
|
+
# of resources to return. If unspecified or set to 0, all resources will be
|
1948
|
+
# returned. Pagination is currently not supported; therefore, setting this field
|
1949
|
+
# does not have any impact for now.
|
1950
|
+
# @param [String] page_token
|
1951
|
+
# Optional. Token returned by previous call to `ListBoundMemberships` which
|
1952
|
+
# specifies the position in the list from where to continue listing the
|
1953
|
+
# resources.
|
1954
|
+
# @param [String] fields
|
1955
|
+
# Selector specifying which fields to include in a partial response.
|
1956
|
+
# @param [String] quota_user
|
1957
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1958
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1959
|
+
# @param [Google::Apis::RequestOptions] options
|
1960
|
+
# Request-specific options
|
1961
|
+
#
|
1962
|
+
# @yield [result, err] Result & error if block supplied
|
1963
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::ListBoundMembershipsResponse] parsed result object
|
1964
|
+
# @yieldparam err [StandardError] error object if request failed
|
1965
|
+
#
|
1966
|
+
# @return [Google::Apis::GkehubV1alpha::ListBoundMembershipsResponse]
|
1967
|
+
#
|
1968
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1969
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1970
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1971
|
+
def list_project_location_scope_memberships(scope_name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1972
|
+
command = make_simple_command(:get, 'v1alpha/{+scopeName}:listMemberships', options)
|
1973
|
+
command.response_representation = Google::Apis::GkehubV1alpha::ListBoundMembershipsResponse::Representation
|
1974
|
+
command.response_class = Google::Apis::GkehubV1alpha::ListBoundMembershipsResponse
|
1975
|
+
command.params['scopeName'] = scope_name unless scope_name.nil?
|
1976
|
+
command.query['filter'] = filter unless filter.nil?
|
1977
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1978
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1979
|
+
command.query['fields'] = fields unless fields.nil?
|
1980
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1981
|
+
execute_or_queue_command(command, &block)
|
1982
|
+
end
|
1983
|
+
|
1935
1984
|
# Lists permitted Scopes.
|
1936
1985
|
# @param [String] parent
|
1937
1986
|
# Required. The parent (project and location) where the Scope will be listed.
|
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.
|
4
|
+
version: 0.77.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.77.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: []
|