google-apis-gkehub_v1alpha 0.75.0 → 0.76.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: afa7338ea3bf25bc58f78b6949fa091971223395446a39e8920716d6ed05a2b0
4
- data.tar.gz: ada19bcd52ce876d1c3c4db05991d40699851f8c4c2e0d60d2413140bc6797fd
3
+ metadata.gz: 0c423d720343550769ef4aa8717139ea549b53264881bf873295812ade9dd5af
4
+ data.tar.gz: b146b72057ff8e38da2f67b8f2d7cc03c7d02e2d6383981ecf23dd5c7cc27aaf
5
5
  SHA512:
6
- metadata.gz: 076f9d1d19fe9b25b4b7afb41740b28c130cf7fb4f00003cef295ab0473343035fd2cad5cdc25e8d4f81128d82c93f86bf658cf4813e4a452fb6134d9db283bd
7
- data.tar.gz: acc2165788eddd547c9bd7a799176089ae823a9081d4d624e9a1f19b55fe7ae3b483fb091a924c57bdc27ce26ac29f2885764aebc17a041070f5b1a90da61860
6
+ metadata.gz: 4c6fc9387e283a6220940ab99375965998035368ea93e3ce5e64162738a4db8c82f0a1e0210dc1d02d2bc716c2190e0c750c6845d82193da03438db95f054dde
7
+ data.tar.gz: 4c7ac1845e0061e2d6e4e23c769995a426b842bf5145f3b3630e98011d3fc5707bead1de47d3d90c913fbfd80976ed291c9216b73e0f8a2a40ce783404b885f4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.75.0 (2024-02-24)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -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.75.0"
19
+ GEM_VERSION = "0.76.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 = "20240209"
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.75.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-02-25 00:00:00.000000000 Z
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
@@ -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.75.0
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: []