google-apis-gkehub_v1beta 0.47.0 → 0.49.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: e9002a4044b34b80f3e1f863911ffffc92d4b0489b90ad3480aa0566e7883ad7
4
- data.tar.gz: 79d66e1d1781e05d5cc75997f89e7576562214b5de6f422d697df2965c869d1c
3
+ metadata.gz: 7282bb77d0f99e6954e2db5358244dd2e4e49a6e160aebbf107e4afdb288dad4
4
+ data.tar.gz: 66d25db01f2900ba3148a93e50b0270893788a01727cc3b9d9b8374c5b5564bf
5
5
  SHA512:
6
- metadata.gz: 62db8ae1910d84856651cdca3fd142657e99d5b9f30bdc059fb9d348a19225ef677add9a3d85e495e34f05ecd6bd024a4669926d669aa7af0df76b581af8677f
7
- data.tar.gz: 1e115d5911d3add84c3ad7c553f2c3e36e86654284c3e95ae31bf5f69789d1a733a8d3e0c8262d6ba31aed758a15168b63b4e907adc4a24f36231be8e43b8474
6
+ metadata.gz: 3a3f9a226cb4b613fbcd7fd0f78e58d9077d61f38f110f66ea5654ccc4f04223aeeb023801f2fba9b389757d420bcc81e53e0b8a38c0df844452e2207b4b6415
7
+ data.tar.gz: e573d5e82ff428887207b75df51c8d817fa41e88f027a013c928325b12eceaa56823cc27a78e5575dee9caaf8954b4bc04912938046d2e156015502d8ab15df4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.49.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230609
6
+
7
+ ### v0.48.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230606
10
+
3
11
  ### v0.47.0 (2023-05-21)
4
12
 
5
13
  * 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
@@ -1179,6 +1235,11 @@ module Google
1179
1235
  attr_accessor :template_library_installed
1180
1236
  alias_method :template_library_installed?, :template_library_installed
1181
1237
 
1238
+ # Output only. Last time this membership spec was updated.
1239
+ # Corresponds to the JSON property `updateTime`
1240
+ # @return [String]
1241
+ attr_accessor :update_time
1242
+
1182
1243
  def initialize(**args)
1183
1244
  update!(**args)
1184
1245
  end
@@ -1193,6 +1254,7 @@ module Google
1193
1254
  @mutation_enabled = args[:mutation_enabled] if args.key?(:mutation_enabled)
1194
1255
  @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled)
1195
1256
  @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed)
1257
+ @update_time = args[:update_time] if args.key?(:update_time)
1196
1258
  end
1197
1259
  end
1198
1260
 
@@ -1200,6 +1262,11 @@ module Google
1200
1262
  class ConfigManagementPolicyControllerMigration
1201
1263
  include Google::Apis::Core::Hashable
1202
1264
 
1265
+ # Last time this membership spec was copied to PoCo feature.
1266
+ # Corresponds to the JSON property `copyTime`
1267
+ # @return [String]
1268
+ attr_accessor :copy_time
1269
+
1203
1270
  # Stage of the migration.
1204
1271
  # Corresponds to the JSON property `stage`
1205
1272
  # @return [String]
@@ -1211,6 +1278,7 @@ module Google
1211
1278
 
1212
1279
  # Update properties of this object
1213
1280
  def update!(**args)
1281
+ @copy_time = args[:copy_time] if args.key?(:copy_time)
1214
1282
  @stage = args[:stage] if args.key?(:stage)
1215
1283
  end
1216
1284
  end
@@ -2463,7 +2531,7 @@ module Google
2463
2531
  end
2464
2532
 
2465
2533
  # MembershipFeatureSpec contains configuration information for a single
2466
- # Membership.
2534
+ # Membership. NOTE: Please use snake case in your feature name.
2467
2535
  class MembershipFeatureSpec
2468
2536
  include Google::Apis::Core::Hashable
2469
2537
 
@@ -3235,6 +3303,11 @@ module Google
3235
3303
  # @return [Hash<String,Google::Apis::GkehubV1beta::PolicyControllerOnClusterState>]
3236
3304
  attr_accessor :bundle_states
3237
3305
 
3306
+ # OnClusterState represents the state of a sub-component of Policy Controller.
3307
+ # Corresponds to the JSON property `referentialSyncConfigState`
3308
+ # @return [Google::Apis::GkehubV1beta::PolicyControllerOnClusterState]
3309
+ attr_accessor :referential_sync_config_state
3310
+
3238
3311
  # OnClusterState represents the state of a sub-component of Policy Controller.
3239
3312
  # Corresponds to the JSON property `templateLibraryState`
3240
3313
  # @return [Google::Apis::GkehubV1beta::PolicyControllerOnClusterState]
@@ -3247,6 +3320,7 @@ module Google
3247
3320
  # Update properties of this object
3248
3321
  def update!(**args)
3249
3322
  @bundle_states = args[:bundle_states] if args.key?(:bundle_states)
3323
+ @referential_sync_config_state = args[:referential_sync_config_state] if args.key?(:referential_sync_config_state)
3250
3324
  @template_library_state = args[:template_library_state] if args.key?(:template_library_state)
3251
3325
  end
3252
3326
  end
@@ -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.49.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 = "20230609"
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
@@ -1010,12 +1028,14 @@ module Google
1010
1028
  property :mutation_enabled, as: 'mutationEnabled'
1011
1029
  property :referential_rules_enabled, as: 'referentialRulesEnabled'
1012
1030
  property :template_library_installed, as: 'templateLibraryInstalled'
1031
+ property :update_time, as: 'updateTime'
1013
1032
  end
1014
1033
  end
1015
1034
 
1016
1035
  class ConfigManagementPolicyControllerMigration
1017
1036
  # @private
1018
1037
  class Representation < Google::Apis::Core::JsonRepresentation
1038
+ property :copy_time, as: 'copyTime'
1019
1039
  property :stage, as: 'stage'
1020
1040
  end
1021
1041
  end
@@ -1584,6 +1604,8 @@ module Google
1584
1604
  class Representation < Google::Apis::Core::JsonRepresentation
1585
1605
  hash :bundle_states, as: 'bundleStates', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1586
1606
 
1607
+ property :referential_sync_config_state, as: 'referentialSyncConfigState', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1608
+
1587
1609
  property :template_library_state, as: 'templateLibraryState', class: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState, decorator: Google::Apis::GkehubV1beta::PolicyControllerOnClusterState::Representation
1588
1610
 
1589
1611
  end
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.49.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-18 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.49.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: []