google-cloud-asset-v1 0.14.0 → 0.17.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/lib/google/cloud/asset/v1/asset_service/client.rb +120 -52
- data/lib/google/cloud/asset/v1/asset_service/operations.rb +30 -21
- data/lib/google/cloud/asset/v1/asset_service_pb.rb +5 -0
- data/lib/google/cloud/asset/v1/assets_pb.rb +31 -0
- data/lib/google/cloud/asset/v1/version.rb +1 -1
- data/lib/google/cloud/osconfig/v1/inventory_pb.rb +45 -7
- data/proto_docs/google/cloud/asset/v1/asset_service.rb +74 -1
- data/proto_docs/google/cloud/asset/v1/assets.rb +111 -0
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +141 -19
- data/proto_docs/google/type/date.rb +50 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98adb2fc4b495b4bca2ad43531660863a86d733fce232f217925c78f9447deb5
|
4
|
+
data.tar.gz: 109f49972ba2e2e58a0f47305b6d3407d9e047f0576d1091bb53a0b5d59e6a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bede6032b4791f915f3c6f02d550ccc07eaa84e877686fe63c7e3f1d0353c510bd095f3cd8b3b4fddb874cb4f06df1ae0b8431864c8c1cde0b490635a847bfc
|
7
|
+
data.tar.gz: cb41ea1649363ac87e09cec5df8582a4307327f745b966bf036c8c324a27dd662a70499c2366138d750bfba2336c6f404258697d0eedb596c5bd39c0ebb1b7ea
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::Asset::V1::AssetService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all AssetService clients
|
47
|
+
# ::Google::Cloud::Asset::V1::AssetService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -142,19 +141,15 @@ module Google
|
|
142
141
|
##
|
143
142
|
# Create a new AssetService client object.
|
144
143
|
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
# To create a new AssetService client with the default
|
148
|
-
# configuration:
|
149
|
-
#
|
150
|
-
# client = ::Google::Cloud::Asset::V1::AssetService::Client.new
|
144
|
+
# @example
|
151
145
|
#
|
152
|
-
#
|
153
|
-
#
|
146
|
+
# # Create a client using the default configuration
|
147
|
+
# client = ::Google::Cloud::Asset::V1::AssetService::Client.new
|
154
148
|
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
149
|
+
# # Create a client using a custom configuration
|
150
|
+
# client = ::Google::Cloud::Asset::V1::AssetService::Client.new do |config|
|
151
|
+
# config.timeout = 10.0
|
152
|
+
# end
|
158
153
|
#
|
159
154
|
# @yield [config] Configure the AssetService client.
|
160
155
|
# @yieldparam config [Client::Configuration]
|
@@ -174,10 +169,9 @@ module Google
|
|
174
169
|
|
175
170
|
# Create credentials
|
176
171
|
credentials = @config.credentials
|
177
|
-
# Use self-signed JWT if the
|
172
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
178
173
|
# but only if the default endpoint does not have a region prefix.
|
179
|
-
enable_self_signed_jwt = @config.
|
180
|
-
@config.endpoint == Client.configure.endpoint &&
|
174
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
181
175
|
!@config.endpoint.split(".").first.include?("-")
|
182
176
|
credentials ||= Credentials.default scope: @config.scope,
|
183
177
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -232,7 +226,7 @@ module Google
|
|
232
226
|
# @param options [::Gapic::CallOptions, ::Hash]
|
233
227
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
234
228
|
#
|
235
|
-
# @overload export_assets(parent: nil, read_time: nil, asset_types: nil, content_type: nil, output_config: nil)
|
229
|
+
# @overload export_assets(parent: nil, read_time: nil, asset_types: nil, content_type: nil, output_config: nil, relationship_types: nil)
|
236
230
|
# Pass arguments to `export_assets` via keyword arguments. Note that at
|
237
231
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
238
232
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -272,6 +266,22 @@ module Google
|
|
272
266
|
# returned.
|
273
267
|
# @param output_config [::Google::Cloud::Asset::V1::OutputConfig, ::Hash]
|
274
268
|
# Required. Output configuration indicating where the results will be output to.
|
269
|
+
# @param relationship_types [::Array<::String>]
|
270
|
+
# A list of relationship types to export, for example:
|
271
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
272
|
+
# content_type=RELATIONSHIP.
|
273
|
+
# * If specified:
|
274
|
+
# it snapshots specified relationships. It returns an error if
|
275
|
+
# any of the [relationship_types] doesn't belong to the supported
|
276
|
+
# relationship types of the [asset_types] or if any of the [asset_types]
|
277
|
+
# doesn't belong to the source types of the [relationship_types].
|
278
|
+
# * Otherwise:
|
279
|
+
# it snapshots the supported relationships for all [asset_types] or returns
|
280
|
+
# an error if any of the [asset_types] has no relationship support.
|
281
|
+
# An unspecified asset types field means all supported asset_types.
|
282
|
+
# See [Introduction to Cloud Asset
|
283
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
|
284
|
+
# supported asset types and relationship types.
|
275
285
|
#
|
276
286
|
# @yield [response, operation] Access the result along with the RPC operation
|
277
287
|
# @yieldparam response [::Gapic::Operation]
|
@@ -307,7 +317,9 @@ module Google
|
|
307
317
|
options.apply_defaults timeout: @config.rpcs.export_assets.timeout,
|
308
318
|
metadata: metadata,
|
309
319
|
retry_policy: @config.rpcs.export_assets.retry_policy
|
310
|
-
|
320
|
+
|
321
|
+
options.apply_defaults timeout: @config.timeout,
|
322
|
+
metadata: @config.metadata,
|
311
323
|
retry_policy: @config.retry_policy
|
312
324
|
|
313
325
|
@asset_service_stub.call_rpc :export_assets, request, options: options do |response, operation|
|
@@ -333,7 +345,7 @@ module Google
|
|
333
345
|
# @param options [::Gapic::CallOptions, ::Hash]
|
334
346
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
335
347
|
#
|
336
|
-
# @overload list_assets(parent: nil, read_time: nil, asset_types: nil, content_type: nil, page_size: nil, page_token: nil)
|
348
|
+
# @overload list_assets(parent: nil, read_time: nil, asset_types: nil, content_type: nil, page_size: nil, page_token: nil, relationship_types: nil)
|
337
349
|
# Pass arguments to `list_assets` via keyword arguments. Note that at
|
338
350
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
339
351
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -378,6 +390,22 @@ module Google
|
|
378
390
|
# The `next_page_token` returned from the previous `ListAssetsResponse`, or
|
379
391
|
# unspecified for the first `ListAssetsRequest`. It is a continuation of a
|
380
392
|
# prior `ListAssets` call, and the API should return the next page of assets.
|
393
|
+
# @param relationship_types [::Array<::String>]
|
394
|
+
# A list of relationship types to output, for example:
|
395
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
396
|
+
# content_type=RELATIONSHIP.
|
397
|
+
# * If specified:
|
398
|
+
# it snapshots specified relationships. It returns an error if
|
399
|
+
# any of the [relationship_types] doesn't belong to the supported
|
400
|
+
# relationship types of the [asset_types] or if any of the [asset_types]
|
401
|
+
# doesn't belong to the source types of the [relationship_types].
|
402
|
+
# * Otherwise:
|
403
|
+
# it snapshots the supported relationships for all [asset_types] or returns
|
404
|
+
# an error if any of the [asset_types] has no relationship support.
|
405
|
+
# An unspecified asset types field means all supported asset_types.
|
406
|
+
# See [Introduction to Cloud Asset
|
407
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview)
|
408
|
+
# for all supported asset types and relationship types.
|
381
409
|
#
|
382
410
|
# @yield [response, operation] Access the result along with the RPC operation
|
383
411
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Asset::V1::Asset>]
|
@@ -413,7 +441,9 @@ module Google
|
|
413
441
|
options.apply_defaults timeout: @config.rpcs.list_assets.timeout,
|
414
442
|
metadata: metadata,
|
415
443
|
retry_policy: @config.rpcs.list_assets.retry_policy
|
416
|
-
|
444
|
+
|
445
|
+
options.apply_defaults timeout: @config.timeout,
|
446
|
+
metadata: @config.metadata,
|
417
447
|
retry_policy: @config.retry_policy
|
418
448
|
|
419
449
|
@asset_service_stub.call_rpc :list_assets, request, options: options do |response, operation|
|
@@ -444,7 +474,7 @@ module Google
|
|
444
474
|
# @param options [::Gapic::CallOptions, ::Hash]
|
445
475
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
446
476
|
#
|
447
|
-
# @overload batch_get_assets_history(parent: nil, asset_names: nil, content_type: nil, read_time_window: nil)
|
477
|
+
# @overload batch_get_assets_history(parent: nil, asset_names: nil, content_type: nil, read_time_window: nil, relationship_types: nil)
|
448
478
|
# Pass arguments to `batch_get_assets_history` via keyword arguments. Note that at
|
449
479
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
450
480
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -471,6 +501,23 @@ module Google
|
|
471
501
|
# If start_time is not set, the snapshot of the assets at end_time will be
|
472
502
|
# returned. The returned results contain all temporal assets whose time
|
473
503
|
# window overlap with read_time_window.
|
504
|
+
# @param relationship_types [::Array<::String>]
|
505
|
+
# Optional. A list of relationship types to output, for example:
|
506
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
507
|
+
# content_type=RELATIONSHIP.
|
508
|
+
# * If specified:
|
509
|
+
# it outputs specified relationships' history on the [asset_names]. It
|
510
|
+
# returns an error if any of the [relationship_types] doesn't belong to the
|
511
|
+
# supported relationship types of the [asset_names] or if any of the
|
512
|
+
# [asset_names]'s types doesn't belong to the source types of the
|
513
|
+
# [relationship_types].
|
514
|
+
# * Otherwise:
|
515
|
+
# it outputs the supported relationships' history on the [asset_names] or
|
516
|
+
# returns an error if any of the [asset_names]'s types has no relationship
|
517
|
+
# support.
|
518
|
+
# See [Introduction to Cloud Asset
|
519
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
|
520
|
+
# supported asset types and relationship types.
|
474
521
|
#
|
475
522
|
# @yield [response, operation] Access the result along with the RPC operation
|
476
523
|
# @yieldparam response [::Google::Cloud::Asset::V1::BatchGetAssetsHistoryResponse]
|
@@ -506,7 +553,9 @@ module Google
|
|
506
553
|
options.apply_defaults timeout: @config.rpcs.batch_get_assets_history.timeout,
|
507
554
|
metadata: metadata,
|
508
555
|
retry_policy: @config.rpcs.batch_get_assets_history.retry_policy
|
509
|
-
|
556
|
+
|
557
|
+
options.apply_defaults timeout: @config.timeout,
|
558
|
+
metadata: @config.metadata,
|
510
559
|
retry_policy: @config.retry_policy
|
511
560
|
|
512
561
|
@asset_service_stub.call_rpc :batch_get_assets_history, request, options: options do |response, operation|
|
@@ -586,7 +635,9 @@ module Google
|
|
586
635
|
options.apply_defaults timeout: @config.rpcs.create_feed.timeout,
|
587
636
|
metadata: metadata,
|
588
637
|
retry_policy: @config.rpcs.create_feed.retry_policy
|
589
|
-
|
638
|
+
|
639
|
+
options.apply_defaults timeout: @config.timeout,
|
640
|
+
metadata: @config.metadata,
|
590
641
|
retry_policy: @config.retry_policy
|
591
642
|
|
592
643
|
@asset_service_stub.call_rpc :create_feed, request, options: options do |response, operation|
|
@@ -655,7 +706,9 @@ module Google
|
|
655
706
|
options.apply_defaults timeout: @config.rpcs.get_feed.timeout,
|
656
707
|
metadata: metadata,
|
657
708
|
retry_policy: @config.rpcs.get_feed.retry_policy
|
658
|
-
|
709
|
+
|
710
|
+
options.apply_defaults timeout: @config.timeout,
|
711
|
+
metadata: @config.metadata,
|
659
712
|
retry_policy: @config.retry_policy
|
660
713
|
|
661
714
|
@asset_service_stub.call_rpc :get_feed, request, options: options do |response, operation|
|
@@ -723,7 +776,9 @@ module Google
|
|
723
776
|
options.apply_defaults timeout: @config.rpcs.list_feeds.timeout,
|
724
777
|
metadata: metadata,
|
725
778
|
retry_policy: @config.rpcs.list_feeds.retry_policy
|
726
|
-
|
779
|
+
|
780
|
+
options.apply_defaults timeout: @config.timeout,
|
781
|
+
metadata: @config.metadata,
|
727
782
|
retry_policy: @config.retry_policy
|
728
783
|
|
729
784
|
@asset_service_stub.call_rpc :list_feeds, request, options: options do |response, operation|
|
@@ -797,7 +852,9 @@ module Google
|
|
797
852
|
options.apply_defaults timeout: @config.rpcs.update_feed.timeout,
|
798
853
|
metadata: metadata,
|
799
854
|
retry_policy: @config.rpcs.update_feed.retry_policy
|
800
|
-
|
855
|
+
|
856
|
+
options.apply_defaults timeout: @config.timeout,
|
857
|
+
metadata: @config.metadata,
|
801
858
|
retry_policy: @config.retry_policy
|
802
859
|
|
803
860
|
@asset_service_stub.call_rpc :update_feed, request, options: options do |response, operation|
|
@@ -866,7 +923,9 @@ module Google
|
|
866
923
|
options.apply_defaults timeout: @config.rpcs.delete_feed.timeout,
|
867
924
|
metadata: metadata,
|
868
925
|
retry_policy: @config.rpcs.delete_feed.retry_policy
|
869
|
-
|
926
|
+
|
927
|
+
options.apply_defaults timeout: @config.timeout,
|
928
|
+
metadata: @config.metadata,
|
870
929
|
retry_policy: @config.retry_policy
|
871
930
|
|
872
931
|
@asset_service_stub.call_rpc :delete_feed, request, options: options do |response, operation|
|
@@ -1063,7 +1122,9 @@ module Google
|
|
1063
1122
|
options.apply_defaults timeout: @config.rpcs.search_all_resources.timeout,
|
1064
1123
|
metadata: metadata,
|
1065
1124
|
retry_policy: @config.rpcs.search_all_resources.retry_policy
|
1066
|
-
|
1125
|
+
|
1126
|
+
options.apply_defaults timeout: @config.timeout,
|
1127
|
+
metadata: @config.metadata,
|
1067
1128
|
retry_policy: @config.retry_policy
|
1068
1129
|
|
1069
1130
|
@asset_service_stub.call_rpc :search_all_resources, request, options: options do |response, operation|
|
@@ -1225,7 +1286,9 @@ module Google
|
|
1225
1286
|
options.apply_defaults timeout: @config.rpcs.search_all_iam_policies.timeout,
|
1226
1287
|
metadata: metadata,
|
1227
1288
|
retry_policy: @config.rpcs.search_all_iam_policies.retry_policy
|
1228
|
-
|
1289
|
+
|
1290
|
+
options.apply_defaults timeout: @config.timeout,
|
1291
|
+
metadata: @config.metadata,
|
1229
1292
|
retry_policy: @config.retry_policy
|
1230
1293
|
|
1231
1294
|
@asset_service_stub.call_rpc :search_all_iam_policies, request, options: options do |response, operation|
|
@@ -1304,7 +1367,9 @@ module Google
|
|
1304
1367
|
options.apply_defaults timeout: @config.rpcs.analyze_iam_policy.timeout,
|
1305
1368
|
metadata: metadata,
|
1306
1369
|
retry_policy: @config.rpcs.analyze_iam_policy.retry_policy
|
1307
|
-
|
1370
|
+
|
1371
|
+
options.apply_defaults timeout: @config.timeout,
|
1372
|
+
metadata: @config.metadata,
|
1308
1373
|
retry_policy: @config.retry_policy
|
1309
1374
|
|
1310
1375
|
@asset_service_stub.call_rpc :analyze_iam_policy, request, options: options do |response, operation|
|
@@ -1380,7 +1445,9 @@ module Google
|
|
1380
1445
|
options.apply_defaults timeout: @config.rpcs.analyze_iam_policy_longrunning.timeout,
|
1381
1446
|
metadata: metadata,
|
1382
1447
|
retry_policy: @config.rpcs.analyze_iam_policy_longrunning.retry_policy
|
1383
|
-
|
1448
|
+
|
1449
|
+
options.apply_defaults timeout: @config.timeout,
|
1450
|
+
metadata: @config.metadata,
|
1384
1451
|
retry_policy: @config.retry_policy
|
1385
1452
|
|
1386
1453
|
@asset_service_stub.call_rpc :analyze_iam_policy_longrunning, request, options: options do |response, operation|
|
@@ -1463,7 +1530,9 @@ module Google
|
|
1463
1530
|
options.apply_defaults timeout: @config.rpcs.analyze_move.timeout,
|
1464
1531
|
metadata: metadata,
|
1465
1532
|
retry_policy: @config.rpcs.analyze_move.retry_policy
|
1466
|
-
|
1533
|
+
|
1534
|
+
options.apply_defaults timeout: @config.timeout,
|
1535
|
+
metadata: @config.metadata,
|
1467
1536
|
retry_policy: @config.retry_policy
|
1468
1537
|
|
1469
1538
|
@asset_service_stub.call_rpc :analyze_move, request, options: options do |response, operation|
|
@@ -1487,22 +1556,21 @@ module Google
|
|
1487
1556
|
# Configuration can be applied globally to all clients, or to a single client
|
1488
1557
|
# on construction.
|
1489
1558
|
#
|
1490
|
-
#
|
1491
|
-
#
|
1492
|
-
#
|
1493
|
-
# to 20 seconds,
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
#
|
1498
|
-
#
|
1499
|
-
#
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
#
|
1505
|
-
# end
|
1559
|
+
# @example
|
1560
|
+
#
|
1561
|
+
# # Modify the global config, setting the timeout for
|
1562
|
+
# # export_assets to 20 seconds,
|
1563
|
+
# # and all remaining timeouts to 10 seconds.
|
1564
|
+
# ::Google::Cloud::Asset::V1::AssetService::Client.configure do |config|
|
1565
|
+
# config.timeout = 10.0
|
1566
|
+
# config.rpcs.export_assets.timeout = 20.0
|
1567
|
+
# end
|
1568
|
+
#
|
1569
|
+
# # Apply the above configuration only to a new client.
|
1570
|
+
# client = ::Google::Cloud::Asset::V1::AssetService::Client.new do |config|
|
1571
|
+
# config.timeout = 10.0
|
1572
|
+
# config.rpcs.export_assets.timeout = 20.0
|
1573
|
+
# end
|
1506
1574
|
#
|
1507
1575
|
# @!attribute [rw] endpoint
|
1508
1576
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# The hostname or hostname:port of the service endpoint.
|
@@ -27,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
repeated :asset_types, :string, 3
|
28
28
|
optional :content_type, :enum, 4, "google.cloud.asset.v1.ContentType"
|
29
29
|
optional :output_config, :message, 5, "google.cloud.asset.v1.OutputConfig"
|
30
|
+
repeated :relationship_types, :string, 6
|
30
31
|
end
|
31
32
|
add_message "google.cloud.asset.v1.ExportAssetsResponse" do
|
32
33
|
optional :read_time, :message, 1, "google.protobuf.Timestamp"
|
@@ -40,6 +41,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
41
|
optional :content_type, :enum, 4, "google.cloud.asset.v1.ContentType"
|
41
42
|
optional :page_size, :int32, 5
|
42
43
|
optional :page_token, :string, 6
|
44
|
+
repeated :relationship_types, :string, 7
|
43
45
|
end
|
44
46
|
add_message "google.cloud.asset.v1.ListAssetsResponse" do
|
45
47
|
optional :read_time, :message, 1, "google.protobuf.Timestamp"
|
@@ -51,6 +53,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
51
53
|
repeated :asset_names, :string, 2
|
52
54
|
optional :content_type, :enum, 3, "google.cloud.asset.v1.ContentType"
|
53
55
|
optional :read_time_window, :message, 4, "google.cloud.asset.v1.TimeWindow"
|
56
|
+
repeated :relationship_types, :string, 5
|
54
57
|
end
|
55
58
|
add_message "google.cloud.asset.v1.BatchGetAssetsHistoryResponse" do
|
56
59
|
repeated :assets, :message, 1, "google.cloud.asset.v1.TemporalAsset"
|
@@ -126,6 +129,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
126
129
|
optional :content_type, :enum, 4, "google.cloud.asset.v1.ContentType"
|
127
130
|
optional :feed_output_config, :message, 5, "google.cloud.asset.v1.FeedOutputConfig"
|
128
131
|
optional :condition, :message, 6, "google.type.Expr"
|
132
|
+
repeated :relationship_types, :string, 7
|
129
133
|
end
|
130
134
|
add_message "google.cloud.asset.v1.SearchAllResourcesRequest" do
|
131
135
|
optional :scope, :string, 1
|
@@ -257,6 +261,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
257
261
|
value :ORG_POLICY, 4
|
258
262
|
value :ACCESS_POLICY, 5
|
259
263
|
value :OS_INVENTORY, 6
|
264
|
+
value :RELATIONSHIP, 7
|
260
265
|
end
|
261
266
|
end
|
262
267
|
end
|
@@ -10,9 +10,11 @@ require 'google/identity/accesscontextmanager/v1/access_level_pb'
|
|
10
10
|
require 'google/identity/accesscontextmanager/v1/access_policy_pb'
|
11
11
|
require 'google/cloud/osconfig/v1/inventory_pb'
|
12
12
|
require 'google/identity/accesscontextmanager/v1/service_perimeter_pb'
|
13
|
+
require 'google/protobuf/any_pb'
|
13
14
|
require 'google/protobuf/struct_pb'
|
14
15
|
require 'google/protobuf/timestamp_pb'
|
15
16
|
require 'google/rpc/code_pb'
|
17
|
+
require 'google/api/annotations_pb'
|
16
18
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
19
|
add_file("google/cloud/asset/v1/assets.proto", :syntax => :proto3) do
|
18
20
|
add_message "google.cloud.asset.v1.TemporalAsset" do
|
@@ -41,6 +43,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
43
|
optional :iam_policy, :message, 4, "google.iam.v1.Policy"
|
42
44
|
repeated :org_policy, :message, 6, "google.cloud.orgpolicy.v1.Policy"
|
43
45
|
optional :os_inventory, :message, 12, "google.cloud.osconfig.v1.Inventory"
|
46
|
+
optional :related_assets, :message, 13, "google.cloud.asset.v1.RelatedAssets"
|
44
47
|
repeated :ancestors, :string, 10
|
45
48
|
oneof :access_context_policy do
|
46
49
|
optional :access_policy, :message, 7, "google.identity.accesscontextmanager.v1.AccessPolicy"
|
@@ -57,6 +60,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
60
|
optional :data, :message, 6, "google.protobuf.Struct"
|
58
61
|
optional :location, :string, 8
|
59
62
|
end
|
63
|
+
add_message "google.cloud.asset.v1.RelatedAssets" do
|
64
|
+
optional :relationship_attributes, :message, 1, "google.cloud.asset.v1.RelationshipAttributes"
|
65
|
+
repeated :assets, :message, 2, "google.cloud.asset.v1.RelatedAsset"
|
66
|
+
end
|
67
|
+
add_message "google.cloud.asset.v1.RelationshipAttributes" do
|
68
|
+
optional :type, :string, 4
|
69
|
+
optional :source_resource_type, :string, 1
|
70
|
+
optional :target_resource_type, :string, 2
|
71
|
+
optional :action, :string, 3
|
72
|
+
end
|
73
|
+
add_message "google.cloud.asset.v1.RelatedAsset" do
|
74
|
+
optional :asset, :string, 1
|
75
|
+
optional :asset_type, :string, 2
|
76
|
+
repeated :ancestors, :string, 3
|
77
|
+
end
|
60
78
|
add_message "google.cloud.asset.v1.ResourceSearchResult" do
|
61
79
|
optional :name, :string, 1
|
62
80
|
optional :asset_type, :string, 2
|
@@ -76,6 +94,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
76
94
|
optional :parent_full_resource_name, :string, 19
|
77
95
|
repeated :versioned_resources, :message, 16, "google.cloud.asset.v1.VersionedResource"
|
78
96
|
repeated :attached_resources, :message, 20, "google.cloud.asset.v1.AttachedResource"
|
97
|
+
map :relationships, :string, :message, 21, "google.cloud.asset.v1.RelatedResources"
|
79
98
|
optional :parent_asset_type, :string, 103
|
80
99
|
end
|
81
100
|
add_message "google.cloud.asset.v1.VersionedResource" do
|
@@ -86,6 +105,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
86
105
|
optional :asset_type, :string, 1
|
87
106
|
repeated :versioned_resources, :message, 3, "google.cloud.asset.v1.VersionedResource"
|
88
107
|
end
|
108
|
+
add_message "google.cloud.asset.v1.RelatedResources" do
|
109
|
+
repeated :related_resources, :message, 1, "google.cloud.asset.v1.RelatedResource"
|
110
|
+
end
|
111
|
+
add_message "google.cloud.asset.v1.RelatedResource" do
|
112
|
+
optional :asset_type, :string, 1
|
113
|
+
optional :full_resource_name, :string, 2
|
114
|
+
end
|
89
115
|
add_message "google.cloud.asset.v1.IamPolicySearchResult" do
|
90
116
|
optional :resource, :string, 1
|
91
117
|
optional :asset_type, :string, 5
|
@@ -162,9 +188,14 @@ module Google
|
|
162
188
|
TimeWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.TimeWindow").msgclass
|
163
189
|
Asset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.Asset").msgclass
|
164
190
|
Resource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.Resource").msgclass
|
191
|
+
RelatedAssets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.RelatedAssets").msgclass
|
192
|
+
RelationshipAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.RelationshipAttributes").msgclass
|
193
|
+
RelatedAsset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.RelatedAsset").msgclass
|
165
194
|
ResourceSearchResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.ResourceSearchResult").msgclass
|
166
195
|
VersionedResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.VersionedResource").msgclass
|
167
196
|
AttachedResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.AttachedResource").msgclass
|
197
|
+
RelatedResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.RelatedResources").msgclass
|
198
|
+
RelatedResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.RelatedResource").msgclass
|
168
199
|
IamPolicySearchResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.IamPolicySearchResult").msgclass
|
169
200
|
IamPolicySearchResult::Explanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.IamPolicySearchResult.Explanation").msgclass
|
170
201
|
IamPolicySearchResult::Explanation::Permissions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions").msgclass
|
@@ -3,12 +3,17 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
6
8
|
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/type/date_pb'
|
7
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
11
|
add_file("google/cloud/osconfig/v1/inventory.proto", :syntax => :proto3) do
|
9
12
|
add_message "google.cloud.osconfig.v1.Inventory" do
|
13
|
+
optional :name, :string, 3
|
10
14
|
optional :os_info, :message, 1, "google.cloud.osconfig.v1.Inventory.OsInfo"
|
11
15
|
map :items, :string, :message, 2, "google.cloud.osconfig.v1.Inventory.Item"
|
16
|
+
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
12
17
|
end
|
13
18
|
add_message "google.cloud.osconfig.v1.Inventory.OsInfo" do
|
14
19
|
optional :hostname, :string, 9
|
@@ -50,6 +55,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
50
55
|
optional :wua_package, :message, 6, "google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage"
|
51
56
|
optional :qfe_package, :message, 7, "google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage"
|
52
57
|
optional :cos_package, :message, 8, "google.cloud.osconfig.v1.Inventory.VersionedPackage"
|
58
|
+
optional :windows_application, :message, 9, "google.cloud.osconfig.v1.Inventory.WindowsApplication"
|
53
59
|
end
|
54
60
|
end
|
55
61
|
add_message "google.cloud.osconfig.v1.Inventory.VersionedPackage" do
|
@@ -57,6 +63,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
63
|
optional :architecture, :string, 2
|
58
64
|
optional :version, :string, 3
|
59
65
|
end
|
66
|
+
add_message "google.cloud.osconfig.v1.Inventory.ZypperPatch" do
|
67
|
+
optional :patch_name, :string, 5
|
68
|
+
optional :category, :string, 2
|
69
|
+
optional :severity, :string, 3
|
70
|
+
optional :summary, :string, 4
|
71
|
+
end
|
60
72
|
add_message "google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage" do
|
61
73
|
optional :title, :string, 1
|
62
74
|
optional :description, :string, 2
|
@@ -72,18 +84,39 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
72
84
|
optional :id, :string, 1
|
73
85
|
optional :name, :string, 2
|
74
86
|
end
|
75
|
-
add_message "google.cloud.osconfig.v1.Inventory.ZypperPatch" do
|
76
|
-
optional :patch_name, :string, 5
|
77
|
-
optional :category, :string, 2
|
78
|
-
optional :severity, :string, 3
|
79
|
-
optional :summary, :string, 4
|
80
|
-
end
|
81
87
|
add_message "google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage" do
|
82
88
|
optional :caption, :string, 1
|
83
89
|
optional :description, :string, 2
|
84
90
|
optional :hot_fix_id, :string, 3
|
85
91
|
optional :install_time, :message, 5, "google.protobuf.Timestamp"
|
86
92
|
end
|
93
|
+
add_message "google.cloud.osconfig.v1.Inventory.WindowsApplication" do
|
94
|
+
optional :display_name, :string, 1
|
95
|
+
optional :display_version, :string, 2
|
96
|
+
optional :publisher, :string, 3
|
97
|
+
optional :install_date, :message, 4, "google.type.Date"
|
98
|
+
optional :help_link, :string, 5
|
99
|
+
end
|
100
|
+
add_message "google.cloud.osconfig.v1.GetInventoryRequest" do
|
101
|
+
optional :name, :string, 1
|
102
|
+
optional :view, :enum, 2, "google.cloud.osconfig.v1.InventoryView"
|
103
|
+
end
|
104
|
+
add_message "google.cloud.osconfig.v1.ListInventoriesRequest" do
|
105
|
+
optional :parent, :string, 1
|
106
|
+
optional :view, :enum, 2, "google.cloud.osconfig.v1.InventoryView"
|
107
|
+
optional :page_size, :int32, 3
|
108
|
+
optional :page_token, :string, 4
|
109
|
+
optional :filter, :string, 5
|
110
|
+
end
|
111
|
+
add_message "google.cloud.osconfig.v1.ListInventoriesResponse" do
|
112
|
+
repeated :inventories, :message, 1, "google.cloud.osconfig.v1.Inventory"
|
113
|
+
optional :next_page_token, :string, 2
|
114
|
+
end
|
115
|
+
add_enum "google.cloud.osconfig.v1.InventoryView" do
|
116
|
+
value :INVENTORY_VIEW_UNSPECIFIED, 0
|
117
|
+
value :BASIC, 1
|
118
|
+
value :FULL, 2
|
119
|
+
end
|
87
120
|
end
|
88
121
|
end
|
89
122
|
|
@@ -98,10 +131,15 @@ module Google
|
|
98
131
|
Inventory::Item::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.Item.Type").enummodule
|
99
132
|
Inventory::SoftwarePackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.SoftwarePackage").msgclass
|
100
133
|
Inventory::VersionedPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.VersionedPackage").msgclass
|
134
|
+
Inventory::ZypperPatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.ZypperPatch").msgclass
|
101
135
|
Inventory::WindowsUpdatePackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage").msgclass
|
102
136
|
Inventory::WindowsUpdatePackage::WindowsUpdateCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory").msgclass
|
103
|
-
Inventory::ZypperPatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.ZypperPatch").msgclass
|
104
137
|
Inventory::WindowsQuickFixEngineeringPackage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.WindowsQuickFixEngineeringPackage").msgclass
|
138
|
+
Inventory::WindowsApplication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.Inventory.WindowsApplication").msgclass
|
139
|
+
GetInventoryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.GetInventoryRequest").msgclass
|
140
|
+
ListInventoriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.ListInventoriesRequest").msgclass
|
141
|
+
ListInventoriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.ListInventoriesResponse").msgclass
|
142
|
+
InventoryView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.InventoryView").enummodule
|
105
143
|
end
|
106
144
|
end
|
107
145
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# AnalyzeIamPolicyLongrunning rpc.
|
26
26
|
# @!attribute [r] create_time
|
27
27
|
# @return [::Google::Protobuf::Timestamp]
|
28
|
-
# The time the operation was created.
|
28
|
+
# Output only. The time the operation was created.
|
29
29
|
class AnalyzeIamPolicyLongrunningMetadata
|
30
30
|
include ::Google::Protobuf::MessageExts
|
31
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -72,6 +72,23 @@ module Google
|
|
72
72
|
# @!attribute [rw] output_config
|
73
73
|
# @return [::Google::Cloud::Asset::V1::OutputConfig]
|
74
74
|
# Required. Output configuration indicating where the results will be output to.
|
75
|
+
# @!attribute [rw] relationship_types
|
76
|
+
# @return [::Array<::String>]
|
77
|
+
# A list of relationship types to export, for example:
|
78
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
79
|
+
# content_type=RELATIONSHIP.
|
80
|
+
# * If specified:
|
81
|
+
# it snapshots specified relationships. It returns an error if
|
82
|
+
# any of the [relationship_types] doesn't belong to the supported
|
83
|
+
# relationship types of the [asset_types] or if any of the [asset_types]
|
84
|
+
# doesn't belong to the source types of the [relationship_types].
|
85
|
+
# * Otherwise:
|
86
|
+
# it snapshots the supported relationships for all [asset_types] or returns
|
87
|
+
# an error if any of the [asset_types] has no relationship support.
|
88
|
+
# An unspecified asset types field means all supported asset_types.
|
89
|
+
# See [Introduction to Cloud Asset
|
90
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
|
91
|
+
# supported asset types and relationship types.
|
75
92
|
class ExportAssetsRequest
|
76
93
|
include ::Google::Protobuf::MessageExts
|
77
94
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -145,6 +162,23 @@ module Google
|
|
145
162
|
# The `next_page_token` returned from the previous `ListAssetsResponse`, or
|
146
163
|
# unspecified for the first `ListAssetsRequest`. It is a continuation of a
|
147
164
|
# prior `ListAssets` call, and the API should return the next page of assets.
|
165
|
+
# @!attribute [rw] relationship_types
|
166
|
+
# @return [::Array<::String>]
|
167
|
+
# A list of relationship types to output, for example:
|
168
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
169
|
+
# content_type=RELATIONSHIP.
|
170
|
+
# * If specified:
|
171
|
+
# it snapshots specified relationships. It returns an error if
|
172
|
+
# any of the [relationship_types] doesn't belong to the supported
|
173
|
+
# relationship types of the [asset_types] or if any of the [asset_types]
|
174
|
+
# doesn't belong to the source types of the [relationship_types].
|
175
|
+
# * Otherwise:
|
176
|
+
# it snapshots the supported relationships for all [asset_types] or returns
|
177
|
+
# an error if any of the [asset_types] has no relationship support.
|
178
|
+
# An unspecified asset types field means all supported asset_types.
|
179
|
+
# See [Introduction to Cloud Asset
|
180
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview)
|
181
|
+
# for all supported asset types and relationship types.
|
148
182
|
class ListAssetsRequest
|
149
183
|
include ::Google::Protobuf::MessageExts
|
150
184
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -194,6 +228,24 @@ module Google
|
|
194
228
|
# If start_time is not set, the snapshot of the assets at end_time will be
|
195
229
|
# returned. The returned results contain all temporal assets whose time
|
196
230
|
# window overlap with read_time_window.
|
231
|
+
# @!attribute [rw] relationship_types
|
232
|
+
# @return [::Array<::String>]
|
233
|
+
# Optional. A list of relationship types to output, for example:
|
234
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
235
|
+
# content_type=RELATIONSHIP.
|
236
|
+
# * If specified:
|
237
|
+
# it outputs specified relationships' history on the [asset_names]. It
|
238
|
+
# returns an error if any of the [relationship_types] doesn't belong to the
|
239
|
+
# supported relationship types of the [asset_names] or if any of the
|
240
|
+
# [asset_names]'s types doesn't belong to the source types of the
|
241
|
+
# [relationship_types].
|
242
|
+
# * Otherwise:
|
243
|
+
# it outputs the supported relationships' history on the [asset_names] or
|
244
|
+
# returns an error if any of the [asset_names]'s types has no relationship
|
245
|
+
# support.
|
246
|
+
# See [Introduction to Cloud Asset
|
247
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
|
248
|
+
# supported asset types and relationship types.
|
197
249
|
class BatchGetAssetsHistoryRequest
|
198
250
|
include ::Google::Protobuf::MessageExts
|
199
251
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -530,6 +582,24 @@ module Google
|
|
530
582
|
# See our [user
|
531
583
|
# guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition)
|
532
584
|
# for detailed instructions.
|
585
|
+
# @!attribute [rw] relationship_types
|
586
|
+
# @return [::Array<::String>]
|
587
|
+
# A list of relationship types to output, for example:
|
588
|
+
# `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
|
589
|
+
# content_type=RELATIONSHIP.
|
590
|
+
# * If specified:
|
591
|
+
# it outputs specified relationship updates on the [asset_names] or the
|
592
|
+
# [asset_types]. It returns an error if any of the [relationship_types]
|
593
|
+
# doesn't belong to the supported relationship types of the [asset_names] or
|
594
|
+
# [asset_types], or any of the [asset_names] or the [asset_types] doesn't
|
595
|
+
# belong to the source types of the [relationship_types].
|
596
|
+
# * Otherwise:
|
597
|
+
# it outputs the supported relationships of the types of [asset_names] and
|
598
|
+
# [asset_types] or returns an error if any of the [asset_names] or the
|
599
|
+
# [asset_types] has no replationship support.
|
600
|
+
# See [Introduction to Cloud Asset
|
601
|
+
# Inventory](https://cloud.google.com/asset-inventory/docs/overview)
|
602
|
+
# for all supported asset types and relationship types.
|
533
603
|
class Feed
|
534
604
|
include ::Google::Protobuf::MessageExts
|
535
605
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1263,6 +1333,9 @@ module Google
|
|
1263
1333
|
|
1264
1334
|
# The runtime OS Inventory information.
|
1265
1335
|
OS_INVENTORY = 6
|
1336
|
+
|
1337
|
+
# The related resources.
|
1338
|
+
RELATIONSHIP = 7
|
1266
1339
|
end
|
1267
1340
|
end
|
1268
1341
|
end
|
@@ -140,6 +140,10 @@ module Google
|
|
140
140
|
# A representation of runtime OS Inventory information. See [this
|
141
141
|
# topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
|
142
142
|
# for more information.
|
143
|
+
# @!attribute [rw] related_assets
|
144
|
+
# @return [::Google::Cloud::Asset::V1::RelatedAssets]
|
145
|
+
# The related assets of the asset of one relationship type.
|
146
|
+
# One asset only represents one type of relationship.
|
143
147
|
# @!attribute [rw] ancestors
|
144
148
|
# @return [::Array<::String>]
|
145
149
|
# The ancestry path of an asset in Google Cloud [resource
|
@@ -208,6 +212,74 @@ module Google
|
|
208
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
213
|
end
|
210
214
|
|
215
|
+
# The detailed related assets with the `relationship_type`.
|
216
|
+
# @!attribute [rw] relationship_attributes
|
217
|
+
# @return [::Google::Cloud::Asset::V1::RelationshipAttributes]
|
218
|
+
# The detailed relationship attributes.
|
219
|
+
# @!attribute [rw] assets
|
220
|
+
# @return [::Array<::Google::Cloud::Asset::V1::RelatedAsset>]
|
221
|
+
# The peer resources of the relationship.
|
222
|
+
class RelatedAssets
|
223
|
+
include ::Google::Protobuf::MessageExts
|
224
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
end
|
226
|
+
|
227
|
+
# The relationship attributes which include `type`, `source_resource_type`,
|
228
|
+
# `target_resource_type` and `action`.
|
229
|
+
# @!attribute [rw] type
|
230
|
+
# @return [::String]
|
231
|
+
# The unique identifier of the relationship type. Example:
|
232
|
+
# `INSTANCE_TO_INSTANCEGROUP`
|
233
|
+
# @!attribute [rw] source_resource_type
|
234
|
+
# @return [::String]
|
235
|
+
# The source asset type. Example: `compute.googleapis.com/Instance`
|
236
|
+
# @!attribute [rw] target_resource_type
|
237
|
+
# @return [::String]
|
238
|
+
# The target asset type. Example: `compute.googleapis.com/Disk`
|
239
|
+
# @!attribute [rw] action
|
240
|
+
# @return [::String]
|
241
|
+
# The detail of the relationship, e.g. `contains`, `attaches`
|
242
|
+
class RelationshipAttributes
|
243
|
+
include ::Google::Protobuf::MessageExts
|
244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
end
|
246
|
+
|
247
|
+
# An asset identify in Google Cloud which contains its name, type and
|
248
|
+
# ancestors. An asset can be any resource in the Google Cloud [resource
|
249
|
+
# hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
|
250
|
+
# a resource outside the Google Cloud resource hierarchy (such as Google
|
251
|
+
# Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
|
252
|
+
# See [Supported asset
|
253
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
254
|
+
# for more information.
|
255
|
+
# @!attribute [rw] asset
|
256
|
+
# @return [::String]
|
257
|
+
# The full name of the asset. Example:
|
258
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
|
259
|
+
#
|
260
|
+
# See [Resource
|
261
|
+
# names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
262
|
+
# for more information.
|
263
|
+
# @!attribute [rw] asset_type
|
264
|
+
# @return [::String]
|
265
|
+
# The type of the asset. Example: `compute.googleapis.com/Disk`
|
266
|
+
#
|
267
|
+
# See [Supported asset
|
268
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
269
|
+
# for more information.
|
270
|
+
# @!attribute [rw] ancestors
|
271
|
+
# @return [::Array<::String>]
|
272
|
+
# The ancestors of an asset in Google Cloud [resource
|
273
|
+
# hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
|
274
|
+
# represented as a list of relative resource names. An ancestry path starts
|
275
|
+
# with the closest ancestor in the hierarchy and ends at root.
|
276
|
+
#
|
277
|
+
# Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
|
278
|
+
class RelatedAsset
|
279
|
+
include ::Google::Protobuf::MessageExts
|
280
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
281
|
+
end
|
282
|
+
|
211
283
|
# A result of Resource Search, containing information of a cloud resource.
|
212
284
|
# @!attribute [rw] name
|
213
285
|
# @return [::String]
|
@@ -424,6 +496,14 @@ module Google
|
|
424
496
|
# This `attached_resources` field is not searchable. Some attributes
|
425
497
|
# of the attached resources are exposed in `additional_attributes` field, so
|
426
498
|
# as to allow users to search on them.
|
499
|
+
# @!attribute [rw] relationships
|
500
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Asset::V1::RelatedResources}]
|
501
|
+
# A map of related resources of this resource, keyed by the
|
502
|
+
# relationship type. A relationship type is in the format of
|
503
|
+
# \\{SourceType}_\\{ACTION}_\\{DestType}. Example: `DISK_TO_INSTANCE`,
|
504
|
+
# `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`.
|
505
|
+
# See [supported relationship
|
506
|
+
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
|
427
507
|
# @!attribute [rw] parent_asset_type
|
428
508
|
# @return [::String]
|
429
509
|
# The type of this resource's immediate parent, if there is one.
|
@@ -446,6 +526,15 @@ module Google
|
|
446
526
|
include ::Google::Protobuf::MessageExts
|
447
527
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
448
528
|
end
|
529
|
+
|
530
|
+
# @!attribute [rw] key
|
531
|
+
# @return [::String]
|
532
|
+
# @!attribute [rw] value
|
533
|
+
# @return [::Google::Cloud::Asset::V1::RelatedResources]
|
534
|
+
class RelationshipsEntry
|
535
|
+
include ::Google::Protobuf::MessageExts
|
536
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
537
|
+
end
|
449
538
|
end
|
450
539
|
|
451
540
|
# Resource representation as defined by the corresponding service providing the
|
@@ -498,6 +587,28 @@ module Google
|
|
498
587
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
499
588
|
end
|
500
589
|
|
590
|
+
# The related resources of the primary resource.
|
591
|
+
# @!attribute [rw] related_resources
|
592
|
+
# @return [::Array<::Google::Cloud::Asset::V1::RelatedResource>]
|
593
|
+
# The detailed related resources of the primary resource.
|
594
|
+
class RelatedResources
|
595
|
+
include ::Google::Protobuf::MessageExts
|
596
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
597
|
+
end
|
598
|
+
|
599
|
+
# The detailed related resource.
|
600
|
+
# @!attribute [rw] asset_type
|
601
|
+
# @return [::String]
|
602
|
+
# The type of the asset. Example: `compute.googleapis.com/Instance`
|
603
|
+
# @!attribute [rw] full_resource_name
|
604
|
+
# @return [::String]
|
605
|
+
# The full resource name of the related resource. Example:
|
606
|
+
# `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
|
607
|
+
class RelatedResource
|
608
|
+
include ::Google::Protobuf::MessageExts
|
609
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
610
|
+
end
|
611
|
+
|
501
612
|
# A result of IAM Policy search, containing information of an IAM policy.
|
502
613
|
# @!attribute [rw] resource
|
503
614
|
# @return [::String]
|
@@ -21,7 +21,19 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module OsConfig
|
23
23
|
module V1
|
24
|
-
#
|
24
|
+
# This API resource represents the available inventory data for a
|
25
|
+
# Compute Engine virtual machine (VM) instance at a given point in time.
|
26
|
+
#
|
27
|
+
# You can use this API resource to determine the inventory data of your VM.
|
28
|
+
#
|
29
|
+
# For more information, see [Information provided by OS inventory
|
30
|
+
# management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).
|
31
|
+
# @!attribute [r] name
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. The `Inventory` API resource name.
|
34
|
+
#
|
35
|
+
# Format:
|
36
|
+
# `projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`
|
25
37
|
# @!attribute [rw] os_info
|
26
38
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::OsInfo]
|
27
39
|
# Base level operating system information for the VM.
|
@@ -31,6 +43,9 @@ module Google
|
|
31
43
|
# each inventory item. The identifier is unique to each distinct and
|
32
44
|
# addressable inventory item and will change, when there is a new package
|
33
45
|
# version.
|
46
|
+
# @!attribute [r] update_time
|
47
|
+
# @return [::Google::Protobuf::Timestamp]
|
48
|
+
# Output only. Timestamp of the last reported inventory for the VM.
|
34
49
|
class Inventory
|
35
50
|
include ::Google::Protobuf::MessageExts
|
36
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -157,6 +172,9 @@ module Google
|
|
157
172
|
# @!attribute [rw] cos_package
|
158
173
|
# @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
|
159
174
|
# Details of a COS package.
|
175
|
+
# @!attribute [rw] windows_application
|
176
|
+
# @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication]
|
177
|
+
# Details of Windows Application.
|
160
178
|
class SoftwarePackage
|
161
179
|
include ::Google::Protobuf::MessageExts
|
162
180
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -178,6 +196,24 @@ module Google
|
|
178
196
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
179
197
|
end
|
180
198
|
|
199
|
+
# Details related to a Zypper Patch.
|
200
|
+
# @!attribute [rw] patch_name
|
201
|
+
# @return [::String]
|
202
|
+
# The name of the patch.
|
203
|
+
# @!attribute [rw] category
|
204
|
+
# @return [::String]
|
205
|
+
# The category of the patch.
|
206
|
+
# @!attribute [rw] severity
|
207
|
+
# @return [::String]
|
208
|
+
# The severity specified for this patch
|
209
|
+
# @!attribute [rw] summary
|
210
|
+
# @return [::String]
|
211
|
+
# Any summary information provided about this patch.
|
212
|
+
class ZypperPatch
|
213
|
+
include ::Google::Protobuf::MessageExts
|
214
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
215
|
+
end
|
216
|
+
|
181
217
|
# Details related to a Windows Update package.
|
182
218
|
# Field data and names are taken from Windows Update API IUpdate Interface:
|
183
219
|
# https://docs.microsoft.com/en-us/windows/win32/api/_wua/
|
@@ -230,24 +266,6 @@ module Google
|
|
230
266
|
end
|
231
267
|
end
|
232
268
|
|
233
|
-
# Details related to a Zypper Patch.
|
234
|
-
# @!attribute [rw] patch_name
|
235
|
-
# @return [::String]
|
236
|
-
# The name of the patch.
|
237
|
-
# @!attribute [rw] category
|
238
|
-
# @return [::String]
|
239
|
-
# The category of the patch.
|
240
|
-
# @!attribute [rw] severity
|
241
|
-
# @return [::String]
|
242
|
-
# The severity specified for this patch
|
243
|
-
# @!attribute [rw] summary
|
244
|
-
# @return [::String]
|
245
|
-
# Any summary information provided about this patch.
|
246
|
-
class ZypperPatch
|
247
|
-
include ::Google::Protobuf::MessageExts
|
248
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
249
|
-
end
|
250
|
-
|
251
269
|
# Information related to a Quick Fix Engineering package.
|
252
270
|
# Fields are taken from Windows QuickFixEngineering Interface and match
|
253
271
|
# the source names:
|
@@ -269,6 +287,34 @@ module Google
|
|
269
287
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
270
288
|
end
|
271
289
|
|
290
|
+
# Contains information about a Windows application as retrieved from the
|
291
|
+
# Windows Registry. For more information about these fields, see
|
292
|
+
#
|
293
|
+
# [Windows Installer Properties for the Uninstall
|
294
|
+
# Registry](https://docs.microsoft.com/en-us/windows/win32/msi/uninstall-registry-key){:
|
295
|
+
# class="external" }
|
296
|
+
# @!attribute [rw] display_name
|
297
|
+
# @return [::String]
|
298
|
+
# The name of the application or product.
|
299
|
+
# @!attribute [rw] display_version
|
300
|
+
# @return [::String]
|
301
|
+
# The version of the product or application in string format.
|
302
|
+
# @!attribute [rw] publisher
|
303
|
+
# @return [::String]
|
304
|
+
# The name of the manufacturer for the product or application.
|
305
|
+
# @!attribute [rw] install_date
|
306
|
+
# @return [::Google::Type::Date]
|
307
|
+
# The last time this product received service. The value of this property
|
308
|
+
# is replaced each time a patch is applied or removed from the product or
|
309
|
+
# the command-line option is used to repair the product.
|
310
|
+
# @!attribute [rw] help_link
|
311
|
+
# @return [::String]
|
312
|
+
# The internet address for technical support.
|
313
|
+
class WindowsApplication
|
314
|
+
include ::Google::Protobuf::MessageExts
|
315
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
316
|
+
end
|
317
|
+
|
272
318
|
# @!attribute [rw] key
|
273
319
|
# @return [::String]
|
274
320
|
# @!attribute [rw] value
|
@@ -278,6 +324,82 @@ module Google
|
|
278
324
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
325
|
end
|
280
326
|
end
|
327
|
+
|
328
|
+
# A request message for getting inventory data for the specified VM.
|
329
|
+
# @!attribute [rw] name
|
330
|
+
# @return [::String]
|
331
|
+
# Required. API resource name for inventory resource.
|
332
|
+
#
|
333
|
+
# Format:
|
334
|
+
# `projects/{project}/locations/{location}/instances/{instance}/inventory`
|
335
|
+
#
|
336
|
+
# For `{project}`, either `project-number` or `project-id` can be provided.
|
337
|
+
# For `{instance}`, either Compute Engine `instance-id` or `instance-name`
|
338
|
+
# can be provided.
|
339
|
+
# @!attribute [rw] view
|
340
|
+
# @return [::Google::Cloud::OsConfig::V1::InventoryView]
|
341
|
+
# Inventory view indicating what information should be included in the
|
342
|
+
# inventory resource. If unspecified, the default view is BASIC.
|
343
|
+
class GetInventoryRequest
|
344
|
+
include ::Google::Protobuf::MessageExts
|
345
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
346
|
+
end
|
347
|
+
|
348
|
+
# A request message for listing inventory data for all VMs in the specified
|
349
|
+
# location.
|
350
|
+
# @!attribute [rw] parent
|
351
|
+
# @return [::String]
|
352
|
+
# Required. The parent resource name.
|
353
|
+
#
|
354
|
+
# Format: `projects/{project}/locations/{location}/instances/-`
|
355
|
+
#
|
356
|
+
# For `{project}`, either `project-number` or `project-id` can be provided.
|
357
|
+
# @!attribute [rw] view
|
358
|
+
# @return [::Google::Cloud::OsConfig::V1::InventoryView]
|
359
|
+
# Inventory view indicating what information should be included in the
|
360
|
+
# inventory resource. If unspecified, the default view is BASIC.
|
361
|
+
# @!attribute [rw] page_size
|
362
|
+
# @return [::Integer]
|
363
|
+
# The maximum number of results to return.
|
364
|
+
# @!attribute [rw] page_token
|
365
|
+
# @return [::String]
|
366
|
+
# A pagination token returned from a previous call to
|
367
|
+
# `ListInventories` that indicates where this listing
|
368
|
+
# should continue from.
|
369
|
+
# @!attribute [rw] filter
|
370
|
+
# @return [::String]
|
371
|
+
# If provided, this field specifies the criteria that must be met by a
|
372
|
+
# `Inventory` API resource to be included in the response.
|
373
|
+
class ListInventoriesRequest
|
374
|
+
include ::Google::Protobuf::MessageExts
|
375
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
376
|
+
end
|
377
|
+
|
378
|
+
# A response message for listing inventory data for all VMs in a specified
|
379
|
+
# location.
|
380
|
+
# @!attribute [rw] inventories
|
381
|
+
# @return [::Array<::Google::Cloud::OsConfig::V1::Inventory>]
|
382
|
+
# List of inventory objects.
|
383
|
+
# @!attribute [rw] next_page_token
|
384
|
+
# @return [::String]
|
385
|
+
# The pagination token to retrieve the next page of inventory objects.
|
386
|
+
class ListInventoriesResponse
|
387
|
+
include ::Google::Protobuf::MessageExts
|
388
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
389
|
+
end
|
390
|
+
|
391
|
+
# The view for inventory objects.
|
392
|
+
module InventoryView
|
393
|
+
# The default value.
|
394
|
+
# The API defaults to the BASIC view.
|
395
|
+
INVENTORY_VIEW_UNSPECIFIED = 0
|
396
|
+
|
397
|
+
# Returns the basic inventory information that includes `os_info`.
|
398
|
+
BASIC = 1
|
399
|
+
|
400
|
+
# Returns all fields.
|
401
|
+
FULL = 2
|
402
|
+
end
|
281
403
|
end
|
282
404
|
end
|
283
405
|
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
23
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
24
|
+
# is relative to the Proleptic Gregorian Calendar. This can represent:
|
25
|
+
#
|
26
|
+
# * A full date, with non-zero year, month and day values
|
27
|
+
# * A month and day value, with a zero year, e.g. an anniversary
|
28
|
+
# * A year on its own, with zero month and day values
|
29
|
+
# * A year and month value, with a zero day, e.g. a credit card expiration date
|
30
|
+
#
|
31
|
+
# Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
|
32
|
+
# @!attribute [rw] year
|
33
|
+
# @return [::Integer]
|
34
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
35
|
+
# a year.
|
36
|
+
# @!attribute [rw] month
|
37
|
+
# @return [::Integer]
|
38
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
39
|
+
# month and day.
|
40
|
+
# @!attribute [rw] day
|
41
|
+
# @return [::Integer]
|
42
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
43
|
+
# if specifying a year by itself or a year and month where the day is not
|
44
|
+
# significant.
|
45
|
+
class Date
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
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
|
+
version: 0.17.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: 2021-07
|
11
|
+
date: 2021-09-07 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.7'
|
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.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -228,6 +228,7 @@ files:
|
|
228
228
|
- proto_docs/google/protobuf/timestamp.rb
|
229
229
|
- proto_docs/google/rpc/code.rb
|
230
230
|
- proto_docs/google/rpc/status.rb
|
231
|
+
- proto_docs/google/type/date.rb
|
231
232
|
- proto_docs/google/type/expr.rb
|
232
233
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
233
234
|
licenses:
|