google-apis-cloudasset_v1 0.33.0 → 0.36.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: 56aac3bca4933ca3952bf7f645ef131dc192cf2aff9995b64ad8b0468ef8b521
4
- data.tar.gz: 5bac8375057d22ed0dc0266c1884798c9280c4cd7c45d4d1c45eb1dfd519b914
3
+ metadata.gz: 22b67eca1c60df3b1f6d126cf827f45f86248207a2579ca761742beb8c95a22e
4
+ data.tar.gz: a9368607fddb0a10dda9a45e119c11c33c77744f594987dffb8fc4c3de1ec7ff
5
5
  SHA512:
6
- metadata.gz: 9e22f7e321b867543a17d05915895faabbc60d4583b06d73ca455cb3a199b2be63bb9754ad210555a599374923c63e448f19fb77694dcd5610efdeecce171a6f
7
- data.tar.gz: c51f480c2404d9ed792aa225d2542c69ee399c4ec4f52cd0d8ab8f926f0f1b12c7c95d3e8110cf9c0b9f9ea48547eabe58f98f905c6c399fa8c23749d26fa23c
6
+ metadata.gz: 78d7eca709fb6a7e55df9748c0abff0fcb529e5be68c55ab03946787dd2883be9d1c1ca30b2a7d45d7c1be96972341e3f60c79ce9862e73f5e063bf7435e15a1
7
+ data.tar.gz: bf54ffcc14bc97c24cc2fe4187efc1d4020209474cd919f2ade11686d3846797224c77b808ec33f06da0c352428f53ca7f61ec664f6a6416a4fa8d8c5cb7bb1c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.36.0 (2022-05-18)
4
+
5
+ * Regenerated from discovery document revision 20220513
6
+
7
+ ### v0.35.0 (2022-05-12)
8
+
9
+ * Regenerated from discovery document revision 20220507
10
+
11
+ ### v0.34.0 (2022-05-05)
12
+
13
+ * Regenerated from discovery document revision 20220429
14
+
3
15
  ### v0.33.0 (2022-04-27)
4
16
 
5
17
  * Regenerated from discovery document revision 20220422
@@ -278,7 +278,20 @@ module Google
278
278
  # @return [Google::Apis::CloudassetV1::Inventory]
279
279
  attr_accessor :os_inventory
280
280
 
281
- # The detailed related assets with the `relationship_type`.
281
+ # An asset identifier in Google Cloud which contains its name, type and
282
+ # ancestors. An asset can be any resource in the Google Cloud [resource
283
+ # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
284
+ # resource-hierarchy), a resource outside the Google Cloud resource hierarchy (
285
+ # such as Google Kubernetes Engine clusters and objects), or a policy (e.g.
286
+ # Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-
287
+ # inventory/docs/supported-asset-types) for more information.
288
+ # Corresponds to the JSON property `relatedAsset`
289
+ # @return [Google::Apis::CloudassetV1::RelatedAsset]
290
+ attr_accessor :related_asset
291
+
292
+ # DEPRECATED. This message only presents for the purpose of backward-
293
+ # compatibility. The server will never populate this message in responses. The
294
+ # detailed related assets with the `relationship_type`.
282
295
  # Corresponds to the JSON property `relatedAssets`
283
296
  # @return [Google::Apis::CloudassetV1::RelatedAssets]
284
297
  attr_accessor :related_assets
@@ -321,6 +334,7 @@ module Google
321
334
  @name = args[:name] if args.key?(:name)
322
335
  @org_policy = args[:org_policy] if args.key?(:org_policy)
323
336
  @os_inventory = args[:os_inventory] if args.key?(:os_inventory)
337
+ @related_asset = args[:related_asset] if args.key?(:related_asset)
324
338
  @related_assets = args[:related_assets] if args.key?(:related_assets)
325
339
  @resource = args[:resource] if args.key?(:resource)
326
340
  @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
@@ -372,8 +386,8 @@ module Google
372
386
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
373
387
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
374
388
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
375
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
376
- # DATA_WRITE logging.
389
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
390
+ # from DATA_WRITE logging.
377
391
  class AuditConfig
