google-apis-cloudasset_v1 0.80.0 → 0.81.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 388d44d8b35795ddb4094d11865b4705a954ca65e21cd5189ab9f3c774fdb872
|
4
|
+
data.tar.gz: cb10b20dc6f23f41426ab3b0ec5d2530234526ff03b212f4353d50d347638108
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d7d4b09e7605be3c45caa7f40f42473489f77872665688f0090932d3cc4d361f7cfa2ab9672d8c67793301405874404000564b864acdcdad2954e970a7648e
|
7
|
+
data.tar.gz: 61f8df0e7d73bce07a6634a520637fe364ba31c2cf786060d9287676c16edb762ecaf057583b0c6f83e84287039910e58e7df460f575f147f75e12c2689da5db
|
data/CHANGELOG.md
CHANGED
@@ -525,6 +525,25 @@ module Google
|
|
525
525
|
end
|
526
526
|
end
|
527
527
|
|
528
|
+
# The enhanced metadata information for a resource.
|
529
|
+
class AssetEnrichment
|
530
|
+
include Google::Apis::Core::Hashable
|
531
|
+
|
532
|
+
# The resource owners information.
|
533
|
+
# Corresponds to the JSON property `resourceOwners`
|
534
|
+
# @return [Google::Apis::CloudassetV1::ResourceOwners]
|
535
|
+
attr_accessor :resource_owners
|
536
|
+
|
537
|
+
def initialize(**args)
|
538
|
+
update!(**args)
|
539
|
+
end
|
540
|
+
|
541
|
+
# Update properties of this object
|
542
|
+
def update!(**args)
|
543
|
+
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
544
|
+
end
|
545
|
+
end
|
546
|
+
|
528
547
|
# Attached resource representation, which is defined by the corresponding
|
529
548
|
# service provider. It represents an attached resource's payload.
|
530
549
|
class AttachedResource
|
@@ -843,6 +862,19 @@ module Google
|
|
843
862
|
end
|
844
863
|
end
|
845
864
|
|
865
|
+
# The request message for Operations.CancelOperation.
|
866
|
+
class CancelOperationRequest
|
867
|
+
include Google::Apis::Core::Hashable
|
868
|
+
|
869
|
+
def initialize(**args)
|
870
|
+
update!(**args)
|
871
|
+
end
|
872
|
+
|
873
|
+
# Update properties of this object
|
874
|
+
def update!(**args)
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
846
878
|
# The IAM conditions context.
|
847
879
|
class ConditionContext
|
848
880
|
include Google::Apis::Core::Hashable
|
@@ -5305,6 +5337,25 @@ module Google
|
|
5305
5337
|
end
|
5306
5338
|
end
|
5307
5339
|
|
5340
|
+
# The resource owners information.
|
5341
|
+
class ResourceOwners
|
5342
|
+
include Google::Apis::Core::Hashable
|
5343
|
+
|
5344
|
+
# List of resource owners.
|
5345
|
+
# Corresponds to the JSON property `resourceOwners`
|
5346
|
+
# @return [Array<String>]
|
5347
|
+
attr_accessor :resource_owners
|
5348
|
+
|
5349
|
+
def initialize(**args)
|
5350
|
+
update!(**args)
|
5351
|
+
end
|
5352
|
+
|
5353
|
+
# Update properties of this object
|
5354
|
+
def update!(**args)
|
5355
|
+
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
5356
|
+
end
|
5357
|
+
end
|
5358
|
+
|
5308
5359
|
# A result of Resource Search, containing information of a cloud resource.
|
5309
5360
|
class ResourceSearchResult
|
5310
5361
|
include Google::Apis::Core::Hashable
|
@@ -5384,6 +5435,11 @@ module Google
|
|
5384
5435
|
# @return [Array<Google::Apis::CloudassetV1::EffectiveTagDetails>]
|
5385
5436
|
attr_accessor :effective_tags
|
5386
5437
|
|
5438
|
+
# Enrichments of the asset.
|
5439
|
+
# Corresponds to the JSON property `enrichments`
|
5440
|
+
# @return [Array<Google::Apis::CloudassetV1::AssetEnrichment>]
|
5441
|
+
attr_accessor :enrichments
|
5442
|
+
|
5387
5443
|
# The folder(s) that this resource belongs to, in the form of folders/`
|
5388
5444
|
# FOLDER_NUMBER`. This field is available when the resource belongs to one or
|
5389
5445
|
# more folders. To search against `folders`: * Use a field query. Example: `
|
@@ -5597,6 +5653,7 @@ module Google
|
|
5597
5653
|
@description = args[:description] if args.key?(:description)
|
5598
5654
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5599
5655
|
@effective_tags = args[:effective_tags] if args.key?(:effective_tags)
|
5656
|
+
@enrichments = args[:enrichments] if args.key?(:enrichments)
|
5600
5657
|
@folders = args[:folders] if args.key?(:folders)
|
5601
5658
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
5602
5659
|
@kms_keys = args[:kms_keys] if args.key?(:kms_keys)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1
|
18
18
|
# Version of the google-apis-cloudasset_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.81.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240816"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -94,6 +94,12 @@ module Google
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
+
class AssetEnrichment
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
97
103
|
class AttachedResource
|
98
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
105
|
|
@@ -136,6 +142,12 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class CancelOperationRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class ConditionContext
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
@@ -730,6 +742,12 @@ module Google
|
|
730
742
|
include Google::Apis::Core::JsonObjectSupport
|
731
743
|
end
|
732
744
|
|
745
|
+
class ResourceOwners
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
733
751
|
class ResourceSearchResult
|
734
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
753
|
|
@@ -984,6 +1002,14 @@ module Google
|
|
984
1002
|
end
|
985
1003
|
end
|
986
1004
|
|
1005
|
+
class AssetEnrichment
|
1006
|
+
# @private
|
1007
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1008
|
+
property :resource_owners, as: 'resourceOwners', class: Google::Apis::CloudassetV1::ResourceOwners, decorator: Google::Apis::CloudassetV1::ResourceOwners::Representation
|
1009
|
+
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
987
1013
|
class AttachedResource
|
988
1014
|
# @private
|
989
1015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1048,6 +1074,12 @@ module Google
|
|
1048
1074
|
end
|
1049
1075
|
end
|
1050
1076
|
|
1077
|
+
class CancelOperationRequest
|
1078
|
+
# @private
|
1079
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1051
1083
|
class ConditionContext
|
1052
1084
|
# @private
|
1053
1085
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2088,6 +2120,13 @@ module Google
|
|
2088
2120
|
end
|
2089
2121
|
end
|
2090
2122
|
|
2123
|
+
class ResourceOwners
|
2124
|
+
# @private
|
2125
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2126
|
+
collection :resource_owners, as: 'resourceOwners'
|
2127
|
+
end
|
2128
|
+
end
|
2129
|
+
|
2091
2130
|
class ResourceSearchResult
|
2092
2131
|
# @private
|
2093
2132
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2100,6 +2139,8 @@ module Google
|
|
2100
2139
|
property :display_name, as: 'displayName'
|
2101
2140
|
collection :effective_tags, as: 'effectiveTags', class: Google::Apis::CloudassetV1::EffectiveTagDetails, decorator: Google::Apis::CloudassetV1::EffectiveTagDetails::Representation
|
2102
2141
|
|
2142
|
+
collection :enrichments, as: 'enrichments', class: Google::Apis::CloudassetV1::AssetEnrichment, decorator: Google::Apis::CloudassetV1::AssetEnrichment::Representation
|
2143
|
+
|
2103
2144
|
collection :folders, as: 'folders'
|
2104
2145
|
property :kms_key, as: 'kmsKey'
|
2105
2146
|
collection :kms_keys, as: 'kmsKeys'
|
@@ -348,6 +348,79 @@ module Google
|
|
348
348
|
execute_or_queue_command(command, &block)
|
349
349
|
end
|
350
350
|
|
351
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
352
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
353
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
354
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
355
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
356
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
357
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
358
|
+
# corresponding to `Code.CANCELLED`.
|
359
|
+
# @param [String] name
|
360
|
+
# The name of the operation resource to be cancelled.
|
361
|
+
# @param [Google::Apis::CloudassetV1::CancelOperationRequest] cancel_operation_request_object
|
362
|
+
# @param [String] fields
|
363
|
+
# Selector specifying which fields to include in a partial response.
|
364
|
+
# @param [String] quota_user
|
365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
367
|
+
# @param [Google::Apis::RequestOptions] options
|
368
|
+
# Request-specific options
|
369
|
+
#
|
370
|
+
# @yield [result, err] Result & error if block supplied
|
371
|
+
# @yieldparam result [Google::Apis::CloudassetV1::Empty] parsed result object
|
372
|
+
# @yieldparam err [StandardError] error object if request failed
|
373
|
+
#
|
374
|
+
# @return [Google::Apis::CloudassetV1::Empty]
|
375
|
+
#
|
376
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
377
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
378
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
379
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
380
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
381
|
+
command.request_representation = Google::Apis::CloudassetV1::CancelOperationRequest::Representation
|
382
|
+
command.request_object = cancel_operation_request_object
|
383
|
+
command.response_representation = Google::Apis::CloudassetV1::Empty::Representation
|
384
|
+
command.response_class = Google::Apis::CloudassetV1::Empty
|
385
|
+
command.params['name'] = name unless name.nil?
|
386
|
+
command.query['fields'] = fields unless fields.nil?
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
388
|
+
execute_or_queue_command(command, &block)
|
389
|
+
end
|
390
|
+
|
391
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
392
|
+
# longer interested in the operation result. It does not cancel the operation.
|
393
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
394
|
+
# UNIMPLEMENTED`.
|
395
|
+
# @param [String] name
|
396
|
+
# The name of the operation resource to be deleted.
|
397
|
+
# @param [String] fields
|
398
|
+
# Selector specifying which fields to include in a partial response.
|
399
|
+
# @param [String] quota_user
|
400
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
401
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
402
|
+
# @param [Google::Apis::RequestOptions] options
|
403
|
+
# Request-specific options
|
404
|
+
#
|
405
|
+
# @yield [result, err] Result & error if block supplied
|
406
|
+
# @yieldparam result [Google::Apis::CloudassetV1::Empty] parsed result object
|
407
|
+
# @yieldparam err [StandardError] error object if request failed
|
408
|
+
#
|
409
|
+
# @return [Google::Apis::CloudassetV1::Empty]
|
410
|
+
#
|
411
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
414
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
415
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
416
|
+
command.response_representation = Google::Apis::CloudassetV1::Empty::Representation
|
417
|
+
command.response_class = Google::Apis::CloudassetV1::Empty
|
418
|
+
command.params['name'] = name unless name.nil?
|
419
|
+
command.query['fields'] = fields unless fields.nil?
|
420
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
421
|
+
execute_or_queue_command(command, &block)
|
422
|
+
end
|
423
|
+
|
351
424
|
# Gets the latest state of a long-running operation. Clients can use this method
|
352
425
|
# to poll the operation result at intervals as recommended by the API service.
|
353
426
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.81.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-08-
|
11
|
+
date: 2024-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.81.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|