google-cloud-beyond_corp-app_connections-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: daf158cdd15b22a2fe7d88e51ff6a57ecbd32543241093473640d26a43aba692
4
- data.tar.gz: c4b7894ffa19b8d33bc884736401242deab537d6e2c59d6c9212e69982e7da50
3
+ metadata.gz: e68cdacdfbf97aaa8ec20e2f3c8a3ec253c124b12a63577838011589615e20bf
4
+ data.tar.gz: ca570dd44732fce713c0922872feb6a3b77817d8e9d28fff0eb5c60d0ab34668
5
5
  SHA512:
6
- metadata.gz: 4fd417a8a48544be0a25c7a89891975f48a9489822fc1cf4b673f8a7202be9f057ce7b3fc6a28abf28205cc71245be3690883d01511722e8a408a5cc4e2f3799
7
- data.tar.gz: 4bf8f31ef78e62cc216f9eccfe9c79527ab6f45e45fc42d0c8ca385cc046a90001f1f8bce12ac145b41865af4c1c6499524d9fa0bb277a995cf194dcf19d884d
6
+ metadata.gz: ba246277bf2b9a7fb97052572c0c56f1b4cc7221303d0c1d5c5fb47c18affdf0aa9e78ff87ef1b705da09591c186a64a3ff75ea75ed4cb58c589d7d64c054dcb
7
+ data.tar.gz: 14c1cca42b778cd7d686c039378e188cbb51d41ee367b3362a3064165a2ca39f4e4b111afdc8d1fa871062d3a53f6aab008815e12dc589970a3e17ec5102d9c9
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
 
@@ -46,6 +46,9 @@ module Google
46
46
  # (create/read/update/delete) BeyondCorp AppConnections.
47
47
  #
48
48
  class Client
49
+ # @private
50
+ API_VERSION = ""
51
+
49
52
  # @private
50
53
  DEFAULT_ENDPOINT_TEMPLATE = "beyondcorp.$UNIVERSE_DOMAIN$"
51
54
 
@@ -295,10 +298,11 @@ module Google
295
298
  # Customize the options with defaults
296
299
  metadata = @config.rpcs.list_app_connections.metadata.to_h
297
300
 
298
- # Set x-goog-api-client and x-goog-user-project headers
301
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
299
302
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
300
303
  lib_name: @config.lib_name, lib_version: @config.lib_version,
301
304
  gapic_version: ::Google::Cloud::BeyondCorp::AppConnections::V1::VERSION
305
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
302
306
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
303
307
 
304
308
  header_params = {}
@@ -382,10 +386,11 @@ module Google
382
386
  # Customize the options with defaults
383
387
  metadata = @config.rpcs.get_app_connection.metadata.to_h
384
388
 
385
- # Set x-goog-api-client and x-goog-user-project headers
389
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
386
390
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
387
391
  lib_name: @config.lib_name, lib_version: @config.lib_version,
388
392
  gapic_version: ::Google::Cloud::BeyondCorp::AppConnections::V1::VERSION
393
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
389
394
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
390
395
 
391
396
  header_params = {}
@@ -499,10 +504,11 @@ module Google
499
504
  # Customize the options with defaults
500
505
  metadata = @config.rpcs.create_app_connection.metadata.to_h
501
506
 
502
- # Set x-goog-api-client and x-goog-user-project headers
507
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
503
508
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
504
509
  lib_name: @config.lib_name, lib_version: @config.lib_version,
505
510
  gapic_version: ::Google::Cloud::BeyondCorp::AppConnections::V1::VERSION
511
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
506
512
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
507
513
 
508
514
  header_params = {}
@@ -620,10 +626,11 @@ module Google
620
626
  # Customize the options with defaults
621
627
  metadata = @config.rpcs.update_app_connection.metadata.to_h
622
628
 
623
- # Set x-goog-api-client and x-goog-user-project headers
629
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
624
630
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
625
631
  lib_name: @config.lib_name, lib_version: @config.lib_version,
626
632
  gapic_version: ::Google::Cloud::BeyondCorp::AppConnections::V1::VERSION
633
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
627
634
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
628
635
 
629
636
  header_params = {}
@@ -731,10 +738,11 @@ module Google
731
738
  # Customize the options with defaults
732
739
  metadata = @config.rpcs.delete_app_connection.metadata.to_h
733
740
 
734
- # Set x-goog-api-client and x-goog-user-project headers
741
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
735
742
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
736
743
  lib_name: @config.lib_name, lib_version: @config.lib_version,
737
744
  gapic_version: ::Google::Cloud::BeyondCorp::AppConnections::V1::VERSION
745
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
738
746
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
739
747
 
740
748
  header_params = {}
@@ -838,10 +846,11 @@ module Google
838
846
  # Customize the options with defaults
839
847
  metadata = @config.rpcs.resolve_app_connections.metadata.to_h
840
848
 
841
- # Set x-goog-api-client and x-goog-user-project headers
849
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
842
850
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
843
851
  lib_name: @config.lib_name, lib_version: @config.lib_version,
844
852
  gapic_version: ::Google::Cloud::BeyondCorp::AppConnections::V1::VERSION
853
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
845
854
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
846
855
 
847
856
  header_params = {}
@@ -27,6 +27,9 @@ module Google
27
27
  module AppConnectionsService
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::AppConnections::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::AppConnections::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::AppConnections::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::AppConnections::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::AppConnections::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 AppConnections
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-app_connections-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