google-apis-gkehub_v1 0.42.0 → 0.44.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: 80c9f3e45d7504e942f76568f4d3e8a04cf7f7631b9856ac49acc6446109ca3e
4
- data.tar.gz: a411d95c7ff0221b4eb2d63bf5feddc54f98a2beb9d28e66f11f7c886f94f50c
3
+ metadata.gz: e0e561ab1b6590be00dab4f440bea598ae4d933daad5ad6f16b5ec9ff27eb4ae
4
+ data.tar.gz: 70d4f72b9b2d66d0954027b3be3ad4cb53090f3aaa368166298ac85a99298b31
5
5
  SHA512:
6
- metadata.gz: cd12f998572c80f0aa53746c500ab698fcea6a410696372630cb79c0db9936488a3dd80b017de9801e092f8c87ee7904d96e9e03094f9e92d77d7ac7dc9d9a35
7
- data.tar.gz: 6ca05a5ded483105bcdaf6e1f708b070715920d441e10a421da3cfc052f9e8946f3f3beaf3fab59c259af8330254ac88e72039a32c021ce81164afe02387679b
6
+ metadata.gz: 3e30f940db59aae209d924583ef2b488e5f4b39999f49bcb7aaa390af401e246ac4edbc9e0e8f19629ae1ee2e41810e54b81b116646252f67fec189989884991
7
+ data.tar.gz: 65909d8ca747d49ee680f3db6049ed7b974a2ec02ce24923bb69baffc3c53ef58f41f3745cb5c3c754c6fc103daa86d2248b97b2ee3b1fe285fd760fb7fd9066
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.44.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230407
6
+
7
+ ### v0.43.0 (2023-03-19)
8
+
9
+ * Regenerated from discovery document revision 20230310
10
+
3
11
  ### v0.42.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230219
@@ -395,6 +395,11 @@ module Google
395
395
  # @return [Google::Apis::GkehubV1::ConfigManagementGitConfig]
396
396
  attr_accessor :git
397
397
 
398
+ # Configuration for Managed Config Sync.
399
+ # Corresponds to the JSON property `managed`
400
+ # @return [Google::Apis::GkehubV1::ConfigManagementManaged]
401
+ attr_accessor :managed
402
+
398
403
  # OCI repo configuration for a single cluster
399
404
  # Corresponds to the JSON property `oci`
400
405
  # @return [Google::Apis::GkehubV1::ConfigManagementOciConfig]
@@ -423,6 +428,7 @@ module Google
423
428
  @allow_vertical_scale = args[:allow_vertical_scale] if args.key?(:allow_vertical_scale)
424
429
  @enabled = args[:enabled] if args.key?(:enabled)
425
430
  @git = args[:git] if args.key?(:git)
431
+ @managed = args[:managed] if args.key?(:managed)
426
432
  @oci = args[:oci] if args.key?(:oci)
427
433
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
428
434
  @source_format = args[:source_format] if args.key?(:source_format)
@@ -862,6 +868,27 @@ module Google
862
868
  end
863
869
  end
864
870
 
871
+ # Configuration for Managed Config Sync.
872
+ class ConfigManagementManaged
873
+ include Google::Apis::Core::Hashable
874
+
875
+ # Set to true to enable Managed Config Sync. Defaults to false which disables
876
+ # Managed Config Sync.
877
+ # Corresponds to the JSON property `enabled`
878
+ # @return [Boolean]
879
+ attr_accessor :enabled
880
+ alias_method :enabled?, :enabled
881
+
882
+ def initialize(**args)
883
+ update!(**args)
884
+ end
885
+
886
+ # Update properties of this object
887
+ def update!(**args)
888
+ @enabled = args[:enabled] if args.key?(:enabled)
889
+ end
890
+ end
891
+
865
892
  # **Anthos Config Management**: Configuration for a single cluster. Intended to
866
893
  # parallel the ConfigManagement CR.
867
894
  class ConfigManagementMembershipSpec
@@ -2369,6 +2396,12 @@ module Google
2369
2396
  # @return [String]
