google-apis-gkehub_v1 0.49.0 → 0.50.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: 03f6db70fd45a6fbf82a9c6b9d9ccc0c76ff2d7f3e31ec6fc07e0a8343d203d9
4
- data.tar.gz: 6f20742f100cea7857d8feb546142ba961befa38912e03681dacca7490dd0667
3
+ metadata.gz: f53b550096d6977d0e598c408599faa1cf4887ce81bebc4f841068bec9dfc329
4
+ data.tar.gz: 1faba506e9a10e8b5295a1dd34618b9c05a4a4f3805b5baed82f73dad94d0920
5
5
  SHA512:
6
- metadata.gz: 12f3fdd4186b3bd1649c18ae801a6738dd2c020bd4e29b1b873c3a225d85ff6cc646774056bba64d2fbdba16a519f55727ee7deb725594ee0c03230b7bae4bf8
7
- data.tar.gz: 366a71ccae50e36fd1df1e5c158819e837f575c235b351569498737a1bdba44d796356fab242f251d53c626c46420bc4f5ca6902440089d5468d69e8a2ab66ca
6
+ metadata.gz: c15648a3d8e5cce2881ad6a6b533c38180043914cb8623fcbab0f8083d7f64cd7c938db56b7e5a35443f48336f7988e5d89cce1737acf236f68a84f8d27bc79d
7
+ data.tar.gz: 16880f164b10f98ce47f7d430caaef556ac7a50f9d122fe8c2506a9d25d20a52c136f5436276cd4cb6e2dc7b389d3484fe6f85e53cea9a20e8f2a1c12a9da127
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.50.0 (2023-06-25)
4
+
5
+ * Regenerated from discovery document revision 20230620
6
+
3
7
  ### v0.49.0 (2023-06-18)
4
8
 
5
9
  * Regenerated from discovery document revision 20230609
@@ -381,11 +381,9 @@ 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 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).
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 the git or oci field.
389
387
  # Corresponds to the JSON property `enabled`
390
388
  # @return [Boolean]
391
389
  attr_accessor :enabled
@@ -396,17 +394,12 @@ module Google
396
394
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
397
395
  attr_accessor :git
398
396
 
399
- # Configuration for Managed Config Sync.
400
- # Corresponds to the JSON property `managed`
401
- # @return [Google::Apis::GkehubV1::ConfigManagementManaged]
402
- attr_accessor :managed
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
397
+ # The Email of the Google Cloud Service Account (GSA) used for exporting Config
398
+ # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
406
399
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
407
400
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
408
401
  # namespace `config-management-monitoring` should be binded to the GSA. This
409
- # field is required when Managed Config Sync is enabled.
402
+ # field is required when automatic Feature management is enabled.
410
403
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
411
404
  # @return [String]
412
405
  attr_accessor :metrics_gcp_service_account_email
@@ -430,6 +423,14 @@ module Google
430
423
  # @return [String]
431
424
  attr_accessor :source_format
432
425
 
426
+ # Set to true to stop syncing configs for a single cluster when automatic
427
+ # Feature management is enabled. Default to false. The field will be ignored
428
+ # when automatic Feature management is disabled.
429
+ # Corresponds to the JSON property `stopSyncing`
430
+ # @return [Boolean]
431
+ attr_accessor :stop_syncing
432
+ alias_method :stop_syncing?, :stop_syncing
433
+
433
434
  def initialize(**args)
434
435
  update!(**args)
435
436
  end
@@ -439,11 +440,11 @@ module Google
439
440
  @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
440
441
  @enabled = args[:enabled] if args.key?(:enabled)
441
442
  @git = args[:git] if args.key?(:git)
442
- @managed = args[:managed] if args.key?(:managed)
443
443
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
444
444
  @oci = args[:oci] if args.key?(:oci)
445
445
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
446
446
  @source_format = args[:source_format] if args.key?(:source_format)
447
+ @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
447
448
  end
448
449
  end
449
450
 
@@ -685,7 +686,7 @@ module Google
685
686
  class ConfigManagementGitConfig
686
687
  include Google::Apis::Core::Hashable
687
688
 
688
- # The GCP Service Account Email used for auth when secret_type is
689
+ # The Google Cloud Service Account Email used for auth when secret_type is
689
690
  # gcpServiceAccount.
