google-apis-gkehub_v2 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/gkehub_v2/classes.rb +59 -54
- data/lib/google/apis/gkehub_v2/gem_version.rb +3 -3
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ec2e393529e36e2c4769a37b4b75f9683d47b2d4d960b13e5fcf44e1f47a8ff
|
4
|
+
data.tar.gz: cfa9d9a72f710e49364c4c9b9428fe74f4d3bdaa9b09a0d07730b54cbaa969d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63e947c9104460427528d5d33dda9af0c985ca402e6148eaefc10ec9e65a9f6132e5100ebf820bcc941f5b465bdd1ef962fac37c064bea7701effb2d7f87c547
|
7
|
+
data.tar.gz: 66bb6d4efad9dfd93051c14c4ce5a686106d97eee9cc1c698909249017d6171507737d45b7c46978e12bfee585ae540813c0e30c95bd9aae265e30bd86ca3d77
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v2
|
2
2
|
|
3
|
+
### v0.5.0 (2025-01-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250103
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.4.0 (2024-12-15)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241206
|
@@ -307,18 +307,18 @@ module Google
|
|
307
307
|
class ConfigManagementConfigSync
|
308
308
|
include Google::Apis::Core::Hashable
|
309
309
|
|
310
|
-
# Set to true to allow the vertical scaling. Defaults to false which
|
311
|
-
# vertical scaling. This field is deprecated.
|
310
|
+
# Optional. Set to true to allow the vertical scaling. Defaults to false which
|
311
|
+
# disallows vertical scaling. This field is deprecated.
|
312
312
|
# Corresponds to the JSON property `allowVerticalScale`
|
313
313
|
# @return [Boolean]
|
314
314
|
attr_accessor :allow_vertical_scale
|
315
315
|
alias_method :allow_vertical_scale?, :allow_vertical_scale
|
316
316
|
|
317
|
-
# Enables the installation of ConfigSync. If set to true, ConfigSync
|
318
|
-
# will be created and the other ConfigSync fields will be applied if
|
319
|
-
# set to false, all other ConfigSync fields will be ignored,
|
320
|
-
# resources will be deleted. If omitted, ConfigSync resources will be
|
321
|
-
# depends on the presence of the git or oci field.
|
317
|
+
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
|
318
|
+
# resources will be created and the other ConfigSync fields will be applied if
|
319
|
+
# exist. If set to false, all other ConfigSync fields will be ignored,
|
320
|
+
# ConfigSync resources will be deleted. If omitted, ConfigSync resources will be
|
321
|
+
# managed depends on the presence of the git or oci field.
|
322
322
|
# Corresponds to the JSON property `enabled`
|
323
323
|
# @return [Boolean]
|
324
324
|
attr_accessor :enabled
|
@@ -329,15 +329,15 @@ module Google
|
|
329
329
|
# @return [Google::Apis::GkehubV2::ConfigManagementGitConfig]
|
330
330
|
attr_accessor :git
|
331
331
|
|
332
|
-
# The Email of the Google Cloud Service Account (GSA) used for
|
333
|
-
# Sync metrics to Cloud Monitoring and Cloud Monarch when
|
334
|
-
# enabled. The GSA should have the Monitoring Metric Writer
|
335
|
-
# metricWriter) IAM role. The Kubernetes ServiceAccount `
|
336
|
-
# namespace `config-management-monitoring` should be bound to
|
337
|
-
# Deprecated: If Workload Identity Federation for GKE is enabled,
|
338
|
-
# Service Account is no longer needed for exporting Config Sync
|
339
|
-
# cloud.google.com/kubernetes-engine/enterprise/config-sync/
|
340
|
-
# config-sync-cloud-monitoring#custom-monitoring.
|
332
|
+
# Optional. The Email of the Google Cloud Service Account (GSA) used for
|
333
|
+
# exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when
|
334
|
+
# Workload Identity is enabled. The GSA should have the Monitoring Metric Writer
|
335
|
+
# (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `
|
336
|
+
# default` in the namespace `config-management-monitoring` should be bound to
|
337
|
+
# the GSA. Deprecated: If Workload Identity Federation for GKE is enabled,
|
338
|
+
# Google Cloud Service Account is no longer needed for exporting Config Sync
|
339
|
+
# metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/
|
340
|
+
# docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
|
341
341
|
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
342
342
|
# @return [String]
|
343
343
|
attr_accessor :metrics_gcp_service_account_email
|
@@ -347,21 +347,22 @@ module Google
|
|
347
347
|
# @return [Google::Apis::GkehubV2::ConfigManagementOciConfig]
|
348
348
|
attr_accessor :oci
|
349
349
|
|
350
|
-
# Set to true to enable the Config Sync admission webhook to prevent
|
351
|
-
# set to `false`, disables the Config Sync admission webhook and does
|
352
|
-
# prevent drifts.
|
350
|
+
# Optional. Set to true to enable the Config Sync admission webhook to prevent
|
351
|
+
# drifts. If set to `false`, disables the Config Sync admission webhook and does
|
352
|
+
# not prevent drifts.
|
353
353
|
# Corresponds to the JSON property `preventDrift`
|
354
354
|
# @return [Boolean]
|
355
355
|
attr_accessor :prevent_drift
|
356
356
|
alias_method :prevent_drift?, :prevent_drift
|
357
357
|
|
358
|
-
# Specifies whether the Config Sync Repo is in "hierarchical" or "
|
359
|
-
# mode.
|
358
|
+
# Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "
|
359
|
+
# unstructured" mode.
|
360
360
|
# Corresponds to the JSON property `sourceFormat`
|
361
361
|
# @return [String]
|
362
362
|
attr_accessor :source_format
|
363
363
|
|
364
|
-
# Set to true to stop syncing configs for a single cluster. Default to
|
364
|
+
# Optional. Set to true to stop syncing configs for a single cluster. Default to
|
365
|
+
# false.
|
365
366
|
# Corresponds to the JSON property `stopSyncing`
|
366
367
|
# @return [Boolean]
|
367
368
|
attr_accessor :stop_syncing
|
@@ -474,7 +475,8 @@ module Google
|
|
474
475
|
class ConfigManagementConfigSyncState
|
475
476
|
include Google::Apis::Core::Hashable
|
476
477
|
|
477
|
-
# Whether syncing resources to the cluster is stopped at the
|
478
|
+
# Output only. Whether syncing resources to the cluster is stopped at the
|
479
|
+
# cluster level.
|
478
480
|
# Corresponds to the JSON property `clusterLevelStopSyncingState`
|
479
481
|
# @return [String]
|
480
482
|
attr_accessor :cluster_level_stop_syncing_state
|
@@ -489,22 +491,23 @@ module Google
|
|
489
491
|
# @return [Google::Apis::GkehubV2::ConfigManagementConfigSyncDeploymentState]
|
490
492
|
attr_accessor :deployment_state
|
491
493
|
|
492
|
-
# Errors pertaining to the installation of Config Sync.
|
494
|
+
# Output only. Errors pertaining to the installation of Config Sync.
|
493
495
|
# Corresponds to the JSON property `errors`
|
494
496
|
# @return [Array<Google::Apis::GkehubV2::ConfigManagementConfigSyncError>]
|
495
497
|
attr_accessor :errors
|
496
498
|
|
497
|
-
# The state of the Reposync CRD
|
499
|
+
# Output only. The state of the Reposync CRD
|
498
500
|
# Corresponds to the JSON property `reposyncCrd`
|
499
501
|
# @return [String]
|
500
502
|
attr_accessor :reposync_crd
|
501
503
|
|
502
|
-
# The state of the RootSync CRD
|
504
|
+
# Output only. The state of the RootSync CRD
|
503
505
|
# Corresponds to the JSON property `rootsyncCrd`
|
504
506
|
# @return [String]
|
505
507
|
attr_accessor :rootsync_crd
|
506
508
|
|
507
|
-
# The state of CS This field summarizes the other fields in this
|
509
|
+
# Output only. The state of CS This field summarizes the other fields in this
|
510
|
+
# message.
|
508
511
|
# Corresponds to the JSON property `state`
|
509
512
|
# @return [String]
|
510
513
|
attr_accessor :state
|
@@ -676,46 +679,47 @@ module Google
|
|
676
679
|
class ConfigManagementGitConfig
|
677
680
|
include Google::Apis::Core::Hashable
|
678
681
|
|
679
|
-
# The Google Cloud Service Account Email used for auth when
|
680
|
-
# gcpServiceAccount.
|
682
|
+
# Optional. The Google Cloud Service Account Email used for auth when
|
683
|
+
# secret_type is gcpServiceAccount.
|
681
684
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
682
685
|
# @return [String]
|
683
686
|
attr_accessor :gcp_service_account_email
|
684
687
|
|
685
|
-
# URL for the HTTPS proxy to be used when communicating with the Git
|
688
|
+
# Optional. URL for the HTTPS proxy to be used when communicating with the Git
|
689
|
+
# repo.
|
686
690
|
# Corresponds to the JSON property `httpsProxy`
|
687
691
|
# @return [String]
|
688
692
|
attr_accessor :https_proxy
|
689
693
|
|
690
|
-
# The path within the Git repository that represents the top level of
|
691
|
-
# to sync. Default: the root directory of the repository.
|
694
|
+
# Optional. The path within the Git repository that represents the top level of
|
695
|
+
# the repo to sync. Default: the root directory of the repository.
|
692
696
|
# Corresponds to the JSON property `policyDir`
|
693
697
|
# @return [String]
|
694
698
|
attr_accessor :policy_dir
|
695
699
|
|
696
|
-
# Type of secret configured for access to the Git repo. Must be one of
|
697
|
-
# cookiefile, gcenode, token, gcpserviceaccount or none. The validation of
|
698
|
-
# is case-sensitive. Required.
|
700
|
+
# Required. Type of secret configured for access to the Git repo. Must be one of
|
701
|
+
# ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of
|
702
|
+
# this is case-sensitive. Required.
|
699
703
|
# Corresponds to the JSON property `secretType`
|
700
704
|
# @return [String]
|
701
705
|
attr_accessor :secret_type
|
702
706
|
|
703
|
-
# The branch of the repository to sync from. Default: master.
|
707
|
+
# Optional. The branch of the repository to sync from. Default: master.
|
704
708
|
# Corresponds to the JSON property `syncBranch`
|
705
709
|
# @return [String]
|
706
710
|
attr_accessor :sync_branch
|
707
711
|
|
708
|
-
# The URL of the Git repository to use as the source of truth.
|
712
|
+
# Optional. The URL of the Git repository to use as the source of truth.
|
709
713
|
# Corresponds to the JSON property `syncRepo`
|
710
714
|
# @return [String]
|
711
715
|
attr_accessor :sync_repo
|
712
716
|
|
713
|
-
# Git revision (tag or hash) to check out. Default HEAD.
|
717
|
+
# Optional. Git revision (tag or hash) to check out. Default HEAD.
|
714
718
|
# Corresponds to the JSON property `syncRev`
|
715
719
|
# @return [String]
|
716
720
|
attr_accessor :sync_rev
|
717
721
|
|
718
|
-
# Period in seconds between consecutive syncs. Default: 15.
|
722
|
+
# Optional. Period in seconds between consecutive syncs. Default: 15.
|
719
723
|
# Corresponds to the JSON property `syncWaitSecs`
|
720
724
|
# @return [Fixnum]
|
721
725
|
attr_accessor :sync_wait_secs
|
@@ -900,30 +904,30 @@ module Google
|
|
900
904
|
class ConfigManagementOciConfig
|
901
905
|
include Google::Apis::Core::Hashable
|
902
906
|
|
903
|
-
# The Google Cloud Service Account Email used for auth when
|
904
|
-
# gcpServiceAccount.
|
907
|
+
# Optional. The Google Cloud Service Account Email used for auth when
|
908
|
+
# secret_type is gcpServiceAccount.
|
905
909
|
# Corresponds to the JSON property `gcpServiceAccountEmail`
|
906
910
|
# @return [String]
|
907
911
|
attr_accessor :gcp_service_account_email
|
908
912
|
|
909
|
-
# The absolute path of the directory that contains the local resources.
|
910
|
-
# the root directory of the image.
|
913
|
+
# Optional. The absolute path of the directory that contains the local resources.
|
914
|
+
# Default: the root directory of the image.
|
911
915
|
# Corresponds to the JSON property `policyDir`
|
912
916
|
# @return [String]
|
913
917
|
attr_accessor :policy_dir
|
914
918
|
|
915
|
-
# Type of secret configured for access to the Git repo.
|
919
|
+
# Optional. Type of secret configured for access to the Git repo.
|
916
920
|
# Corresponds to the JSON property `secretType`
|
917
921
|
# @return [String]
|
918
922
|
attr_accessor :secret_type
|
919
923
|
|
920
|
-
# The OCI image repository URL for the package to sync from. e.g. `
|
921
|
-
# docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
|
924
|
+
# Optional. The OCI image repository URL for the package to sync from. e.g. `
|
925
|
+
# LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
|
922
926
|
# Corresponds to the JSON property `syncRepo`
|
923
927
|
# @return [String]
|
924
928
|
attr_accessor :sync_repo
|
925
929
|
|
926
|
-
# Period in seconds between consecutive syncs. Default: 15.
|
930
|
+
# Optional. Period in seconds between consecutive syncs. Default: 15.
|
927
931
|
# Corresponds to the JSON property `syncWaitSecs`
|
928
932
|
# @return [Fixnum]
|
929
933
|
attr_accessor :sync_wait_secs
|
@@ -1160,9 +1164,9 @@ module Google
|
|
1160
1164
|
# @return [Google::Apis::GkehubV2::ConfigManagementBinauthzConfig]
|
1161
1165
|
attr_accessor :binauthz
|
1162
1166
|
|
1163
|
-
# The user-specified cluster name used by Config Sync cluster-name-
|
1164
|
-
# annotation or ClusterSelector, for applying configs to only a subset
|
1165
|
-
# clusters. Omit this field if the cluster's fleet membership name is used by
|
1167
|
+
# Optional. The user-specified cluster name used by Config Sync cluster-name-
|
1168
|
+
# selector annotation or ClusterSelector, for applying configs to only a subset
|
1169
|
+
# of clusters. Omit this field if the cluster's fleet membership name is used by
|
1166
1170
|
# Config Sync cluster-name-selector annotation or ClusterSelector. Set this
|
1167
1171
|
# field if a name different from the cluster's fleet membership name is used by
|
1168
1172
|
# Config Sync cluster-name-selector annotation or ClusterSelector.
|
@@ -1180,7 +1184,7 @@ module Google
|
|
1180
1184
|
# @return [Google::Apis::GkehubV2::ConfigManagementHierarchyControllerConfig]
|
1181
1185
|
attr_accessor :hierarchy_controller
|
1182
1186
|
|
1183
|
-
# Enables automatic Feature management.
|
1187
|
+
# Optional. Enables automatic Feature management.
|
1184
1188
|
# Corresponds to the JSON property `management`
|
1185
1189
|
# @return [String]
|
1186
1190
|
attr_accessor :management
|
@@ -1190,7 +1194,7 @@ module Google
|
|
1190
1194
|
# @return [Google::Apis::GkehubV2::ConfigManagementPolicyController]
|
1191
1195
|
attr_accessor :policy_controller
|
1192
1196
|
|
1193
|
-
# Version of ACM installed.
|
1197
|
+
# Optional. Version of ACM installed.
|
1194
1198
|
# Corresponds to the JSON property `version`
|
1195
1199
|
# @return [String]
|
1196
1200
|
attr_accessor :version
|
@@ -1220,8 +1224,9 @@ module Google
|
|
1220
1224
|
# @return [Google::Apis::GkehubV2::ConfigManagementBinauthzState]
|
1221
1225
|
attr_accessor :binauthz_state
|
1222
1226
|
|
1223
|
-
# This field is set to the `cluster_name` field of the Membership
|
1224
|
-
# not empty. Otherwise, it is set to the cluster's fleet
|
1227
|
+
# Output only. This field is set to the `cluster_name` field of the Membership
|
1228
|
+
# Spec if it is not empty. Otherwise, it is set to the cluster's fleet
|
1229
|
+
# membership name.
|
1225
1230
|
# Corresponds to the JSON property `clusterName`
|
1226
1231
|
# @return [String]
|
1227
1232
|
attr_accessor :cluster_name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV2
|
18
18
|
# Version of the google-apis-gkehub_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250103"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2/v0.5.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v2
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for GKE Hub API V2
|
82
79
|
test_files: []
|