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
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/iap/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/credentials"
|
26
|
+
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/paths"
|
27
|
+
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/client"
|
28
|
+
|
29
|
+
module Google
|
30
|
+
module Cloud
|
31
|
+
module Iap
|
32
|
+
module V1
|
33
|
+
##
|
34
|
+
# APIs for Identity-Aware Proxy Admin configurations.
|
35
|
+
#
|
36
|
+
# To load this service and instantiate a REST client:
|
37
|
+
#
|
38
|
+
# require "google/cloud/iap/v1/identity_aware_proxy_admin_service/rest"
|
39
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
40
|
+
#
|
41
|
+
module IdentityAwareProxyAdminService
|
42
|
+
# Client for the REST transport
|
43
|
+
module Rest
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
52
|
+
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/rest/helpers" if ::File.file? helper_path
|
@@ -25,6 +25,7 @@ require "google/cloud/iap/v1/version"
|
|
25
25
|
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/credentials"
|
26
26
|
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/paths"
|
27
27
|
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/client"
|
28
|
+
require "google/cloud/iap/v1/identity_aware_proxy_admin_service/rest"
|
28
29
|
|
29
30
|
module Google
|
30
31
|
module Cloud
|
@@ -33,11 +34,16 @@ module Google
|
|
33
34
|
##
|
34
35
|
# APIs for Identity-Aware Proxy Admin configurations.
|
35
36
|
#
|
36
|
-
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
37
38
|
#
|
38
39
|
# require "google/cloud/iap/v1/identity_aware_proxy_admin_service"
|
39
40
|
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Client.new
|
40
41
|
#
|
42
|
+
# @example Load this service and instantiate a REST client
|
43
|
+
#
|
44
|
+
# require "google/cloud/iap/v1/identity_aware_proxy_admin_service/rest"
|
45
|
+
# client = ::Google::Cloud::Iap::V1::IdentityAwareProxyAdminService::Rest::Client.new
|
46
|
+
#
|
41
47
|
module IdentityAwareProxyAdminService
|
42
48
|
end
|
43
49
|
end
|
@@ -559,13 +559,11 @@ module Google
|
|
559
559
|
# # Call the list_identity_aware_proxy_clients method.
|
560
560
|
# result = client.list_identity_aware_proxy_clients request
|
561
561
|
#
|
562
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
563
|
-
# #
|
564
|
-
#
|
565
|
-
# # methods are also available for managing paging directly.
|
566
|
-
# result.each do |response|
|
562
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
563
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
564
|
+
# result.each do |item|
|
567
565
|
# # Each element is of type ::Google::Cloud::Iap::V1::IdentityAwareProxyClient.
|
568
|
-
# p
|
566
|
+
# p item
|
569
567
|
# end
|
570
568
|
#
|
571
569
|
def list_identity_aware_proxy_clients request, options = nil
|