google-cloud-managed_identities-v1 0.8.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6aad69e48ee7af3f40277e9421e843518359224a676f08355f78c91190e488e1
4
- data.tar.gz: a736fe5e656cee951344284876ccb9f2163dc536c61dadec3834e2621f18f97c
3
+ metadata.gz: b1b9d79091c3c26fc03ddca5714a76ffb367bbdecc4671c68689890caca836bb
4
+ data.tar.gz: 13bad86c5cb826fc416d7961613547502ba2a08dd05bc71bc23e818783dab300
5
5
  SHA512:
6
- metadata.gz: 145044092ab13603f115ebb4ddf2ea8e92d1c33c662ca7fd74321aebda0db361cfdeb42302e167af0df70596b5dcc3d3e40904a8ffda064411c3b4720c66c994
7
- data.tar.gz: eeb1d464e84372446079faa057e7b8ddbdf0ab897c2124156f92d44ec9468b80a298960306a32fae5df2d9ea750a01bd66d9a42270c4daa6a97d620a25be9ecd
6
+ metadata.gz: ab78d9b0bac5a09fe9983da3d245af8de17c42b4cc3bb196dffe038fc42fd25ae673333cd90e4a3f050b1fd0518468d8359638f9133ec22c1993a26fba36e053
7
+ data.tar.gz: 9c65f3aeca9da72aebd8f7b11ca1e955dd49a10f184a41ac1cf5dbcfa01bf7eb33bda408f8bd37309cd79b0b3ca0fa7d4ff1c79029ed60191a72b1699093d45d
@@ -61,6 +61,9 @@ module Google
61
61
  # * Must be unique within the customer project.
62
62
  #
63
63
  class Client
64
+ # @private
65
+ API_VERSION = ""
66
+
64
67
  # @private
65
68
  DEFAULT_ENDPOINT_TEMPLATE = "managedidentities.$UNIVERSE_DOMAIN$"
66
69
 
@@ -303,10 +306,11 @@ module Google
303
306
  # Customize the options with defaults
304
307
  metadata = @config.rpcs.create_microsoft_ad_domain.metadata.to_h
305
308
 
306
- # Set x-goog-api-client and x-goog-user-project headers
309
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
307
310
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
308
311
  lib_name: @config.lib_name, lib_version: @config.lib_version,
309
312
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
313
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
310
314
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
311
315
 
312
316
  header_params = {}
@@ -390,10 +394,11 @@ module Google
390
394
  # Customize the options with defaults
391
395
  metadata = @config.rpcs.reset_admin_password.metadata.to_h
392
396
 
393
- # Set x-goog-api-client and x-goog-user-project headers
397
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
394
398
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
395
399
  lib_name: @config.lib_name, lib_version: @config.lib_version,
396
400
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
401
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
397
402
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
398
403
 
399
404
  header_params = {}
@@ -498,10 +503,11 @@ module Google
498
503
  # Customize the options with defaults
499
504
  metadata = @config.rpcs.list_domains.metadata.to_h
500
505
 
501
- # Set x-goog-api-client and x-goog-user-project headers
506
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
502
507
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
503
508
  lib_name: @config.lib_name, lib_version: @config.lib_version,
504
509
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
510
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
505
511
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
506
512
 
507
513
  header_params = {}
@@ -585,10 +591,11 @@ module Google
585
591
  # Customize the options with defaults
586
592
  metadata = @config.rpcs.get_domain.metadata.to_h
587
593
 
588
- # Set x-goog-api-client and x-goog-user-project headers
594
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
589
595
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
590
596
  lib_name: @config.lib_name, lib_version: @config.lib_version,
591
597
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
598
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
592
599
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
593
600
 
594
601
  header_params = {}
@@ -685,10 +692,11 @@ module Google
685
692
  # Customize the options with defaults
686
693
  metadata = @config.rpcs.update_domain.metadata.to_h
687
694
 
688
- # Set x-goog-api-client and x-goog-user-project headers
695
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
689
696
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
690
697
  lib_name: @config.lib_name, lib_version: @config.lib_version,
691
698
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
699
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
692
700
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
693
701
 
694
702
  header_params = {}
@@ -779,10 +787,11 @@ module Google
779
787
  # Customize the options with defaults
780
788
  metadata = @config.rpcs.delete_domain.metadata.to_h
781
789
 
782
- # Set x-goog-api-client and x-goog-user-project headers
790
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
783
791
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
784
792
  lib_name: @config.lib_name, lib_version: @config.lib_version,
785
793
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
794
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
786
795
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
787
796
 
788
797
  header_params = {}
@@ -875,10 +884,11 @@ module Google
875
884
  # Customize the options with defaults
876
885
  metadata = @config.rpcs.attach_trust.metadata.to_h
877
886
 
878
- # Set x-goog-api-client and x-goog-user-project headers
887
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
879
888
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
880
889
  lib_name: @config.lib_name, lib_version: @config.lib_version,
881
890
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
891
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
882
892
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
883
893
 
884
894
  header_params = {}
@@ -975,10 +985,11 @@ module Google
975
985
  # Customize the options with defaults
976
986
  metadata = @config.rpcs.reconfigure_trust.metadata.to_h
977
987
 
978
- # Set x-goog-api-client and x-goog-user-project headers
988
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
979
989
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
980
990
  lib_name: @config.lib_name, lib_version: @config.lib_version,
981
991
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
992
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
982
993
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
983
994
 
984
995
  header_params = {}
@@ -1071,10 +1082,11 @@ module Google
1071
1082
  # Customize the options with defaults
1072
1083
  metadata = @config.rpcs.detach_trust.metadata.to_h
1073
1084
 
1074
- # Set x-goog-api-client and x-goog-user-project headers
1085
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1075
1086
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1076
1087
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1077
1088
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
1089
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1078
1090
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1079
1091
 
1080
1092
  header_params = {}
@@ -1168,10 +1180,11 @@ module Google
1168
1180
  # Customize the options with defaults
1169
1181
  metadata = @config.rpcs.validate_trust.metadata.to_h
1170
1182
 
1171
- # Set x-goog-api-client and x-goog-user-project headers
1183
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1172
1184
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1173
1185
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1174
1186
  gapic_version: ::Google::Cloud::ManagedIdentities::V1::VERSION
1187
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1175
1188
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1176
1189
 
1177
1190
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module ManagedIdentitiesService
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 = "managedidentities.$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::ManagedIdentities::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::ManagedIdentities::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::ManagedIdentities::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::ManagedIdentities::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::ManagedIdentities::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,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ManagedIdentities
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/cloud/managedidentities/v1/managed_identities_service.proto for package 'Google.Cloud.ManagedIdentities.V1'
3
3
  # Original file comments:
4
- # Copyright 2019 Google LLC.
4
+ # Copyright 2024 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-managed_identities-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 1.0.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-26 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common