google-cloud-gke_hub-v1 0.8.2 → 0.10.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: 77de1545cd825d7600f1e93812e6711b0adda2135acb98c3ac1b9431e9b36373
4
- data.tar.gz: 335ad3477834dbf8fc9e344880ec5aaa2d73eda31cbcba904b86d5edca1c151d
3
+ metadata.gz: f6ef92369aa99ac147f67ad9113b32bd75235d910bdb197a2d8040c87fb15135
4
+ data.tar.gz: 8a8766140af23a6f6c1d95fceaf867b346613d0f72bc619f5bcc139402a641e0
5
5
  SHA512:
6
- metadata.gz: 40cf7360c293e557f0277fc021a31430a1fc362151d708ef264b1219f08773b96c45e8f9e3f02b9a71f4e6bea39f4f2959ddeec277080bca8cbf55d296b76d03
7
- data.tar.gz: 9f7853c6ed1f1aa099cfbb40881856ff332d8e9cc28551e5da07d77f87fba1c71c6276f779254a8e6a308e11131c93c6c952c4033c4d5029f557bd84b69b4a98
6
+ metadata.gz: f9e2ebab15b6c401e657f6ca408ef8c3564c9a92e809cfa352a5be4c2c5fdbafe7a70b2db1955c2b431df2eea5874d482529f6a6d5e20fa84dfd78554a8f4a4d
7
+ data.tar.gz: 8a262bc8cfa3d8ef5252e314e61a78cb9820b0c49ff7f971d17078685a0dda89c13af404158e6b3f6ba63fcb9422dd17246fefd9b9159c572e3c17d749c282aa
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -46,6 +46,9 @@ module Google
46
46
  # with Membership resources.
47
47
  #
48
48
  class Client
49
+ # @private
50
+ API_VERSION = ""
51
+
49
52
  # @private
50
53
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
51
54
 
@@ -288,10 +291,11 @@ module Google
288
291
  # Customize the options with defaults
289
292
  metadata = @config.rpcs.list_memberships.metadata.to_h
290
293
 
291
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
297
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
300
 
297
301
  header_params = {}
@@ -407,10 +411,11 @@ module Google
407
411
  # Customize the options with defaults
408
412
  metadata = @config.rpcs.list_features.metadata.to_h
409
413
 
410
- # Set x-goog-api-client and x-goog-user-project headers
414
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
411
415
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
412
416
  lib_name: @config.lib_name, lib_version: @config.lib_version,
413
417
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
418
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
414
419
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
415
420
 
416
421
  header_params = {}
@@ -494,10 +499,11 @@ module Google
494
499
  # Customize the options with defaults
495
500
  metadata = @config.rpcs.get_membership.metadata.to_h
496
501
 
497
- # Set x-goog-api-client and x-goog-user-project headers
502
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
498
503
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
499
504
  lib_name: @config.lib_name, lib_version: @config.lib_version,
500
505
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
506
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
501
507
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
502
508
 
503
509
  header_params = {}
@@ -580,10 +586,11 @@ module Google
580
586
  # Customize the options with defaults
581
587
  metadata = @config.rpcs.get_feature.metadata.to_h
582
588
 
583
- # Set x-goog-api-client and x-goog-user-project headers
589
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
584
590
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
585
591
  lib_name: @config.lib_name, lib_version: @config.lib_version,
586
592
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
593
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
587
594
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
588
595
 
589
596
  header_params = {}
@@ -703,10 +710,11 @@ module Google
703
710
  # Customize the options with defaults
704
711
  metadata = @config.rpcs.create_membership.metadata.to_h
705
712
 
706
- # Set x-goog-api-client and x-goog-user-project headers
713
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
707
714
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
708
715
  lib_name: @config.lib_name, lib_version: @config.lib_version,
709
716
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
717
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
710
718
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
711
719
 
712
720
  header_params = {}
@@ -815,10 +823,11 @@ module Google
815
823
  # Customize the options with defaults
816
824
  metadata = @config.rpcs.create_feature.metadata.to_h
817
825
 
818
- # Set x-goog-api-client and x-goog-user-project headers
826
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
819
827
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
820
828
  lib_name: @config.lib_name, lib_version: @config.lib_version,
821
829
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
830
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
822
831
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
823
832
 
824
833
  header_params = {}
@@ -931,10 +940,11 @@ module Google
931
940
  # Customize the options with defaults
932
941
  metadata = @config.rpcs.delete_membership.metadata.to_h
933
942
 
934
- # Set x-goog-api-client and x-goog-user-project headers
943
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
935
944
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
936
945
  lib_name: @config.lib_name, lib_version: @config.lib_version,
937
946
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
947
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
938
948
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
939
949
 
940
950
  header_params = {}
@@ -1043,10 +1053,11 @@ module Google
1043
1053
  # Customize the options with defaults
1044
1054
  metadata = @config.rpcs.delete_feature.metadata.to_h
1045
1055
 
1046
- # Set x-goog-api-client and x-goog-user-project headers
1056
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1047
1057
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1048
1058
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1049
1059
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
1060
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1050
1061
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1051
1062
 
1052
1063
  header_params = {}
@@ -1162,10 +1173,11 @@ module Google
1162
1173
  # Customize the options with defaults
1163
1174
  metadata = @config.rpcs.update_membership.metadata.to_h
1164
1175
 
1165
- # Set x-goog-api-client and x-goog-user-project headers
1176
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1166
1177
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1167
1178
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1168
1179
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
1180
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1169
1181
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1170
1182
 
1171
1183
  header_params = {}
@@ -1281,10 +1293,11 @@ module Google
1281
1293
  # Customize the options with defaults
1282
1294
  metadata = @config.rpcs.update_feature.metadata.to_h
1283
1295
 
1284
- # Set x-goog-api-client and x-goog-user-project headers
1296
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1285
1297
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1286
1298
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1287
1299
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
1300
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1288
1301
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1289
1302
 
1290
1303
  header_params = {}
@@ -1395,10 +1408,11 @@ module Google
1395
1408
  # Customize the options with defaults
1396
1409
  metadata = @config.rpcs.generate_connect_manifest.metadata.to_h
1397
1410
 
1398
- # Set x-goog-api-client and x-goog-user-project headers
1411
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1399
1412
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1400
1413
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1401
1414
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
1415
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1402
1416
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1403
1417
 
1404
1418
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module GkeHub
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -48,6 +48,9 @@ module Google
48
48
  # with Membership resources.
49
49
  #
50
50
  class Client
51
+ # @private
52
+ API_VERSION = ""
53
+
51
54
  # @private
52
55
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
53
56
 
@@ -280,12 +283,13 @@ module Google
280
283
  # Customize the options with defaults
281
284
  call_metadata = @config.rpcs.list_memberships.metadata.to_h
282
285
 
283
- # Set x-goog-api-client and x-goog-user-project headers
286
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
284
287
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
285
288
  lib_name: @config.lib_name, lib_version: @config.lib_version,
286
289
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
287
290
  transports_version_send: [:rest]
288
291
 
292
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
289
293
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
290
294
 
291
295
  options.apply_defaults timeout: @config.rpcs.list_memberships.timeout,
@@ -391,12 +395,13 @@ module Google
391
395
  # Customize the options with defaults
392
396
  call_metadata = @config.rpcs.list_features.metadata.to_h
393
397
 
394
- # Set x-goog-api-client and x-goog-user-project headers
398
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
395
399
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
396
400
  lib_name: @config.lib_name, lib_version: @config.lib_version,
397
401
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
398
402
  transports_version_send: [:rest]
399
403
 
404
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
400
405
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
401
406
 
402
407
  options.apply_defaults timeout: @config.rpcs.list_features.timeout,
@@ -471,12 +476,13 @@ module Google
471
476
  # Customize the options with defaults
472
477
  call_metadata = @config.rpcs.get_membership.metadata.to_h
473
478
 
474
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
480
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
482
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
478
483
  transports_version_send: [:rest]
479
484
 
485
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
480
486
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
481
487
 
482
488
  options.apply_defaults timeout: @config.rpcs.get_membership.timeout,
@@ -550,12 +556,13 @@ module Google
550
556
  # Customize the options with defaults
551
557
  call_metadata = @config.rpcs.get_feature.metadata.to_h
552
558
 
553
- # Set x-goog-api-client and x-goog-user-project headers
559
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
554
560
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
555
561
  lib_name: @config.lib_name, lib_version: @config.lib_version,
556
562
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
557
563
  transports_version_send: [:rest]
558
564
 
565
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
559
566
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
560
567
 
561
568
  options.apply_defaults timeout: @config.rpcs.get_feature.timeout,
@@ -666,12 +673,13 @@ module Google
666
673
  # Customize the options with defaults
667
674
  call_metadata = @config.rpcs.create_membership.metadata.to_h
668
675
 
669
- # Set x-goog-api-client and x-goog-user-project headers
676
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
670
677
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
671
678
  lib_name: @config.lib_name, lib_version: @config.lib_version,
