google-cloud-resource_manager-v3 0.3.0 → 0.4.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/resource_manager/v3/folders/client.rb +28 -32
- data/lib/google/cloud/resource_manager/v3/folders/operations.rb +12 -14
- data/lib/google/cloud/resource_manager/v3/folders/rest/client.rb +1269 -0
- data/lib/google/cloud/resource_manager/v3/folders/rest/operations.rb +793 -0
- data/lib/google/cloud/resource_manager/v3/folders/rest/service_stub.rb +698 -0
- data/lib/google/cloud/resource_manager/v3/folders/rest.rb +55 -0
- data/lib/google/cloud/resource_manager/v3/folders.rb +7 -1
- data/lib/google/cloud/resource_manager/v3/organizations/client.rb +4 -6
- data/lib/google/cloud/resource_manager/v3/organizations/rest/client.rb +702 -0
- data/lib/google/cloud/resource_manager/v3/organizations/rest/service_stub.rb +344 -0
- data/lib/google/cloud/resource_manager/v3/organizations/rest.rb +52 -0
- data/lib/google/cloud/resource_manager/v3/organizations.rb +7 -1
- data/lib/google/cloud/resource_manager/v3/projects/client.rb +28 -32
- data/lib/google/cloud/resource_manager/v3/projects/operations.rb +12 -14
- data/lib/google/cloud/resource_manager/v3/projects/rest/client.rb +1299 -0
- data/lib/google/cloud/resource_manager/v3/projects/rest/operations.rb +793 -0
- data/lib/google/cloud/resource_manager/v3/projects/rest/service_stub.rb +698 -0
- data/lib/google/cloud/resource_manager/v3/projects/rest.rb +53 -0
- data/lib/google/cloud/resource_manager/v3/projects.rb +7 -1
- data/lib/google/cloud/resource_manager/v3/rest.rb +42 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/client.rb +12 -14
- data/lib/google/cloud/resource_manager/v3/tag_bindings/operations.rb +12 -14
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest/client.rb +527 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest/operations.rb +793 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest/service_stub.rb +222 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings/rest.rb +54 -0
- data/lib/google/cloud/resource_manager/v3/tag_bindings.rb +7 -1
- data/lib/google/cloud/resource_manager/v3/tag_keys/client.rb +16 -18
- data/lib/google/cloud/resource_manager/v3/tag_keys/operations.rb +12 -14
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest/client.rb +938 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest/operations.rb +793 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest/service_stub.rb +521 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys/rest.rb +53 -0
- data/lib/google/cloud/resource_manager/v3/tag_keys.rb +7 -1
- data/lib/google/cloud/resource_manager/v3/tag_values/client.rb +16 -18
- data/lib/google/cloud/resource_manager/v3/tag_values/operations.rb +12 -14
- data/lib/google/cloud/resource_manager/v3/tag_values/rest/client.rb +934 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/rest/operations.rb +793 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/rest/service_stub.rb +521 -0
- data/lib/google/cloud/resource_manager/v3/tag_values/rest.rb +53 -0
- data/lib/google/cloud/resource_manager/v3/tag_values.rb +7 -1
- data/lib/google/cloud/resource_manager/v3/version.rb +1 -1
- data/lib/google/cloud/resource_manager/v3.rb +7 -2
- data/lib/google/cloud/resourcemanager/v3/organizations_pb.rb +0 -1
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +34 -8
@@ -0,0 +1,55 @@
|
|
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/resource_manager/v3/version"
|
24
|
+
|
25
|
+
require "google/cloud/resource_manager/v3/folders/credentials"
|
26
|
+
require "google/cloud/resource_manager/v3/folders/paths"
|
27
|
+
require "google/cloud/resource_manager/v3/folders/rest/operations"
|
28
|
+
require "google/cloud/resource_manager/v3/folders/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module ResourceManager
|
33
|
+
module V3
|
34
|
+
##
|
35
|
+
# Manages Cloud Platform folder resources.
|
36
|
+
# Folders can be used to organize the resources under an
|
37
|
+
# organization and to control the policies applied to groups of resources.
|
38
|
+
#
|
39
|
+
# To load this service and instantiate a REST client:
|
40
|
+
#
|
41
|
+
# require "google/cloud/resource_manager/v3/folders/rest"
|
42
|
+
# client = ::Google::Cloud::ResourceManager::V3::Folders::Rest::Client.new
|
43
|
+
#
|
44
|
+
module Folders
|
45
|
+
# Client for the REST transport
|
46
|
+
module Rest
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
55
|
+
require "google/cloud/resource_manager/v3/folders/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/resource_manager/v3/folders/credentials"
|
|
26
26
|
require "google/cloud/resource_manager/v3/folders/paths"
|
27
27
|
require "google/cloud/resource_manager/v3/folders/operations"
|
28
28
|
require "google/cloud/resource_manager/v3/folders/client"
|
29
|
+
require "google/cloud/resource_manager/v3/folders/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -36,11 +37,16 @@ module Google
|
|
36
37
|
# Folders can be used to organize the resources under an
|
37
38
|
# organization and to control the policies applied to groups of resources.
|
38
39
|
#
|
39
|
-
#
|
40
|
+
# @example Load this service and instantiate a gRPC client
|
40
41
|
#
|
41
42
|
# require "google/cloud/resource_manager/v3/folders"
|
42
43
|
# client = ::Google::Cloud::ResourceManager::V3::Folders::Client.new
|
43
44
|
#
|
45
|
+
# @example Load this service and instantiate a REST client
|
46
|
+
#
|
47
|
+
# require "google/cloud/resource_manager/v3/folders/rest"
|
48
|
+
# client = ::Google::Cloud::ResourceManager::V3::Folders::Rest::Client.new
|
49
|
+
#
|
44
50
|
module Folders
|
45
51
|
end
|
46
52
|
end
|
@@ -315,13 +315,11 @@ module Google
|
|
315
315
|
# # Call the search_organizations method.
|
316
316
|
# result = client.search_organizations request
|
317
317
|
#
|
318
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
319
|
-
# #
|
320
|
-
#
|
321
|
-
# # methods are also available for managing paging directly.
|
322
|
-
# result.each do |response|
|
318
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
319
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
320
|
+
# result.each do |item|
|
323
321
|
# # Each element is of type ::Google::Cloud::ResourceManager::V3::Organization.
|
324
|
-
# p
|
322
|
+
# p item
|
325
323
|
# end
|
326
324
|
#
|
327
325
|
def search_organizations request, options = nil
|