google-cloud-beyond_corp-app_gateways-v1 0.10.0 → 0.11.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: beb8c29c926984670b0e5ca06f45767d12b1da5f090440b3181f6054af61751e
4
- data.tar.gz: a652a0ce8b289f2f1cfa5bbe1921952cd4cd71b82b32a02e01aa4e7dac3ff540
3
+ metadata.gz: f843b0a8a346364734636350c750cf1601bf1d0c7a41b938a03b2dcfa1eadfe1
4
+ data.tar.gz: 6b80443468f401c8051099704bc51a743ded93e264b9d1cf5695ac2fc5f87910
5
5
  SHA512:
6
- metadata.gz: 611fc000d3d38f2e63100558680505460819a199c9756e210f0b08a846f72b9e79ac607c373d673037e4e552d6ff60c5bad97ba136de3cace8e7841b8d153783
7
- data.tar.gz: f66619dd241a99c092e28e4090eee61308c8e11f6645cb72ba9e0bd947168cccd75a1e5c43d70db0eb96eb4e269891f5d9accb677695e6a52d070777734e8e1e
6
+ metadata.gz: 9cd46511b2314a1734ec35e7def6bcb46df874d8c6935e9f022c2b232662239ac4f23339c18a4884ee3427b965c2a218976d42838f8ffc3cb4710e1a9831d9e9
7
+ data.tar.gz: ce4907a3b77df89c7a0f08ffea55ba309684ea43c2447c5de23c01e109e08fd7252eec01849a2c7d2af9cc8c2ff24306fc77d2c10de26c3899369465536d2a24
@@ -704,8 +704,6 @@ module Google
704
704
  # @return [::String,nil]
705
705
  # @!attribute [rw] credentials
706
706
  # Credentials to send with calls. You may provide any of the following types:
707
- # * (`String`) The path to a service account key file in JSON format
708
- # * (`Hash`) A service account key as a Hash
709
707
  # * (`Google::Auth::Credentials`) A googleauth credentials object
710
708
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
711
709
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -714,7 +712,26 @@ module Google
714
712
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
715
713
  # * (`nil`) indicating no credentials
716
714
  #
717
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
715
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
716
+ # is deprecated. Providing an unvalidated credential configuration to
717
+ # Google APIs can compromise the security of your systems and data.
718
+ #
719
+ # @example
720
+ #
721
+ # # The recommended way to provide credentials is to use the `make_creds` method
722
+ # # on the appropriate credentials class for your environment.
723
+ #
724
+ # require "googleauth"
725
+ #
726
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
727
+ # json_key_io: ::File.open("/path/to/keyfile.json")
728
+ # )
729
+ #
730
+ # client = ::Google::Cloud::BeyondCorp::AppGateways::V1::AppGatewaysService::Client.new do |config|
731
+ # config.credentials = credentials
732
+ # end
733
+ #
734
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
718
735
  # external source for authentication to Google Cloud, you must validate it before
719
736
  # providing it to a Google API client library. Providing an unvalidated credential
720
737
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module BeyondCorp
23
23
  module AppGateways
24
24
  module V1
25
- VERSION = "0.10.0"
25
+ VERSION = "0.11.0"
26
26
  end
27
27
  end
28
28
  end
@@ -14,30 +14,8 @@ require 'google/protobuf/timestamp_pb'
14
14
 
