google-cloud-beyond_corp-client_gateways-v1 0.5.0 → 0.5.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: f4ef7d5c7f81ad5c5cc76ca8033c13632776470b849dc033f465d71028461c66
4
- data.tar.gz: 3a02ff0713eafd8fbe237b483ac96f45f78bbf298166b4f901fc41aacf39e7ab
3
+ metadata.gz: 93d6f26fb2a1bf3458b5c07da4ed8b7a0341be1a9039a6f54fd6b04d8d3d5225
4
+ data.tar.gz: e664ed12484dba16a2c994697bb518415345bc095913c328995a946f6c248ab1
5
5
  SHA512:
6
- metadata.gz: 4d79bdb4f7778f2d0c3276a187a1ed31c83e044d61c6acb9b92773b152aee18ba11c7f863e97543a7f95da6261a7796e2cf1a4381370b70a0821ba93786e14b1
7
- data.tar.gz: 8dc9baa9a85d6fe13225619b823a98652aee2d66aec58d6481373d853ff1bd22941f4827bc2b3b5f5bc8750d5328cf96a94045b7fb2a167d36e6f7a1350455ff
6
+ metadata.gz: ebb6e898d62a49ecb04e29e0d5fe5396255b10b5051dcd88cb7b91cbdf89583ddc10de7c4edf24b1a762bd6bf762c8c11db78f326edba1c52069f06e3e634d7a
7
+ data.tar.gz: d30152472b38418edb9b0815838f3ee451c0869bfbce35e7f95ccef3c2e432402a5757f9355be6a8fe60e07e88cb3cb44cb9d11d6345552a60b7ae7e6b948747
data/README.md CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
4
4
 
5
- Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.
6
5
 
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
@@ -43,6 +43,9 @@ module Google
43
43
  # `projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}`.
44
44
  #
45
45
  class Client
46
+ # @private
47
+ API_VERSION = ""
48
+
46
49
  # @private
47
50
  DEFAULT_ENDPOINT_TEMPLATE = "beyondcorp.$UNIVERSE_DOMAIN$"
48
51
 
@@ -283,10 +286,11 @@ module Google
283
286
  # Customize the options with defaults
284
287
  metadata = @config.rpcs.list_client_gateways.metadata.to_h
285
288
 
286
- # Set x-goog-api-client and x-goog-user-project headers
289
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
287
290
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
288
291
  lib_name: @config.lib_name, lib_version: @config.lib_version,
289
292
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
293
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
290
294
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
291
295
 
292
296
  header_params = {}
@@ -369,10 +373,11 @@ module Google
369
373
  # Customize the options with defaults
370
374
  metadata = @config.rpcs.get_client_gateway.metadata.to_h
371
375
 
372
- # Set x-goog-api-client and x-goog-user-project headers
376
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
373
377
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
374
378
  lib_name: @config.lib_name, lib_version: @config.lib_version,
375
379
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
380
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
376
381
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
377
382
 
378
383
  header_params = {}
@@ -485,10 +490,11 @@ module Google
485
490
  # Customize the options with defaults
486
491
  metadata = @config.rpcs.create_client_gateway.metadata.to_h
487
492
 
488
- # Set x-goog-api-client and x-goog-user-project headers
493
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
489
494
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
490
495
  lib_name: @config.lib_name, lib_version: @config.lib_version,
491
496
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
497
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
492
498
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
493
499
 
494
500
  header_params = {}
@@ -595,10 +601,11 @@ module Google
595
601
  # Customize the options with defaults
596
602
  metadata = @config.rpcs.delete_client_gateway.metadata.to_h
597
603
 
598
- # Set x-goog-api-client and x-goog-user-project headers
604
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
599
605
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
600
606
  lib_name: @config.lib_name, lib_version: @config.lib_version,
601
607
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
608
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
602
609
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
603
610
 
604
611
  header_params = {}
@@ -27,6 +27,9 @@ module Google
27
27
  module ClientGatewaysService
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "beyondcorp.$UNIVERSE_DOMAIN$"
32
35
 
@@ -192,10 +195,11 @@ module Google
192
195
  # Customize the options with defaults
193
196
  metadata = @config.rpcs.list_operations.metadata.to_h
194
197
 
195
- # Set x-goog-api-client and x-goog-user-project headers
198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
196
199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
197
200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
198
201
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
199
203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
200
204
 
201
205
  header_params = {}
@@ -288,10 +292,11 @@ module Google
288
292
  # Customize the options with defaults
289
293
  metadata = @config.rpcs.get_operation.metadata.to_h
290
294
 
291
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
296
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
298
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
299
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
301
 
297
302
  header_params = {}
@@ -377,10 +382,11 @@ module Google
377
382
  # Customize the options with defaults
378
383
  metadata = @config.rpcs.delete_operation.metadata.to_h
379
384
 
380
- # Set x-goog-api-client and x-goog-user-project headers
385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
388
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  header_params = {}
@@ -471,10 +477,11 @@ module Google
471
477
  # Customize the options with defaults
472
478
  metadata = @config.rpcs.cancel_operation.metadata.to_h
473
479
 
474
- # Set x-goog-api-client and x-goog-user-project headers
480
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
481
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
482
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
483
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
484
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
478
485
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
479
486
 
480
487
  header_params = {}
@@ -575,10 +582,11 @@ module Google
575
582
  # Customize the options with defaults
576
583
  metadata = @config.rpcs.wait_operation.metadata.to_h
577
584
 
578
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
588
  gapic_version: ::Google::Cloud::BeyondCorp::ClientGateways::V1::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module BeyondCorp
23
23
  module ClientGateways
24
24
  module V1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.5.1"
26
26
  end
27
27
  end
28
28
  end
@@ -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
@@ -286,6 +290,13 @@ module Google
286
290
  # @return [::String]
287
291
  # The fully qualified name of the method, for which the options below apply.
288
292
  # This is used to find the method to apply the options.
293
+ #
294
+ # Example:
295
+ #
296
+ # publishing:
297
+ # method_settings:
298
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
299
+ # # method settings for CreateFolder...
289
300
  # @!attribute [rw] long_running
290
301
  # @return [::Google::Api::MethodSettings::LongRunning]
291
302
  # Describes settings to use for long-running operations when generating
@@ -294,17 +305,14 @@ module Google
294
305
  #
295
306
  # Example of a YAML configuration::
296
307
  #
297
- # publishing:
298
- # method_settings:
308
+ # publishing:
309
+ # method_settings:
299
310
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
311
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
312
+ # initial_poll_delay: 60s # 1 minute
303
313
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
314
+ # max_poll_delay: 360s # 6 minutes
315
+ # total_poll_timeout: 54000s # 90 minutes
308
316
  # @!attribute [rw] auto_populated_fields
309
317
  # @return [::Array<::String>]
310
318
  # List of top-level fields of the request message, that should be
@@ -313,8 +321,8 @@ module Google
313
321
  #
314
322
  # Example of a YAML configuration:
315
323
  #
316
- # publishing:
317
- # method_settings:
324
+ # publishing:
325
+ # method_settings:
318
326
  # - selector: google.example.v1.ExampleService.CreateExample
319
327
  # auto_populated_fields:
320
328
  # - 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-beyond_corp-client_gateways-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.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-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common