google-apis-gkehub_v1 0.11.0 → 0.12.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: d3bc363f5aa703d31a1d61ea1961e0402bca121e270e7962124b534b87a1a20d
4
- data.tar.gz: d65487533140d0045ee673e5a70ec5c2f42e1aa63db78831e6537d21d867480d
3
+ metadata.gz: e4c9cd2a7cf55b4d40cce09d86720bce60100f852d6ba25215c6d66997b5aed5
4
+ data.tar.gz: ce32da609da617ba242df17a621785c6298911185d104281924797a9960f5992
5
5
  SHA512:
6
- metadata.gz: ab2431257e4fa3f5fd19d2812a03fa53986830859f2fa17d67ab6ff1639de8dafa8b3fc0af313062eee719ddc846c62a6569376539d6594b514b490b83875526
7
- data.tar.gz: a09da86bea27bf5b1120ffa4a844f813ce9a499f55e7cd5573d464f54be90671e451cc533dc6184ca7f945a3d81cb07d2f23e4c104132db82467a8054328596d
6
+ metadata.gz: 107df958ae027b03bbe3e7eef32f6032bb1cadb126c0826c3d7a1f2b2777f16ab4498713f0b895b7746236713e6b1cf6c6c65bde17ec4b3acb80779bae898262
7
+ data.tar.gz: b8dcd8ffc55f7b224a9a46c499d47341e64eae7da93d44acd1773881d32d9c82ebcbc915497652939dec41a6012d313eb5ffb9587f1855b6f0f9da7feacd07a6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.12.0 (2021-09-26)
4
+
5
+ * Regenerated from discovery document revision 20210920
6
+
3
7
  ### v0.11.0 (2021-08-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20210820
@@ -281,6 +281,11 @@ module Google
281
281
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
282
282
  attr_accessor :git
283
283
 
284
+ # Specifies CPU and memory limits for containers, keyed by container name
285
+ # Corresponds to the JSON property `resourceRequirements`
286
+ # @return [Hash<String,Google::Apis::GkehubV1::ConfigManagementContainerResourceRequirements>]
287
+ attr_accessor :resource_requirements
288
+
284
289
  # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
285
290
  # mode.
286
291
  # Corresponds to the JSON property `sourceFormat`
@@ -294,6 +299,7 @@ module Google
294
299
  # Update properties of this object
295
300
  def update!(**args)
296
301
  @git = args[:git] if args.key?(:git)
302
+ @resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
297
303
  @source_format = args[:source_format] if args.key?(:source_format)
298
304
  end
299
305
  end
@@ -302,6 +308,11 @@ module Google
302
308
  class ConfigManagementConfigSyncDeploymentState
303
309
  include Google::Apis::Core::Hashable
304
310
 
311
+ # Deployment state of admission-webhook
312
+ # Corresponds to the JSON property `admissionWebhook`
313
+ # @return [String]
314
+ attr_accessor :admission_webhook
315
+
305
316
  # Deployment state of the git-sync pod
306
317
  # Corresponds to the JSON property `gitSync`
307
318
  # @return [String]
@@ -338,6 +349,7 @@ module Google
338
349
 
339
350
  # Update properties of this object
340
351
  def update!(**args)
352
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
341
353
  @git_sync = args[:git_sync] if args.key?(:git_sync)
342
354
  @importer = args[:importer] if args.key?(:importer)
343
355
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -382,6 +394,11 @@ module Google
382
394
  class ConfigManagementConfigSyncVersion
383
395
  include Google::Apis::Core::Hashable
384
396
 
397
+ # Version of the deployed admission_webhook pod
398
+ # Corresponds to the JSON property `admissionWebhook`
399
+ # @return [String]
400
+ attr_accessor :admission_webhook
401
+
385
402
  # Version of the deployed git-sync pod
386
403
  # Corresponds to the JSON property `gitSync`
387
404
  # @return [String]
