google-apis-gkehub_v1 0.47.0 → 0.48.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: 792cb66049a7832e52851dfdf2b4a9e03bad07e41b76cf2919543bf7fca8f35f
4
- data.tar.gz: 9a8aa2b7383925a7f40d88b0c32815cd279e4cbcb7e6757e43fb019045eecf6f
3
+ metadata.gz: b4f849bd64eba11110a6ed457f62aecb4aa76241a1ad7b3bfd9b7ededf18c34a
4
+ data.tar.gz: cb60335acc81462ba7bc6f698e31785f7086e9ef2e2c091f1b72b5e77b748c33
5
5
  SHA512:
6
- metadata.gz: 49204d7ca10d6a52e2fdec13d74c7eda82fbe18983e8edae544d57bc523ac58b839e38326c61fc39dd0785086eed72c7a354f387b786bd6508316dd26ea7af64
7
- data.tar.gz: f5eb180104a3d54b52cf297414a7106130d6f34a49471f5b37b4083c0fca100f01118ffcfd8d1bfc55fe3ef70889bfebe166a9c571179f9834dd55ae2fe50a0e
6
+ metadata.gz: d16b8a00a61133412949da3a811787be060db61e7996a29170e27ea3dd4dfe7748dbef1c46b1880f82139647de23c33f46e18b6db41689c3b2aea22504a845e7
7
+ data.tar.gz: 65091f496c40642b83ea2e7dad03d9b70a86e2a60f47574095e32200d4d358ab0f3bd94583225ac262ad582fe2fd9cdfdeb4a1bdc45f8860198ff9f7df6a9312
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.48.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230606
6
+
3
7
  ### v0.47.0 (2023-05-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20230515
@@ -381,9 +381,11 @@ module Google
381
381
 
382
382
  # Enables the installation of ConfigSync. If set to true, ConfigSync resources
383
383
  # will be created and the other ConfigSync fields will be applied if exist. If
384
- # set to false, all other ConfigSync fields will be ignored, ConfigSync
385
- # resources will be deleted. If omitted, ConfigSync resources will be managed
386
- # depends on the presence of git field.
384
+ # set to false and Managed Config Sync is disabled, all other ConfigSync fields
385
+ # will be ignored, ConfigSync resources will be deleted. Setting this field to
386
+ # false while enabling Managed Config Sync is invalid. If omitted, ConfigSync
387
+ # resources will be managed if: * the git or oci field is present; or * Managed
388
+ # Config Sync is enabled (i.e., managed.enabled is true).
387
389
  # Corresponds to the JSON property `enabled`
388
390
  # @return [Boolean]
389
391
  attr_accessor :enabled
@@ -399,6 +401,16 @@ module Google
399
401
  # @return [Google::Apis::GkehubV1::ConfigManagementManaged]
400
402
  attr_accessor :managed
401
403
 
404
+ # The Email of the GCP Service Account (GSA) used for exporting Config Sync
405
+ # metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
406
+ # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
407
+ # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
408
+ # namespace `config-management-monitoring` should be binded to the GSA. This
409
+ # field is required when Managed Config Sync is enabled.
410
+ # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
411
+ # @return [String]
412
+ attr_accessor :metrics_gcp_service_account_email
413
+
402
414
  # OCI repo configuration for a single cluster
403
415
  # Corresponds to the JSON property `oci`
404
416
  # @return [Google::Apis::GkehubV1::ConfigManagementOciConfig]
@@ -428,6 +440,7 @@ module Google
428
440
  @enabled = args[:enabled] if args.key?(:enabled)
429
441
  @git = args[:git] if args.key?(:git)
430
442
  @managed = args[:managed] if args.key?(:managed)
443
+ @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
431
444
  @oci = args[:oci] if args.key?(:oci)
432
445
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
433
446
  @source_format = args[:source_format] if args.key?(:source_format)
@@ -489,6 +502,25 @@ module Google
489
502
  end