672
679
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
673
680
  transports_version_send: [:rest]
674
681
 
682
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
675
683
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
676
684
 
677
685
  options.apply_defaults timeout: @config.rpcs.create_membership.timeout,
@@ -771,12 +779,13 @@ module Google
771
779
  # Customize the options with defaults
772
780
  call_metadata = @config.rpcs.create_feature.metadata.to_h
773
781
 
774
- # Set x-goog-api-client and x-goog-user-project headers
782
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
775
783
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
776
784
  lib_name: @config.lib_name, lib_version: @config.lib_version,
777
785
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
778
786
  transports_version_send: [:rest]
779
787
 
788
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
780
789
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
781
790
 
782
791
  options.apply_defaults timeout: @config.rpcs.create_feature.timeout,
@@ -880,12 +889,13 @@ module Google
880
889
  # Customize the options with defaults
881
890
  call_metadata = @config.rpcs.delete_membership.metadata.to_h
882
891
 
883
- # Set x-goog-api-client and x-goog-user-project headers
892
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
884
893
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
885
894
  lib_name: @config.lib_name, lib_version: @config.lib_version,
886
895
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
887
896
  transports_version_send: [:rest]
888
897
 
898
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
889
899
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
890
900
 
891
901
  options.apply_defaults timeout: @config.rpcs.delete_membership.timeout,
@@ -985,12 +995,13 @@ module Google
985
995
  # Customize the options with defaults
986
996
  call_metadata = @config.rpcs.delete_feature.metadata.to_h
987
997
 
988
- # Set x-goog-api-client and x-goog-user-project headers
998
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
989
999
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
990
1000
  lib_name: @config.lib_name, lib_version: @config.lib_version,
991
1001
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
992
1002
  transports_version_send: [:rest]
993
1003
 
1004
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
994
1005
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
995
1006
 
996
1007
  options.apply_defaults timeout: @config.rpcs.delete_feature.timeout,
@@ -1097,12 +1108,13 @@ module Google
1097
1108
  # Customize the options with defaults
1098
1109
  call_metadata = @config.rpcs.update_membership.metadata.to_h
1099
1110
 
1100
- # Set x-goog-api-client and x-goog-user-project headers
1111
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1101
1112
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1102
1113
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1103
1114
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
1104
1115
  transports_version_send: [:rest]
1105
1116
 
1117
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1106
1118
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1107
1119
 
1108
1120
  options.apply_defaults timeout: @config.rpcs.update_membership.timeout,
@@ -1209,12 +1221,13 @@ module Google
1209
1221
  # Customize the options with defaults
1210
1222
  call_metadata = @config.rpcs.update_feature.metadata.to_h
1211
1223
 
1212
- # Set x-goog-api-client and x-goog-user-project headers
1224
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1213
1225
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1214
1226
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1215
1227
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
1216
1228
  transports_version_send: [:rest]
1217
1229
 
1230
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1218
1231
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1219
1232
 
1220
1233
  options.apply_defaults timeout: @config.rpcs.update_feature.timeout,
@@ -1316,12 +1329,13 @@ module Google
1316
1329
  # Customize the options with defaults
1317
1330
  call_metadata = @config.rpcs.generate_connect_manifest.metadata.to_h
1318
1331
 
1319
- # Set x-goog-api-client and x-goog-user-project headers
1332
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1320
1333
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1321
1334
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1322
1335
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
1323
1336
  transports_version_send: [:rest]
1324
1337
 
1338
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1325
1339
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1326
1340
 
1327
1341
  options.apply_defaults timeout: @config.rpcs.generate_connect_manifest.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "gkehub.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::GkeHub::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module GkeHub
23
23
  module V1
24
- VERSION = "0.8.2"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -7,7 +7,7 @@ require 'google/protobuf'
7
7
  require 'google/protobuf/timestamp_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n>google/cloud/gkehub/v1/configmanagement/configmanagement.proto\x12\'google.cloud.gkehub.configmanagement.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe6\x03\n\x0fMembershipState\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12P\n\x0fmembership_spec\x18\x02 \x01(\x0b\x32\x37.google.cloud.gkehub.configmanagement.v1.MembershipSpec\x12N\n\x0eoperator_state\x18\x03 \x01(\x0b\x32\x36.google.cloud.gkehub.configmanagement.v1.OperatorState\x12S\n\x11\x63onfig_sync_state\x18\x04 \x01(\x0b\x32\x38.google.cloud.gkehub.configmanagement.v1.ConfigSyncState\x12_\n\x17policy_controller_state\x18\x05 \x01(\x0b\x32>.google.cloud.gkehub.configmanagement.v1.PolicyControllerState\x12\x65\n\x1ahierarchy_controller_state\x18\x07 \x01(\x0b\x32\x41.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState\"\xa3\x02\n\x0eMembershipSpec\x12H\n\x0b\x63onfig_sync\x18\x01 \x01(\x0b\x32\x33.google.cloud.gkehub.configmanagement.v1.ConfigSync\x12T\n\x11policy_controller\x18\x02 \x01(\x0b\x32\x39.google.cloud.gkehub.configmanagement.v1.PolicyController\x12`\n\x14hierarchy_controller\x18\x04 \x01(\x0b\x32\x42.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig\x12\x0f\n\x07version\x18\n \x01(\t\"d\n\nConfigSync\x12?\n\x03git\x18\x07 \x01(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.GitConfig\x12\x15\n\rsource_format\x18\x08 \x01(\t\"\xbe\x01\n\tGitConfig\x12\x11\n\tsync_repo\x18\x01 \x01(\t\x12\x13\n\x0bsync_branch\x18\x02 \x01(\t\x12\x12\n\npolicy_dir\x18\x03 \x01(\t\x12\x16\n\x0esync_wait_secs\x18\x04 \x01(\x03\x12\x10\n\x08sync_rev\x18\x05 \x01(\t\x12\x13\n\x0bsecret_type\x18\x06 \x01(\t\x12\x13\n\x0bhttps_proxy\x18\x07 \x01(\t\x12!\n\x19gcp_service_account_email\x18\x08 \x01(\t\"\x89\x02\n\x10PolicyController\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\'\n\x1atemplate_library_installed\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12#\n\x16\x61udit_interval_seconds\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x1d\n\x15\x65xemptable_namespaces\x18\x04 \x03(\t\x12!\n\x19referential_rules_enabled\x18\x05 \x01(\x08\x12\x1a\n\x12log_denies_enabled\x18\x06 \x01(\x08\x42\x1d\n\x1b_template_library_installedB\x19\n\x17_audit_interval_seconds\"x\n\x19HierarchyControllerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1e\n\x16\x65nable_pod_tree_labels\x18\x02 \x01(\x08\x12*\n\"enable_hierarchical_resource_quota\x18\x03 \x01(\x08\"\xb8\x01\n\"HierarchyControllerDeploymentState\x12\x45\n\x03hnc\x18\x01 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12K\n\textension\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\"<\n\x1aHierarchyControllerVersion\x12\x0b\n\x03hnc\x18\x01 \x01(\t\x12\x11\n\textension\x18\x02 \x01(\t\"\xcc\x01\n\x18HierarchyControllerState\x12T\n\x07version\x18\x01 \x01(\x0b\x32\x43.google.cloud.gkehub.configmanagement.v1.HierarchyControllerVersion\x12Z\n\x05state\x18\x02 \x01(\x0b\x32K.google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState\"\xbb\x01\n\rOperatorState\x12\x0f\n\x07version\x18\x01 \x01(\t\x12R\n\x10\x64\x65ployment_state\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12\x45\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x35.google.cloud.gkehub.configmanagement.v1.InstallError\"%\n\x0cInstallError\x12\x15\n\rerror_message\x18\x01 \x01(\t\"\x84\x02\n\x0f\x43onfigSyncState\x12K\n\x07version\x18\x01 \x01(\x0b\x32:.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion\x12\\\n\x10\x64\x65ployment_state\x18\x02 \x01(\x0b\x32\x42.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState\x12\x46\n\nsync_state\x18\x03 \x01(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.SyncState\"\x8d\x01\n\x11\x43onfigSyncVersion\x12\x10\n\x08importer\x18\x01 \x01(\t\x12\x0e\n\x06syncer\x18\x02 \x01(\t\x12\x10\n\x08git_sync\x18\x03 \x01(\t\x12\x0f\n\x07monitor\x18\x04 \x01(\t\x12\x1a\n\x12reconciler_manager\x18\x05 \x01(\t\x12\x17\n\x0froot_reconciler\x18\x06 \x01(\t\"\xf1\x03\n\x19\x43onfigSyncDeploymentState\x12J\n\x08importer\x18\x01 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12H\n\x06syncer\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12J\n\x08git_sync\x18\x03 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12I\n\x07monitor\x18\x04 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12T\n\x12reconciler_manager\x18\x05 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12Q\n\x0froot_reconciler\x18\x06 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\"\xbb\x03\n\tSyncState\x12\x14\n\x0csource_token\x18\x01 \x01(\t\x12\x14\n\x0cimport_token\x18\x02 \x01(\t\x12\x12\n\nsync_token\x18\x03 \x01(\t\x12\x15\n\tlast_sync\x18\x04 \x01(\tB\x02\x18\x01\x12\x32\n\x0elast_sync_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x04\x63ode\x18\x05 \x01(\x0e\x32;.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode\x12\x42\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.SyncError\"\x93\x01\n\x08SyncCode\x12\x19\n\x15SYNC_CODE_UNSPECIFIED\x10\x00\x12\n\n\x06SYNCED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x12\n\x0eNOT_CONFIGURED\x10\x04\x12\x11\n\rNOT_INSTALLED\x10\x05\x12\x10\n\x0cUNAUTHORIZED\x10\x06\x12\x0f\n\x0bUNREACHABLE\x10\x07\"\x81\x01\n\tSyncError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12O\n\x0f\x65rror_resources\x18\x03 \x03(\x0b\x32\x36.google.cloud.gkehub.configmanagement.v1.ErrorResource\"\xa8\x01\n\rErrorResource\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12\x1a\n\x12resource_namespace\x18\x03 \x01(\t\x12O\n\x0cresource_gvk\x18\x04 \x01(\x0b\x32\x39.google.cloud.gkehub.configmanagement.v1.GroupVersionKind\"@\n\x10GroupVersionKind\x12\r\n\x05group\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04kind\x18\x03 \x01(\t\"\xc8\x01\n\x15PolicyControllerState\x12Q\n\x07version\x18\x01 \x01(\x0b\x32@.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion\x12\\\n\x10\x64\x65ployment_state\x18\x02 \x01(\x0b\x32\x42.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState\"*\n\x17PolicyControllerVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\"\xd6\x01\n\x19GatekeeperDeploymentState\x12\x65\n#gatekeeper_controller_manager_state\x18\x01 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12R\n\x10gatekeeper_audit\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState*`\n\x0f\x44\x65ploymentState\x12 \n\x1c\x44\x45PLOYMENT_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rNOT_INSTALLED\x10\x01\x12\r\n\tINSTALLED\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x42\xa1\x02\n+com.google.cloud.gkehub.configmanagement.v1B\x15\x43onfigManagementProtoP\x01ZWcloud.google.com/go/gkehub/configmanagement/apiv1/configmanagementpb;configmanagementpb\xaa\x02\'Google.Cloud.GkeHub.ConfigManagement.V1\xca\x02\'Google\\Cloud\\GkeHub\\ConfigManagement\\V1\xea\x02+Google::Cloud::GkeHub::ConfigManagement::V1b\x06proto3"
