google-apis-gkehub_v1alpha 0.10.0 → 0.11.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: 672a540951015125ac15ab2807357eaa32f6994bd892b5b941d7f6121b410396
4
- data.tar.gz: ab3fe00bede3db9c64e17fbf9587eaf70631eaf72827ba1c090234e8145e8adf
3
+ metadata.gz: 8bf5e9d13672c2f886f0c2dc57d4a2192082fda1e2a1bb7fb47b7825970ab4f4
4
+ data.tar.gz: 90c43c4098c508dea3fa52fa0a46aa4eb9503963c9214e38dd2da7b0d77a0a11
5
5
  SHA512:
6
- metadata.gz: ab9e2736d57c087b2038c883ecbd20af9520f6fb0c8cbd6931b5dc771c5141e4c89d1b92ac13cac95ad3d9c591293213864b362e376d800dfd83e19f149fcf5a
7
- data.tar.gz: d4424143c897599749795e98ef11aa901cc8bb5e08b5dc3f80e8aec40f3873f968dd40bfc5873ae305c9c88b9163fb86fadf4f3db45e9ceed63d3af4791f26e3
6
+ metadata.gz: 2e438ff858547c7802d96f696307b07019657c0cfe354e9f26e50054d6bfbde5ce93885199543e038b77c2a7fe440dd3c0ac6b25183667b595ff9edaef28dbe4
7
+ data.tar.gz: d42654251f64e2cbe748eda9552f5a016127ddd03fbf8491f2e520f35cac94d99d4527c19726b581b80b5437c7104a1d695f9aef9e364ae7f27bc2507657831f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1alpha
2
2
 
3
+ ### v0.11.0 (2021-09-26)
4
+
5
+ * Regenerated from discovery document revision 20210920
6
+
3
7
  ### v0.10.0 (2021-08-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
@@ -327,6 +327,11 @@ module Google
327
327
  # @return [Google::Apis::GkehubV1alpha::ConfigManagementGitConfig]
328
328
  attr_accessor :git
329
329
 
330
+ # Specifies CPU and memory limits for containers, keyed by container name
331
+ # Corresponds to the JSON property `resourceRequirements`
332
+ # @return [Hash<String,Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements>]
333
+ attr_accessor :resource_requirements
334
+
330
335
  # Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured”
331
336
  # mode.
332
337
  # Corresponds to the JSON property `sourceFormat`
@@ -340,6 +345,7 @@ module Google
340
345
  # Update properties of this object
341
346
  def update!(**args)
342
347
  @git = args[:git] if args.key?(:git)
348
+ @resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
343
349
  @source_format = args[:source_format] if args.key?(:source_format)
344
350
  end
345
351
  end
@@ -348,6 +354,11 @@ module Google
348
354
  class ConfigManagementConfigSyncDeploymentState
349
355
  include Google::Apis::Core::Hashable
350
356
 
357
+ # Deployment state of admission-webhook
358
+ # Corresponds to the JSON property `admissionWebhook`
359
+ # @return [String]
360
+ attr_accessor :admission_webhook
361
+
351
362
  # Deployment state of the git-sync pod
352
363
  # Corresponds to the JSON property `gitSync`
353
364
  # @return [String]
@@ -384,6 +395,7 @@ module Google
384
395
 
385
396
  # Update properties of this object
386
397
  def update!(**args)
398
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
387
399
  @git_sync = args[:git_sync] if args.key?(:git_sync)
388
400
  @importer = args[:importer] if args.key?(:importer)
389
401
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -428,6 +440,11 @@ module Google
428
440
  class ConfigManagementConfigSyncVersion
429
441
  include Google::Apis::Core::Hashable
430
442
 
443
+ # Version of the deployed admission_webhook pod
444
+ # Corresponds to the JSON property `admissionWebhook`
445
+ # @return [String]
446
+ attr_accessor :admission_webhook
447
+
431
448
  # Version of the deployed git-sync pod
432
449
  # Corresponds to the JSON property `gitSync`
433
450
  # @return [String]
@@ -464,6 +481,7 @@ module Google
464
481
 
465
482
  # Update properties of this object
466
483
  def update!(**args)
484
+ @admission_webhook = args[:admission_webhook] if args.key?(:admission_webhook)
467
485
  @git_sync = args[:git_sync] if args.key?(:git_sync)