2370
2397
  attr_accessor :last_connection_time
2371
2398
 
2399
+ # This field informs Fleet-based applications/services/UIs with the necessary
2400
+ # information for where each underlying Cluster reports its metrics.
2401
+ # Corresponds to the JSON property `monitoringConfig`
2402
+ # @return [Google::Apis::GkehubV1::MonitoringConfig]
2403
+ attr_accessor :monitoring_config
2404
+
2372
2405
  # Output only. The full, unique name of this Membership resource in the format `
2373
2406
  # projects/*/locations/*/memberships/`membership_id``, set during creation. `
2374
2407
  # membership_id` must be a valid RFC 1123 compliant DNS label: 1. At most 63
@@ -2411,6 +2444,7 @@ module Google
2411
2444
  @external_id = args[:external_id] if args.key?(:external_id)
2412
2445
  @labels = args[:labels] if args.key?(:labels)
2413
2446
  @last_connection_time = args[:last_connection_time] if args.key?(:last_connection_time)
2447
+ @monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
2414
2448
  @name = args[:name] if args.key?(:name)
2415
2449
  @state = args[:state] if args.key?(:state)
2416
2450
  @unique_id = args[:unique_id] if args.key?(:unique_id)
@@ -2691,6 +2725,58 @@ module Google
2691
2725
  end
2692
2726
  end
2693
2727
 
2728
+ # This field informs Fleet-based applications/services/UIs with the necessary
2729
+ # information for where each underlying Cluster reports its metrics.
2730
+ class MonitoringConfig
2731
+ include Google::Apis::Core::Hashable
2732
+
2733
+ # Immutable. Cluster name used to report metrics. For Anthos on VMWare/Baremetal,
2734
+ # it would be in format `memberClusters/cluster_name`; And for Anthos on
2735
+ # MultiCloud, it would be in format ``azureClusters, awsClusters`/cluster_name`.
2736
+ # Corresponds to the JSON property `cluster`
2737
+ # @return [String]
2738
+ attr_accessor :cluster
2739
+
2740
+ # Immutable. Cluster hash, this is a unique string generated by google code,
2741
+ # which does not contain any PII, which we can use to reference the cluster.
2742
+ # This is expected to be created by the monitoring stack and persisted into the
2743
+ # Cluster object as well as to GKE-Hub.
2744
+ # Corresponds to the JSON property `clusterHash`
2745
+ # @return [String]
2746
+ attr_accessor :cluster_hash
2747
+
2748
+ # Kubernetes system metrics, if available, are written to this prefix. This
2749
+ # defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos
2750
+ # eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today but
2751
+ # will migration to be under kubernetes.io/anthos
2752
+ # Corresponds to the JSON property `kubernetesMetricsPrefix`
2753
+ # @return [String]
2754
+ attr_accessor :kubernetes_metrics_prefix
2755
+
2756
+ # Immutable. Location used to report Metrics
2757
+ # Corresponds to the JSON property `location`
2758
+ # @return [String]
2759
+ attr_accessor :location
2760
+
2761
+ # Immutable. Project used to report Metrics
2762
+ # Corresponds to the JSON property `projectId`
2763
+ # @return [String]
2764
+ attr_accessor :project_id
2765
+
2766
+ def initialize(**args)
2767
+ update!(**args)
2768
+ end
2769
+
2770
+ # Update properties of this object
2771
+ def update!(**args)
2772
+ @cluster = args[:cluster] if args.key?(:cluster)
2773
+ @cluster_hash = args[:cluster_hash] if args.key?(:cluster_hash)
2774
+ @kubernetes_metrics_prefix = args[:kubernetes_metrics_prefix] if args.key?(:kubernetes_metrics_prefix)
2775
+ @location = args[:location] if args.key?(:location)
2776
+ @project_id = args[:project_id] if args.key?(:project_id)
2777
+ end
2778
+ end
2779
+
2694
2780
  # MultiCloudCluster contains information specific to GKE Multi-Cloud clusters.