10
+ descriptor_data = "\n>google/cloud/gkehub/v1/configmanagement/configmanagement.proto\x12\'google.cloud.gkehub.configmanagement.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe6\x03\n\x0fMembershipState\x12\x14\n\x0c\x63luster_name\x18\x01 \x01(\t\x12P\n\x0fmembership_spec\x18\x02 \x01(\x0b\x32\x37.google.cloud.gkehub.configmanagement.v1.MembershipSpec\x12N\n\x0eoperator_state\x18\x03 \x01(\x0b\x32\x36.google.cloud.gkehub.configmanagement.v1.OperatorState\x12S\n\x11\x63onfig_sync_state\x18\x04 \x01(\x0b\x32\x38.google.cloud.gkehub.configmanagement.v1.ConfigSyncState\x12_\n\x17policy_controller_state\x18\x05 \x01(\x0b\x32>.google.cloud.gkehub.configmanagement.v1.PolicyControllerState\x12\x65\n\x1ahierarchy_controller_state\x18\x07 \x01(\x0b\x32\x41.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState\"\xe7\x03\n\x0eMembershipSpec\x12H\n\x0b\x63onfig_sync\x18\x01 \x01(\x0b\x32\x33.google.cloud.gkehub.configmanagement.v1.ConfigSync\x12T\n\x11policy_controller\x18\x02 \x01(\x0b\x32\x39.google.cloud.gkehub.configmanagement.v1.PolicyController\x12`\n\x14hierarchy_controller\x18\x04 \x01(\x0b\x32\x42.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig\x12\x0f\n\x07version\x18\n \x01(\t\x12\x0f\n\x07\x63luster\x18\x0b \x01(\t\x12V\n\nmanagement\x18\x0c \x01(\x0e\x32\x42.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management\"Y\n\nManagement\x12\x1a\n\x16MANAGEMENT_UNSPECIFIED\x10\x00\x12\x18\n\x14MANAGEMENT_AUTOMATIC\x10\x01\x12\x15\n\x11MANAGEMENT_MANUAL\x10\x02\"\x89\x02\n\nConfigSync\x12?\n\x03git\x18\x07 \x01(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.GitConfig\x12\x15\n\rsource_format\x18\x08 \x01(\t\x12\x14\n\x07\x65nabled\x18\n \x01(\x08H\x00\x88\x01\x01\x12\x15\n\rprevent_drift\x18\x0b \x01(\x08\x12?\n\x03oci\x18\x0c \x01(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.OciConfig\x12)\n!metrics_gcp_service_account_email\x18\x0f \x01(\tB\n\n\x08_enabled\"\xbe\x01\n\tGitConfig\x12\x11\n\tsync_repo\x18\x01 \x01(\t\x12\x13\n\x0bsync_branch\x18\x02 \x01(\t\x12\x12\n\npolicy_dir\x18\x03 \x01(\t\x12\x16\n\x0esync_wait_secs\x18\x04 \x01(\x03\x12\x10\n\x08sync_rev\x18\x05 \x01(\t\x12\x13\n\x0bsecret_type\x18\x06 \x01(\t\x12\x13\n\x0bhttps_proxy\x18\x07 \x01(\t\x12!\n\x19gcp_service_account_email\x18\x08 \x01(\t\"\x82\x01\n\tOciConfig\x12\x11\n\tsync_repo\x18\x01 \x01(\t\x12\x12\n\npolicy_dir\x18\x02 \x01(\t\x12\x16\n\x0esync_wait_secs\x18\x03 \x01(\x03\x12\x13\n\x0bsecret_type\x18\x04 \x01(\t\x12!\n\x19gcp_service_account_email\x18\x05 \x01(\t\"\x89\x02\n\x10PolicyController\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\'\n\x1atemplate_library_installed\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12#\n\x16\x61udit_interval_seconds\x18\x03 \x01(\x03H\x01\x88\x01\x01\x12\x1d\n\x15\x65xemptable_namespaces\x18\x04 \x03(\t\x12!\n\x19referential_rules_enabled\x18\x05 \x01(\x08\x12\x1a\n\x12log_denies_enabled\x18\x06 \x01(\x08\x42\x1d\n\x1b_template_library_installedB\x19\n\x17_audit_interval_seconds\"x\n\x19HierarchyControllerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x1e\n\x16\x65nable_pod_tree_labels\x18\x02 \x01(\x08\x12*\n\"enable_hierarchical_resource_quota\x18\x03 \x01(\x08\"\xb8\x01\n\"HierarchyControllerDeploymentState\x12\x45\n\x03hnc\x18\x01 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12K\n\textension\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\"<\n\x1aHierarchyControllerVersion\x12\x0b\n\x03hnc\x18\x01 \x01(\t\x12\x11\n\textension\x18\x02 \x01(\t\"\xcc\x01\n\x18HierarchyControllerState\x12T\n\x07version\x18\x01 \x01(\x0b\x32\x43.google.cloud.gkehub.configmanagement.v1.HierarchyControllerVersion\x12Z\n\x05state\x18\x02 \x01(\x0b\x32K.google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState\"\xbb\x01\n\rOperatorState\x12\x0f\n\x07version\x18\x01 \x01(\t\x12R\n\x10\x64\x65ployment_state\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12\x45\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x35.google.cloud.gkehub.configmanagement.v1.InstallError\"%\n\x0cInstallError\x12\x15\n\rerror_message\x18\x01 \x01(\t\"\xc4\x06\n\x0f\x43onfigSyncState\x12K\n\x07version\x18\x01 \x01(\x0b\x32:.google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion\x12\\\n\x10\x64\x65ployment_state\x18\x02 \x01(\x0b\x32\x42.google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState\x12\x46\n\nsync_state\x18\x03 \x01(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.SyncState\x12H\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x38.google.cloud.gkehub.configmanagement.v1.ConfigSyncError\x12W\n\x0crootsync_crd\x18\x05 \x01(\x0e\x32\x41.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState\x12W\n\x0creposync_crd\x18\x06 \x01(\x0e\x32\x41.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState\x12M\n\x05state\x18\x07 \x01(\x0e\x32>.google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State\"h\n\x08\x43RDState\x12\x19\n\x15\x43RD_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rNOT_INSTALLED\x10\x01\x12\r\n\tINSTALLED\x10\x02\x12\x0f\n\x0bTERMINATING\x10\x03\x12\x0e\n\nINSTALLING\x10\x04\"\x88\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x43ONFIG_SYNC_NOT_INSTALLED\x10\x01\x12\x19\n\x15\x43ONFIG_SYNC_INSTALLED\x10\x02\x12\x15\n\x11\x43ONFIG_SYNC_ERROR\x10\x03\x12\x17\n\x13\x43ONFIG_SYNC_PENDING\x10\x04\"(\n\x0f\x43onfigSyncError\x12\x15\n\rerror_message\x18\x01 \x01(\t\"\xa8\x01\n\x11\x43onfigSyncVersion\x12\x10\n\x08importer\x18\x01 \x01(\t\x12\x0e\n\x06syncer\x18\x02 \x01(\t\x12\x10\n\x08git_sync\x18\x03 \x01(\t\x12\x0f\n\x07monitor\x18\x04 \x01(\t\x12\x1a\n\x12reconciler_manager\x18\x05 \x01(\t\x12\x17\n\x0froot_reconciler\x18\x06 \x01(\t\x12\x19\n\x11\x61\x64mission_webhook\x18\x07 \x01(\t\"\xc6\x04\n\x19\x43onfigSyncDeploymentState\x12J\n\x08importer\x18\x01 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12H\n\x06syncer\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12J\n\x08git_sync\x18\x03 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12I\n\x07monitor\x18\x04 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12T\n\x12reconciler_manager\x18\x05 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12Q\n\x0froot_reconciler\x18\x06 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12S\n\x11\x61\x64mission_webhook\x18\x07 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\"\xbb\x03\n\tSyncState\x12\x14\n\x0csource_token\x18\x01 \x01(\t\x12\x14\n\x0cimport_token\x18\x02 \x01(\t\x12\x12\n\nsync_token\x18\x03 \x01(\t\x12\x15\n\tlast_sync\x18\x04 \x01(\tB\x02\x18\x01\x12\x32\n\x0elast_sync_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x04\x63ode\x18\x05 \x01(\x0e\x32;.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode\x12\x42\n\x06\x65rrors\x18\x06 \x03(\x0b\x32\x32.google.cloud.gkehub.configmanagement.v1.SyncError\"\x93\x01\n\x08SyncCode\x12\x19\n\x15SYNC_CODE_UNSPECIFIED\x10\x00\x12\n\n\x06SYNCED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x12\n\x0eNOT_CONFIGURED\x10\x04\x12\x11\n\rNOT_INSTALLED\x10\x05\x12\x10\n\x0cUNAUTHORIZED\x10\x06\x12\x0f\n\x0bUNREACHABLE\x10\x07\"\x81\x01\n\tSyncError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12O\n\x0f\x65rror_resources\x18\x03 \x03(\x0b\x32\x36.google.cloud.gkehub.configmanagement.v1.ErrorResource\"\xa8\x01\n\rErrorResource\x12\x13\n\x0bsource_path\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12\x1a\n\x12resource_namespace\x18\x03 \x01(\t\x12O\n\x0cresource_gvk\x18\x04 \x01(\x0b\x32\x39.google.cloud.gkehub.configmanagement.v1.GroupVersionKind\"@\n\x10GroupVersionKind\x12\r\n\x05group\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04kind\x18\x03 \x01(\t\"\xc8\x01\n\x15PolicyControllerState\x12Q\n\x07version\x18\x01 \x01(\x0b\x32@.google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion\x12\\\n\x10\x64\x65ployment_state\x18\x02 \x01(\x0b\x32\x42.google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState\"*\n\x17PolicyControllerVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\"\xd6\x01\n\x19GatekeeperDeploymentState\x12\x65\n#gatekeeper_controller_manager_state\x18\x01 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState\x12R\n\x10gatekeeper_audit\x18\x02 \x01(\x0e\x32\x38.google.cloud.gkehub.configmanagement.v1.DeploymentState*m\n\x0f\x44\x65ploymentState\x12 \n\x1c\x44\x45PLOYMENT_STATE_UNSPECIFIED\x10\x00\x12\x11\n\rNOT_INSTALLED\x10\x01\x12\r\n\tINSTALLED\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x42\xa1\x02\n+com.google.cloud.gkehub.configmanagement.v1B\x15\x43onfigManagementProtoP\x01ZWcloud.google.com/go/gkehub/configmanagement/apiv1/configmanagementpb;configmanagementpb\xaa\x02\'Google.Cloud.GkeHub.ConfigManagement.V1\xca\x02\'Google\\Cloud\\GkeHub\\ConfigManagement\\V1\xea\x02+Google::Cloud::GkeHub::ConfigManagement::V1b\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
@@ -41,8 +41,10 @@ module Google
41
41
  module V1