468
486
  @importer = args[:importer] if args.key?(:importer)
469
487
  @monitor = args[:monitor] if args.key?(:monitor)
@@ -473,6 +491,42 @@ module Google
473
491
  end
474
492
  end
475
493
 
494
+ # ResourceRequirements allows to override the CPU and memory resource
495
+ # requirements of a container.
496
+ class ConfigManagementContainerResourceRequirements
497
+ include Google::Apis::Core::Hashable
498
+
499
+ # Name of the container
500
+ # Corresponds to the JSON property `containerName`
501
+ # @return [String]
502
+ attr_accessor :container_name
503
+
504
+ # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
505
+ # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
506
+ # pkg/api/resource/generated.proto
507
+ # Corresponds to the JSON property `cpuLimit`
508
+ # @return [Google::Apis::GkehubV1alpha::ConfigManagementQuantity]
509
+ attr_accessor :cpu_limit
510
+
511
+ # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
512
+ # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
513
+ # pkg/api/resource/generated.proto
514
+ # Corresponds to the JSON property `memoryLimit`
515
+ # @return [Google::Apis::GkehubV1alpha::ConfigManagementQuantity]
516
+ attr_accessor :memory_limit
517
+
518
+ def initialize(**args)
519
+ update!(**args)
520
+ end
521
+
522
+ # Update properties of this object
523
+ def update!(**args)
524
+ @container_name = args[:container_name] if args.key?(:container_name)
525
+ @cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
526
+ @memory_limit = args[:memory_limit] if args.key?(:memory_limit)
527
+ end
528
+ end
529
+
476
530
  # Model for a config file in the git repo with an associated Sync error
477
531
  class ConfigManagementErrorResource
478
532
  include Google::Apis::Core::Hashable
@@ -556,6 +610,12 @@ module Google
556
610
  # @return [String]
557
611
  attr_accessor :https_proxy
558
612
 
613
+ # Enable or disable the SSL certificate verification Default: false.
614
+ # Corresponds to the JSON property `noSslVerify`
615
+ # @return [Boolean]
616
+ attr_accessor :no_ssl_verify
617
+ alias_method :no_ssl_verify?, :no_ssl_verify
618
+
559
619
  # The path within the Git repository that represents the top level of the repo
560
620
  # to sync. Default: the root directory of the repository.
561
621
  # Corresponds to the JSON property `policyDir`
@@ -572,6 +632,11 @@ module Google
572
632
  # @return [String]
573
633
  attr_accessor :sync_branch
574
634
 
635
+ # The depth of git commits synced by the git-sync container.
636
+ # Corresponds to the JSON property `syncDepth`
637
+ # @return [Fixnum]
638
+ attr_accessor :sync_depth
639
+
575
640
  # The URL of the Git repository to use as the source of truth.
576
641
  # Corresponds to the JSON property `syncRepo`
577
642
  # @return [String]
@@ -595,9 +660,11 @@ module Google
595
660
  def update!(**args)
596
661
  @gcp_service_account_email = args[:gcp_service_account_email] if args.key?(:gcp_service_account_email)
597
662
  @https_proxy = args[:https_proxy] if args.key?(:https_proxy)
663
+ @no_ssl_verify = args[:no_ssl_verify] if args.key?(:no_ssl_verify)
598
664
  @policy_dir = args[:policy_dir] if args.key?(:policy_dir)
599
665
  @secret_type = args[:secret_type] if args.key?(:secret_type)
600
666
  @sync_branch = args[:sync_branch] if args.key?(:sync_branch)
667
+ @sync_depth = args[:sync_depth] if args.key?(:sync_depth)
601
668
  @sync_repo = args[:sync_repo] if args.key?(:sync_repo)
602
669
  @sync_rev = args[:sync_rev] if args.key?(:sync_rev)
603
670
  @sync_wait_secs = args[:sync_wait_secs] if args.key?(:sync_wait_secs)
@@ -1006,6 +1073,27 @@ module Google
1006
1073
  end
1007
1074
  end
1008
1075
 
