google-cloud-asset-v1 1.0.1 → 1.1.0
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/README.md +30 -20
- data/lib/google/cloud/asset/v1/asset_service/client.rb +36 -24
- data/lib/google/cloud/asset/v1/asset_service/operations.rb +12 -15
- data/lib/google/cloud/asset/v1/asset_service/rest/client.rb +36 -24
- data/lib/google/cloud/asset/v1/asset_service/rest/operations.rb +43 -38
- data/lib/google/cloud/asset/v1/asset_service/rest/service_stub.rb +198 -140
- data/lib/google/cloud/asset/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/asset/v1/asset_service.rb +6 -3
- data/proto_docs/google/cloud/asset/v1/assets.rb +2 -3
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +5 -5
@@ -1728,10 +1728,12 @@ module Google
|
|
1728
1728
|
# @return [::Boolean]
|
1729
1729
|
# The query response, which can be either an `error` or a valid `response`.
|
1730
1730
|
#
|
1731
|
-
# If `done` == `false` and the query result is being saved in
|
1731
|
+
# If `done` == `false` and the query result is being saved in an output, the
|
1732
1732
|
# output_config field will be set.
|
1733
1733
|
# If `done` == `true`, exactly one of
|
1734
1734
|
# `error`, `query_result` or `output_config` will be set.
|
1735
|
+
# [done] is unset unless the [QueryAssetsResponse] contains a
|
1736
|
+
# [QueryAssetsResponse.job_reference].
|
1735
1737
|
# @!attribute [rw] error
|
1736
1738
|
# @return [::Google::Rpc::Status]
|
1737
1739
|
# Error status.
|
@@ -1740,8 +1742,9 @@ module Google
|
|
1740
1742
|
# Result of the query.
|
1741
1743
|
# @!attribute [rw] output_config
|
1742
1744
|
# @return [::Google::Cloud::Asset::V1::QueryAssetsOutputConfig]
|
1743
|
-
# Output configuration which indicates instead of being returned in
|
1744
|
-
# response on the fly, the query result will be saved in a specific
|
1745
|
+
# Output configuration, which indicates that instead of being returned in
|
1746
|
+
# an API response on the fly, the query result will be saved in a specific
|
1747
|
+
# output.
|
1745
1748
|
class QueryAssetsResponse
|
1746
1749
|
include ::Google::Protobuf::MessageExts
|
1747
1750
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -341,7 +341,6 @@ module Google
|
|
341
341
|
end
|
342
342
|
|
343
343
|
# A result of Resource Search, containing information of a cloud resource.
|
344
|
-
# Next ID: 34
|
345
344
|
# @!attribute [rw] name
|
346
345
|
# @return [::String]
|
347
346
|
# The full resource name of this resource. Example:
|
@@ -425,8 +424,8 @@ module Google
|
|
425
424
|
# * Use a free text query. Example: `us-west*`
|
426
425
|
# @!attribute [rw] labels
|
427
426
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
428
|
-
#
|
429
|
-
# Cloud
|
427
|
+
# User labels associated with this resource. See [Labelling and grouping
|
428
|
+
# Google Cloud
|
430
429
|
# resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
|
431
430
|
# for more information. This field is available only when the resource's
|
432
431
|
# Protobuf contains it.
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
43
|
# @!attribute [rw] response
|
44
44
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
45
|
+
# The normal, successful response of the operation. If the original
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
48
48
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -55,7 +55,8 @@ module Google
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
|
-
# The request message for
|
58
|
+
# The request message for
|
59
|
+
# Operations.GetOperation.
|
59
60
|
# @!attribute [rw] name
|
60
61
|
# @return [::String]
|
61
62
|
# The name of the operation resource.
|
@@ -64,7 +65,8 @@ module Google
|
|
64
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
66
|
end
|
66
67
|
|
67
|
-
# The request message for
|
68
|
+
# The request message for
|
69
|
+
# Operations.ListOperations.
|
68
70
|
# @!attribute [rw] name
|
69
71
|
# @return [::String]
|
70
72
|
# The name of the operation's parent resource.
|
@@ -82,7 +84,8 @@ module Google
|
|
82
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
85
|
end
|
84
86
|
|
85
|
-
# The response message for
|
87
|
+
# The response message for
|
88
|
+
# Operations.ListOperations.
|
86
89
|
# @!attribute [rw] operations
|
87
90
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
91
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +97,8 @@ module Google
|
|
94
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
98
|
end
|
96
99
|
|
97
|
-
# The request message for
|
100
|
+
# The request message for
|
101
|
+
# Operations.CancelOperation.
|
98
102
|
# @!attribute [rw] name
|
99
103
|
# @return [::String]
|
100
104
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +107,8 @@ module Google
|
|
103
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
108
|
end
|
105
109
|
|
106
|
-
# The request message for
|
110
|
+
# The request message for
|
111
|
+
# Operations.DeleteOperation.
|
107
112
|
# @!attribute [rw] name
|
108
113
|
# @return [::String]
|
109
114
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +117,8 @@ module Google
|
|
112
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
118
|
end
|
114
119
|
|
115
|
-
# The request message for
|
120
|
+
# The request message for
|
121
|
+
# Operations.WaitOperation.
|
116
122
|
# @!attribute [rw] name
|
117
123
|
# @return [::String]
|
118
124
|
# The name of the operation resource to wait on.
|
@@ -130,13 +136,12 @@ module Google
|
|
130
136
|
#
|
131
137
|
# Example:
|
132
138
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
139
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
140
|
+
# option (google.longrunning.operation_info) = {
|
141
|
+
# response_type: "ExportResponse"
|
142
|
+
# metadata_type: "ExportMetadata"
|
143
|
+
# };
|
144
|
+
# }
|
140
145
|
# @!attribute [rw] response_type
|
141
146
|
# @return [::String]
|
142
147
|
# Required. The message name of the primary return type for this
|
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: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.24.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
173
|
- !ruby/object:Gem::Version
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
|
-
rubygems_version: 3.5.
|
176
|
+
rubygems_version: 3.5.23
|
177
177
|
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: The Cloud Asset API manages the history and inventory of Google Cloud resources.
|