42
42
  MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.MembershipState").msgclass
43
43
  MembershipSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.MembershipSpec").msgclass
44
+ MembershipSpec::Management = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management").enummodule
44
45
  ConfigSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSync").msgclass
45
46
  GitConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.GitConfig").msgclass
47
+ OciConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.OciConfig").msgclass
46
48
  PolicyController = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.PolicyController").msgclass
47
49
  HierarchyControllerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig").msgclass
48
50
  HierarchyControllerDeploymentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState").msgclass
@@ -51,6 +53,9 @@ module Google
51
53
  OperatorState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.OperatorState").msgclass
52
54
  InstallError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.InstallError").msgclass
53
55
  ConfigSyncState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncState").msgclass
56
+ ConfigSyncState::CRDState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncState.CRDState").enummodule
57
+ ConfigSyncState::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncState.State").enummodule
58
+ ConfigSyncError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncError").msgclass
54
59
  ConfigSyncVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion").msgclass
55
60
  ConfigSyncDeploymentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState").msgclass
56
61
  SyncState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.SyncState").msgclass
@@ -11,7 +11,7 @@ require 'google/cloud/gkehub/v1/multiclusteringress/multiclusteringress_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n$google/cloud/gkehub/v1/feature.proto\x12\x16google.cloud.gkehub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/gkehub/v1/configmanagement/configmanagement.proto\x1a\x44google/cloud/gkehub/v1/multiclusteringress/multiclusteringress.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd8\x07\n\x07\x46\x65\x61ture\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12;\n\x06labels\x18\x02 \x03(\x0b\x32+.google.cloud.gkehub.v1.Feature.LabelsEntry\x12J\n\x0eresource_state\x18\x03 \x01(\x0b\x32,.google.cloud.gkehub.v1.FeatureResourceStateB\x04\xe2\x41\x01\x03\x12=\n\x04spec\x18\x04 \x01(\x0b\x32).google.cloud.gkehub.v1.CommonFeatureSpecB\x04\xe2\x41\x01\x01\x12T\n\x10membership_specs\x18\x05 \x03(\x0b\x32\x34.google.cloud.gkehub.v1.Feature.MembershipSpecsEntryB\x04\xe2\x41\x01\x01\x12?\n\x05state\x18\x06 \x01(\x0b\x32*.google.cloud.gkehub.v1.CommonFeatureStateB\x04\xe2\x41\x01\x03\x12V\n\x11membership_states\x18\x07 \x03(\x0b\x32\x35.google.cloud.gkehub.v1.Feature.MembershipStatesEntryB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x65\n\x14MembershipSpecsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.cloud.gkehub.v1.MembershipFeatureSpec:\x02\x38\x01\x1ag\n\x15MembershipStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..google.cloud.gkehub.v1.MembershipFeatureState:\x02\x38\x01:^\xea\x41[\n\x1dgkehub.googleapis.com/Feature\x12:projects/{project}/locations/{location}/features/{feature}\"\xc6\x01\n\x14\x46\x65\x61tureResourceState\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.gkehub.v1.FeatureResourceState.State\"k\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xcb\x01\n\x0c\x46\x65\x61tureState\x12\x37\n\x04\x63ode\x18\x01 \x01(\x0e\x32).google.cloud.gkehub.v1.FeatureState.Code\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"<\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"{\n\x11\x43ommonFeatureSpec\x12V\n\x13multiclusteringress\x18\x66 \x01(\x0b\x32\x37.google.cloud.gkehub.multiclusteringress.v1.FeatureSpecH\x00\x42\x0e\n\x0c\x66\x65\x61ture_spec\"O\n\x12\x43ommonFeatureState\x12\x39\n\x05state\x18\x01 \x01(\x0b\x32$.google.cloud.gkehub.v1.FeatureStateB\x04\xe2\x41\x01\x03\"|\n\x15MembershipFeatureSpec\x12S\n\x10\x63onfigmanagement\x18j \x01(\x0b\x32\x37.google.cloud.gkehub.configmanagement.v1.MembershipSpecH\x00\x42\x0e\n\x0c\x66\x65\x61ture_spec\"\xb4\x01\n\x16MembershipFeatureState\x12T\n\x10\x63onfigmanagement\x18j \x01(\x0b\x32\x38.google.cloud.gkehub.configmanagement.v1.MembershipStateH\x00\x12\x33\n\x05state\x18\x01 \x01(\x0b\x32$.google.cloud.gkehub.v1.FeatureStateB\x0f\n\rfeature_stateB\xae\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0c\x46\x65\x61tureProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::V1b\x06proto3"
14
+ descriptor_data = "\n$google/cloud/gkehub/v1/feature.proto\x12\x16google.cloud.gkehub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/gkehub/v1/configmanagement/configmanagement.proto\x1a\x44google/cloud/gkehub/v1/multiclusteringress/multiclusteringress.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x07\n\x07\x46\x65\x61ture\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12;\n\x06labels\x18\x02 \x03(\x0b\x32+.google.cloud.gkehub.v1.Feature.LabelsEntry\x12I\n\x0eresource_state\x18\x03 \x01(\x0b\x32,.google.cloud.gkehub.v1.FeatureResourceStateB\x03\xe0\x41\x03\x12<\n\x04spec\x18\x04 \x01(\x0b\x32).google.cloud.gkehub.v1.CommonFeatureSpecB\x03\xe0\x41\x01\x12S\n\x10membership_specs\x18\x05 \x03(\x0b\x32\x34.google.cloud.gkehub.v1.Feature.MembershipSpecsEntryB\x03\xe0\x41\x01\x12>\n\x05state\x18\x06 \x01(\x0b\x32*.google.cloud.gkehub.v1.CommonFeatureStateB\x03\xe0\x41\x03\x12U\n\x11membership_states\x18\x07 \x03(\x0b\x32\x35.google.cloud.gkehub.v1.Feature.MembershipStatesEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x65\n\x14MembershipSpecsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.cloud.gkehub.v1.MembershipFeatureSpec:\x02\x38\x01\x1ag\n\x15MembershipStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..google.cloud.gkehub.v1.MembershipFeatureState:\x02\x38\x01:^\xea\x41[\n\x1dgkehub.googleapis.com/Feature\x12:projects/{project}/locations/{location}/features/{feature}\"\xc6\x01\n\x14\x46\x65\x61tureResourceState\x12\x41\n\x05state\x18\x01 \x01(\x0e\x32\x32.google.cloud.gkehub.v1.FeatureResourceState.State\"k\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xcb\x01\n\x0c\x46\x65\x61tureState\x12\x37\n\x04\x63ode\x18\x01 \x01(\x0e\x32).google.cloud.gkehub.v1.FeatureState.Code\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"<\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"{\n\x11\x43ommonFeatureSpec\x12V\n\x13multiclusteringress\x18\x66 \x01(\x0b\x32\x37.google.cloud.gkehub.multiclusteringress.v1.FeatureSpecH\x00\x42\x0e\n\x0c\x66\x65\x61ture_spec\"N\n\x12\x43ommonFeatureState\x12\x38\n\x05state\x18\x01 \x01(\x0b\x32$.google.cloud.gkehub.v1.FeatureStateB\x03\xe0\x41\x03\"|\n\x15MembershipFeatureSpec\x12S\n\x10\x63onfigmanagement\x18j \x01(\x0b\x32\x37.google.cloud.gkehub.configmanagement.v1.MembershipSpecH\x00\x42\x0e\n\x0c\x66\x65\x61ture_spec\"\xb4\x01\n\x16MembershipFeatureState\x12T\n\x10\x63onfigmanagement\x18j \x01(\x0b\x32\x38.google.cloud.gkehub.configmanagement.v1.MembershipStateH\x00\x12\x33\n\x05state\x18\x01 \x01(\x0b\x32$.google.cloud.gkehub.v1.FeatureStateB\x0f\n\rfeature_stateB\xae\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0c\x46\x65\x61tureProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::V1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n\'google/cloud/gkehub/v1/membership.proto\x12\x16google.cloud.gkehub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc5\x06\n\nMembership\x12\x44\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32*.google.cloud.gkehub.v1.MembershipEndpointB\x04\xe2\x41\x01\x01H\x00\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x44\n\x06labels\x18\x02 \x03(\x0b\x32..google.cloud.gkehub.v1.Membership.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12<\n\x05state\x18\x05 \x01(\x0b\x32\'.google.cloud.gkehub.v1.MembershipStateB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x65xternal_id\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12>\n\x14last_connection_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x17\n\tunique_id\x18\x0b \x01(\tB\x04\xe2\x41\x01\x03\x12:\n\tauthority\x18\x0c \x01(\x0b\x32!.google.cloud.gkehub.v1.AuthorityB\x04\xe2\x41\x01\x01\x12I\n\x11monitoring_config\x18\x0e \x01(\x0b\x32(.google.cloud.gkehub.v1.MonitoringConfigB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:g\xea\x41\x64\n gkehub.googleapis.com/Membership\x12@projects/{project}/locations/{location}/memberships/{membership}B\x06\n\x04type\"\x8f\x02\n\x12MembershipEndpoint\x12=\n\x0bgke_cluster\x18\x01 \x01(\x0b\x32\".google.cloud.gkehub.v1.GkeClusterB\x04\xe2\x41\x01\x01\x12M\n\x13kubernetes_metadata\x18\x02 \x01(\x0b\x32*.google.cloud.gkehub.v1.KubernetesMetadataB\x04\xe2\x41\x01\x03\x12M\n\x13kubernetes_resource\x18\x03 \x01(\x0b\x32*.google.cloud.gkehub.v1.KubernetesResourceB\x04\xe2\x41\x01\x01\x12\x1c\n\x0egoogle_managed\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x03\"\x9c\x02\n\x12KubernetesResource\x12$\n\x16membership_cr_manifest\x18\x01 \x01(\tB\x04\xe2\x41\x01\x04\x12L\n\x14membership_resources\x18\x02 \x03(\x0b\x32(.google.cloud.gkehub.v1.ResourceManifestB\x04\xe2\x41\x01\x03\x12I\n\x11\x63onnect_resources\x18\x03 \x03(\x0b\x32(.google.cloud.gkehub.v1.ResourceManifestB\x04\xe2\x41\x01\x03\x12G\n\x10resource_options\x18\x04 \x01(\x0b\x32\'.google.cloud.gkehub.v1.ResourceOptionsB\x04\xe2\x41\x01\x01\"f\n\x0fResourceOptions\x12\x1d\n\x0f\x63onnect_version\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0bv1beta1_crd\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x19\n\x0bk8s_version\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"<\n\x10ResourceManifest\x12\x10\n\x08manifest\x18\x01 \x01(\t\x12\x16\n\x0e\x63luster_scoped\x18\x02 \x01(\x08\"H\n\nGkeCluster\x12\x1b\n\rresource_link\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x1d\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x03\"\xe5\x01\n\x12KubernetesMetadata\x12+\n\x1dkubernetes_api_server_version\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1e\n\x10node_provider_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x18\n\nnode_count\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x18\n\nvcpu_count\x18\x04 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x17\n\tmemory_mb\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\x9a\x01\n\x10MonitoringConfig\x12\x18\n\nproject_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05\x12\x16\n\x08location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05\x12\x15\n\x07\x63luster\x18\x03 \x01(\tB\x04\xe2\x41\x01\x05\x12!\n\x19kubernetes_metrics_prefix\x18\x04 \x01(\t\x12\x1a\n\x0c\x63luster_hash\x18\x05 \x01(\tB\x04\xe2\x41\x01\x05\"\xbc\x01\n\x0fMembershipState\x12@\n\x04\x63ode\x18\x01 \x01(\x0e\x32,.google.cloud.gkehub.v1.MembershipState.CodeB\x04\xe2\x41\x01\x03\"g\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\x81\x01\n\tAuthority\x12\x14\n\x06issuer\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12$\n\x16workload_identity_pool\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1f\n\x11identity_provider\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x17\n\toidc_jwks\x18\x04 \x01(\x0c\x42\x04\xe2\x41\x01\x01\x42\xb1\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0fMembershipProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::V1b\x06proto3"
12
+ descriptor_data = "\n\'google/cloud/gkehub/v1/membership.proto\x12\x16google.cloud.gkehub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb8\x06\n\nMembership\x12\x43\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32*.google.cloud.gkehub.v1.MembershipEndpointB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x02 \x03(\x0b\x32..google.cloud.gkehub.v1.Membership.LabelsEntryB\x03\xe0\x41\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12;\n\x05state\x18\x05 \x01(\x0b\x32\'.google.cloud.gkehub.v1.MembershipStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0b\x65xternal_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12=\n\x14last_connection_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x16\n\tunique_id\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x39\n\tauthority\x18\x0c \x01(\x0b\x32!.google.cloud.gkehub.v1.AuthorityB\x03\xe0\x41\x01\x12H\n\x11monitoring_config\x18\x0e \x01(\x0b\x32(.google.cloud.gkehub.v1.MonitoringConfigB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:g\xea\x41\x64\n gkehub.googleapis.com/Membership\x12@projects/{project}/locations/{location}/memberships/{membership}B\x06\n\x04type\"\x8b\x02\n\x12MembershipEndpoint\x12<\n\x0bgke_cluster\x18\x01 \x01(\x0b\x32\".google.cloud.gkehub.v1.GkeClusterB\x03\xe0\x41\x01\x12L\n\x13kubernetes_metadata\x18\x02 \x01(\x0b\x32*.google.cloud.gkehub.v1.KubernetesMetadataB\x03\xe0\x41\x03\x12L\n\x13kubernetes_resource\x18\x03 \x01(\x0b\x32*.google.cloud.gkehub.v1.KubernetesResourceB\x03\xe0\x41\x01\x12\x1b\n\x0egoogle_managed\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\"\x98\x02\n\x12KubernetesResource\x12#\n\x16membership_cr_manifest\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12K\n\x14membership_resources\x18\x02 \x03(\x0b\x32(.google.cloud.gkehub.v1.ResourceManifestB\x03\xe0\x41\x03\x12H\n\x11\x63onnect_resources\x18\x03 \x03(\x0b\x32(.google.cloud.gkehub.v1.ResourceManifestB\x03\xe0\x41\x03\x12\x46\n\x10resource_options\x18\x04 \x01(\x0b\x32\'.google.cloud.gkehub.v1.ResourceOptionsB\x03\xe0\x41\x01\"c\n\x0fResourceOptions\x12\x1c\n\x0f\x63onnect_version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bv1beta1_crd\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0bk8s_version\x18\x03 \x01(\tB\x03\xe0\x41\x01\"<\n\x10ResourceManifest\x12\x10\n\x08manifest\x18\x01 \x01(\t\x12\x16\n\x0e\x63luster_scoped\x18\x02 \x01(\x08\"F\n\nGkeCluster\x12\x1a\n\rresource_link\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x1c\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x03\"\xdf\x01\n\x12KubernetesMetadata\x12*\n\x1dkubernetes_api_server_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10node_provider_id\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nnode_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\nvcpu_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12\x16\n\tmemory_mb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\x96\x01\n\x10MonitoringConfig\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x07\x63luster\x18\x03 \x01(\tB\x03\xe0\x41\x05\x12!\n\x19kubernetes_metrics_prefix\x18\x04 \x01(\t\x12\x19\n\x0c\x63luster_hash\x18\x05 \x01(\tB\x03\xe0\x41\x05\"\xbb\x01\n\x0fMembershipState\x12?\n\x04\x63ode\x18\x01 \x01(\x0e\x32,.google.cloud.gkehub.v1.MembershipState.CodeB\x03\xe0\x41\x03\"g\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"}\n\tAuthority\x12\x13\n\x06issuer\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16workload_identity_pool\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11identity_provider\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\toidc_jwks\x18\x04 \x01(\x0c\x42\x03\xe0\x41\x01\x42\xb1\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0fMembershipProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -16,7 +16,7 @@ require 'google/protobuf/field_mask_pb'
16
16
  require 'google/protobuf/timestamp_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n$google/cloud/gkehub/v1/service.proto\x12\x16google.cloud.gkehub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/gkehub/v1/feature.proto\x1a\'google/cloud/gkehub/v1/membership.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb4\x01\n\x16ListMembershipsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x17\n\tpage_size\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x18\n\npage_token\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x16\n\x08order_by\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"~\n\x17ListMembershipsResponse\x12\x35\n\tresources\x18\x01 \x03(\x0b\x32\".google.cloud.gkehub.v1.Membership\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"O\n\x14GetMembershipRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\"\xc7\x01\n\x17\x43reateMembershipRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x1b\n\rmembership_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x08resource\x18\x03 \x01(\x0b\x32\".google.cloud.gkehub.v1.MembershipB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\x81\x01\n\x17\x44\x65leteMembershipRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05\x66orce\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\xdf\x01\n\x17UpdateMembershipRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12:\n\x08resource\x18\x03 \x01(\x0b\x32\".google.cloud.gkehub.v1.MembershipB\x04\xe2\x41\x01\x02\x12\x18\n\nrequest_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\"\xf9\x01\n\x1eGenerateConnectManifestRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x17\n\tnamespace\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x13\n\x05proxy\x18\x03 \x01(\x0c\x42\x04\xe2\x41\x01\x01\x12\x15\n\x07version\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nis_upgrade\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x16\n\x08registry\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12\'\n\x19image_pull_secret_content\x18\x07 \x01(\x0c\x42\x04\xe2\x41\x01\x01\"a\n\x1fGenerateConnectManifestResponse\x12>\n\x08manifest\x18\x01 \x03(\x0b\x32,.google.cloud.gkehub.v1.ConnectAgentResource\"X\n\x14\x43onnectAgentResource\x12.\n\x04type\x18\x01 \x01(\x0b\x32 .google.cloud.gkehub.v1.TypeMeta\x12\x10\n\x08manifest\x18\x02 \x01(\t\"-\n\x08TypeMeta\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x02 \x01(\t\"\x92\x01\n\x13ListFeaturesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xfa\x41\x1f\x12\x1dgkehub.googleapis.com/Feature\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"c\n\x14ListFeaturesResponse\x12\x32\n\tresources\x18\x01 \x03(\x0b\x32\x1f.google.cloud.gkehub.v1.Feature\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"E\n\x11GetFeatureRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1dgkehub.googleapis.com/Feature\"\xa5\x01\n\x14\x43reateFeatureRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xfa\x41\x1f\x12\x1dgkehub.googleapis.com/Feature\x12\x12\n\nfeature_id\x18\x02 \x01(\t\x12\x31\n\x08resource\x18\x03 \x01(\x0b\x32\x1f.google.cloud.gkehub.v1.Feature\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"q\n\x14\x44\x65leteFeatureRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1dgkehub.googleapis.com/Feature\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x18\n\nrequest_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xc0\x01\n\x14UpdateFeatureRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1dgkehub.googleapis.com/Feature\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x31\n\x08resource\x18\x03 \x01(\x0b\x32\x1f.google.cloud.gkehub.v1.Feature\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x80\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rstatus_detail\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1e\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x32\xf0\x11\n\x06GkeHub\x12\xb4\x01\n\x0fListMemberships\x12..google.cloud.gkehub.v1.ListMembershipsRequest\x1a/.google.cloud.gkehub.v1.ListMembershipsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/memberships\x12\xa8\x01\n\x0cListFeatures\x12+.google.cloud.gkehub.v1.ListFeaturesRequest\x1a,.google.cloud.gkehub.v1.ListFeaturesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/features\x12\xa1\x01\n\rGetMembership\x12,.google.cloud.gkehub.v1.GetMembershipRequest\x1a\".google.cloud.gkehub.v1.Membership\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/memberships/*}\x12\x95\x01\n\nGetFeature\x12).google.cloud.gkehub.v1.GetFeatureRequest\x1a\x1f.google.cloud.gkehub.v1.Feature\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/features/*}\x12\xe8\x01\n\x10\x43reateMembership\x12/.google.cloud.gkehub.v1.CreateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\xda\x41\x1dparent,resource,membership_id\x82\xd3\xe4\x93\x02;\"//v1/{parent=projects/*/locations/*}/memberships:\x08resource\x12\xd8\x01\n\rCreateFeature\x12,.google.cloud.gkehub.v1.CreateFeatureRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x46\x65\x61ture\x12\x11OperationMetadata\xda\x41\x1aparent,resource,feature_id\x82\xd3\xe4\x93\x02\x38\",/v1/{parent=projects/*/locations/*}/features:\x08resource\x12\xcf\x01\n\x10\x44\x65leteMembership\x12/.google.cloud.gkehub.v1.DeleteMembershipRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/memberships/*}\x12\xc6\x01\n\rDeleteFeature\x12,.google.cloud.gkehub.v1.DeleteFeatureRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/features/*}\x12\xe3\x01\n\x10UpdateMembership\x12/.google.cloud.gkehub.v1.UpdateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\xda\x41\x19name,resource,update_mask\x82\xd3\xe4\x93\x02;2//v1/{name=projects/*/locations/*/memberships/*}:\x08resource\x12\xd7\x01\n\rUpdateFeature\x12,.google.cloud.gkehub.v1.UpdateFeatureRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1c\n\x07\x46\x65\x61ture\x12\x11OperationMetadata\xda\x41\x19name,resource,update_mask\x82\xd3\xe4\x93\x02\x38\x32,/v1/{name=projects/*/locations/*/features/*}:\x08resource\x12\xdb\x01\n\x17GenerateConnectManifest\x12\x36.google.cloud.gkehub.v1.GenerateConnectManifestRequest\x1a\x37.google.cloud.gkehub.v1.GenerateConnectManifestResponse\"O\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest\x1aI\xca\x41\x15gkehub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xae\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0cServiceProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::V1b\x06proto3"
19
+ descriptor_data = "\n$google/cloud/gkehub/v1/service.proto\x12\x16google.cloud.gkehub.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a$google/cloud/gkehub/v1/feature.proto\x1a\'google/cloud/gkehub/v1/membership.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x01\n\x16ListMembershipsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"~\n\x17ListMembershipsResponse\x12\x35\n\tresources\x18\x01 \x03(\x0b\x32\".google.cloud.gkehub.v1.Membership\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x14GetMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\"\xc3\x01\n\x17\x43reateMembershipRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 gkehub.googleapis.com/Membership\x12\x1a\n\rmembership_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x08resource\x18\x03 \x01(\x0b\x32\".google.cloud.gkehub.v1.MembershipB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"~\n\x17\x44\x65leteMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xdb\x01\n\x17UpdateMembershipRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x39\n\x08resource\x18\x03 \x01(\x0b\x32\".google.cloud.gkehub.v1.MembershipB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xf2\x01\n\x1eGenerateConnectManifestRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n gkehub.googleapis.com/Membership\x12\x16\n\tnamespace\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05proxy\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nis_upgrade\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x15\n\x08registry\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12&\n\x19image_pull_secret_content\x18\x07 \x01(\x0c\x42\x03\xe0\x41\x01\"a\n\x1fGenerateConnectManifestResponse\x12>\n\x08manifest\x18\x01 \x03(\x0b\x32,.google.cloud.gkehub.v1.ConnectAgentResource\"X\n\x14\x43onnectAgentResource\x12.\n\x04type\x18\x01 \x01(\x0b\x32 .google.cloud.gkehub.v1.TypeMeta\x12\x10\n\x08manifest\x18\x02 \x01(\t\"-\n\x08TypeMeta\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x02 \x01(\t\"\x92\x01\n\x13ListFeaturesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xfa\x41\x1f\x12\x1dgkehub.googleapis.com/Feature\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"c\n\x14ListFeaturesResponse\x12\x32\n\tresources\x18\x01 \x03(\x0b\x32\x1f.google.cloud.gkehub.v1.Feature\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"E\n\x11GetFeatureRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1dgkehub.googleapis.com/Feature\"\xa5\x01\n\x14\x43reateFeatureRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xfa\x41\x1f\x12\x1dgkehub.googleapis.com/Feature\x12\x12\n\nfeature_id\x18\x02 \x01(\t\x12\x31\n\x08resource\x18\x03 \x01(\x0b\x32\x1f.google.cloud.gkehub.v1.Feature\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"p\n\x14\x44\x65leteFeatureRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1dgkehub.googleapis.com/Feature\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xc0\x01\n\x14UpdateFeatureRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xfa\x41\x1f\n\x1dgkehub.googleapis.com/Feature\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x31\n\x08resource\x18\x03 \x01(\x0b\x32\x1f.google.cloud.gkehub.v1.Feature\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\xf9\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xf0\x11\n\x06GkeHub\x12\xb4\x01\n\x0fListMemberships\x12..google.cloud.gkehub.v1.ListMembershipsRequest\x1a/.google.cloud.gkehub.v1.ListMembershipsResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/memberships\x12\xa8\x01\n\x0cListFeatures\x12+.google.cloud.gkehub.v1.ListFeaturesRequest\x1a,.google.cloud.gkehub.v1.ListFeaturesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/features\x12\xa1\x01\n\rGetMembership\x12,.google.cloud.gkehub.v1.GetMembershipRequest\x1a\".google.cloud.gkehub.v1.Membership\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/memberships/*}\x12\x95\x01\n\nGetFeature\x12).google.cloud.gkehub.v1.GetFeatureRequest\x1a\x1f.google.cloud.gkehub.v1.Feature\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/features/*}\x12\xe8\x01\n\x10\x43reateMembership\x12/.google.cloud.gkehub.v1.CreateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\xda\x41\x1dparent,resource,membership_id\x82\xd3\xe4\x93\x02;\"//v1/{parent=projects/*/locations/*}/memberships:\x08resource\x12\xd8\x01\n\rCreateFeature\x12,.google.cloud.gkehub.v1.CreateFeatureRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x46\x65\x61ture\x12\x11OperationMetadata\xda\x41\x1aparent,resource,feature_id\x82\xd3\xe4\x93\x02\x38\",/v1/{parent=projects/*/locations/*}/features:\x08resource\x12\xcf\x01\n\x10\x44\x65leteMembership\x12/.google.cloud.gkehub.v1.DeleteMembershipRequest\x1a\x1d.google.longrunning.Operation\"k\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/memberships/*}\x12\xc6\x01\n\rDeleteFeature\x12,.google.cloud.gkehub.v1.DeleteFeatureRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/features/*}\x12\xe3\x01\n\x10UpdateMembership\x12/.google.cloud.gkehub.v1.UpdateMembershipRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1f\n\nMembership\x12\x11OperationMetadata\xda\x41\x19name,resource,update_mask\x82\xd3\xe4\x93\x02;2//v1/{name=projects/*/locations/*/memberships/*}:\x08resource\x12\xd7\x01\n\rUpdateFeature\x12,.google.cloud.gkehub.v1.UpdateFeatureRequest\x1a\x1d.google.longrunning.Operation\"y\xca\x41\x1c\n\x07\x46\x65\x61ture\x12\x11OperationMetadata\xda\x41\x19name,resource,update_mask\x82\xd3\xe4\x93\x02\x38\x32,/v1/{name=projects/*/locations/*/features/*}:\x08resource\x12\xdb\x01\n\x17GenerateConnectManifest\x12\x36.google.cloud.gkehub.v1.GenerateConnectManifestRequest\x1a\x37.google.cloud.gkehub.v1.GenerateConnectManifestResponse\"O\x82\xd3\xe4\x93\x02I\x12G/v1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest\x1aI\xca\x41\x15gkehub.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xae\x01\n\x1a\x63om.google.cloud.gkehub.v1B\x0cServiceProtoP\x01Z2cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb\xaa\x02\x16Google.Cloud.GkeHub.V1\xca\x02\x16Google\\Cloud\\GkeHub\\V1\xea\x02\x19Google::Cloud::GkeHub::V1b\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -25,11 +25,8 @@ module Google
25
25
  # **Anthos Config Management**: State for a single cluster.
26
26
  # @!attribute [rw] cluster_name
27
27
  # @return [::String]
28
- # The user-defined name for the cluster used by ClusterSelectors to group
29
- # clusters together. This should match Membership's membership_name,
30
- # unless the user installed ACM on the cluster manually prior to enabling
31
- # the ACM hub feature.
32
- # Unique within a Anthos Config Management installation.
28
+ # This field is set to the `cluster_name` field of the Membership Spec if it
29
+ # is not empty. Otherwise, it is set to the cluster's fleet membership name.
33
30
  # @!attribute [rw] membership_spec
34
31
  # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec]
35
32
  # Membership configuration in the cluster. This represents the actual state
@@ -66,9 +63,33 @@ module Google
66
63
  # @!attribute [rw] version
67
64
  # @return [::String]
68
65
  # Version of ACM installed.
66
+ # @!attribute [rw] cluster
67
+ # @return [::String]
68
+ # The user-specified cluster name used by Config Sync cluster-name-selector
69
+ # annotation or ClusterSelector, for applying configs to only a subset
70
+ # of clusters.
71
+ # Omit this field if the cluster's fleet membership name is used by Config
72
+ # Sync cluster-name-selector annotation or ClusterSelector.
73
+ # Set this field if a name different from the cluster's fleet membership name
74
+ # is used by Config Sync cluster-name-selector annotation or ClusterSelector.
75
+ # @!attribute [rw] management
76
+ # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::MembershipSpec::Management]
77
+ # Enables automatic Feature management.
69
78
  class MembershipSpec
70
79
  include ::Google::Protobuf::MessageExts
71
80
  extend ::Google::Protobuf::MessageExts::ClassMethods
81
+
82
+ # Whether to automatically manage the Feature.
83
+ module Management
84
+ # Unspecified
85
+ MANAGEMENT_UNSPECIFIED = 0
86
+
87
+ # Google will manage the Feature for the cluster.
88
+ MANAGEMENT_AUTOMATIC = 1
89
+
90
+ # User will manually manage the Feature for the cluster.
91
+ MANAGEMENT_MANUAL = 2
92
+ end
72
93
  end
73
94
 
74
95
  # Configuration for Config Sync
@@ -78,7 +99,32 @@ module Google
78
99
  # @!attribute [rw] source_format
79
100
  # @return [::String]
80
101
  # Specifies whether the Config Sync Repo is
81
- # in hierarchical or unstructured mode.
102
+ # in "hierarchical" or "unstructured" mode.
103
+ # @!attribute [rw] enabled
104
+ # @return [::Boolean]
105
+ # Enables the installation of ConfigSync.
106
+ # If set to true, ConfigSync resources will be created and the other
107
+ # ConfigSync fields will be applied if exist.
108
+ # If set to false, all other ConfigSync fields will be ignored, ConfigSync
109
+ # resources will be deleted.
110
+ # If omitted, ConfigSync resources will be managed depends on the presence
111
+ # of the git or oci field.
112
+ # @!attribute [rw] prevent_drift
113
+ # @return [::Boolean]
114
+ # Set to true to enable the Config Sync admission webhook to prevent drifts.
115
+ # If set to `false`, disables the Config Sync admission webhook and does not
116
+ # prevent drifts.
117
+ # @!attribute [rw] oci
118
+ # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::OciConfig]
119
+ # OCI repo configuration for the cluster
120
+ # @!attribute [rw] metrics_gcp_service_account_email
121
+ # @return [::String]
122
+ # The Email of the Google Cloud Service Account (GSA) used for exporting
123
+ # Config Sync metrics to Cloud Monitoring when Workload Identity is enabled.
124
+ # The GSA should have the Monitoring Metric Writer
125
+ # (roles/monitoring.metricWriter) IAM role.
126
+ # The Kubernetes ServiceAccount `default` in the namespace
127
+ # `config-management-monitoring` should be bound to the GSA.
82
128
  class ConfigSync
83
129
  include ::Google::Protobuf::MessageExts
84
130
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -103,19 +149,45 @@ module Google
103
149
  # Git revision (tag or hash) to check out. Default HEAD.
104
150
  # @!attribute [rw] secret_type
105
151
  # @return [::String]
106
- # Type of secret configured for access to the Git repo.
152
+ # Type of secret configured for access to the Git repo. Must be one of ssh,
153
+ # cookiefile, gcenode, token, gcpserviceaccount or none. The
154
+ # validation of this is case-sensitive. Required.
107
155
  # @!attribute [rw] https_proxy
108
156
  # @return [::String]
109
157
  # URL for the HTTPS proxy to be used when communicating with the Git repo.
110
158
  # @!attribute [rw] gcp_service_account_email
111
159
  # @return [::String]
112
- # The GCP Service Account Email used for auth when secret_type is
160
+ # The Google Cloud Service Account Email used for auth when secret_type is
113
161
  # gcpServiceAccount.
114
162
  class GitConfig
115
163
  include ::Google::Protobuf::MessageExts
116
164
  extend ::Google::Protobuf::MessageExts::ClassMethods
117
165
  end
118
166
 
167
+ # OCI repo configuration for a single cluster
168
+ # @!attribute [rw] sync_repo
169
+ # @return [::String]
170
+ # The OCI image repository URL for the package to sync from.
171
+ # e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.
172
+ # @!attribute [rw] policy_dir
173
+ # @return [::String]
174
+ # The absolute path of the directory that contains
175
+ # the local resources. Default: the root directory of the image.
176
+ # @!attribute [rw] sync_wait_secs
177
+ # @return [::Integer]
178
+ # Period in seconds between consecutive syncs. Default: 15.
179
+ # @!attribute [rw] secret_type
180
+ # @return [::String]
181
+ # Type of secret configured for access to the Git repo.
182
+ # @!attribute [rw] gcp_service_account_email
183
+ # @return [::String]
184
+ # The Google Cloud Service Account Email used for auth when secret_type is
185
+ # gcpServiceAccount.
186
+ class OciConfig
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
+ end
190
+
119
191
  # Configuration for Policy Controller
120
192
  # @!attribute [rw] enabled
121
193
  # @return [::Boolean]
@@ -231,9 +303,66 @@ module Google
231
303
  # @!attribute [rw] sync_state
232
304
  # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::SyncState]
233
305
  # The state of ConfigSync's process to sync configs to a cluster
306
+ # @!attribute [rw] errors
307
+ # @return [::Array<::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncError>]
308
+ # Errors pertaining to the installation of Config Sync.
309
+ # @!attribute [rw] rootsync_crd
310
+ # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState::CRDState]
311
+ # The state of the RootSync CRD
312
+ # @!attribute [rw] reposync_crd
313
+ # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState::CRDState]
314
+ # The state of the Reposync CRD
315
+ # @!attribute [rw] state
316
+ # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::ConfigSyncState::State]
317
+ # The state of CS
318
+ # This field summarizes the other fields in this message.
234
319
  class ConfigSyncState
235
320
  include ::Google::Protobuf::MessageExts
236
321
  extend ::Google::Protobuf::MessageExts::ClassMethods
322
+
323
+ # CRDState representing the state of a CRD
324
+ module CRDState
325
+ # CRD's state cannot be determined
326
+ CRD_STATE_UNSPECIFIED = 0
327
+
328
+ # CRD is not installed
329
+ NOT_INSTALLED = 1
330
+
331
+ # CRD is installed
332
+ INSTALLED = 2
333
+
334
+ # CRD is terminating (i.e., it has been deleted and is cleaning up)
335
+ TERMINATING = 3
336
+
337
+ # CRD is installing
338
+ INSTALLING = 4
339
+ end
340
+
341
+ module State
342
+ # CS's state cannot be determined.
343
+ STATE_UNSPECIFIED = 0
344
+
345
+ # CS is not installed.
346
+ CONFIG_SYNC_NOT_INSTALLED = 1
347
+
348
+ # The expected CS version is installed successfully.
349
+ CONFIG_SYNC_INSTALLED = 2
350
+
351
+ # CS encounters errors.
352
+ CONFIG_SYNC_ERROR = 3
353
+
354
+ # CS is installing or terminating.
355
+ CONFIG_SYNC_PENDING = 4
356
+ end
357
+ end
358
+
359
+ # Errors pertaining to the installation of Config Sync
360
+ # @!attribute [rw] error_message
361
+ # @return [::String]
362
+ # A string representing the user facing error message
363
+ class ConfigSyncError
364
+ include ::Google::Protobuf::MessageExts
365
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
366
  end
238
367
 
239
368
  # Specific versioning information pertaining to ConfigSync's Pods
@@ -255,6 +384,9 @@ module Google
255
384
  # @!attribute [rw] root_reconciler
256
385
  # @return [::String]
257
386
  # Version of the deployed reconciler container in root-reconciler pod
387
+ # @!attribute [rw] admission_webhook
388
+ # @return [::String]
389
+ # Version of the deployed admission_webhook pod
258
390
  class ConfigSyncVersion
259
391
  include ::Google::Protobuf::MessageExts
260
392
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -279,6 +411,9 @@ module Google
279
411
  # @!attribute [rw] root_reconciler
280
412
  # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::DeploymentState]
281
413
  # Deployment state of root-reconciler
414
+ # @!attribute [rw] admission_webhook
415
+ # @return [::Google::Cloud::GkeHub::ConfigManagement::V1::DeploymentState]
416
+ # Deployment state of admission-webhook
282
417
  class ConfigSyncDeploymentState
283
418
  include ::Google::Protobuf::MessageExts
284
419
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -315,25 +450,24 @@ module Google
315
450
  include ::Google::Protobuf::MessageExts
316
451
  extend ::Google::Protobuf::MessageExts::ClassMethods
317
452
 
318
- # An enum representing an ACM's status syncing configs to a cluster
453
+ # An enum representing Config Sync's status of syncing configs to a cluster.
319
454
  module SyncCode
320
- # ACM cannot determine a sync code
455
+ # Config Sync cannot determine a sync code
321
456
  SYNC_CODE_UNSPECIFIED = 0
322
457
 
323
- # ACM successfully synced the git Repo with the cluster
458
+ # Config Sync successfully synced the git Repo with the cluster
324
459
  SYNCED = 1
325
460
 
326
- # ACM is in the progress of syncing a new change
461
+ # Config Sync is in the progress of syncing a new change
327
462
  PENDING = 2
328
463
 
329
- # Indicates an error configuring ACM, and user action is required
464
+ # Indicates an error configuring Config Sync, and user action is required
330
465
  ERROR = 3
331
466
 
332
- # ACM has been installed (operator manifest deployed),
333
- # but not configured.
467
+ # Config Sync has been installed but not configured
334
468
  NOT_CONFIGURED = 4
335
469
 
336
- # ACM has not been installed (no operator pod found)
470
+ # Config Sync has not been installed
337
471
  NOT_INSTALLED = 5
338
472
 
339
473
  # Error authorizing with the cluster
@@ -439,6 +573,9 @@ module Google
439
573
 
440
574
  # Deployment was attempted to be installed, but has errors
441
575
  ERROR = 3
576
+
577
+ # Deployment is installing or terminating
578
+ PENDING = 4
442
579
  end
443
580
  end
444
581
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-gke_hub-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.10.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: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: The GKE Hub API centrally manages features and services on all your Kubernetes
160
48
  clusters running in a variety of environments, including Google cloud, on premises
161
49
  in customer datacenters, or other third party clouds. Note that google-cloud-gke_hub-v1
@@ -218,14 +106,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
106
  requirements:
219
107
  - - ">="
220
108
  - !ruby/object:Gem::Version
221
- version: '2.6'
109
+ version: '2.7'
222
110
  required_rubygems_version: !ruby/object:Gem::Requirement
223
111
  requirements:
224
112
  - - ">="
225
113
  - !ruby/object:Gem::Version
226
114
  version: '0'
227
115
  requirements: []
228
- rubygems_version: 3.5.3
116
+ rubygems_version: 3.5.6
229
117
  signing_key:
230
118
  specification_version: 4
231
119
  summary: API Client library for the GKE Hub V1 API