google-apis-gkehub_v1beta 0.47.0 → 0.48.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: e9002a4044b34b80f3e1f863911ffffc92d4b0489b90ad3480aa0566e7883ad7
4
- data.tar.gz: 79d66e1d1781e05d5cc75997f89e7576562214b5de6f422d697df2965c869d1c
3
+ metadata.gz: 1bcf670f14b6e6e8d66e9c20a2567782f70c5a10df982c7193e0e79d336b5d24
4
+ data.tar.gz: 1842e658ae84c77b0eb581022a826fe4a65f181afbfa2353bcecf0fa578e0e12
5
5
  SHA512:
6
- metadata.gz: 62db8ae1910d84856651cdca3fd142657e99d5b9f30bdc059fb9d348a19225ef677add9a3d85e495e34f05ecd6bd024a4669926d669aa7af0df76b581af8677f
7
- data.tar.gz: 1e115d5911d3add84c3ad7c553f2c3e36e86654284c3e95ae31bf5f69789d1a733a8d3e0c8262d6ba31aed758a15168b63b4e907adc4a24f36231be8e43b8474
6
+ metadata.gz: 2a612e44a03423ab241c4ff7fb0fd6556bfdba43c922f795d36f53a292c6b04f452849f875053298ee4837fa2287a0347cd1479ef335fb24b469504ff434e397
7
+ data.tar.gz: a7ecdc789decdae52a5a727d518df6304d63a6cfe7da08b8eba94ff1ec8076f3f859fc42259f4d9c09ae3fee634cafae322132b31c8dfcc79be448b816249699
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta
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
@@ -436,9 +436,11 @@ module Google
436
436
 
437
437
  # Enables the installation of ConfigSync. If set to true, ConfigSync resources
438
438
  # will be created and the other ConfigSync fields will be applied if exist. If
439
- # set to false, all other ConfigSync fields will be ignored, ConfigSync
440
- # resources will be deleted. If omitted, ConfigSync resources will be managed
441
- # depends on the presence of git field.
439
+ # set to false and Managed Config Sync is disabled, all other ConfigSync fields
440
+ # will be ignored, ConfigSync resources will be deleted. Setting this field to
441
+ # false while enabling Managed Config Sync is invalid. If omitted, ConfigSync
442
+ # resources will be managed if: * the git or oci field is present; or * Managed
443
+ # Config Sync is enabled (i.e., managed.enabled is true).
442
444
  # Corresponds to the JSON property `enabled`
443
445
  # @return [Boolean]
444
446
  attr_accessor :enabled
@@ -454,6 +456,16 @@ module Google
454
456
  # @return [Google::Apis::GkehubV1beta::ConfigManagementManaged]
455
457
  attr_accessor :managed
456
458
 
459
+ # The Email of the GCP Service Account (GSA) used for exporting Config Sync
460
+ # metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
461
+ # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
462
+ # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
463
+ # namespace `config-management-monitoring` should be binded to the GSA. This
464
+ # field is required when Managed Config Sync is enabled.
465
+ # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
466
+ # @return [String]
467
+ attr_accessor :metrics_gcp_service_account_email
468
+
457
469
  # OCI repo configuration for a single cluster
458
470
  # Corresponds to the JSON property `oci`
459
471
  # @return [Google::Apis::GkehubV1beta::ConfigManagementOciConfig]
@@ -483,6 +495,7 @@ module Google
483
495
  @enabled = args[:enabled] if args.key?(:enabled)
484
496
  @git = args[:git] if args.key?(:git)
485
497
  @managed = args[:managed] if args.key?(:managed)
498
+ @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
486
499
  @oci = args[:oci] if args.key?(:oci)
487
500
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
488
501
  @source_format = args[:source_format] if args.key?(:source_format)
@@ -544,6 +557,25 @@ module Google
544
557
  end
545
558
  end
546
559
 