2695
2781
  class MultiCloudCluster
2696
2782
  include Google::Apis::Core::Hashable
@@ -3228,7 +3314,8 @@ module Google
3228
3314
  class ServiceMeshMembershipSpec
3229
3315
  include Google::Apis::Core::Hashable
3230
3316
 
3231
- # Enables automatic control plane management.
3317
+ # Deprecated: use `management` instead Enables automatic control plane
3318
+ # management.
3232
3319
  # Corresponds to the JSON property `controlPlane`
3233
3320
  # @return [String]
3234
3321
  attr_accessor :control_plane
@@ -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.42.0"
19
+ GEM_VERSION = "0.44.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 = "20230219"
25
+ REVISION = "20230407"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class ConfigManagementManaged
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class ConfigManagementMembershipSpec
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -448,6 +454,12 @@ module Google
448
454
  include Google::Apis::Core::JsonObjectSupport
449
455
  end
450
456
 
457
+ class MonitoringConfig
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
451
463
  class MultiCloudCluster
452
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
465
 
@@ -681,6 +693,8 @@ module Google
681
693
  property :enabled, as: 'enabled'
682
694
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
683
695
 
696
+ property :managed, as: 'managed', class: Google::Apis::GkehubV1::ConfigManagementManaged, decorator: Google::Apis::GkehubV1::ConfigManagementManaged::Representation
697
+
684
698
  property :oci, as: 'oci', class: Google::Apis::GkehubV1::ConfigManagementOciConfig, decorator: Google::Apis::GkehubV1::ConfigManagementOciConfig::Representation
685
699
 
686
700
  property :prevent_drift, as: 'preventDrift'
@@ -811,6 +825,13 @@ module Google
811
825
  end
812
826
  end
813
827
 
828
+ class ConfigManagementManaged
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :enabled, as: 'enabled'
832
+ end
833
+ end
834
+
814
835
  class ConfigManagementMembershipSpec
815
836
  # @private
816
837
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1233,6 +1254,8 @@ module Google
1233
1254
  property :external_id, as: 'externalId'
1234
1255
  hash :labels, as: 'labels'
1235
1256
  property :last_connection_time, as: 'lastConnectionTime'
1257
+ property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::GkehubV1::MonitoringConfig, decorator: Google::Apis::GkehubV1::MonitoringConfig::Representation
1258
+
1236
1259
  property :name, as: 'name'
1237
1260
  property :state, as: 'state', class: Google::Apis::GkehubV1::MembershipState, decorator: Google::Apis::GkehubV1::MembershipState::Representation
1238
1261
 
@@ -1324,6 +1347,17 @@ module Google
1324
1347
  end
1325
1348
  end
1326
1349
 
1350
+ class MonitoringConfig
1351
+ # @private
1352
+ class Representation < Google::Apis::Core::JsonRepresentation
1353
+ property :cluster, as: 'cluster'
1354
+ property :cluster_hash, as: 'clusterHash'
1355
+ property :kubernetes_metrics_prefix, as: 'kubernetesMetricsPrefix'
1356
+ property :location, as: 'location'
1357
+ property :project_id, as: 'projectId'
1358
+ end
1359
+ end
1360
+
1327
1361
  class MultiCloudCluster
1328
1362
  # @private
1329
1363
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1175,13 +1175,7 @@ module Google
1175
1175
  end
1176
1176
 
1177
1177
  # Lists operations that match the specified filter in the request. If the server
1178
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1179
- # binding allows API services to override the binding to use different resource
1180
- # name schemes, such as `users/*/operations`. To override the binding, API
1181
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1182
- # service configuration. For backwards compatibility, the default name includes
1183
- # the operations collection id, however overriding users must ensure the name
1184
- # binding is the parent resource, without the operations collection id.
1178
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1185
1179
  # @param [String] name
1186
1180
  # The name of the operation's parent resource.
1187
1181
  # @param [String] filter
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.42.0
4
+ version: 0.44.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-02-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.44.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: []