490
503
  end
491
504
 
505
+ # Errors pertaining to the installation of Config Sync
506
+ class ConfigManagementConfigSyncError
507
+ include Google::Apis::Core::Hashable
508
+
509
+ # A string representing the user facing error message
510
+ # Corresponds to the JSON property `errorMessage`
511
+ # @return [String]
512
+ attr_accessor :error_message
513
+
514
+ def initialize(**args)
515
+ update!(**args)
516
+ end
517
+
518
+ # Update properties of this object
519
+ def update!(**args)
520
+ @error_message = args[:error_message] if args.key?(:error_message)
521
+ end
522
+ end
523
+
492
524
  # State information for ConfigSync
493
525
  class ConfigManagementConfigSyncState
494
526
  include Google::Apis::Core::Hashable
@@ -498,6 +530,11 @@ module Google
498
530
  # @return [Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState]
499
531
  attr_accessor :deployment_state
500
532
 
533
+ # Errors pertaining to the installation of Config Sync.
534
+ # Corresponds to the JSON property `errors`
535
+ # @return [Array<Google::Apis::GkehubV1::ConfigManagementConfigSyncError>]
536
+ attr_accessor :errors
537
+
501
538
  # State indicating an ACM's progress syncing configurations to a cluster
502
539
  # Corresponds to the JSON property `syncState`
503
540
  # @return [Google::Apis::GkehubV1::ConfigManagementSyncState]
@@ -515,6 +552,7 @@ module Google
515
552
  # Update properties of this object
516
553
  def update!(**args)
517
554
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
555
+ @errors = args[:errors] if args.key?(:errors)
518
556
  @sync_state = args[:sync_state] if args.key?(:sync_state)
519
557
  @version = args[:version] if args.key?(:version)
520
558
  end
@@ -872,12 +910,20 @@ module Google
872
910
  include Google::Apis::Core::Hashable
873
911
 
874
912
  # Set to true to enable Managed Config Sync. Defaults to false which disables
875
- # Managed Config Sync.
913
+ # Managed Config Sync. Setting this field to true when configSync.enabled is
914
+ # false is invalid.
876
915
  # Corresponds to the JSON property `enabled`
877
916
  # @return [Boolean]
878
917
  attr_accessor :enabled
879
918
  alias_method :enabled?, :enabled
880
919
 
920
+ # Set to true to stop syncing configs for a single cluster. Default to false. If
921
+ # set to true, Managed Config Sync will not upgrade Config Sync.
922
+ # Corresponds to the JSON property `stopSyncing`
923
+ # @return [Boolean]
924
+ attr_accessor :stop_syncing
925
+ alias_method :stop_syncing?, :stop_syncing
926
+
881
927
  def initialize(**args)
882
928
  update!(**args)
883
929
  end
@@ -885,6 +931,7 @@ module Google
885
931
  # Update properties of this object
886
932
  def update!(**args)
887
933
  @enabled = args[:enabled] if args.key?(:enabled)
934
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
888
935
  end
889
936
  end
890
937
 
@@ -893,6 +940,16 @@ module Google
893
940
  class ConfigManagementMembershipSpec
894
941
  include Google::Apis::Core::Hashable
895
942
 
943
+ # The user-specified cluster name used by Config Sync cluster-name-selector
944
+ # annotation or ClusterSelector, for applying configs to only a subset of
945
+ # clusters. Omit this field if the cluster's fleet membership name is used by
946
+ # Config Sync cluster-name-selector annotation or ClusterSelector. Set this
947
+ # field if a name different from the cluster's fleet membership name is used by
948
+ # Config Sync cluster-name-selector annotation or ClusterSelector.
949
+ # Corresponds to the JSON property `cluster`
950
+ # @return [String]
951
+ attr_accessor :cluster
952
+
896
953
  # Configuration for Config Sync
897
954
  # Corresponds to the JSON property `configSync`
