google-cloud-beyond_corp-app_connections-v1 0.5.0 → 0.5.2

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: 067a4684c2463c4e9981e1b4480cf26fe5f0f378ea015ce247a078f213fa1c14
4
+ data.tar.gz: fbde8466bc47d3fdd0f0924be4623f3e1af091163ede7da3056df9fe0920349c
5
5
  SHA512:
6
- metadata.gz: 4fd417a8a48544be0a25c7a89891975f48a9489822fc1cf4b673f8a7202be9f057ce7b3fc6a28abf28205cc71245be3690883d01511722e8a408a5cc4e2f3799
7
- data.tar.gz: 4bf8f31ef78e62cc216f9eccfe9c79527ab6f45e45fc42d0c8ca385cc046a90001f1f8bce12ac145b41865af4c1c6499524d9fa0bb277a995cf194dcf19d884d
6
+ metadata.gz: 0b1666f792e3b654646160c292d2bf9b5d98f8f2f0333f8525da920c2b2abda311f2709b19b4590d25fccbcf953f2fcfc6ba7b947f2b73ed454b5fa5780ccac5
7
+ data.tar.gz: 278c103df19a0210f8aa759a056800a0fb3f7451b936122fb2ab8af211b81ba6790c6db03f920554aa8f24353412c87b662cb214656d91c640ca84b86a6daa2d
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.2"
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
@@ -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-beyond_corp-app_connections-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
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