google-cloud-iap-v1 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/client.rb +7 -9
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/client.rb +1043 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/service_stub.rb +644 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service/rest.rb +52 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_admin_service.rb +7 -1
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/client.rb +4 -6
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/rest/client.rb +872 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/rest/service_stub.rb +523 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service/rest.rb +53 -0
- data/lib/google/cloud/iap/v1/identity_aware_proxy_o_auth_service.rb +7 -1
- data/lib/google/cloud/iap/v1/rest.rb +38 -0
- data/lib/google/cloud/iap/v1/service_pb.rb +21 -0
- data/lib/google/cloud/iap/v1/service_services_pb.rb +2 -0
- data/lib/google/cloud/iap/v1/version.rb +1 -1
- data/lib/google/cloud/iap/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/iap/v1/service.rb +99 -19
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +17 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30799e6c99fb52748b004150af9195057dbf27de4a221b331363b718cca899f4
|
4
|
+
data.tar.gz: 07f15deeda775976fe4aa0e415a807188c5a4acc3aab75ffc00fde98eadf3f3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 438ed7c5f0409e4aec95b01fbcbef2af71182167c3663bef7d683b93c2fef2a0366bda1de0e91263ad3d029fde08a895fbc6d6ad2827ba0bdff0b2cfffc70252
|
7
|
+
data.tar.gz: ebb7b45ed91731d30e30e276b584e9f5c97128d8163d9b5cdeb0135c1adc5a5264eef9533ad4313fb97d303a498f80bd5bf255723d4611646bdee0438f3beb4f
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Identity-Aware Proxy V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Controls access to cloud applications running on Google Cloud Platform.
|
4
4
|
|
5
5
|
IAP lets you establish a central authorization layer for applications accessed by HTTPS, so you can use an application-level access control model instead of relying on network-level firewalls.
|
6
6
|
|
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -669,13 +669,11 @@ module Google
|
|
669
669
|
# # Call the list_tunnel_dest_groups method.
|
670
670
|
# result = client.list_tunnel_dest_groups request
|
671
671
|
#
|
672
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
673
|
-
# #
|
674
|
-
#
|
675
|
-
# # methods are also available for managing paging directly.
|
676
|
-
# result.each do |response|
|
672
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
673
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
674
|
+
# result.each do |item|
|
677
675
|
# # Each element is of type ::Google::Cloud::Iap::V1::TunnelDestGroup.
|
678
|
-
# p
|
676
|
+
# p item
|
679
677
|
# end
|
680
678
|
#
|
681
679
|
def list_tunnel_dest_groups request, options = nil
|
@@ -745,11 +743,11 @@ module Google
|
|
745
743
|
# @param tunnel_dest_group [::Google::Cloud::Iap::V1::TunnelDestGroup, ::Hash]
|
746
744
|
# Required. The TunnelDestGroup to create.
|
747
745
|
# @param tunnel_dest_group_id [::String]
|
748
|
-
# Required. The ID to use for the TunnelDestGroup, which becomes the final
|
749
|
-
# the resource name.
|
746
|
+
# Required. The ID to use for the TunnelDestGroup, which becomes the final
|
747
|
+
# component of the resource name.
|
750
748
|
#
|
751
749
|
# This value must be 4-63 characters, and valid characters
|
752
|
-
# are `[a-z]
|
750
|
+
# are `[a-z]-`.
|
753
751
|
#
|
754
752
|
# @yield [response, operation] Access the result along with the RPC operation
|
755
753
|
# @yieldparam response [::Google::Cloud::Iap::V1::TunnelDestGroup]
|