google-apis-gkehub_v1alpha 0.73.0 → 0.75.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: 1ba8b073fc92a41d4b12750ef30a27832e312bd4e61c3212a0d009e2cff9b821
4
- data.tar.gz: '04374510836a7b993002587261edd8b8468f35f69ab1977777f1ba7ad0c830f1'
3
+ metadata.gz: afa7338ea3bf25bc58f78b6949fa091971223395446a39e8920716d6ed05a2b0
4
+ data.tar.gz: ada19bcd52ce876d1c3c4db05991d40699851f8c4c2e0d60d2413140bc6797fd
5
5
  SHA512:
6
- metadata.gz: d597403d5ab35fd02468e4a1e6303023f4797f73d8cdfec2a089549a49813b3e9fb9a3d75e8205258a0fc794d9b0df88af750d9fe86d70a8866255ebac297a20
7
- data.tar.gz: 72da61541e5ea6c14130ab77c1eab8235395882f2e60f617458c5ec42afd5c34c46890be7f37e910db9c3e04bfa2c68832a86a3796fe524713a853924f5a6ee4
6
+ metadata.gz: 076f9d1d19fe9b25b4b7afb41740b28c130cf7fb4f00003cef295ab0473343035fd2cad5cdc25e8d4f81128d82c93f86bf658cf4813e4a452fb6134d9db283bd
7
+ data.tar.gz: acc2165788eddd547c9bd7a799176089ae823a9081d4d624e9a1f19b55fe7ae3b483fb091a924c57bdc27ce26ac29f2885764aebc17a041070f5b1a90da61860
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.75.0 (2024-02-24)
4
+
5
+ * Regenerated using generator version 0.14.0
6
+
7
+ ### v0.74.0 (2024-02-18)
8
+
9
+ * Regenerated from discovery document revision 20240209
10
+
3
11
  ### v0.73.0 (2024-01-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20240118
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.5+.
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. Currently, this means Ruby 2.5 and later. 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.
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
 
@@ -1269,6 +1269,11 @@ module Google
1269
1269
  # @return [String]
1270
1270
  attr_accessor :rootsync_crd
1271
1271
 
1272
+ # The state of CS This field summarizes the other fields in this message.
1273
+ # Corresponds to the JSON property `state`
1274
+ # @return [String]
1275
+ attr_accessor :state
1276
+
1272
1277
  # State indicating an ACM's progress syncing configurations to a cluster
1273
1278
  # Corresponds to the JSON property `syncState`
1274
1279
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementSyncState]
@@ -1289,6 +1294,7 @@ module Google
1289
1294
  @errors = args[:errors] if args.key?(:errors)
1290
1295
  @reposync_crd = args[:reposync_crd] if args.key?(:reposync_crd)
1291
1296
  @rootsync_crd = args[:rootsync_crd] if args.key?(:rootsync_crd)
1297
+ @state = args[:state] if args.key?(:state)
1292
1298
  @sync_state = args[:sync_state] if args.key?(:sync_state)
1293
1299
  @version = args[:version] if args.key?(:version)
1294
1300
  end
@@ -1671,6 +1677,11 @@ module Google
1671
1677
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig]
1672
1678
  attr_accessor :hierarchy_controller
1673
1679
 
1680
+ # Enables automatic Feature management.
1681
+ # Corresponds to the JSON property `management`
1682
+ # @return [String]
1683
+ attr_accessor :management
1684
+
1674
1685
  # Configuration for Policy Controller
1675
1686
  # Corresponds to the JSON property `policyController`
1676
1687
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementPolicyController]
@@ -1691,6 +1702,7 @@ module Google
1691
1702
  @cluster = args[:cluster] if args.key?(:cluster)
1692
1703
  @config_sync = args[:config_sync] if args.key?(:config_sync)
1693
1704
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
1705
+ @management = args[:management] if args.key?(:management)
1694
1706
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
1695
1707
  @version = args[:version] if args.key?(:version)
1696
1708
  end
@@ -3485,6 +3497,33 @@ module Google
3485
3497
  end
3486
3498
  end
3487
3499
 
3500
+ # List of permitted Scopes.
3501
+ class ListPermittedScopesResponse
3502
+ include Google::Apis::Core::Hashable
3503
+
3504
+ # A token to request the next page of resources from the `ListPermittedScopes`
3505
+ # method. The value of an empty string means that there are no more resources to
3506
+ # return.
3507
+ # Corresponds to the JSON property `nextPageToken`
3508
+ # @return [String]
3509
+ attr_accessor :next_page_token
3510
+
3511
+ # The list of permitted Scopes
3512
+ # Corresponds to the JSON property `scopes`
3513
+ # @return [Array<Google::Apis::GkehubV1alpha::Scope>]
3514
+ attr_accessor :scopes
3515
+
3516
+ def initialize(**args)
3517
+ update!(**args)
3518
+ end
3519
+
3520
+ # Update properties of this object
3521
+ def update!(**args)
3522
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3523
+ @scopes = args[:scopes] if args.key?(:scopes)
3524
+ end
3525
+ end
3526
+
3488
3527
  # List of fleet namespaces.
