google-cloud-managed_identities-v1 0.8.0 → 1.0.1

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: 6aad69e48ee7af3f40277e9421e843518359224a676f08355f78c91190e488e1
4
- data.tar.gz: a736fe5e656cee951344284876ccb9f2163dc536c61dadec3834e2621f18f97c
3
+ metadata.gz: d46f8d38abc408977af6f3f97e6a53331bc2c246718d5240c59a06358ba30fd3
4
+ data.tar.gz: 5c733c1b900f1aa04f03c5a6015dc8f89c738cb77ad517e475788db0ac504585
5
5
  SHA512:
6
- metadata.gz: 145044092ab13603f115ebb4ddf2ea8e92d1c33c662ca7fd74321aebda0db361cfdeb42302e167af0df70596b5dcc3d3e40904a8ffda064411c3b4720c66c994
7
- data.tar.gz: eeb1d464e84372446079faa057e7b8ddbdf0ab897c2124156f92d44ec9468b80a298960306a32fae5df2d9ea750a01bd66d9a42270c4daa6a97d620a25be9ecd
6
+ metadata.gz: 86a06879d5cf226009f3598405f242bfca06e2df171f96e0ae34fcf9f8c1b247f9da82dea8435b9ce4ff105811820e00e805cd84404ff5d44ebe293058ae25ca
7
+ data.tar.gz: 6b4925fe2f0d230f93f3de584c4e6a5deb9c5f8dd67f557f65ea3f5979f5c74342fad2b0e034f2d79f2ea645b831ec618d3320f9b1e4df6ab17871ddaa98f6c2
@@ -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.1"
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
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
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.1
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-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common