google-apis-cloudasset_v1 0.82.0 → 0.84.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: 830ec2f88e3af26eca8b6723fccaee92dade36c705ed35fdafefb39e71a082f9
4
- data.tar.gz: c3bd0bcd78304b57f80528d38ef5fb6e0fbc74ebee00f4d973b4600c8d6916dc
3
+ metadata.gz: 2a61b75472d54a49920508396216e86dd4fdbf434e2b1afcbb16e0ad96a74de6
4
+ data.tar.gz: 5395d7add358b0d56ec047b2013f814800efa2fd42646c42ea9a1a7dde44bd84
5
5
  SHA512:
6
- metadata.gz: b0e044a4fb24568add706c1b17a940bf02411e23172bc3cf6af8a603eaca294fc1ac16c8689b1feea95a4b749694a7c9b1253e3d4184a55d1c7fda367855546d
7
- data.tar.gz: b74e1db171fdda7e34fbfe90a8bce64da6481d9b13438a7ca1c5909377118109b28496d7b0ced8d170c0db82970fe541659223b7b96c166f89386be83c4dc46a
6
+ metadata.gz: d36f4e96147965ac5c6f6313f9e7a59a65bbfea63ede447c9b963ee9625667c1f1b71ddd01517fab4a7fd52b7693021c58ef98594328164a180e957ada12df98
7
+ data.tar.gz: 2bffc5f7e978f213b59c59066e1d44b2032976a3159b177ab87f0dfcc33e56d07adbbe98b0572dd769be6bbcd11c866ca719cc309be1d9d34775c00fa9d2fe50
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.84.0 (2024-11-24)
4
+
5
+ * Regenerated from discovery document revision 20241115
6
+
7
+ ### v0.83.0 (2024-09-08)
8
+
9
+ * Regenerated from discovery document revision 20240831
10
+
3
11
  ### v0.82.0 (2024-09-01)
4
12
 
5
13
  * Regenerated from discovery document revision 20240823
@@ -141,7 +141,7 @@ module Google
141
141
  # @return [Google::Apis::CloudassetV1::IamPolicyAnalysis]
142
142
  attr_accessor :main_analysis
143
143
 
144
- # The service account impersonation analysis if AnalyzeIamPolicyRequest.
144
+ # The service account impersonation analysis if IamPolicyAnalysisQuery.Options.
145
145
  # analyze_service_account_impersonation is enabled.
146
146
  # Corresponds to the JSON property `serviceAccountImpersonationAnalysis`
147
147
  # @return [Array<Google::Apis::CloudassetV1::IamPolicyAnalysis>]
@@ -862,19 +862,6 @@ module Google
862
862
  end
863
863
  end
864
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
-
878
865
  # The IAM conditions context.
879
866
  class ConditionContext
880
867
  include Google::Apis::Core::Hashable
@@ -1024,7 +1011,7 @@ module Google
1024
1011
  include Google::Apis::Core::Hashable
1025
1012
 
1026
1013
  # The [full resource name](https://cloud.google.com/asset-inventory/docs/
1027
- # resource-name-format) of the ancestor from which an effective_tag is inherited,
1014
+ # resource-name-format) of the ancestor from which effective_tags are inherited,
1028
1015
  # according to [tag inheritance](https://cloud.google.com/resource-manager/docs/
1029
1016
  # tags/tags-overview#inheritance).
1030
1017
  # Corresponds to the JSON property `attachedResource`
@@ -1479,8 +1466,7 @@ module Google
1479
1466
  # @return [Google::Apis::CloudassetV1::GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource]
1480
1467
  attr_accessor :governed_resource
1481
1468
 
1482
- # The ordered list of all organization policies from the
1483
- # AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.
1469
+ # The ordered list of all organization policies from the consolidated_policy.
1484
1470
  # attached_resource to the scope specified in the request. If the constraint is
1485
1471
  # defined with default policy, it will also appear in the list.
1486
1472
  # Corresponds to the JSON property `policyBundle`
@@ -1935,8 +1921,7 @@ module Google
1935
1921
  # @return [String]
1936
1922
  attr_accessor :parent
1937
1923
 
1938
- # The ordered list of all organization policies from the
1939
- # AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.
1924
+ # The ordered list of all organization policies from the consolidated_policy.
1940
1925
  # attached_resource. to the scope specified in the request. If the constraint is