378
392
  include Google::Apis::Core::Hashable
379
393
 
@@ -3893,6 +3907,12 @@ module Google
3893
3907
  # @return [String]
3894
3908
  attr_accessor :asset_type
3895
3909
 
3910
+ # The unique identifier of the relationship type. Example: `
3911
+ # INSTANCE_TO_INSTANCEGROUP`
3912
+ # Corresponds to the JSON property `relationshipType`
3913
+ # @return [String]
3914
+ attr_accessor :relationship_type
3915
+
3896
3916
  def initialize(**args)
3897
3917
  update!(**args)
3898
3918
  end
@@ -3902,10 +3922,13 @@ module Google
3902
3922
  @ancestors = args[:ancestors] if args.key?(:ancestors)
3903
3923
  @asset = args[:asset] if args.key?(:asset)
3904
3924
  @asset_type = args[:asset_type] if args.key?(:asset_type)
3925
+ @relationship_type = args[:relationship_type] if args.key?(:relationship_type)
3905
3926
  end
3906
3927
  end
3907
3928
 
3908
- # The detailed related assets with the `relationship_type`.
3929
+ # DEPRECATED. This message only presents for the purpose of backward-
3930
+ # compatibility. The server will never populate this message in responses. The
3931
+ # detailed related assets with the `relationship_type`.
3909
3932
  class RelatedAssets
3910
3933
  include Google::Apis::Core::Hashable
3911
3934
 
@@ -3914,7 +3937,9 @@ module Google
3914
3937
  # @return [Array<Google::Apis::CloudassetV1::RelatedAsset>]
3915
3938
  attr_accessor :assets
3916
3939
 
3917
- # The relationship attributes which include `type`, `source_resource_type`, `
3940
+ # DEPRECATED. This message only presents for the purpose of backward-
3941
+ # compatibility. The server will never populate this message in responses. The
3942
+ # relationship attributes which include `type`, `source_resource_type`, `
3918
3943
  # target_resource_type` and `action`.
3919
3944
  # Corresponds to the JSON property `relationshipAttributes`
3920
3945
  # @return [Google::Apis::CloudassetV1::RelationshipAttributes]
@@ -3976,7 +4001,9 @@ module Google
3976
4001
  end
3977
4002
  end
3978
4003
 
3979
- # The relationship attributes which include `type`, `source_resource_type`, `
4004
+ # DEPRECATED. This message only presents for the purpose of backward-
4005
+ # compatibility. The server will never populate this message in responses. The
4006
+ # relationship attributes which include `type`, `source_resource_type`, `
3980
4007
  # target_resource_type` and `action`.
3981
4008
  class RelationshipAttributes
3982
4009
  include Google::Apis::Core::Hashable
@@ -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.33.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220422"
25
+ REVISION = "20220513"
26
26
  end
27
27
  end
28
28
  end
@@ -749,6 +749,8 @@ module Google
749
749
 
750
750
  property :os_inventory, as: 'osInventory', class: Google::Apis::CloudassetV1::Inventory, decorator: Google::Apis::CloudassetV1::Inventory::Representation
751
751
 
752
+ property :related_asset, as: 'relatedAsset', class: Google::Apis::CloudassetV1::RelatedAsset, decorator: Google::Apis::CloudassetV1::RelatedAsset::Representation
753
+
752
754
  property :related_assets, as: 'relatedAssets', class: Google::Apis::CloudassetV1::RelatedAssets, decorator: Google::Apis::CloudassetV1::RelatedAssets::Representation
753
755
 
754
756
  property :resource, as: 'resource', class: Google::Apis::CloudassetV1::Resource, decorator: Google::Apis::CloudassetV1::Resource::Representation
@@ -1579,6 +1581,7 @@ module Google
1579
1581
  collection :ancestors, as: 'ancestors'
1580
1582
  property :asset, as: 'asset'
1581
1583
  property :asset_type, as: 'assetType'
1584
+ property :relationship_type, as: 'relationshipType'
1582
1585
  end
1583
1586
  end
1584
1587
 
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.33.0
4
+ version: 0.36.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: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.36.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: []