898
955
  # @return [Google::Apis::GkehubV1::ConfigManagementConfigSync]
@@ -919,6 +976,7 @@ module Google
919
976
 
920
977
  # Update properties of this object
921
978
  def update!(**args)
979
+ @cluster = args[:cluster] if args.key?(:cluster)
922
980
  @config_sync = args[:config_sync] if args.key?(:config_sync)
923
981
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
924
982
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
@@ -930,10 +988,8 @@ module Google
930
988
  class ConfigManagementMembershipState
931
989
  include Google::Apis::Core::Hashable
932
990
 
933
- # The user-defined name for the cluster used by ClusterSelectors to group
934
- # clusters together. This should match Membership's membership_name, unless the
935
- # user installed ACM on the cluster manually prior to enabling the ACM hub
936
- # feature. Unique within a Anthos Config Management installation.
991
+ # This field is set to the `cluster_name` field of the Membership Spec if it is
992
+ # not empty. Otherwise, it is set to the cluster's fleet membership name.
937
993
  # Corresponds to the JSON property `clusterName`
938
994
  # @return [String]
939
995
  attr_accessor :cluster_name
@@ -2604,7 +2660,7 @@ module Google
2604
2660
  end
2605
2661
 
2606
2662
  # MembershipFeatureSpec contains configuration information for a single
2607
- # Membership.
2663
+ # Membership. NOTE: Please use snake case in your feature name.
2608
2664
  class MembershipFeatureSpec
2609
2665
  include Google::Apis::Core::Hashable
2610
2666
 
@@ -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.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230515"
25
+ REVISION = "20230606"
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 ConfigManagementConfigSyncError
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class ConfigManagementConfigSyncState
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -695,6 +701,7 @@ module Google
695
701
 
696
702
  property :managed, as: 'managed', class: Google::Apis::GkehubV1::ConfigManagementManaged, decorator: Google::Apis::GkehubV1::ConfigManagementManaged::Representation
697
703
 
704
+ property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
698
705
  property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
699
706
 
700
707
  property :prevent_drift, as: 'preventDrift'
@@ -715,11 +722,20 @@ module Google
715
722
  end
716
723
  end
717
724
 
725
+ class ConfigManagementConfigSyncError
726
+ # @private
727
+ class Representation < Google::Apis::Core::JsonRepresentation
728
+ property :error_message, as: 'errorMessage'
729
+ end
730
+ end
731
+
718
732
  class ConfigManagementConfigSyncState
719
733
  # @private
720
734
  class Representation < Google::Apis::Core::JsonRepresentation
721
735
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSyncDeploymentState::Representation
722
736
 
737
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1::ConfigManagementConfigSyncError, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSyncError::Representation
738
+
723
739
  property :sync_state, as: 'syncState', class: Google::Apis::GkehubV1::ConfigManagementSyncState, decorator: Google::Apis::GkehubV1::ConfigManagementSyncState::Representation
724
740
 
725
741
  property :version, as: 'version', class: Google::Apis::GkehubV1::ConfigManagementConfigSyncVersion, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSyncVersion::Representation
@@ -829,12 +845,14 @@ module Google
829
845
  # @private
830
846
  class Representation < Google::Apis::Core::JsonRepresentation
831
847
  property :enabled, as: 'enabled'
848
+ property :stop_syncing, as: 'stopSyncing'
832
849
  end
833
850
  end
834
851
 
835
852
  class ConfigManagementMembershipSpec
836
853
  # @private
837
854
  class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :cluster, as: 'cluster'
838
856
  property :config_sync, as: 'configSync', class: Google::Apis::GkehubV1::ConfigManagementConfigSync, decorator: Google::Apis::GkehubV1::ConfigManagementConfigSync::Representation
839
857
 
840
858
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig::Representation
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.47.0
4
+ version: 0.48.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: 2023-05-21 00:00:00.000000000 Z
11
+ date: 2023-06-11 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/main/generated/google-apis-gkehub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []