google-cloud-asset 0.8.1 → 1.1.1
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 +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -59
- data/LICENSE.md +203 -0
- data/MIGRATING.md +334 -0
- data/README.md +36 -24
- data/lib/{google/cloud/asset/v1/doc/google/protobuf/empty.rb → google-cloud-asset.rb} +4 -14
- data/lib/google/cloud/asset.rb +87 -116
- data/lib/google/cloud/asset/version.rb +1 -1
- metadata +62 -81
- data/LICENSE +0 -201
- data/lib/google/cloud/asset/v1.rb +0 -146
- data/lib/google/cloud/asset/v1/asset_service_client.rb +0 -669
- data/lib/google/cloud/asset/v1/asset_service_client_config.json +0 -61
- data/lib/google/cloud/asset/v1/asset_service_pb.rb +0 -123
- data/lib/google/cloud/asset/v1/asset_service_services_pb.rb +0 -69
- data/lib/google/cloud/asset/v1/assets_pb.rb +0 -51
- data/lib/google/cloud/asset/v1/credentials.rb +0 -41
- data/lib/google/cloud/asset/v1/doc/google/cloud/asset/v1/asset_service.rb +0 -295
- data/lib/google/cloud/asset/v1/doc/google/cloud/asset/v1/assets.rb +0 -116
- data/lib/google/cloud/asset/v1/doc/google/iam/v1/policy.rb +0 -151
- data/lib/google/cloud/asset/v1/doc/google/longrunning/operations.rb +0 -51
- data/lib/google/cloud/asset/v1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/asset/v1/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/asset/v1/doc/google/protobuf/struct.rb +0 -74
- data/lib/google/cloud/asset/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/asset/v1/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/asset/v1/doc/google/type/expr.rb +0 -45
- data/lib/google/cloud/asset/v1/helpers.rb +0 -39
- data/lib/google/cloud/asset/v1beta1.rb +0 -146
- data/lib/google/cloud/asset/v1beta1/asset_service_client.rb +0 -400
- data/lib/google/cloud/asset/v1beta1/asset_service_client_config.json +0 -36
- data/lib/google/cloud/asset/v1beta1/asset_service_pb.rb +0 -67
- data/lib/google/cloud/asset/v1beta1/asset_service_services_pb.rb +0 -59
- data/lib/google/cloud/asset/v1beta1/assets_pb.rb +0 -50
- data/lib/google/cloud/asset/v1beta1/credentials.rb +0 -41
- data/lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb +0 -140
- data/lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb +0 -108
- data/lib/google/cloud/asset/v1beta1/doc/google/iam/v1/policy.rb +0 -151
- data/lib/google/cloud/asset/v1beta1/doc/google/longrunning/operations.rb +0 -51
- data/lib/google/cloud/asset/v1beta1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/asset/v1beta1/doc/google/protobuf/struct.rb +0 -74
- data/lib/google/cloud/asset/v1beta1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/asset/v1beta1/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/asset/v1beta1/doc/google/type/expr.rb +0 -45
- data/lib/google/cloud/asset/v1beta1/helpers.rb +0 -31
- data/lib/google/cloud/orgpolicy/v1/doc/google/cloud/orgpolicy/v1/orgpolicy.rb +0 -308
- data/lib/google/cloud/orgpolicy/v1/orgpolicy_pb.rb +0 -55
data/README.md
CHANGED
@@ -1,41 +1,53 @@
|
|
1
|
-
# Ruby Client for Cloud Asset API
|
1
|
+
# Ruby Client for the Cloud Asset API
|
2
2
|
|
3
|
-
|
4
|
-
The cloud asset API manages the history and inventory of cloud resources.
|
5
|
-
- [Client Library Documentation][]
|
6
|
-
- [Product Documentation][]
|
3
|
+
API Client library for the Cloud Asset API
|
7
4
|
|
8
|
-
|
9
|
-
In order to use this library, you first need to go through the following
|
10
|
-
steps:
|
5
|
+
A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services.
|
11
6
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
Actual client classes for the various versions of this API are defined in
|
8
|
+
_versioned_ client gems, with names of the form `google-cloud-asset-v*`.
|
9
|
+
The gem `google-cloud-asset` is a convenience wrapper library that brings the
|
10
|
+
verisoned gems in as dependencies, and provides high-level methods for
|
11
|
+
constructing clients.
|
12
|
+
|
13
|
+
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-asset/latest)
|
14
|
+
for this library, google-cloud-asset, to see the convenience methods for
|
15
|
+
constructing client objects. Reference documentation for the client objects
|
16
|
+
themselves can be found in the client library documentation for the versioned
|
17
|
+
client gems:
|
18
|
+
[google-cloud-asset-v1](https://googleapis.dev/ruby/google-cloud-asset-v1/latest),
|
19
|
+
[google-cloud-asset-v1beta1](https://googleapis.dev/ruby/google-cloud-asset-v1beta1/latest).
|
20
|
+
|
21
|
+
See also the [Product Documentation](https://cloud.google.com/resource-manager)
|
22
|
+
for more usage information.
|
23
|
+
|
24
|
+
## Quick Start
|
16
25
|
|
17
|
-
### Installation
|
18
26
|
```
|
19
27
|
$ gem install google-cloud-asset
|
20
28
|
```
|
21
29
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
30
|
+
In order to use this library, you first need to go through the following steps:
|
31
|
+
|
32
|
+
1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
33
|
+
1. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
34
|
+
1. [Enable the API.](https://console.cloud.google.com/apis/library/cloudasset.googleapis.com)
|
35
|
+
1. {file:AUTHENTICATION.md Set up authentication.}
|
36
|
+
|
37
|
+
## Migrating from 0.x versions
|
29
38
|
|
30
|
-
|
31
|
-
[
|
39
|
+
The 1.0 release of the google-cloud-asset client is a significant upgrade
|
40
|
+
based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
|
41
|
+
and includes substantial interface changes. Existing code written for earlier
|
42
|
+
versions of this library will likely require updates to use this version.
|
43
|
+
See the {file:MIGRATING.md MIGRATING.md} document for more information.
|
32
44
|
|
33
45
|
## Enabling Logging
|
34
46
|
|
35
47
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
36
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib
|
48
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
|
37
49
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
38
|
-
that will write logs to [
|
50
|
+
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)
|
39
51
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
40
52
|
|
41
53
|
Configuring a Ruby stdlib logger:
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright 2020 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,18 +14,6 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
15
18
|
|
16
|
-
|
17
|
-
module Protobuf
|
18
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
19
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
20
|
-
# or the response type of an API method. For instance:
|
21
|
-
#
|
22
|
-
# service Foo {
|
23
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
24
|
-
# }
|
25
|
-
#
|
26
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
27
|
-
class Empty; end
|
28
|
-
end
|
29
|
-
end
|
19
|
+
require "google/cloud/asset" unless defined? Google::Cloud::Asset::VERSION
|
data/lib/google/cloud/asset.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright 2020 Google LLC
|
2
4
|
#
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -12,133 +14,102 @@
|
|
12
14
|
# See the License for the specific language governing permissions and
|
13
15
|
# limitations under the License.
|
14
16
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# Require this file early so that the version constant gets defined before
|
20
|
+
# requiring "google/cloud". This is because google-cloud-core will load the
|
21
|
+
# entrypoint (gem name) file, which in turn re-requires this file (hence
|
22
|
+
# causing a require cycle) unless the version constant is already defined.
|
23
|
+
require "google/cloud/asset/version"
|
15
24
|
|
16
|
-
require "
|
17
|
-
|
25
|
+
require "googleauth"
|
26
|
+
gem "google-cloud-core"
|
27
|
+
require "google/cloud" unless defined? ::Google::Cloud.new
|
28
|
+
require "google/cloud/config"
|
29
|
+
|
30
|
+
# Set the default configuration
|
31
|
+
::Google::Cloud.configure.add_config! :asset do |config|
|
32
|
+
config.add_field! :endpoint, "cloudasset.googleapis.com", match: ::String
|
33
|
+
config.add_field! :credentials, nil, match: [::String, ::Hash, ::Google::Auth::Credentials]
|
34
|
+
config.add_field! :scope, nil, match: [::Array, ::String]
|
35
|
+
config.add_field! :lib_name, nil, match: ::String
|
36
|
+
config.add_field! :lib_version, nil, match: ::String
|
37
|
+
config.add_field! :interceptors, nil, match: ::Array
|
38
|
+
config.add_field! :timeout, nil, match: ::Numeric
|
39
|
+
config.add_field! :metadata, nil, match: ::Hash
|
40
|
+
config.add_field! :retry_policy, nil, match: [::Hash, ::Proc]
|
41
|
+
config.add_field! :quota_project, nil, match: ::String
|
42
|
+
end
|
18
43
|
|
19
44
|
module Google
|
20
45
|
module Cloud
|
21
|
-
# rubocop:disable LineLength
|
22
|
-
|
23
|
-
##
|
24
|
-
# # Ruby Client for Cloud Asset API
|
25
|
-
#
|
26
|
-
# [Cloud Asset API][Product Documentation]:
|
27
|
-
# The cloud asset API manages the history and inventory of cloud resources.
|
28
|
-
# - [Product Documentation][]
|
29
|
-
#
|
30
|
-
# ## Quick Start
|
31
|
-
# In order to use this library, you first need to go through the following
|
32
|
-
# steps:
|
33
|
-
#
|
34
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
35
|
-
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
36
|
-
# 3. [Enable the Cloud Asset API.](https://console.cloud.google.com/apis/library/asset.googleapis.com)
|
37
|
-
# 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-asset/latest/file.AUTHENTICATION.html)
|
38
|
-
#
|
39
|
-
# ### Installation
|
40
|
-
# ```
|
41
|
-
# $ gem install google-cloud-asset
|
42
|
-
# ```
|
43
|
-
#
|
44
|
-
# ### Next Steps
|
45
|
-
# - Read the [Cloud Asset API Product documentation][Product Documentation]
|
46
|
-
# to learn more about the product and see How-to Guides.
|
47
|
-
# - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
|
48
|
-
# to see the full list of Cloud APIs that we cover.
|
49
|
-
#
|
50
|
-
# [Product Documentation]: https://cloud.google.com/resource-manager
|
51
|
-
#
|
52
|
-
# ## Enabling Logging
|
53
|
-
#
|
54
|
-
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
55
|
-
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
56
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
57
|
-
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
58
|
-
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
59
|
-
#
|
60
|
-
# Configuring a Ruby stdlib logger:
|
61
|
-
#
|
62
|
-
# ```ruby
|
63
|
-
# require "logger"
|
64
|
-
#
|
65
|
-
# module MyLogger
|
66
|
-
# LOGGER = Logger.new $stderr, level: Logger::WARN
|
67
|
-
# def logger
|
68
|
-
# LOGGER
|
69
|
-
# end
|
70
|
-
# end
|
71
|
-
#
|
72
|
-
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
73
|
-
# module GRPC
|
74
|
-
# extend MyLogger
|
75
|
-
# end
|
76
|
-
# ```
|
77
|
-
#
|
78
46
|
module Asset
|
79
|
-
|
80
|
-
|
81
|
-
|
47
|
+
##
|
48
|
+
# Create a new client object for AssetService.
|
49
|
+
#
|
50
|
+
# By default, this returns an instance of
|
51
|
+
# [Google::Cloud::Asset::V1::AssetService::Client](https://googleapis.dev/ruby/google-cloud-asset-v1/latest/Google/Cloud/Asset/V1/AssetService/Client.html)
|
52
|
+
# for version V1 of the API.
|
53
|
+
# However, you can specify specify a different API version by passing it in the
|
54
|
+
# `version` parameter. If the AssetService service is
|
55
|
+
# supported by that API version, and the corresponding gem is available, the
|
56
|
+
# appropriate versioned client will be returned.
|
57
|
+
#
|
58
|
+
# ## About AssetService
|
59
|
+
#
|
60
|
+
# Asset service definition.
|
61
|
+
#
|
62
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
63
|
+
# Defaults to `:v1`.
|
64
|
+
# @return [AssetService::Client] A client object for the specified version.
|
65
|
+
#
|
66
|
+
def self.asset_service version: :v1, &block
|
67
|
+
require "google/cloud/asset/#{version.to_s.downcase}"
|
82
68
|
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
69
|
+
package_name = Google::Cloud::Asset
|
70
|
+
.constants
|
71
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
72
|
+
.first
|
73
|
+
package_module = Google::Cloud::Asset.const_get package_name
|
74
|
+
package_module.const_get(:AssetService).const_get(:Client).new(&block)
|
75
|
+
end
|
88
76
|
|
89
77
|
##
|
90
|
-
#
|
78
|
+
# Configure the google-cloud-asset library.
|
91
79
|
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
|
118
|
-
|
119
|
-
# The default timeout, in seconds, for calls made through this client.
|
120
|
-
# @param metadata [Hash]
|
121
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
122
|
-
# @param service_address [String]
|
123
|
-
# Override for the service hostname, or `nil` to leave as the default.
|
124
|
-
# @param service_port [Integer]
|
125
|
-
# Override for the service port, or `nil` to leave as the default.
|
126
|
-
# @param exception_transformer [Proc]
|
127
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
128
|
-
# custom error handling.
|
129
|
-
def self.new(*args, version: :v1, **kwargs)
|
130
|
-
unless AVAILABLE_VERSIONS.include?(version.to_s.downcase)
|
131
|
-
raise "The version: #{version} is not available. The available versions " \
|
132
|
-
"are: [#{AVAILABLE_VERSIONS.join(", ")}]"
|
133
|
-
end
|
80
|
+
# The following configuration parameters are supported:
|
81
|
+
#
|
82
|
+
# * `credentials` (*type:* `String, Hash, Google::Auth::Credentials`) -
|
83
|
+
# The path to the keyfile as a String, the contents of the keyfile as a
|
84
|
+
# Hash, or a Google::Auth::Credentials object.
|
85
|
+
# * `lib_name` (*type:* `String`) -
|
86
|
+
# The library name as recorded in instrumentation and logging.
|
87
|
+
# * `lib_version` (*type:* `String`) -
|
88
|
+
# The library version as recorded in instrumentation and logging.
|
89
|
+
# * `interceptors` (*type:* `Array<GRPC::ClientInterceptor>`) -
|
90
|
+
# An array of interceptors that are run before calls are executed.
|
91
|
+
# * `timeout` (*type:* `Integer`) -
|
92
|
+
# Default timeout in milliseconds.
|
93
|
+
# * `metadata` (*type:* `Hash{Symbol=>String}`) -
|
94
|
+
# Additional gRPC headers to be sent with the call.
|
95
|
+
# * `retry_policy` (*type:* `Hash`) -
|
96
|
+
# The retry policy. The value is a hash with the following keys:
|
97
|
+
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
98
|
+
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
99
|
+
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
100
|
+
# * `:retry_codes` (*type:* `Array<String>`) -
|
101
|
+
# The error codes that should trigger a retry.
|
102
|
+
#
|
103
|
+
# @return [::Google::Cloud::Config] The default configuration used by this library
|
104
|
+
#
|
105
|
+
def self.configure
|
106
|
+
yield ::Google::Cloud.configure.asset if block_given?
|
134
107
|
|
135
|
-
|
136
|
-
version_module = Google::Cloud::Asset
|
137
|
-
.constants
|
138
|
-
.select {|sym| sym.to_s.downcase == version.to_s.downcase}
|
139
|
-
.first
|
140
|
-
Google::Cloud::Asset.const_get(version_module).new(*args, **kwargs)
|
108
|
+
::Google::Cloud.configure.asset
|
141
109
|
end
|
142
110
|
end
|
143
111
|
end
|
144
112
|
end
|
113
|
+
|
114
|
+
helper_path = ::File.join __dir__, "asset", "helpers.rb"
|
115
|
+
require "google/cloud/asset/helpers" if ::File.file? helper_path
|
metadata
CHANGED
@@ -1,125 +1,141 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-asset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: google-
|
14
|
+
name: google-cloud-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: google-cloud-asset-v1
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.3.9
|
34
|
-
- - "<"
|
31
|
+
- - "~>"
|
35
32
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
33
|
+
version: '0.0'
|
37
34
|
type: :runtime
|
38
35
|
prerelease: false
|
39
36
|
version_requirements: !ruby/object:Gem::Requirement
|
40
37
|
requirements:
|
41
|
-
- - "
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.3.9
|
44
|
-
- - "<"
|
38
|
+
- - "~>"
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
40
|
+
version: '0.0'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
42
|
+
name: google-cloud-asset-v1beta1
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
50
44
|
requirements:
|
51
|
-
- - "
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.0.4
|
54
|
-
- - "<"
|
45
|
+
- - "~>"
|
55
46
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
47
|
+
version: '0.0'
|
57
48
|
type: :runtime
|
58
49
|
prerelease: false
|
59
50
|
version_requirements: !ruby/object:Gem::Requirement
|
60
51
|
requirements:
|
61
|
-
- - "
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 1.0.4
|
64
|
-
- - "<"
|
52
|
+
- - "~>"
|
65
53
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
54
|
+
version: '0.0'
|
67
55
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
56
|
+
name: google-style
|
69
57
|
requirement: !ruby/object:Gem::Requirement
|
70
58
|
requirements:
|
71
59
|
- - "~>"
|
72
60
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
74
|
-
type: :
|
61
|
+
version: 1.24.0
|
62
|
+
type: :development
|
75
63
|
prerelease: false
|
76
64
|
version_requirements: !ruby/object:Gem::Requirement
|
77
65
|
requirements:
|
78
66
|
- - "~>"
|
79
67
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
68
|
+
version: 1.24.0
|
81
69
|
- !ruby/object:Gem::Dependency
|
82
70
|
name: minitest
|
83
71
|
requirement: !ruby/object:Gem::Requirement
|
84
72
|
requirements:
|
85
73
|
- - "~>"
|
86
74
|
- !ruby/object:Gem::Version
|
87
|
-
version: '5.
|
75
|
+
version: '5.14'
|
88
76
|
type: :development
|
89
77
|
prerelease: false
|
90
78
|
version_requirements: !ruby/object:Gem::Requirement
|
91
79
|
requirements:
|
92
80
|
- - "~>"
|
93
81
|
- !ruby/object:Gem::Version
|
94
|
-
version: '5.
|
82
|
+
version: '5.14'
|
95
83
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
84
|
+
name: minitest-focus
|
97
85
|
requirement: !ruby/object:Gem::Requirement
|
98
86
|
requirements:
|
99
87
|
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
89
|
+
version: '1.1'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
93
|
requirements:
|
106
94
|
- - "~>"
|
107
95
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
96
|
+
version: '1.1'
|
109
97
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
98
|
+
name: minitest-rg
|
111
99
|
requirement: !ruby/object:Gem::Requirement
|
112
100
|
requirements:
|
113
101
|
- - "~>"
|
114
102
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
103
|
+
version: '5.2'
|
116
104
|
type: :development
|
117
105
|
prerelease: false
|
118
106
|
version_requirements: !ruby/object:Gem::Requirement
|
119
107
|
requirements:
|
120
108
|
- - "~>"
|
121
109
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
110
|
+
version: '5.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '12.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '12.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: redcarpet
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3.0'
|
123
139
|
- !ruby/object:Gem::Dependency
|
124
140
|
name: simplecov
|
125
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -148,7 +164,8 @@ dependencies:
|
|
148
164
|
- - "~>"
|
149
165
|
- !ruby/object:Gem::Version
|
150
166
|
version: '0.9'
|
151
|
-
description:
|
167
|
+
description: A metadata inventory service that allows you to view, monitor, and analyze
|
168
|
+
all your GCP and Anthos assets across projects and services.
|
152
169
|
email: googleapis-packages@google.com
|
153
170
|
executables: []
|
154
171
|
extensions: []
|
@@ -156,49 +173,13 @@ extra_rdoc_files: []
|
|
156
173
|
files:
|
157
174
|
- ".yardopts"
|
158
175
|
- AUTHENTICATION.md
|
159
|
-
- LICENSE
|
176
|
+
- LICENSE.md
|
177
|
+
- MIGRATING.md
|
160
178
|
- README.md
|
179
|
+
- lib/google-cloud-asset.rb
|
161
180
|
- lib/google/cloud/asset.rb
|
162
|
-
- lib/google/cloud/asset/v1.rb
|
163
|
-
- lib/google/cloud/asset/v1/asset_service_client.rb
|
164
|
-
- lib/google/cloud/asset/v1/asset_service_client_config.json
|
165
|
-
- lib/google/cloud/asset/v1/asset_service_pb.rb
|
166
|
-
- lib/google/cloud/asset/v1/asset_service_services_pb.rb
|
167
|
-
- lib/google/cloud/asset/v1/assets_pb.rb
|
168
|
-
- lib/google/cloud/asset/v1/credentials.rb
|
169
|
-
- lib/google/cloud/asset/v1/doc/google/cloud/asset/v1/asset_service.rb
|
170
|
-
- lib/google/cloud/asset/v1/doc/google/cloud/asset/v1/assets.rb
|
171
|
-
- lib/google/cloud/asset/v1/doc/google/iam/v1/policy.rb
|
172
|
-
- lib/google/cloud/asset/v1/doc/google/longrunning/operations.rb
|
173
|
-
- lib/google/cloud/asset/v1/doc/google/protobuf/any.rb
|
174
|
-
- lib/google/cloud/asset/v1/doc/google/protobuf/empty.rb
|
175
|
-
- lib/google/cloud/asset/v1/doc/google/protobuf/field_mask.rb
|
176
|
-
- lib/google/cloud/asset/v1/doc/google/protobuf/struct.rb
|
177
|
-
- lib/google/cloud/asset/v1/doc/google/protobuf/timestamp.rb
|
178
|
-
- lib/google/cloud/asset/v1/doc/google/rpc/status.rb
|
179
|
-
- lib/google/cloud/asset/v1/doc/google/type/expr.rb
|
180
|
-
- lib/google/cloud/asset/v1/helpers.rb
|
181
|
-
- lib/google/cloud/asset/v1beta1.rb
|
182
|
-
- lib/google/cloud/asset/v1beta1/asset_service_client.rb
|
183
|
-
- lib/google/cloud/asset/v1beta1/asset_service_client_config.json
|
184
|
-
- lib/google/cloud/asset/v1beta1/asset_service_pb.rb
|
185
|
-
- lib/google/cloud/asset/v1beta1/asset_service_services_pb.rb
|
186
|
-
- lib/google/cloud/asset/v1beta1/assets_pb.rb
|
187
|
-
- lib/google/cloud/asset/v1beta1/credentials.rb
|
188
|
-
- lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb
|
189
|
-
- lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/assets.rb
|
190
|
-
- lib/google/cloud/asset/v1beta1/doc/google/iam/v1/policy.rb
|
191
|
-
- lib/google/cloud/asset/v1beta1/doc/google/longrunning/operations.rb
|
192
|
-
- lib/google/cloud/asset/v1beta1/doc/google/protobuf/any.rb
|
193
|
-
- lib/google/cloud/asset/v1beta1/doc/google/protobuf/struct.rb
|
194
|
-
- lib/google/cloud/asset/v1beta1/doc/google/protobuf/timestamp.rb
|
195
|
-
- lib/google/cloud/asset/v1beta1/doc/google/rpc/status.rb
|
196
|
-
- lib/google/cloud/asset/v1beta1/doc/google/type/expr.rb
|
197
|
-
- lib/google/cloud/asset/v1beta1/helpers.rb
|
198
181
|
- lib/google/cloud/asset/version.rb
|
199
|
-
|
200
|
-
- lib/google/cloud/orgpolicy/v1/orgpolicy_pb.rb
|
201
|
-
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-asset
|
182
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
202
183
|
licenses:
|
203
184
|
- Apache-2.0
|
204
185
|
metadata: {}
|
@@ -220,5 +201,5 @@ requirements: []
|
|
220
201
|
rubygems_version: 3.0.6
|
221
202
|
signing_key:
|
222
203
|
specification_version: 4
|
223
|
-
summary: API Client library for Cloud Asset API
|
204
|
+
summary: API Client library for the Cloud Asset API
|
224
205
|
test_files: []
|