3489
3528
  class ListScopeNamespacesResponse
3490
3529
  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.73.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240118"
25
+ REVISION = "20240209"
26
26
  end
27
27
  end
28
28
  end
@@ -622,6 +622,12 @@ module Google
622
622
  include Google::Apis::Core::JsonObjectSupport
623
623
  end
624
624
 
625
+ class ListPermittedScopesResponse
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
625
631
  class ListScopeNamespacesResponse
626
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
633
 
@@ -1396,6 +1402,7 @@ module Google
1396
1402
 
1397
1403
  property :reposync_crd, as: 'reposyncCrd'
1398
1404
  property :rootsync_crd, as: 'rootsyncCrd'
1405
+ property :state, as: 'state'
1399
1406
  property :sync_state, as: 'syncState', class: Google::Apis::GkehubV1alpha::ConfigManagementSyncState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementSyncState::Representation
1400
1407
 
1401
1408
  property :version, as: 'version', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion::Representation
@@ -1511,6 +1518,7 @@ module Google
1511
1518
 
1512
1519
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
1513
1520
 
1521
+ property :management, as: 'management'
1514
1522
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
1515
1523
 
1516
1524
  property :version, as: 'version'
@@ -2040,6 +2048,15 @@ module Google
2040
2048
  end
2041
2049
  end
2042
2050
 
2051
+ class ListPermittedScopesResponse
2052
+ # @private
2053
+ class Representation < Google::Apis::Core::JsonRepresentation
2054
+ property :next_page_token, as: 'nextPageToken'
2055
+ collection :scopes, as: 'scopes', class: Google::Apis::GkehubV1alpha::Scope, decorator: Google::Apis::GkehubV1alpha::Scope::Representation
2056
+
2057
+ end
2058
+ end
2059
+
2043
2060
  class ListScopeNamespacesResponse
2044
2061
  # @private
2045
2062
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1932,6 +1932,47 @@ module Google
1932
1932
  execute_or_queue_command(command, &block)
1933
1933
  end
1934
1934
 
1935
+ # Lists permitted Scopes.
1936
+ # @param [String] parent
1937
+ # Required. The parent (project and location) where the Scope will be listed.
1938
+ # Specified in the format `projects/*/locations/*`.
1939
+ # @param [Fixnum] page_size
1940
+ # Optional. When requesting a 'page' of resources, `page_size` specifies number
1941
+ # of resources to return. If unspecified or set to 0, all resources will be
1942
+ # returned.
1943
+ # @param [String] page_token
1944
+ # Optional. Token returned by previous call to `ListPermittedScopes` which
1945
+ # specifies the position in the list from where to continue listing the
1946
+ # resources.
1947
+ # @param [String] fields
1948
+ # Selector specifying which fields to include in a partial response.
1949
+ # @param [String] quota_user
1950
+ # Available to use for quota purposes for server-side applications. Can be any
1951
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1952
+ # @param [Google::Apis::RequestOptions] options
1953
+ # Request-specific options
1954
+ #
1955
+ # @yield [result, err] Result & error if block supplied
1956
+ # @yieldparam result [Google::Apis::GkehubV1alpha::ListPermittedScopesResponse] parsed result object
1957
+ # @yieldparam err [StandardError] error object if request failed
1958
+ #
1959
+ # @return [Google::Apis::GkehubV1alpha::ListPermittedScopesResponse]
1960
+ #
1961
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1962
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1963
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1964
+ def list_project_location_scope_permitted(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1965
+ command = make_simple_command(:get, 'v1alpha/{+parent}/scopes:listPermitted', options)
1966
+ command.response_representation = Google::Apis::GkehubV1alpha::ListPermittedScopesResponse::Representation
1967
+ command.response_class = Google::Apis::GkehubV1alpha::ListPermittedScopesResponse
1968
+ command.params['parent'] = parent unless parent.nil?
1969
+ command.query['pageSize'] = page_size unless page_size.nil?
1970
+ command.query['pageToken'] = page_token unless page_token.nil?
1971
+ command.query['fields'] = fields unless fields.nil?
1972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1973
+ execute_or_queue_command(command, &block)
1974
+ end
1975
+
1935
1976
  # Updates a scopes.
1936
1977
  # @param [String] name
1937
1978
  # 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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.73.0
4
+ version: 0.75.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-01-28 00:00:00.000000000 Z
11
+ date: 2024-02-25 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.12.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.12.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.73.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.75.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.5'
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.3
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