1076
+ # The view model of a single quantity, e.g. "800 MiB". Corresponds to https://
1077
+ # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
1078
+ # pkg/api/resource/generated.proto
1079
+ class ConfigManagementQuantity
1080
+ include Google::Apis::Core::Hashable
1081
+
1082
+ # Stringified version of the quantity, e.g., "800 MiB".
1083
+ # Corresponds to the JSON property `string`
1084
+ # @return [String]
1085
+ attr_accessor :string
1086
+
1087
+ def initialize(**args)
1088
+ update!(**args)
1089
+ end
1090
+
1091
+ # Update properties of this object
1092
+ def update!(**args)
1093
+ @string = args[:string] if args.key?(:string)
1094
+ end
1095
+ end
1096
+
1009
1097
  # An ACM created error representing a problem syncing configurations
1010
1098
  class ConfigManagementSyncError
1011
1099
  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.10.0"
19
+ GEM_VERSION = "0.11.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 = "20210813"
25
+ REVISION = "20210920"
26
26
  end
27
27
  end
28
28
  end
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class ConfigManagementContainerResourceRequirements
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class ConfigManagementErrorResource
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -196,6 +202,12 @@ module Google
196
202
  include Google::Apis::Core::JsonObjectSupport
197
203
  end
198
204
 
205
+ class ConfigManagementQuantity
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class ConfigManagementSyncError
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -470,6 +482,8 @@ module Google
470
482
  class Representation < Google::Apis::Core::JsonRepresentation
471
483
  property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
472
484
 
485
+ hash :resource_requirements, as: 'resourceRequirements', class: Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements, decorator: Google::Apis::GkehubV1alpha::ConfigManagementContainerResourceRequirements::Representation
486
+
473
487
  property :source_format, as: 'sourceFormat'
474
488
  end
475
489
  end
@@ -477,6 +491,7 @@ module Google
477
491
  class ConfigManagementConfigSyncDeploymentState
478
492
  # @private
479
493
  class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :admission_webhook, as: 'admissionWebhook'
480
495
  property :git_sync, as: 'gitSync'
481
496
  property :importer, as: 'importer'
482
497
  property :monitor, as: 'monitor'
@@ -501,6 +516,7 @@ module Google
501
516
  class ConfigManagementConfigSyncVersion
502
517
  # @private
503
518
  class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :admission_webhook, as: 'admissionWebhook'
504
520
  property :git_sync, as: 'gitSync'
505
521
  property :importer, as: 'importer'
506
522
  property :monitor, as: 'monitor'
@@ -510,6 +526,17 @@ module Google
510
526
  end
511
527
  end
512
528
 
529
+ class ConfigManagementContainerResourceRequirements
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :container_name, as: 'containerName'
533
+ property :cpu_limit, as: 'cpuLimit', class: Google::Apis::GkehubV1alpha::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1alpha::ConfigManagementQuantity::Representation
534
+
535
+ property :memory_limit, as: 'memoryLimit', class: Google::Apis::GkehubV1alpha::ConfigManagementQuantity, decorator: Google::Apis::GkehubV1alpha::ConfigManagementQuantity::Representation
536
+
537
+ end
538
+ end
539
+
513
540
  class ConfigManagementErrorResource
514
541
  # @private
515
542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -535,9 +562,11 @@ module Google
535
562
  class Representation < Google::Apis::Core::JsonRepresentation
536
563
  property :gcp_service_account_email, as: 'gcpServiceAccountEmail'
537
564
  property :https_proxy, as: 'httpsProxy'
565
+ property :no_ssl_verify, as: 'noSslVerify'
538
566
  property :policy_dir, as: 'policyDir'
539
567
  property :secret_type, as: 'secretType'
540
568
  property :sync_branch, as: 'syncBranch'
569
+ property :sync_depth, :numeric_string => true, as: 'syncDepth'
541
570
  property :sync_repo, as: 'syncRepo'
542
571
  property :sync_rev, as: 'syncRev'
543
572
  property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
@@ -669,6 +698,13 @@ module Google
669
698
  end
670
699
  end
671
700
 
701
+ class ConfigManagementQuantity
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :string, as: 'string'
705
+ end
706
+ end
707
+
672
708
  class ConfigManagementSyncError
673
709
  # @private
674
710
  class Representation < Google::Apis::Core::JsonRepresentation
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.10.0
4
+ version: 0.11.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-23 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []