google-apis-gkehub_v1alpha 0.87.0 → 0.89.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: 86ed59dd81ff21ada1117b4fa7a146ba6712e82f2ef036208f623a2fa23ef3f1
|
4
|
+
data.tar.gz: 0af4d194ed01be8d46106e6c24202e2eb1ec1a074ce33af2acdfae55eb26d6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c41089f7917a423eaa5d0c724b8b9546334acae7ffd8c1e72529b94bff7afec7211764825f2f39ad55409a7f00792da65631851c7c0865825cada18f40f77ed
|
7
|
+
data.tar.gz: 3824e2dd1698d490c6c74bad3e988123bdbbc88667002b792d41f37516d79bf23fa8b729b63b63bf1496e3e4d36fdb5ebcd4bb4612d72fb774917f7956837cce
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1alpha
|
2
2
|
|
3
|
+
### v0.89.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250324
|
6
|
+
|
7
|
+
### v0.88.0 (2025-03-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250302
|
10
|
+
|
3
11
|
### v0.87.0 (2025-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250209
|
@@ -1104,6 +1104,11 @@ module Google
|
|
1104
1104
|
class ConfigManagementConfigSync
|
1105
1105
|
include Google::Apis::Core::Hashable
|
1106
1106
|
|
1107
|
+
# Optional. Configuration for deployment overrides.
|
1108
|
+
# Corresponds to the JSON property `deploymentOverrides`
|
1109
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ConfigManagementDeploymentOverride>]
|
1110
|
+
attr_accessor :deployment_overrides
|
1111
|
+
|
1107
1112
|
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
|
1108
1113
|
# resources will be created and the other ConfigSync fields will be applied if
|
1109
1114
|
# exist. If set to false, all other ConfigSync fields will be ignored,
|
@@ -1164,6 +1169,7 @@ module Google
|
|
1164
1169
|
|
1165
1170
|
# Update properties of this object
|
1166
1171
|
def update!(**args)
|
1172
|
+
@deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
|
1167
1173
|
@enabled = args[:enabled] if args.key?(:enabled)
|
1168
1174
|
@git = args[:git] if args.key?(:git)
|
1169
1175
|
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
|
@@ -1396,6 +1402,80 @@ module Google
|
|
1396
1402
|
end
|
1397
1403
|
end
|
1398
1404
|
|
1405
|
+
# Configuration for a container override.
|
1406
|
+
class ConfigManagementContainerOverride
|
1407
|
+
include Google::Apis::Core::Hashable
|
1408
|
+
|
1409
|
+
# Required. The name of the container.
|
1410
|
+
# Corresponds to the JSON property `containerName`
|
1411
|
+
# @return [String]
|
1412
|
+
attr_accessor :container_name
|
1413
|
+
|
1414
|
+
# Optional. The cpu limit of the container.
|
1415
|
+
# Corresponds to the JSON property `cpuLimit`
|
1416
|
+
# @return [String]
|
1417
|
+
attr_accessor :cpu_limit
|
1418
|
+
|
1419
|
+
# Optional. The cpu request of the container.
|
1420
|
+
# Corresponds to the JSON property `cpuRequest`
|
1421
|
+
# @return [String]
|
1422
|
+
attr_accessor :cpu_request
|
1423
|
+
|
1424
|
+
# Optional. The memory limit of the container.
|
1425
|
+
# Corresponds to the JSON property `memoryLimit`
|
1426
|
+
# @return [String]
|
1427
|
+
attr_accessor :memory_limit
|
1428
|
+
|
1429
|
+
# Optional. The memory request of the container.
|
1430
|
+
# Corresponds to the JSON property `memoryRequest`
|
1431
|
+
# @return [String]
|
1432
|
+
attr_accessor :memory_request
|
1433
|
+
|
1434
|
+
def initialize(**args)
|
1435
|
+
update!(**args)
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
# Update properties of this object
|
1439
|
+
def update!(**args)
|
1440
|
+
@container_name = args[:container_name] if args.key?(:container_name)
|
1441
|
+
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
|
1442
|
+
@cpu_request = args[:cpu_request] if args.key?(:cpu_request)
|
1443
|
+
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
|
1444
|
+
@memory_request = args[:memory_request] if args.key?(:memory_request)
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# Configuration for a deployment override.
|
1449
|
+
class ConfigManagementDeploymentOverride
|
1450
|
+
include Google::Apis::Core::Hashable
|
1451
|
+
|
1452
|
+
# Optional. The containers of the deployment resource to be overridden.
|
1453
|
+
# Corresponds to the JSON property `containers`
|
1454
|
+
# @return [Array<Google::Apis::GkehubV1alpha::ConfigManagementContainerOverride>]
|
1455
|
+
attr_accessor :containers
|
1456
|
+
|
1457
|
+
# Required. The name of the deployment resource to be overridden.
|
1458
|
+
# Corresponds to the JSON property `deploymentName`
|
1459
|
+
# @return [String]
|
1460
|
+
attr_accessor :deployment_name
|
1461
|
+
|
1462
|
+
# Required. The namespace of the deployment resource to be overridden..
|
1463
|
+
# Corresponds to the JSON property `deploymentNamespace`
|
1464
|
+
# @return [String]
|
1465
|
+
attr_accessor :deployment_namespace
|
1466
|
+
|
1467
|
+
def initialize(**args)
|
1468
|
+
update!(**args)
|
1469
|
+
end
|
1470
|
+
|
1471
|
+
# Update properties of this object
|
1472
|
+
def update!(**args)
|
1473
|
+
@containers = args[:containers] if args.key?(:containers)
|
1474
|
+
@deployment_name = args[:deployment_name] if args.key?(:deployment_name)
|
1475
|
+
@deployment_namespace = args[:deployment_namespace] if args.key?(:deployment_namespace)
|
1476
|
+
end
|
1477
|
+
end
|
1478
|
+
|
1399
1479
|
# Model for a config file in the git repo with an associated Sync error
|
1400
1480
|
class ConfigManagementErrorResource
|
1401
1481
|
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.89.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250324"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -250,6 +250,18 @@ module Google
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
251
251
|
end
|
252
252
|
|
253
|
+
class ConfigManagementContainerOverride
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class ConfigManagementDeploymentOverride
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
253
265
|
class ConfigManagementErrorResource
|
254
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
267
|
|
@@ -1444,6 +1456,8 @@ module Google
|
|
1444
1456
|
class ConfigManagementConfigSync
|
1445
1457
|
# @private
|
1446
1458
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1459
|
+
collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV1alpha::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV1alpha::ConfigManagementDeploymentOverride::Representation
|
1460
|
+
|
1447
1461
|
property :enabled, as: 'enabled'
|
1448
1462
|
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
|
1449
1463
|
|
@@ -1512,6 +1526,27 @@ module Google
|
|
1512
1526
|
end
|
1513
1527
|
end
|
1514
1528
|
|
1529
|
+
class ConfigManagementContainerOverride
|
1530
|
+
# @private
|
1531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1532
|
+
property :container_name, as: 'containerName'
|
1533
|
+
property :cpu_limit, as: 'cpuLimit'
|
1534
|
+
property :cpu_request, as: 'cpuRequest'
|
1535
|
+
property :memory_limit, as: 'memoryLimit'
|
1536
|
+
property :memory_request, as: 'memoryRequest'
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
class ConfigManagementDeploymentOverride
|
1541
|
+
# @private
|
1542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1543
|
+
collection :containers, as: 'containers', class: Google::Apis::GkehubV1alpha::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV1alpha::ConfigManagementContainerOverride::Representation
|
1544
|
+
|
1545
|
+
property :deployment_name, as: 'deploymentName'
|
1546
|
+
property :deployment_namespace, as: 'deploymentNamespace'
|
1547
|
+
end
|
1548
|
+
end
|
1549
|
+
|
1515
1550
|
class ConfigManagementErrorResource
|
1516
1551
|
# @private
|
1517
1552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -126,6 +126,9 @@ module Google
|
|
126
126
|
# Lists information about the supported locations for this service.
|
127
127
|
# @param [String] name
|
128
128
|
# The resource that owns the locations collection, if applicable.
|
129
|
+
# @param [Array<String>, String] extra_location_types
|
130
|
+
# Optional. A list of extra location types that should be used as conditions for
|
131
|
+
# controlling the visibility of the locations.
|
129
132
|
# @param [String] filter
|
130
133
|
# A filter to narrow down results to a preferred subset. The filtering language
|
131
134
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -153,11 +156,12 @@ module Google
|
|
153
156
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
154
157
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
155
158
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
156
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
157
160
|
command = make_simple_command(:get, 'v1alpha/{+name}/locations', options)
|
158
161
|
command.response_representation = Google::Apis::GkehubV1alpha::ListLocationsResponse::Representation
|
159
162
|
command.response_class = Google::Apis::GkehubV1alpha::ListLocationsResponse
|
160
163
|
command.params['name'] = name unless name.nil?
|
164
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
161
165
|
command.query['filter'] = filter unless filter.nil?
|
162
166
|
command.query['pageSize'] = page_size unless page_size.nil?
|
163
167
|
command.query['pageToken'] = page_token unless page_token.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.89.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.89.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|