560
+ # Errors pertaining to the installation of Config Sync
561
+ class ConfigManagementConfigSyncError
562
+ include Google::Apis::Core::Hashable
563
+
564
+ # A string representing the user facing error message
565
+ # Corresponds to the JSON property `errorMessage`
566
+ # @return [String]
567
+ attr_accessor :error_message
568
+
569
+ def initialize(**args)
570
+ update!(**args)
571
+ end
572
+
573
+ # Update properties of this object
574
+ def update!(**args)
575
+ @error_message = args[:error_message] if args.key?(:error_message)
576
+ end
577
+ end
578
+
547
579
  # State information for ConfigSync
548
580
  class ConfigManagementConfigSyncState
549
581
  include Google::Apis::Core::Hashable
@@ -553,6 +585,11 @@ module Google
553
585
  # @return [Google::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState]
554
586
  attr_accessor :deployment_state
555
587
 
588
+ # Errors pertaining to the installation of Config Sync.
589
+ # Corresponds to the JSON property `errors`
590
+ # @return [Array<Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError>]
591
+ attr_accessor :errors
592
+
556
593
  # State indicating an ACM's progress syncing configurations to a cluster
557
594
  # Corresponds to the JSON property `syncState`
558
595
  # @return [Google::Apis::GkehubV1beta::ConfigManagementSyncState]
@@ -570,6 +607,7 @@ module Google
570
607
  # Update properties of this object
571
608
  def update!(**args)
572
609
  @deployment_state = args[:deployment_state] if args.key?(:deployment_state)
610
+ @errors = args[:errors] if args.key?(:errors)
573
611
  @sync_state = args[:sync_state] if args.key?(:sync_state)
574
612
  @version = args[:version] if args.key?(:version)
575
613
  end
@@ -927,12 +965,20 @@ module Google
927
965
  include Google::Apis::Core::Hashable
928
966
 
929
967
  # Set to true to enable Managed Config Sync. Defaults to false which disables
930
- # Managed Config Sync.
968
+ # Managed Config Sync. Setting this field to true when configSync.enabled is
969
+ # false is invalid.
931
970
  # Corresponds to the JSON property `enabled`
932
971
  # @return [Boolean]
933
972
  attr_accessor :enabled
934
973
  alias_method :enabled?, :enabled
935
974
 
975
+ # Set to true to stop syncing configs for a single cluster. Default to false. If
976
+ # set to true, Managed Config Sync will not upgrade Config Sync.
977
+ # Corresponds to the JSON property `stopSyncing`
978
+ # @return [Boolean]
979
+ attr_accessor :stop_syncing
980
+ alias_method :stop_syncing?, :stop_syncing
981
+
936
982
  def initialize(**args)
937
983
  update!(**args)
938
984
  end
@@ -940,6 +986,7 @@ module Google
940
986
  # Update properties of this object
941
987
  def update!(**args)
942
988
  @enabled = args[:enabled] if args.key?(:enabled)
989
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
943
990
  end
944
991
  end
945
992
 
@@ -953,6 +1000,16 @@ module Google
953
1000
  # @return [Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig]
954
1001
  attr_accessor :binauthz
955
1002
 
1003
+ # The user-specified cluster name used by Config Sync cluster-name-selector
1004
+ # annotation or ClusterSelector, for applying configs to only a subset of
1005
+ # clusters. Omit this field if the cluster's fleet membership name is used by
1006
+ # Config Sync cluster-name-selector annotation or ClusterSelector. Set this
1007
+ # field if a name different from the cluster's fleet membership name is used by
1008
+ # Config Sync cluster-name-selector annotation or ClusterSelector.
1009
+ # Corresponds to the JSON property `cluster`
1010
+ # @return [String]
1011
+ attr_accessor :cluster
1012
+
956
1013
  # Configuration for Config Sync
957
1014
  # Corresponds to the JSON property `configSync`
958
1015
  # @return [Google::Apis::GkehubV1beta::ConfigManagementConfigSync]