15
15
  descriptor_data = "\nAgoogle/cloud/beyondcorp/appgateways/v1/app_gateways_service.proto\x12&google.cloud.beyondcorp.appgateways.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x01\n\x16ListAppGatewaysRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$beyondcorp.googleapis.com/AppGateway\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x91\x01\n\x17ListAppGatewaysResponse\x12H\n\x0c\x61pp_gateways\x18\x01 \x03(\x0b\x32\x32.google.cloud.beyondcorp.appgateways.v1.AppGateway\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"R\n\x14GetAppGatewayRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$beyondcorp.googleapis.com/AppGateway\"\xf7\x01\n\x17\x43reateAppGatewayRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$beyondcorp.googleapis.com/AppGateway\x12\x1b\n\x0e\x61pp_gateway_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12L\n\x0b\x61pp_gateway\x18\x03 \x01(\x0b\x32\x32.google.cloud.beyondcorp.appgateways.v1.AppGatewayB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x17\x44\x65leteAppGatewayRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$beyondcorp.googleapis.com/AppGateway\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xaa\x08\n\nAppGateway\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12S\n\x06labels\x18\x04 \x03(\x0b\x32>.google.cloud.beyondcorp.appgateways.v1.AppGateway.LabelsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12J\n\x04type\x18\x07 \x01(\x0e\x32\x37.google.cloud.beyondcorp.appgateways.v1.AppGateway.TypeB\x03\xe0\x41\x02\x12L\n\x05state\x18\x08 \x01(\x0e\x32\x38.google.cloud.beyondcorp.appgateways.v1.AppGateway.StateB\x03\xe0\x41\x03\x12\x10\n\x03uri\x18\t \x01(\tB\x03\xe0\x41\x03\x12j\n\x15\x61llocated_connections\x18\n \x03(\x0b\x32\x46.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnectionB\x03\xe0\x41\x03\x12S\n\thost_type\x18\x0b \x01(\x0e\x32;.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostTypeB\x03\xe0\x41\x02\x1a\x46\n\x13\x41llocatedConnection\x12\x14\n\x07psc_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cingress_port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tTCP_PROXY\x10\x01\"_\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x08\n\x04\x44OWN\x10\x05\";\n\x08HostType\x12\x19\n\x15HOST_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10GCP_REGIONAL_MIG\x10\x01:l\xea\x41i\n$beyondcorp.googleapis.com/AppGateway\x12\x41projects/{project}/locations/{location}/appGateways/{app_gateway}\"\x8a\x02\n\x1b\x41ppGatewayOperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xf6\x07\n\x12\x41ppGatewaysService\x12\xd4\x01\n\x0fListAppGateways\x12>.google.cloud.beyondcorp.appgateways.v1.ListAppGatewaysRequest\x1a?.google.cloud.beyondcorp.appgateways.v1.ListAppGatewaysResponse\"@\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=projects/*/locations/*}/appGateways\x12\xc1\x01\n\rGetAppGateway\x12<.google.cloud.beyondcorp.appgateways.v1.GetAppGatewayRequest\x1a\x32.google.cloud.beyondcorp.appgateways.v1.AppGateway\">\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=projects/*/locations/*/appGateways/*}\x12\x89\x02\n\x10\x43reateAppGateway\x12?.google.cloud.beyondcorp.appgateways.v1.CreateAppGatewayRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\xca\x41)\n\nAppGateway\x12\x1b\x41ppGatewayOperationMetadata\xda\x41!parent,app_gateway,app_gateway_id\x82\xd3\xe4\x93\x02>\"//v1/{parent=projects/*/locations/*}/appGateways:\x0b\x61pp_gateway\x12\xe9\x01\n\x10\x44\x65leteAppGateway\x12?.google.cloud.beyondcorp.appgateways.v1.DeleteAppGatewayRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x34\n\x15google.protobuf.Empty\x12\x1b\x41ppGatewayOperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x31*//v1/{name=projects/*/locations/*/appGateways/*}\x1aM\xca\x41\x19\x62\x65yondcorp.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x94\x02\n*com.google.cloud.beyondcorp.appgateways.v1B\x17\x41ppGatewaysServiceProtoP\x01ZLcloud.google.com/go/beyondcorp/appgateways/apiv1/appgatewayspb;appgatewayspb\xaa\x02&Google.Cloud.BeyondCorp.AppGateways.V1\xca\x02&Google\\Cloud\\BeyondCorp\\AppGateways\\V1\xea\x02*Google::Cloud::BeyondCorp::AppGateways::V1b\x06proto3"
16
16
 
17
- pool = Google::Protobuf::DescriptorPool.generated_pool
18
-
19
- begin
20
- pool.add_serialized_file(descriptor_data)
21
- rescue TypeError
22
- # Compatibility code: will be removed in the next major version.
23
- require 'google/protobuf/descriptor_pb'
24
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
- parsed.clear_dependency
26
- serialized = parsed.class.encode(parsed)
27
- file = pool.add_serialized_file(serialized)
28
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
- imports = [
30
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
- ]
32
- imports.each do |type_name, expected_filename|
33
- import_file = pool.lookup(type_name).file_descriptor
34
- if import_file.name != expected_filename
35
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
- end
37
- end
38
- warn "Each proto file must use a consistent fully-qualified name."
39
- warn "This will become an error in the next major version."
40
- end
17
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
41
19
 
42
20
  module Google
43
21
  module Cloud
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-beyond_corp-app_gateways-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -115,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: '3.1'
118
+ version: '3.2'
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="