690
691
  # Corresponds to the JSON property `gcpServiceAccountEmail`
691
692
  # @return [String]
@@ -905,36 +906,6 @@ module Google
905
906
  end
906
907
  end
907
908
 
908
- # Configuration for Managed Config Sync.
909
- class ConfigManagementManaged
910
- include Google::Apis::Core::Hashable
911
-
912
- # Set to true to enable Managed Config Sync. Defaults to false which disables
913
- # Managed Config Sync. Setting this field to true when configSync.enabled is
914
- # false is invalid.
915
- # Corresponds to the JSON property `enabled`
916
- # @return [Boolean]
917
- attr_accessor :enabled
918
- alias_method :enabled?, :enabled
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
-
927
- def initialize(**args)
928
- update!(**args)
929
- end
930
-
931
- # Update properties of this object
932
- def update!(**args)
933
- @enabled = args[:enabled] if args.key?(:enabled)
934
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
935
- end
936
- end
937
-
938
909
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
939
910
  # parallel the ConfigManagement CR.
940
911
  class ConfigManagementMembershipSpec
@@ -960,6 +931,11 @@ module Google
960
931
  # @return [Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig]
961
932
  attr_accessor :hierarchy_controller
962
933
 
934
+ # Enables automatic Feature management.
935
+ # Corresponds to the JSON property `management`
936
+ # @return [String]
937
+ attr_accessor :management
938
+
963
939
  # Configuration for Policy Controller
964
940
  # Corresponds to the JSON property `policyController`
965
941
  # @return [Google::Apis::GkehubV1::ConfigManagementPolicyController]
@@ -979,6 +955,7 @@ module Google
979
955
  @cluster = args[:cluster] if args.key?(:cluster)
980
956
  @config_sync = args[:config_sync] if args.key?(:config_sync)
981
957
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
958
+ @management = args[:management] if args.key?(:management)
982
959
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
983
960
  @version = args[:version] if args.key?(:version)
984
961
  end
@@ -1039,7 +1016,7 @@ module Google
1039
1016
  class ConfigManagementOciConfig
1040
1017
  include Google::Apis::Core::Hashable
1041
1018
 
1042
- # The GCP Service Account Email used for auth when secret_type is
1019
+ # The Google Cloud Service Account Email used for auth when secret_type is
1043
1020
  # gcpServiceAccount.
1044
1021
  # Corresponds to the JSON property `gcpServiceAccountEmail`
1045
1022
  # @return [String]
@@ -2790,12 +2767,6 @@ module Google
2790
2767
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipSpec]
2791
2768
  attr_accessor :configmanagement
2792
2769
 
2793
- # True if value of `feature_spec` was inherited from a fleet-level default.
2794
- # Corresponds to the JSON property `fleetInherited`
2795
- # @return [Boolean]
2796
- attr_accessor :fleet_inherited
2797
- alias_method :fleet_inherited?, :fleet_inherited
2798
-
2799
2770
  # **FleetObservability**: The membership-specific input for FleetObservability
2800
2771
  # feature.
2801
2772
  # Corresponds to the JSON property `fleetobservability`
@@ -2812,6 +2783,11 @@ module Google
2812
2783
  # @return [Google::Apis::GkehubV1::ServiceMeshMembershipSpec]
2813
2784
  attr_accessor :mesh
2814
2785
 
2786
+ # Origin defines where this MembershipFeatureSpec originated from.
2787
+ # Corresponds to the JSON property `origin`
2788
+ # @return [Google::Apis::GkehubV1::Origin]
2789
+ attr_accessor :origin
2790
+
2815
2791
  def initialize(**args)
2816
2792
  update!(**args)
2817
2793
  end
@@ -2819,10 +2795,10 @@ module Google
2819
2795
  # Update properties of this object
2820
2796
  def update!(**args)
2821
2797
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
2822
- @fleet_inherited = args[:fleet_inherited] if args.key?(:fleet_inherited)
2823
2798
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
2824
2799
  @identityservice = args[:identityservice] if args.key?(:identityservice)
2825
2800
  @mesh = args[:mesh] if args.key?(:mesh)
2801
+ @origin = args[:origin] if args.key?(:origin)
2826
2802
  end
2827
2803
  end
2828
2804
 
@@ -3168,6 +3144,25 @@ module Google
3168
3144
  end
3169
3145
  end
