google-apis-gkehub_v1beta 0.9.0 → 0.10.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: 3e92b3cfd4f21a4cef9cc40bf922e0f212ffa717874c3e408d2f5f78d37274c8
|
4
|
+
data.tar.gz: b15ed74d23bd9d158987778d303c8cb019cffcd952bbbafe28a097d8d723c8a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9508ce3f46e3eecab54178f6da6d52462853c6de16949c43819e6ca56054f3285329c07d607e5219a8c829f44c6d74f1b83c75944a401b7b81e652fecc3d2e97
|
7
|
+
data.tar.gz: 6eea3a5c87530155f097074ffb07be16926c273dc8c554963dfdebdf81050192d2192e8a28f73a1fba83719cc905611ad4dfef0992c83661c07348f8da3733ed
|
data/CHANGELOG.md
CHANGED
@@ -291,6 +291,11 @@ module Google
|
|
291
291
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementGitConfig]
|
292
292
|
attr_accessor :git
|
293
293
|
|
294
|
+
# Specifies CPU and memory limits for containers, keyed by container name
|
295
|
+
# Corresponds to the JSON property `resourceRequirements`
|
296
|
+
# @return [Hash<String,Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements>]
|
297
|
+
attr_accessor :resource_requirements
|
298
|
+
|
294
299
|
# Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
|
295
300
|
# mode.
|
296
301
|
# Corresponds to the JSON property `sourceFormat`
|
@@ -304,6 +309,7 @@ module Google
|
|
304
309
|
# Update properties of this object
|
305
310
|
def update!(**args)
|
306
311
|
@git = args[:git] if args.key?(:git)
|
312
|
+
@resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
|
307
313
|
@source_format = args[:source_format] if args.key?(:source_format)
|
308
314
|
end
|
309
315
|
end
|
@@ -312,6 +318,11 @@ module Google
|
|
312
318
|
class ConfigManagementConfigSyncDeploymentState
|
313
319
|
include Google::Apis::Core::Hashable
|
314
320
|
|
321
|
+
# Deployment state of admission-webhook
|
322
|
+
# Corresponds to the JSON property `admissionWebhook`
|
323
|
+
# @return [String]
|
324
|
+
attr_accessor :admission_webhook
|
325
|
+
|
315
326
|
# Deployment state of the git-sync pod
|
316
327
|
# Corresponds to the JSON property `gitSync`
|
317
328
|
# @return [String]
|
@@ -348,6 +359,7 @@ module Google
|
|
348
359
|
|
349
360
|
# Update properties of this object
|
350
361
|
def update!(**args)
|
362
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
351
363
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
352
364
|
@importer = args[:importer] if args.key?(:importer)
|
353
365
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -392,6 +404,11 @@ module Google
|
|
392
404
|
class ConfigManagementConfigSyncVersion
|
393
405
|
include Google::Apis::Core::Hashable
|
394
406
|
|
407
|
+
# Version of the deployed admission_webhook pod
|
408
|
+
# Corresponds to the JSON property `admissionWebhook`
|
409
|
+
# @return [String]
|
410
|
+
attr_accessor :admission_webhook
|
411
|
+
|
395
412
|
# Version of the deployed git-sync pod
|
396
413
|
# Corresponds to the JSON property `gitSync`
|
397
414
|
# @return [String]
|
@@ -428,6 +445,7 @@ module Google
|
|
428
445
|
|
429
446
|
# Update properties of this object
|
430
447
|
def update!(**args)
|
448
|
+
@admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
|
431
449
|
@git_sync = args[:git_sync] if args.key?(:git_sync)
|
432
450
|
@importer = args[:importer] if args.key?(:importer)
|
433
451
|
@monitor = args[:monitor] if args.key?(:monitor)
|
@@ -437,6 +455,42 @@ module Google
|
|
437
455
|
end
|
438
456
|
end
|
439
457
|
|
458
|
+
# ResourceRequirements allows to override the CPU and memory resource
|
459
|
+
# requirements of a container.
|
460
|
+
class ConfigManagementContainerResourceRequirements
|
461
|
+
include Google::Apis::Core::Hashable
|
462
|
+
|
463
|
+
# Name of the container
|
464
|
+
# Corresponds to the JSON property `containerName`
|
465
|
+
# @return [String]
|
466
|
+
attr_accessor :container_name
|
467
|
+
|
468
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
469
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
470
|
+
# pkg/api/resource/generated.proto
|
471
|
+
# Corresponds to the JSON property `cpuLimit`
|
472
|
+
# @return [Google::Apis::GkehubV1beta::ConfigManagementQuantity]
|
473
|
+
attr_accessor :cpu_limit
|
474
|
+
|
475
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
476
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
477
|
+
# pkg/api/resource/generated.proto
|
478
|
+
# Corresponds to the JSON property `memoryLimit`
|
479
|
+
# @return [Google::Apis::GkehubV1beta::ConfigManagementQuantity]
|
480
|
+
attr_accessor :memory_limit
|
481
|
+
|
482
|
+
def initialize(**args)
|
483
|
+
update!(**args)
|
484
|
+
end
|
485
|
+
|
486
|
+
# Update properties of this object
|
487
|
+
def update!(**args)
|
488
|
+
@container_name = args[:container_name] if args.key?(:container_name)
|
489
|
+
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
|
490
|
+
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
440
494
|
# Model for a config file in the git repo with an associated Sync error
|
441
495
|
class ConfigManagementErrorResource
|
442
496
|
include Google::Apis::Core::Hashable
|
@@ -514,6 +568,12 @@ module Google
|
|
514
568
|
# @return [String]
|
515
569
|
attr_accessor :https_proxy
|
516
570
|
|
571
|
+
# Enable or disable the SSL certificate verification Default: false.
|
572
|
+
# Corresponds to the JSON property `noSslVerify`
|
573
|
+
# @return [Boolean]
|
574
|
+
attr_accessor :no_ssl_verify
|
575
|
+
alias_method :no_ssl_verify?, :no_ssl_verify
|
576
|
+
|
517
577
|
# The path within the Git repository that represents the top level of the repo
|
518
578
|
# to sync. Default: the root directory of the repository.
|
519
579
|
# Corresponds to the JSON property `policyDir`
|
@@ -530,6 +590,11 @@ module Google
|
|
530
590
|
# @return [String]
|
531
591
|
attr_accessor :sync_branch
|
532
592
|
|
593
|
+
# The depth of git commits synced by the git-sync container.
|
594
|
+
# Corresponds to the JSON property `syncDepth`
|
595
|
+
# @return [Fixnum]
|
596
|
+
attr_accessor :sync_depth
|
597
|
+
|
533
598
|
# The URL of the Git repository to use as the source of truth.
|
534
599
|
# Corresponds to the JSON property `syncRepo`
|
535
600
|
# @return [String]
|
@@ -553,9 +618,11 @@ module Google
|
|
553
618
|
def update!(**args)
|
554
619
|
@gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
|
555
620
|
@https_proxy = args[:https_proxy] if args.key?(:https_proxy)
|
621
|
+
@no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
|
556
622
|
@policy_dir = args[:policy_dir] if args.key?(:policy_dir)
|
557
623
|
@secret_type = args[:secret_type] if args.key?(:secret_type)
|
558
624
|
@sync_branch = args[:sync_branch] if args.key?(:sync_branch)
|
625
|
+
@sync_depth = args[:sync_depth] if args.key?(:sync_depth)
|
559
626
|
@sync_repo = args[:sync_repo] if args.key?(:sync_repo)
|
560
627
|
@sync_rev = args[:sync_rev] if args.key?(:sync_rev)
|
561
628
|
@sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
|
@@ -957,6 +1024,27 @@ module Google
|
|
957
1024
|
end
|
958
1025
|
end
|
959
1026
|
|
1027
|
+
# The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
|
1028
|
+
# github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
|
1029
|
+
# pkg/api/resource/generated.proto
|
1030
|
+
class ConfigManagementQuantity
|
1031
|
+
include Google::Apis::Core::Hashable
|
1032
|
+
|
1033
|
+
# Stringified version of the quantity, e.g., "800 MiB".
|
1034
|
+
# Corresponds to the JSON property `string`
|
1035
|
+
# @return [String]
|
1036
|
+
attr_accessor :string
|
1037
|
+
|
1038
|
+
def initialize(**args)
|
1039
|
+
update!(**args)
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# Update properties of this object
|
1043
|
+
def update!(**args)
|
1044
|
+
@string = args[:string] if args.key?(:string)
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
960
1048
|
# An ACM created error representing a problem syncing configurations
|
961
1049
|
class ConfigManagementSyncError
|
962
1050
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1beta
|
18
18
|
# Version of the google-apis-gkehub_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210920"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ConfigManagementContainerResourceRequirements
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class ConfigManagementErrorResource
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class ConfigManagementQuantity
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class ConfigManagementSyncError
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -423,6 +435,8 @@ module Google
|
|
423
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
424
436
|
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
|
425
437
|
|
438
|
+
hash :resource_requirements, as: 'resourceRequirements', class: Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements, decorator: Google::Apis::GkehubV1beta::ConfigManagementContainerResourceRequirements::Representation
|
439
|
+
|
426
440
|
property :source_format, as: 'sourceFormat'
|
427
441
|
end
|
428
442
|
end
|
@@ -430,6 +444,7 @@ module Google
|
|
430
444
|
class ConfigManagementConfigSyncDeploymentState
|
431
445
|
# @private
|
432
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
447
|
+
property :admission_webhook, as: 'admissionWebhook'
|
433
448
|
property :git_sync, as: 'gitSync'
|
434
449
|
property :importer, as: 'importer'
|
435
450
|
property :monitor, as: 'monitor'
|
@@ -454,6 +469,7 @@ module Google
|
|
454
469
|
class ConfigManagementConfigSyncVersion
|
455
470
|
# @private
|
456
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
472
|
+
property :admission_webhook, as: 'admissionWebhook'
|
457
473
|
property :git_sync, as: 'gitSync'
|
458
474
|
property :importer, as: 'importer'
|
459
475
|
property :monitor, as: 'monitor'
|
@@ -463,6 +479,17 @@ module Google
|
|
463
479
|
end
|
464
480
|
end
|
465
481
|
|
482
|
+
class ConfigManagementContainerResourceRequirements
|
483
|
+
# @private
|
484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
485
|
+
property :container_name, as: 'containerName'
|
486
|
+
property :cpu_limit, as: 'cpuLimit', class: Google::Apis::GkehubV1beta::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1beta::ConfigManagementQuantity::Representation
|
487
|
+
|
488
|
+
property :memory_limit, as: 'memoryLimit', class: Google::Apis::GkehubV1beta::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1beta::ConfigManagementQuantity::Representation
|
489
|
+
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
466
493
|
class ConfigManagementErrorResource
|
467
494
|
# @private
|
468
495
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -487,9 +514,11 @@ module Google
|
|
487
514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
488
515
|
property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
|
489
516
|
property :https_proxy, as: 'httpsProxy'
|
517
|
+
property :no_ssl_verify, as: 'noSslVerify'
|
490
518
|
property :policy_dir, as: 'policyDir'
|
491
519
|
property :secret_type, as: 'secretType'
|
492
520
|
property :sync_branch, as: 'syncBranch'
|
521
|
+
property :sync_depth, :numeric_string => true, as: 'syncDepth'
|
493
522
|
property :sync_repo, as: 'syncRepo'
|
494
523
|
property :sync_rev, as: 'syncRev'
|
495
524
|
property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
|
@@ -620,6 +649,13 @@ module Google
|
|
620
649
|
end
|
621
650
|
end
|
622
651
|
|
652
|
+
class ConfigManagementQuantity
|
653
|
+
# @private
|
654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
655
|
+
property :string, as: 'string'
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
623
659
|
class ConfigManagementSyncError
|
624
660
|
# @private
|
625
661
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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: 2021-
|
11
|
+
date: 2021-09-27 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/master/generated/google-apis-gkehub_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|