@@ -980,6 +1037,7 @@ module Google
980
1037
  # Update properties of this object
981
1038
  def update!(**args)
982
1039
  @binauthz = args[:binauthz] if args.key?(:binauthz)
1040
+ @cluster = args[:cluster] if args.key?(:cluster)
983
1041
  @config_sync = args[:config_sync] if args.key?(:config_sync)
984
1042
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
985
1043
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
@@ -996,10 +1054,8 @@ module Google
996
1054
  # @return [Google::Apis::GkehubV1beta::ConfigManagementBinauthzState]
997
1055
  attr_accessor :binauthz_state
998
1056
 
999
- # The user-defined name for the cluster used by ClusterSelectors to group
1000
- # clusters together. This should match Membership's membership_name, unless the
1001
- # user installed ACM on the cluster manually prior to enabling the ACM hub
1002
- # feature. Unique within a Anthos Config Management installation.
1057
+ # This field is set to the `cluster_name` field of the Membership Spec if it is
1058
+ # not empty. Otherwise, it is set to the cluster's fleet membership name.
1003
1059
  # Corresponds to the JSON property `clusterName`
1004
1060
  # @return [String]
1005
1061
  attr_accessor :cluster_name
@@ -2463,7 +2519,7 @@ module Google
2463
2519
  end
2464
2520
 
2465
2521
  # MembershipFeatureSpec contains configuration information for a single
2466
- # Membership.
2522
+ # Membership. NOTE: Please use snake case in your feature name.
2467
2523
  class MembershipFeatureSpec
2468
2524
  include Google::Apis::Core::Hashable
2469
2525
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta 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
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class ConfigManagementConfigSyncError
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class ConfigManagementConfigSyncState
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -806,6 +812,7 @@ module Google
806
812
 
807
813
  property :managed, as: 'managed', class: Google::Apis::GkehubV1beta::ConfigManagementManaged, decorator: Google::Apis::GkehubV1beta::ConfigManagementManaged::Representation
808
814
 
815
+ property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
809
816
  property :oci, as: 'oci', class: Google::Apis::GkehubV1beta::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementOciConfig::Representation
810
817
 
811
818
  property :prevent_drift, as: 'preventDrift'
@@ -826,11 +833,20 @@ module Google
826
833
  end
827
834
  end
828
835
 
836
+ class ConfigManagementConfigSyncError
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :error_message, as: 'errorMessage'
840
+ end
841
+ end
842
+
829
843
  class ConfigManagementConfigSyncState
830
844
  # @private
831
845
  class Representation < Google::Apis::Core::JsonRepresentation
832
846
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncDeploymentState::Representation
833
847
 
848
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError, decorator: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncError::Representation
849
+
834
850
  property :sync_state, as: 'syncState', class: Google::Apis::GkehubV1beta::ConfigManagementSyncState, decorator: Google::Apis::GkehubV1beta::ConfigManagementSyncState::Representation
835
851
 
836
852
  property :version, as: 'version', class: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncVersion, decorator: Google::Apis::GkehubV1beta::ConfigManagementConfigSyncVersion::Representation
@@ -940,6 +956,7 @@ module Google
940
956
  # @private
941
957
  class Representation < Google::Apis::Core::JsonRepresentation
942
958
  property :enabled, as: 'enabled'
959
+ property :stop_syncing, as: 'stopSyncing'
943
960
  end
944
961
  end
945
962
 
@@ -948,6 +965,7 @@ module Google
948
965
  class Representation < Google::Apis::Core::JsonRepresentation
949
966
  property :binauthz, as: 'binauthz', class: Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementBinauthzConfig::Representation
950
967
 
968
+ property :cluster, as: 'cluster'
951
969
  property :config_sync, as: 'configSync', class: Google::Apis::GkehubV1beta::ConfigManagementConfigSync, decorator: Google::Apis::GkehubV1beta::ConfigManagementConfigSync::Representation
952
970
 
953
971
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []