google-apis-gkehub_v2 0.4.0 → 0.6.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: bf0b1c8c4b234a94cfdd66cea6a3aafc9a1e0c0eb9dd0c15a36362d924a57ebe
4
- data.tar.gz: e451a6fd4f25ce0167e037e42bda146436733426f0d8d31914a0148d800507ff
3
+ metadata.gz: 04d79905a9224331cf0d7da08a25db5c8cbf1f0e92f4b094d8454a1156e43cf4
4
+ data.tar.gz: 3b55881d85a3ccd59cb1c5f31c1a7c0dce4c4ef7c931f6f83611808d5f086da5
5
5
  SHA512:
6
- metadata.gz: c753a3f9b49a5b4eb62aab2c16ed20d0f61a44583762030284bc8589944564fe08ff44e078c953b4e1c4a09e2344b75aafd01de78127c75b26335732a45aa56f
7
- data.tar.gz: 4f22b00dfc9e146c82d4d8c2d6c357d02ce51429295c7c1b70d4bb1f6cb9a092cebfbbd4a96ca7de3fe2e3046e6475192e6a06e78e7fe70838306fe572415956
6
+ metadata.gz: 002f780fec9b9341e1065ebec837fad4bd63d4771e43e712f5d66d8eb7dcbc611e90f1ba9b72b3b57d80004c8252c1209658e791e0638b869b3b7bfd631b794c
7
+ data.tar.gz: '08bf3dfaf8053a7dc270d02a35a50ff15e8c5c5f31f41811028a90fd146a7df8f268ac0cff90a992e0984109445b0b440589cd0a5830dd0edbed97d73a4cfb58'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-gkehub_v2
2
2
 
3
+ ### v0.6.0 (2025-01-19)
4
+
5
+ * Regenerated from discovery document revision 20250113
6
+
7
+ ### v0.5.0 (2025-01-12)
8
+
9
+ * Regenerated from discovery document revision 20250103
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.4.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241206
@@ -307,18 +307,11 @@ 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 disallows
311
- # vertical scaling. This field is deprecated.
312
- # Corresponds to the JSON property `allowVerticalScale`
313
- # @return [Boolean]
314
- attr_accessor :allow_vertical_scale
315
- alias_method :allow_vertical_scale?, :allow_vertical_scale
316
-
317
- # Enables the installation of ConfigSync. If set to true, ConfigSync resources
318
- # will be created and the other ConfigSync fields will be applied if exist. If
319
- # set to false, all other ConfigSync fields will be ignored, ConfigSync
320
- # resources will be deleted. If omitted, ConfigSync resources will be managed
321
- # depends on the presence of the git or oci field.
310
+ # Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
311
+ # resources will be created and the other ConfigSync fields will be applied if
312
+ # exist. If set to false, all other ConfigSync fields will be ignored,
313
+ # ConfigSync resources will be deleted. If omitted, ConfigSync resources will be
314
+ # managed depends on the presence of the git or oci field.
322
315
  # Corresponds to the JSON property `enabled`
323
316
  # @return [Boolean]
324
317
  attr_accessor :enabled
@@ -329,15 +322,15 @@ module Google
329
322
  # @return [Google::Apis::GkehubV2::ConfigManagementGitConfig]
330
323
  attr_accessor :git
331
324
 
332
- # The Email of the Google Cloud Service Account (GSA) used for exporting Config
333
- # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
334
- # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
335
- # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
336
- # namespace `config-management-monitoring` should be bound to the GSA.
337
- # Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud
338
- # Service Account is no longer needed for exporting Config Sync metrics: https://
339
- # cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-
340
- # config-sync-cloud-monitoring#custom-monitoring.
325
+ # Optional. The Email of the Google Cloud Service Account (GSA) used for
326
+ # exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when
327
+ # Workload Identity is enabled. The GSA should have the Monitoring Metric Writer
328
+ # (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `
329
+ # default` in the namespace `config-management-monitoring` should be bound to
330
+ # the GSA. Deprecated: If Workload Identity Federation for GKE is enabled,
331
+ # Google Cloud Service Account is no longer needed for exporting Config Sync
332
+ # metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/
333
+ # docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring.
341
334
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
342
335
  # @return [String]
343
336
  attr_accessor :metrics_gcp_service_account_email
@@ -347,21 +340,22 @@ module Google
347
340
  # @return [Google::Apis::GkehubV2::ConfigManagementOciConfig]
348
341
  attr_accessor :oci
349
342
 
350
- # Set to true to enable the Config Sync admission webhook to prevent drifts. If
351
- # set to `false`, disables the Config Sync admission webhook and does not
352
- # prevent drifts.
343
+ # Optional. Set to true to enable the Config Sync admission webhook to prevent
344
+ # drifts. If set to `false`, disables the Config Sync admission webhook and does
345
+ # not prevent drifts.
353
346
  # Corresponds to the JSON property `preventDrift`
354
347
  # @return [Boolean]
355
348
  attr_accessor :prevent_drift
356
349
  alias_method :prevent_drift?, :prevent_drift
357
350
 
358
- # Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured"
359
- # mode.
351
+ # Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "
352
+ # unstructured" mode.
360
353
  # Corresponds to the JSON property `sourceFormat`
361
354
  # @return [String]
362
355
  attr_accessor :source_format
363
356
 
364
- # Set to true to stop syncing configs for a single cluster. Default to false.
357
+ # Optional. Set to true to stop syncing configs for a single cluster. Default to
358
+ # false.
365
359
  # Corresponds to the JSON property `stopSyncing`
366
360
  # @return [Boolean]
367
361
  attr_accessor :stop_syncing
@@ -373,7 +367,6 @@ module Google
373
367
 
374
368
  # Update properties of this object
375
369
  def update!(**args)
376
- @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
377
370
  @enabled = args[:enabled] if args.key?(:enabled)
378
371
  @git = args[:git] if args.key?(:git)
379
372
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -474,7 +467,8 @@ module Google
474
467
  class ConfigManagementConfigSyncState
475
468
  include Google::Apis::Core::Hashable
476
469
 
477
- # Whether syncing resources to the cluster is stopped at the cluster level.
470
+ # Output only. Whether syncing resources to the cluster is stopped at the
471
+ # cluster level.
478
472
  # Corresponds to the JSON property `clusterLevelStopSyncingState`
479
473
  # @return [String]
480
474
  attr_accessor :cluster_level_stop_syncing_state
@@ -489,22 +483,23 @@ module Google
489
483
  # @return [Google::Apis::GkehubV2::ConfigManagementConfigSyncDeploymentState]
490
484
  attr_accessor :deployment_state
491
485
 
492
- # Errors pertaining to the installation of Config Sync.
486
+ # Output only. Errors pertaining to the installation of Config Sync.
493
487
  # Corresponds to the JSON property `errors`
494
488
  # @return [Array<Google::Apis::GkehubV2::ConfigManagementConfigSyncError>]
495
489
  attr_accessor :errors
496
490
 
497
- # The state of the Reposync CRD
491
+ # Output only. The state of the Reposync CRD
498
492
  # Corresponds to the JSON property `reposyncCrd`
499
493
  # @return [String]
500
494
  attr_accessor :reposync_crd
501
495
 
502
- # The state of the RootSync CRD
496
+ # Output only. The state of the RootSync CRD
503
497
  # Corresponds to the JSON property `rootsyncCrd`
504
498
  # @return [String]
505
499
  attr_accessor :rootsync_crd
506
500
 
507
- # The state of CS This field summarizes the other fields in this message.
501
+ # Output only. The state of CS This field summarizes the other fields in this
502
+ # message.
508
503
  # Corresponds to the JSON property `state`
509
504
  # @return [String]
510
505
  attr_accessor :state
@@ -676,46 +671,47 @@ module Google
676
671
  class ConfigManagementGitConfig
677
672
  include Google::Apis::Core::Hashable
678
673
 
679
- # The Google Cloud Service Account Email used for auth when secret_type is
680
- # gcpServiceAccount.
674
+ # Optional. The Google Cloud Service Account Email used for auth when
675
+ # secret_type is gcpServiceAccount.
681
676
  # Corresponds to the JSON property `gcpServiceAccountEmail`
682
677
  # @return [String]
683
678
  attr_accessor :gcp_service_account_email
684
679
 
685
- # URL for the HTTPS proxy to be used when communicating with the Git repo.
680
+ # Optional. URL for the HTTPS proxy to be used when communicating with the Git
681
+ # repo.
686
682
  # Corresponds to the JSON property `httpsProxy`
687
683
  # @return [String]
688
684
  attr_accessor :https_proxy
689
685
 
690
- # The path within the Git repository that represents the top level of the repo
691
- # to sync. Default: the root directory of the repository.
686
+ # Optional. The path within the Git repository that represents the top level of
687
+ # the repo to sync. Default: the root directory of the repository.
692
688
  # Corresponds to the JSON property `policyDir`
693
689
  # @return [String]
694
690
  attr_accessor :policy_dir
695
691
 
696
- # Type of secret configured for access to the Git repo. Must be one of ssh,
697
- # cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this
698
- # is case-sensitive. Required.
692
+ # Required. Type of secret configured for access to the Git repo. Must be one of
693
+ # ssh, cookiefile, gcenode, token, gcpserviceaccount, githubapp or none. The
694
+ # validation of this is case-sensitive.
699
695
  # Corresponds to the JSON property `secretType`
700
696
  # @return [String]
701
697
  attr_accessor :secret_type
702
698
 
703
- # The branch of the repository to sync from. Default: master.
699
+ # Optional. The branch of the repository to sync from. Default: master.
704
700
  # Corresponds to the JSON property `syncBranch`
705
701
  # @return [String]
706
702
  attr_accessor :sync_branch
707
703
 
708
- # The URL of the Git repository to use as the source of truth.
704
+ # Required. The URL of the Git repository to use as the source of truth.
709
705
  # Corresponds to the JSON property `syncRepo`
710
706
  # @return [String]
711
707
  attr_accessor :sync_repo
712
708
 
713
- # Git revision (tag or hash) to check out. Default HEAD.
709
+ # Optional. Git revision (tag or hash) to check out. Default HEAD.
714
710
  # Corresponds to the JSON property `syncRev`
715
711
  # @return [String]
716
712
  attr_accessor :sync_rev
717
713
 
718
- # Period in seconds between consecutive syncs. Default: 15.
714
+ # Optional. Period in seconds between consecutive syncs. Default: 15.
719
715
  # Corresponds to the JSON property `syncWaitSecs`
720
716
  # @return [Fixnum]
721
717
  attr_accessor :sync_wait_secs
@@ -900,30 +896,32 @@ module Google
900
896
  class ConfigManagementOciConfig
901
897
  include Google::Apis::Core::Hashable
902
898
 
903
- # The Google Cloud Service Account Email used for auth when secret_type is
904
- # gcpServiceAccount.
899
+ # Optional. The Google Cloud Service Account Email used for auth when
900
+ # secret_type is gcpServiceAccount.
905
901
  # Corresponds to the JSON property `gcpServiceAccountEmail`
906
902
  # @return [String]
907
903
  attr_accessor :gcp_service_account_email
908
904
 
909
- # The absolute path of the directory that contains the local resources. Default:
910
- # the root directory of the image.
905
+ # Optional. The absolute path of the directory that contains the local resources.
906
+ # Default: the root directory of the image.
911
907
  # Corresponds to the JSON property `policyDir`
912
908
  # @return [String]
913
909
  attr_accessor :policy_dir
914
910
 
915
- # Type of secret configured for access to the Git repo.
911
+ # Required. Type of secret configured for access to the OCI repo. Must be one of
912
+ # gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this
913
+ # is case-sensitive.
916
914
  # Corresponds to the JSON property `secretType`
917
915
  # @return [String]
918
916
  attr_accessor :secret_type
919
917
 
920
- # The OCI image repository URL for the package to sync from. e.g. `LOCATION-
921
- # docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
918
+ # Required. The OCI image repository URL for the package to sync from. e.g. `
919
+ # LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
922
920
  # Corresponds to the JSON property `syncRepo`
923
921
  # @return [String]
924
922
  attr_accessor :sync_repo
925
923
 
926
- # Period in seconds between consecutive syncs. Default: 15.
924
+ # Optional. Period in seconds between consecutive syncs. Default: 15.
927
925
  # Corresponds to the JSON property `syncWaitSecs`
928
926
  # @return [Fixnum]
929
927
  attr_accessor :sync_wait_secs
@@ -1160,9 +1158,9 @@ module Google
1160
1158
  # @return [Google::Apis::GkehubV2::ConfigManagementBinauthzConfig]
1161
1159
  attr_accessor :binauthz
1162
1160
 
1163
- # The user-specified cluster name used by Config Sync cluster-name-selector
1164
- # annotation or ClusterSelector, for applying configs to only a subset of
1165
- # clusters. Omit this field if the cluster's fleet membership name is used by
1161
+ # Optional. The user-specified cluster name used by Config Sync cluster-name-
1162
+ # selector annotation or ClusterSelector, for applying configs to only a subset
1163
+ # of clusters. Omit this field if the cluster's fleet membership name is used by
1166
1164
  # Config Sync cluster-name-selector annotation or ClusterSelector. Set this
1167
1165
  # field if a name different from the cluster's fleet membership name is used by
1168
1166
  # Config Sync cluster-name-selector annotation or ClusterSelector.
@@ -1180,7 +1178,7 @@ module Google
1180
1178
  # @return [Google::Apis::GkehubV2::ConfigManagementHierarchyControllerConfig]
1181
1179
  attr_accessor :hierarchy_controller
1182
1180
 
1183
- # Enables automatic Feature management.
1181
+ # Optional. Enables automatic Feature management.
1184
1182
  # Corresponds to the JSON property `management`
1185
1183
  # @return [String]
1186
1184
  attr_accessor :management
@@ -1190,7 +1188,7 @@ module Google
1190
1188
  # @return [Google::Apis::GkehubV2::ConfigManagementPolicyController]
1191
1189
  attr_accessor :policy_controller
1192
1190
 
1193
- # Version of ACM installed.
1191
+ # Optional. Version of ACM installed.
1194
1192
  # Corresponds to the JSON property `version`
1195
1193
  # @return [String]
1196
1194
  attr_accessor :version
@@ -1220,8 +1218,9 @@ module Google
1220
1218
  # @return [Google::Apis::GkehubV2::ConfigManagementBinauthzState]
1221
1219
  attr_accessor :binauthz_state
1222
1220
 
1223
- # This field is set to the `cluster_name` field of the Membership Spec if it is
1224
- # not empty. Otherwise, it is set to the cluster's fleet membership name.
1221
+ # Output only. This field is set to the `cluster_name` field of the Membership
1222
+ # Spec if it is not empty. Otherwise, it is set to the cluster's fleet
1223
+ # membership name.
1225
1224
  # Corresponds to the JSON property `clusterName`
1226
1225
  # @return [String]
1227
1226
  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.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241206"
25
+ REVISION = "20250113"
26
26
  end
27
27
  end
28
28
  end
@@ -663,7 +663,6 @@ module Google
663
663
  class ConfigManagementConfigSync
664
664
  # @private
665
665
  class Representation < Google::Apis::Core::JsonRepresentation
666
- property :allow_vertical_scale, as: 'allowVerticalScale'
667
666
  property :enabled, as: 'enabled'
668
667
  property :git, as: 'git', class: Google::Apis::GkehubV2::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV2::ConfigManagementGitConfig::Representation
669
668
 
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.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 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.4.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v2/v0.6.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.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for GKE Hub API V2
82
79
  test_files: []