@@ -418,6 +435,7 @@ module Google
418
435
 
419
436
  # Update properties of this object
420
437
  def update!(**args)
438
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
421
439
  @git_sync = args[:git_sync] if args.key?(:git_sync)
422
440
  @importer = args[:importer] if args.key?(:importer)
423
441
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -427,6 +445,42 @@ module Google
427
445
  end
428
446
  end
429
447
 
448
+ # ResourceRequirements allows to override the CPU and memory resource
449
+ # requirements of a container.
450
+ class ConfigManagementContainerResourceRequirements
451
+ include Google::Apis::Core::Hashable
452
+
453
+ # Name of the container
454
+ # Corresponds to the JSON property `containerName`
455
+ # @return [String]
456
+ attr_accessor :container_name
457
+
458
+ # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
459
+ # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
460
+ # pkg/api/resource/generated.proto
461
+ # Corresponds to the JSON property `cpuLimit`
462
+ # @return [Google::Apis::GkehubV1::ConfigManagementQuantity]
463
+ attr_accessor :cpu_limit
464
+
465
+ # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
466
+ # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
467
+ # pkg/api/resource/generated.proto
468
+ # Corresponds to the JSON property `memoryLimit`
469
+ # @return [Google::Apis::GkehubV1::ConfigManagementQuantity]
470
+ attr_accessor :memory_limit
471
+
472
+ def initialize(**args)
473
+ update!(**args)
474
+ end
475
+
476
+ # Update properties of this object
477
+ def update!(**args)
478
+ @container_name = args[:container_name] if args.key?(:container_name)
479
+ @cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
480
+ @memory_limit = args[:memory_limit] if args.key?(:memory_limit)
481
+ end
482
+ end
483
+
430
484
  # Model for a config file in the git repo with an associated Sync error
431
485
  class ConfigManagementErrorResource
432
486
  include Google::Apis::Core::Hashable
@@ -504,6 +558,12 @@ module Google
504
558
  # @return [String]
505
559
  attr_accessor :https_proxy
506
560
 
561
+ # Enable or disable the SSL certificate verification Default: false.
562
+ # Corresponds to the JSON property `noSslVerify`
563
+ # @return [Boolean]
564
+ attr_accessor :no_ssl_verify
565
+ alias_method :no_ssl_verify?, :no_ssl_verify
566
+
507
567
  # The path within the Git repository that represents the top level of the repo
508
568
  # to sync. Default: the root directory of the repository.
509
569
  # Corresponds to the JSON property `policyDir`
@@ -520,6 +580,11 @@ module Google
520
580
  # @return [String]
521
581
  attr_accessor :sync_branch
522
582
 
583
+ # The depth of git commits synced by the git-sync container.
584
+ # Corresponds to the JSON property `syncDepth`
585
+ # @return [Fixnum]
586
+ attr_accessor :sync_depth
587
+
523
588
  # The URL of the Git repository to use as the source of truth.
524
589
  # Corresponds to the JSON property `syncRepo`
525
590
  # @return [String]
@@ -543,9 +608,11 @@ module Google
543
608
  def update!(**args)
544
609
  @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
545
610
  @https_proxy = args[:https_proxy] if args.key?(:https_proxy)
611
+ @no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
546
612
  @policy_dir = args[:policy_dir] if args.key?(:policy_dir)
547
613
  @secret_type = args[:secret_type] if args.key?(:secret_type)
548
614
  @sync_branch = args[:sync_branch] if args.key?(:sync_branch)
615
+ @sync_depth = args[:sync_depth] if args.key?(:sync_depth)
549
616
  @sync_repo = args[:sync_repo] if args.key?(:sync_repo)
550
617
  @sync_rev = args[:sync_rev] if args.key?(:sync_rev)
551
618
  @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
@@ -935,6 +1002,27 @@ module Google
935
1002
  end
936
1003
  end
937
1004
 