3170
3146
 
3147
+ # Origin defines where this MembershipFeatureSpec originated from.
3148
+ class Origin
3149
+ include Google::Apis::Core::Hashable
3150
+
3151
+ # Type specifies which type of origin is set.
3152
+ # Corresponds to the JSON property `type`
3153
+ # @return [String]
3154
+ attr_accessor :type
3155
+
3156
+ def initialize(**args)
3157
+ update!(**args)
3158
+ end
3159
+
3160
+ # Update properties of this object
3161
+ def update!(**args)
3162
+ @type = args[:type] if args.key?(:type)
3163
+ end
3164
+ end
3165
+
3171
3166
  # An Identity and Access Management (IAM) policy, which specifies access
3172
3167
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3173
3168
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -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.49.0"
19
+ GEM_VERSION = "0.50.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 = "20230609"
25
+ REVISION = "20230620"
26
26
  end
27
27
  end
28
28
  end
@@ -172,12 +172,6 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class ConfigManagementManaged
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
175
  class ConfigManagementMembershipSpec
182
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
177
 
@@ -514,6 +508,12 @@ module Google
514
508
  include Google::Apis::Core::JsonObjectSupport
515
509
  end
516
510
 
511
+ class Origin
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
517
  class Policy
518
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
519
 
@@ -717,13 +717,12 @@ module Google
717
717
  property :enabled, as: 'enabled'
718
718
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
719
719
 
720
- property :managed, as: 'managed', class: Google::Apis::GkehubV1::ConfigManagementManaged, decorator: Google::Apis::GkehubV1::ConfigManagementManaged::Representation
721
-
722
720
  property :metrics_gcp_service_account_email, as: 'metricsGcpServiceAccountEmail'
723
721
  property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
724
722
 
725
723
  property :prevent_drift, as: 'preventDrift'
726
724
  property :source_format, as: 'sourceFormat'
725
+ property :stop_syncing, as: 'stopSyncing'
727
726
  end
728
727
  end
729
728
 
@@ -859,14 +858,6 @@ module Google
859
858
  end
860
859
  end
861
860
 
862
- class ConfigManagementManaged
863
- # @private
864
- class Representation < Google::Apis::Core::JsonRepresentation
865
- property :enabled, as: 'enabled'
866
- property :stop_syncing, as: 'stopSyncing'
867
- end
868
- end
869
-
870
861
  class ConfigManagementMembershipSpec
871
862
  # @private
872
863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -875,6 +866,7 @@ module Google
875
866
 
876
867
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig::Representation
877
868
 
869
+ property :management, as: 'management'
878
870
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyController::Representation
879
871
 
880
872
  property :version, as: 'version'
@@ -1380,13 +1372,14 @@ module Google
1380
1372
  class Representation < Google::Apis::Core::JsonRepresentation
1381
1373
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipSpec::Representation
1382
1374
 
1383
- property :fleet_inherited, as: 'fleetInherited'
1384
1375
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityMembershipSpec, decorator: Google::Apis::GkehubV1::FleetObservabilityMembershipSpec::Representation
1385
1376
 
1386
1377
  property :identityservice, as: 'identityservice', class: Google::Apis::GkehubV1::IdentityServiceMembershipSpec, decorator: Google::Apis::GkehubV1::IdentityServiceMembershipSpec::Representation
1387
1378
 
1388
1379
  property :mesh, as: 'mesh', class: Google::Apis::GkehubV1::ServiceMeshMembershipSpec, decorator: Google::Apis::GkehubV1::ServiceMeshMembershipSpec::Representation
1389
1380
 
1381
+ property :origin, as: 'origin', class: Google::Apis::GkehubV1::Origin, decorator: Google::Apis::GkehubV1::Origin::Representation
1382
+
1390
1383
  end
1391
1384
  end
1392
1385
 
@@ -1476,6 +1469,13 @@ module Google
1476
1469
  end
1477
1470
  end
1478
1471
 
1472
+ class Origin
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :type, as: 'type'
1476
+ end
1477
+ end
1478
+
1479
1479
  class Policy
1480
1480
  # @private
1481
1481
  class Representation < Google::Apis::Core::JsonRepresentation
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.49.0
4
+ version: 0.50.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-06-18 00:00:00.000000000 Z
11
+ date: 2023-06-25 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.50.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: []