google-cloud-asset-v1 0.4.1 → 0.4.2
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/lib/google/cloud/asset/v1/version.rb +1 -1
- data/proto_docs/google/cloud/asset/v1/assets.rb +18 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2dae0a0f584cc4a8e5b3796112c2b5e3c185d30cad1c5ec242fc6109a387bb5
|
4
|
+
data.tar.gz: 12a332498c801aa4dcb030a449d78ea6d62fc106e96ddc60aab622b9a990b736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5a027c31ffc3fc2bdcecec5c7e2e0b9c5e9e17ade508e5156101a1a8836e62af572ae7ff87158c17716aa9f8df583c63c8284be096066fb04d4654299c4d72
|
7
|
+
data.tar.gz: e010d1a622102885d23307c8007b8ed8ff7a95a6bbdee291a744295ed88a5b08d42d47f8a327d397283be4b6bdeea77bc8f5a95bfd0b3ceb3a6ab082839b21e4
|
@@ -37,7 +37,7 @@ module Google
|
|
37
37
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
38
|
end
|
39
39
|
|
40
|
-
# A time window specified by its
|
40
|
+
# A time window specified by its `start_time` and `end_time`.
|
41
41
|
# @!attribute [rw] start_time
|
42
42
|
# @return [::Google::Protobuf::Timestamp]
|
43
43
|
# Start time of the time window (exclusive).
|
@@ -58,14 +58,14 @@ module Google
|
|
58
58
|
# @!attribute [rw] name
|
59
59
|
# @return [::String]
|
60
60
|
# The full name of the asset. For example:
|
61
|
-
#
|
61
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
|
62
62
|
#
|
63
63
|
# See [Resource
|
64
64
|
# names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
65
65
|
# for more information.
|
66
66
|
# @!attribute [rw] asset_type
|
67
67
|
# @return [::String]
|
68
|
-
# The type of the asset. For example:
|
68
|
+
# The type of the asset. For example: `compute.googleapis.com/Disk`
|
69
69
|
#
|
70
70
|
# See [Supported asset
|
71
71
|
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
@@ -114,19 +114,19 @@ module Google
|
|
114
114
|
# A representation of a Google Cloud resource.
|
115
115
|
# @!attribute [rw] version
|
116
116
|
# @return [::String]
|
117
|
-
# The API version. For example:
|
117
|
+
# The API version. For example: `v1`
|
118
118
|
# @!attribute [rw] discovery_document_uri
|
119
119
|
# @return [::String]
|
120
120
|
# The URL of the discovery document containing the resource's JSON schema.
|
121
121
|
# For example:
|
122
|
-
#
|
122
|
+
# `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
|
123
123
|
#
|
124
124
|
# This value is unspecified for resources that do not have an API based on a
|
125
125
|
# discovery document, such as Cloud Bigtable.
|
126
126
|
# @!attribute [rw] discovery_name
|
127
127
|
# @return [::String]
|
128
128
|
# The JSON schema name listed in the discovery document. For example:
|
129
|
-
#
|
129
|
+
# `Project`
|
130
130
|
#
|
131
131
|
# This value is unspecified for resources that do not have an API based on a
|
132
132
|
# discovery document, such as Cloud Bigtable.
|
@@ -134,7 +134,7 @@ module Google
|
|
134
134
|
# @return [::String]
|
135
135
|
# The REST URL for accessing the resource. An HTTP `GET` request using this
|
136
136
|
# URL returns the resource itself. For example:
|
137
|
-
#
|
137
|
+
# `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
|
138
138
|
#
|
139
139
|
# This value is unspecified for resources without a REST API.
|
140
140
|
# @!attribute [rw] parent
|
@@ -148,7 +148,7 @@ module Google
|
|
148
148
|
# [Cloud IAM policy
|
149
149
|
# hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
|
150
150
|
# For example:
|
151
|
-
#
|
151
|
+
# `//cloudresourcemanager.googleapis.com/projects/my_project_123`
|
152
152
|
#
|
153
153
|
# For third-party assets, this field may be set differently.
|
154
154
|
# @!attribute [rw] data
|
@@ -168,7 +168,7 @@ module Google
|
|
168
168
|
# @!attribute [rw] name
|
169
169
|
# @return [::String]
|
170
170
|
# The full resource name of this resource. Example:
|
171
|
-
#
|
171
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
|
172
172
|
# See [Cloud Asset Inventory Resource Name
|
173
173
|
# Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
174
174
|
# for more information.
|
@@ -179,7 +179,7 @@ module Google
|
|
179
179
|
# * use a free text query. Example: `"instance1"`
|
180
180
|
# @!attribute [rw] asset_type
|
181
181
|
# @return [::String]
|
182
|
-
# The type of this resource. Example:
|
182
|
+
# The type of this resource. Example: `compute.googleapis.com/Disk`.
|
183
183
|
#
|
184
184
|
# To search against the `asset_type`:
|
185
185
|
#
|
@@ -211,8 +211,8 @@ module Google
|
|
211
211
|
# * use a free text query. Example: `"*important instance*"`
|
212
212
|
# @!attribute [rw] location
|
213
213
|
# @return [::String]
|
214
|
-
# Location can be
|
215
|
-
#
|
214
|
+
# Location can be `global`, regional like `us-east1`, or zonal like
|
215
|
+
# `us-west1-b`.
|
216
216
|
#
|
217
217
|
# To search against the `location`:
|
218
218
|
#
|
@@ -245,13 +245,13 @@ module Google
|
|
245
245
|
# @!attribute [rw] additional_attributes
|
246
246
|
# @return [::Google::Protobuf::Struct]
|
247
247
|
# The additional attributes of this resource. The attributes may vary from
|
248
|
-
# one resource type to another. Examples:
|
249
|
-
#
|
248
|
+
# one resource type to another. Examples: `projectId` for Project,
|
249
|
+
# `dnsName` for DNS ManagedZone.
|
250
250
|
#
|
251
251
|
# To search against the `additional_attributes`:
|
252
252
|
#
|
253
253
|
# * use a free text query to match the attributes values. Example: to search
|
254
|
-
# additional_attributes = { dnsName: "foobar" }
|
254
|
+
# `additional_attributes = { dnsName: "foobar" }`, you can issue a query
|
255
255
|
# `"foobar"`.
|
256
256
|
class ResourceSearchResult
|
257
257
|
include ::Google::Protobuf::MessageExts
|
@@ -272,7 +272,7 @@ module Google
|
|
272
272
|
# @return [::String]
|
273
273
|
# The full resource name of the resource associated with this IAM policy.
|
274
274
|
# Example:
|
275
|
-
#
|
275
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
|
276
276
|
# See [Cloud Asset Inventory Resource Name
|
277
277
|
# Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
278
278
|
# for more information.
|
@@ -322,7 +322,7 @@ module Google
|
|
322
322
|
# permission query (i.e., a query containing `policy.role.permissions:`).
|
323
323
|
# Example: if query `policy.role.permissions : "compute.disk.get"`
|
324
324
|
# matches a policy binding that contains owner role, the
|
325
|
-
# matched_permissions will be
|
325
|
+
# matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The
|
326
326
|
# roles can also be found in the returned `policy` bindings. Note that the
|
327
327
|
# map is populated only for requests with permission queries.
|
328
328
|
class Explanation
|
@@ -332,7 +332,7 @@ module Google
|
|
332
332
|
# IAM permissions
|
333
333
|
# @!attribute [rw] permissions
|
334
334
|
# @return [::Array<::String>]
|
335
|
-
# A list of permissions. A sample permission string:
|
335
|
+
# A list of permissions. A sample permission string: `compute.disk.get`.
|
336
336
|
class Permissions
|
337
337
|
include ::Google::Protobuf::MessageExts
|
338
338
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-asset-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
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-05-
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|