1005
+ # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
1006
+ # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
1007
+ # pkg/api/resource/generated.proto
1008
+ class ConfigManagementQuantity
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Stringified version of the quantity, e.g., "800 MiB".
1012
+ # Corresponds to the JSON property `string`
1013
+ # @return [String]
1014
+ attr_accessor :string
1015
+
1016
+ def initialize(**args)
1017
+ update!(**args)
1018
+ end
1019
+
1020
+ # Update properties of this object
1021
+ def update!(**args)
1022
+ @string = args[:string] if args.key?(:string)
1023
+ end
1024
+ end
1025
+
938
1026
  # An ACM created error representing a problem syncing configurations
939
1027
  class ConfigManagementSyncError
940
1028
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.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 = "20210820"
25
+ REVISION = "20210920"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class ConfigManagementContainerResourceRequirements
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class ConfigManagementErrorResource
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class ConfigManagementQuantity
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class ConfigManagementSyncError
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -434,6 +446,8 @@ module Google
434
446
  class Representation < Google::Apis::Core::JsonRepresentation
435
447
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
436
448
 
449
+ hash :resource_requirements, as: 'resourceRequirements', class: Google::Apis::GkehubV1::ConfigManagementContainerResourceRequirements, decorator: Google::Apis::GkehubV1::ConfigManagementContainerResourceRequirements::Representation
450
+
437
451
  property :source_format, as: 'sourceFormat'
438
452
  end
439
453
  end
@@ -441,6 +455,7 @@ module Google
441
455
  class ConfigManagementConfigSyncDeploymentState
442
456
  # @private
443
457
  class Representation < Google::Apis::Core::JsonRepresentation
458
+ property :admission_webhook, as: 'admissionWebhook'
444
459
  property :git_sync, as: 'gitSync'
445
460
  property :importer, as: 'importer'
446
461
  property :monitor, as: 'monitor'
@@ -465,6 +480,7 @@ module Google
465
480
  class ConfigManagementConfigSyncVersion
466
481
  # @private
467
482
  class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :admission_webhook, as: 'admissionWebhook'
468
484
  property :git_sync, as: 'gitSync'
469
485
  property :importer, as: 'importer'
470
486
  property :monitor, as: 'monitor'
@@ -474,6 +490,17 @@ module Google
474
490
  end
475
491
  end
476
492
 
493
+ class ConfigManagementContainerResourceRequirements
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :container_name, as: 'containerName'
497
+ property :cpu_limit, as: 'cpuLimit', class: Google::Apis::GkehubV1::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1::ConfigManagementQuantity::Representation
498
+
499
+ property :memory_limit, as: 'memoryLimit', class: Google::Apis::GkehubV1::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1::ConfigManagementQuantity::Representation
500
+
501
+ end
502
+ end
503
+
477
504
  class ConfigManagementErrorResource
478
505
  # @private
479
506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -498,9 +525,11 @@ module Google
498
525
  class Representation < Google::Apis::Core::JsonRepresentation
499
526
  property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
500
527
  property :https_proxy, as: 'httpsProxy'
528
+ property :no_ssl_verify, as: 'noSslVerify'
501
529
  property :policy_dir, as: 'policyDir'
502
530
  property :secret_type, as: 'secretType'
503
531
  property :sync_branch, as: 'syncBranch'
532
+ property :sync_depth, :numeric_string => true, as: 'syncDepth'
504
533
  property :sync_repo, as: 'syncRepo'
505
534
  property :sync_rev, as: 'syncRev'
506
535
  property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
@@ -627,6 +656,13 @@ module Google
627
656
  end
628
657
  end
629
658
 
659
+ class ConfigManagementQuantity
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :string, as: 'string'
663
+ end
664
+ end
665
+
630
666
  class ConfigManagementSyncError
631
667
  # @private
632
668
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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-08-30 00:00:00.000000000 Z
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []