google-apis-gkehub_v1alpha 0.74.0 → 0.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/gkehub_v1alpha/classes.rb +33 -0
- data/lib/google/apis/gkehub_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/gkehub_v1alpha/representations.rb +16 -0
- data/lib/google/apis/gkehub_v1alpha/service.rb +49 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c423d720343550769ef4aa8717139ea549b53264881bf873295812ade9dd5af
|
4
|
+
data.tar.gz: b146b72057ff8e38da2f67b8f2d7cc03c7d02e2d6383981ecf23dd5c7cc27aaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c6fc9387e283a6220940ab99375965998035368ea93e3ce5e64162738a4db8c82f0a1e0210dc1d02d2bc716c2190e0c750c6845d82193da03438db95f054dde
|
7
|
+
data.tar.gz: 4c7ac1845e0061e2d6e4e23c769995a426b842bf5145f3b3630e98011d3fc5707bead1de47d3d90c913fbfd80976ed291c9216b73e0f8a2a40ce783404b885f4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.76.0 (2024-03-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240225
|
6
|
+
|
7
|
+
### v0.75.0 (2024-02-24)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.14.0
|
10
|
+
|
3
11
|
### v0.74.0 (2024-02-18)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240209
|
data/OVERVIEW.md
CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/anthos/multicluster-managem
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby 2.
|
86
|
+
This library is supported on Ruby 2.7+.
|
87
87
|
|
88
|
-
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life.
|
88
|
+
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
90
90
|
## License
|
91
91
|
|
@@ -3307,6 +3307,39 @@ module Google
|
|
3307
3307
|
end
|
3308
3308
|
end
|
3309
3309
|
|
3310
|
+
# List of Memberships bound to a Scope.
|
3311
|
+
class ListBoundMembershipsResponse
|
3312
|
+
include Google::Apis::Core::Hashable
|
3313
|
+
|
3314
|
+
# The list of Memberships bound to the given Scope.
|
3315
|
+
# Corresponds to the JSON property `memberships`
|
3316
|
+
# @return [Array<Google::Apis::GkehubV1alpha::Membership>]
|
3317
|
+
attr_accessor :memberships
|
3318
|
+
|
3319
|
+
# A token to request the next page of resources from the `ListBoundMemberships`
|
3320
|
+
# method. The value of an empty string means that there are no more resources to
|
3321
|
+
# return.
|
3322
|
+
# Corresponds to the JSON property `nextPageToken`
|
3323
|
+
# @return [String]
|
3324
|
+
attr_accessor :next_page_token
|
3325
|
+
|
3326
|
+
# List of locations that could not be reached while fetching this list.
|
3327
|
+
# Corresponds to the JSON property `unreachable`
|
3328
|
+
# @return [Array<String>]
|
3329
|
+
attr_accessor :unreachable
|
3330
|
+
|
3331
|
+
def initialize(**args)
|
3332
|
+
update!(**args)
|
3333
|
+
end
|
3334
|
+
|
3335
|
+
# Update properties of this object
|
3336
|
+
def update!(**args)
|
3337
|
+
@memberships = args[:memberships] if args.key?(:memberships)
|
3338
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3339
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3340
|
+
end
|
3341
|
+
end
|
3342
|
+
|
3310
3343
|
# Response message for the `GkeHub.ListFeatures` method.
|
3311
3344
|
class ListFeaturesResponse
|
3312
3345
|
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.76.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240225"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -580,6 +580,12 @@ module Google
|
|
580
580
|
include Google::Apis::Core::JsonObjectSupport
|
581
581
|
end
|
582
582
|
|
583
|
+
class ListBoundMembershipsResponse
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
583
589
|
class ListFeaturesResponse
|
584
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
591
|
|
@@ -1984,6 +1990,16 @@ module Google
|
|
1984
1990
|
end
|
1985
1991
|
end
|
1986
1992
|
|
1993
|
+
class ListBoundMembershipsResponse
|
1994
|
+
# @private
|
1995
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1996
|
+
collection :memberships, as: 'memberships', class: Google::Apis::GkehubV1alpha::Membership, decorator: Google::Apis::GkehubV1alpha::Membership::Representation
|
1997
|
+
|
1998
|
+
property :next_page_token, as: 'nextPageToken'
|
1999
|
+
collection :unreachable, as: 'unreachable'
|
2000
|
+
end
|
2001
|
+
end
|
2002
|
+
|
1987
2003
|
class ListFeaturesResponse
|
1988
2004
|
# @private
|
1989
2005
|
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.76.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-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.14.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.76.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: []
|
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
|
-
version: '2.
|
71
|
+
version: '2.7'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for GKE Hub API V1alpha
|