1941
1926
  # defined with default policy, it will also appear in the list.
1942
1927
  # Corresponds to the JSON property `policyBundle`
@@ -3576,6 +3561,14 @@ module Google
3576
3561
  # @return [String]
3577
3562
  attr_accessor :description
3578
3563
 
3564
+ # Optional. An opaque identifier for the current version of the `
3565
+ # ServicePerimeter`. This identifier does not follow any specific format. If an
3566
+ # etag is not provided, the operation will be performed as if a valid etag is
3567
+ # provided.
3568
+ # Corresponds to the JSON property `etag`
3569
+ # @return [String]
3570
+ attr_accessor :etag
3571
+
3579
3572
  # Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/`
3580
3573
  # access_policy`/servicePerimeters/`service_perimeter``. The `service_perimeter`
3581
3574
  # component must begin with a letter, followed by alphanumeric characters or `_`.
@@ -3631,6 +3624,7 @@ module Google
3631
3624
  # Update properties of this object
3632
3625
  def update!(**args)
3633
3626
  @description = args[:description] if args.key?(:description)
3627
+ @etag = args[:etag] if args.key?(:etag)
3634
3628
  @name = args[:name] if args.key?(:name)
3635
3629
  @perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
3636
3630
  @spec = args[:spec] if args.key?(:spec)
@@ -4571,8 +4565,7 @@ module Google
4571
4565
  # @return [String]
4572
4566
  attr_accessor :organization
4573
4567
 
4574
- # The ordered list of all organization policies from the
4575
- # AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.
4568
+ # The ordered list of all organization policies from the consolidated_policy.
4576
4569
  # attached_resource. to the scope specified in the request. If the constraint is
4577
4570
  # defined with default policy, it will also appear in the list.
4578
4571
  # Corresponds to the JSON property `policyBundle`
@@ -5439,10 +5432,10 @@ module Google
5439
5432
  # SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in
5440
5433
  # order to get the enrichment: * enrichments.resource_owners The corresponding
5441
5434
  # required permissions: * cloudasset.assets.searchEnrichmentResourceOwners
5442
- # Example query to get resource owner enrichment: scope: "projects/my-project"
5443
- # query: "name: my-project" assetTypes: "cloudresourcemanager.googleapis.com/
5444
- # Project" readMask: ` paths: "asset_type" paths: "name" paths: "enrichments.
5445
- # resource_owners" `
5435
+ # Example query to get resource owner enrichment: ``` scope: "projects/my-
5436
+ # project" query: "name: my-project" assetTypes: "cloudresourcemanager.
5437
+ # googleapis.com/Project" readMask: ` paths: "asset_type" paths: "name" paths: "
5438
+ # enrichments.resource_owners" ` ```
5446
5439
  # Corresponds to the JSON property `enrichments`
5447
5440
  # @return [Array<Google::Apis::CloudassetV1::AssetEnrichment>]
5448
5441
  attr_accessor :enrichments
@@ -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.82.0"
19
+ GEM_VERSION = "0.84.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 = "20240823"
25
+ REVISION = "20241115"
26
26
  end
27
27
  end
28
28
  end
@@ -142,12 +142,6 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class CancelOperationRequest
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
145
  class ConditionContext
152
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
147
 
@@ -1074,12 +1068,6 @@ module Google
1074
1068
  end
1075
1069
  end
1076
1070
 
1077
- class CancelOperationRequest
1078
- # @private
1079
- class Representation < Google::Apis::Core::JsonRepresentation
1080
- end
1081
- end
1082
-
1083
1071
  class ConditionContext
1084
1072
  # @private
1085
1073
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1685,6 +1673,7 @@ module Google
1685
1673
  # @private
1686
1674
  class Representation < Google::Apis::Core::JsonRepresentation
1687
1675
  property :description, as: 'description'
1676
+ property :etag, as: 'etag'
1688
1677
  property :name, as: 'name'
1689
1678
  property :perimeter_type, as: 'perimeterType'
1690
1679
  property :spec, as: 'spec', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
@@ -348,79 +348,6 @@ 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
-
424
351
  # Gets the latest state of a long-running operation. Clients can use this method
425
352
  # to poll the operation result at intervals as recommended by the API service.
426
353
  # @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.82.0
4
+ version: 0.84.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-09-01 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.84.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Asset API V1