google-cloud-iap-v1 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -38,6 +39,11 @@ module Google
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
- # # iterate over all elements by calling #each, and the enumerable
564
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
566
+ # p item
569
567
  # end
570
568
  #
571
569
  def list_identity_aware_proxy_clients request, options = nil
@@ -913,9 +911,9 @@ module Google
913
911
  # * (`String`) The path to a service account key file in JSON format
914
912
  # * (`Hash`) A service account key as a Hash
915
913
  # * (`Google::Auth::Credentials`) A googleauth credentials object
916
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
914
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
917
915
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
918
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
916
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
919
917
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
920
918
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
921
919
  # * (`nil`) indicating no credentials