google-apis-cloudasset_v1 0.34.0 → 0.35.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: 1436b5c6a94645fef7c0883abe59f4fcb17978fbce24df69816c8fd0879f4d6f
4
- data.tar.gz: ce31d756dd6b0ae7520134857c18bfb97a39fe34d143f50493415cb878a7cf00
3
+ metadata.gz: d52db6758a07ed8b8b6355f0299a96de9da6fadd351c38aa7e541234cfaad96b
4
+ data.tar.gz: f4626b9e50a78a3415c373de99abeea590f8e4c83bcd07ab33f98acd8207c463
5
5
  SHA512:
6
- metadata.gz: de1691e40241da66d8681cafb1deb366b9db80b294743d5bfd77aaa88e61b393f269bac389adab3ded11a970a749447d59d3d72307317dd7881e91296408600c
7
- data.tar.gz: 1b7547c4bc1680762da70cecb66872a2cec668ce893e7a584704e9c28adf2cb66d0a44aa29ecfa1e74d3aa47211c264cf06e67b3f48fb6f9923e16063abc1028
6
+ metadata.gz: 9b7809987730a89f59df37155db174da419b458cdd6ffd096c3ff2aa6e1af4b6ea01c038c8df702549fb1b77a4a15a035e537201563447dbd8c5c57ced9fabc9
7
+ data.tar.gz: 8fd6fa55cbc987c457715433bba795d167e131fb2507354c4dc8d22523427667e2b749958aec78a8c0cd336715ee97bebad5ab118f8f7f2812fa24cd519cd808
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.35.0 (2022-05-12)
4
+
5
+ * Regenerated from discovery document revision 20220507
6
+
3
7
  ### v0.34.0 (2022-05-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20220429
@@ -278,11 +278,6 @@ 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`.
282
- # Corresponds to the JSON property `relatedAssets`
283
- # @return [Google::Apis::CloudassetV1::RelatedAssets]
284
- attr_accessor :related_assets
285
-
286
281
  # A representation of a Google Cloud resource.
287
282
  # Corresponds to the JSON property `resource`
288
283
  # @return [Google::Apis::CloudassetV1::Resource]
@@ -321,7 +316,6 @@ module Google
321
316
  @name = args[:name] if args.key?(:name)
322
317
  @org_policy = args[:org_policy] if args.key?(:org_policy)
323
318
  @os_inventory = args[:os_inventory] if args.key?(:os_inventory)
324
- @related_assets = args[:related_assets] if args.key?(:related_assets)
325
319
  @resource = args[:resource] if args.key?(:resource)
326
320
  @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
327
321
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -3859,78 +3853,6 @@ module Google
3859
3853
  end
3860
3854
  end
3861
3855
 
3862
- # An asset identifier in Google Cloud which contains its name, type and
3863
- # ancestors. An asset can be any resource in the Google Cloud [resource
3864
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
3865
- # resource-hierarchy), a resource outside the Google Cloud resource hierarchy (
3866
- # such as Google Kubernetes Engine clusters and objects), or a policy (e.g.
3867
- # Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-
3868
- # inventory/docs/supported-asset-types) for more information.
3869
- class RelatedAsset
3870
- include Google::Apis::Core::Hashable
3871
-
3872
- # The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.
3873
- # google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
3874
- # represented as a list of relative resource names. An ancestry path starts with
3875
- # the closest ancestor in the hierarchy and ends at root. Example: `["projects/
3876
- # 123456789", "folders/5432", "organizations/1234"]`
3877
- # Corresponds to the JSON property `ancestors`
3878
- # @return [Array<String>]
3879
- attr_accessor :ancestors
3880
-
3881
- # The full name of the asset. Example: `//compute.googleapis.com/projects/
3882
- # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
3883
- # cloud.google.com/apis/design/resource_names#full_resource_name) for more
3884
- # information.
3885
- # Corresponds to the JSON property `asset`
3886
- # @return [String]
3887
- attr_accessor :asset
3888
-
3889
- # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
3890
- # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
3891
- # types) for more information.
3892
- # Corresponds to the JSON property `assetType`
3893
- # @return [String]
3894
- attr_accessor :asset_type
3895
-
3896
- def initialize(**args)
3897
- update!(**args)
3898
- end
3899
-
3900
- # Update properties of this object
3901
- def update!(**args)
3902
- @ancestors = args[:ancestors] if args.key?(:ancestors)
3903
- @asset = args[:asset] if args.key?(:asset)
3904
- @asset_type = args[:asset_type] if args.key?(:asset_type)
3905
- end
3906
- end
3907
-
3908
- # The detailed related assets with the `relationship_type`.
3909
- class RelatedAssets
3910
- include Google::Apis::Core::Hashable
3911
-
3912
- # The peer resources of the relationship.
3913
- # Corresponds to the JSON property `assets`
3914
- # @return [Array<Google::Apis::CloudassetV1::RelatedAsset>]
3915
- attr_accessor :assets
3916
-
3917
- # The relationship attributes which include `type`, `source_resource_type`, `
3918
- # target_resource_type` and `action`.
3919
- # Corresponds to the JSON property `relationshipAttributes`
3920
- # @return [Google::Apis::CloudassetV1::RelationshipAttributes]
3921
- attr_accessor :relationship_attributes
3922
-
3923
- def initialize(**args)
3924
- update!(**args)
3925
- end
3926
-
3927
- # Update properties of this object
3928
- def update!(**args)
3929
- @assets = args[:assets] if args.key?(:assets)
3930
- @relationship_attributes = args[:relationship_attributes] if args.key?(:relationship_attributes)
3931
- end
3932
- end
3933
-
3934
3856
  # The detailed related resource.
3935
3857
  class RelatedResource
3936
3858
  include Google::Apis::Core::Hashable
@@ -3976,45 +3898,6 @@ module Google
3976
3898
  end
3977
3899
  end
3978
3900
 
3979
- # The relationship attributes which include `type`, `source_resource_type`, `
3980
- # target_resource_type` and `action`.
3981
- class RelationshipAttributes
3982
- include Google::Apis::Core::Hashable
3983
-
3984
- # The detail of the relationship, e.g. `contains`, `attaches`
3985
- # Corresponds to the JSON property `action`
3986
- # @return [String]
3987
- attr_accessor :action
3988
-
3989
- # The source asset type. Example: `compute.googleapis.com/Instance`
3990
- # Corresponds to the JSON property `sourceResourceType`
3991
- # @return [String]
3992
- attr_accessor :source_resource_type
3993
-
3994
- # The target asset type. Example: `compute.googleapis.com/Disk`
3995
- # Corresponds to the JSON property `targetResourceType`
3996
- # @return [String]
3997
- attr_accessor :target_resource_type
3998
-
3999
- # The unique identifier of the relationship type. Example: `
4000
- # INSTANCE_TO_INSTANCEGROUP`
4001
- # Corresponds to the JSON property `type`
4002
- # @return [String]
4003
- attr_accessor :type
4004
-
4005
- def initialize(**args)
4006
- update!(**args)
4007
- end
4008
-
4009
- # Update properties of this object
4010
- def update!(**args)
4011
- @action = args[:action] if args.key?(:action)
4012
- @source_resource_type = args[:source_resource_type] if args.key?(:source_resource_type)
4013
- @target_resource_type = args[:target_resource_type] if args.key?(:target_resource_type)
4014
- @type = args[:type] if args.key?(:type)
4015
- end
4016
- end
4017
-
4018
3901
  # A representation of a Google Cloud resource.
4019
3902
  class Resource
4020
3903
  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.34.0"
19
+ GEM_VERSION = "0.35.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 = "20220429"
25
+ REVISION = "20220507"
26
26
  end
27
27
  end
28
28
  end
@@ -544,18 +544,6 @@ module Google
544
544
  include Google::Apis::Core::JsonObjectSupport
545
545
  end
546
546
 
547
- class RelatedAsset
548
- class Representation < Google::Apis::Core::JsonRepresentation; end
549
-
550
- include Google::Apis::Core::JsonObjectSupport
551
- end
552
-
553
- class RelatedAssets
554
- class Representation < Google::Apis::Core::JsonRepresentation; end
555
-
556
- include Google::Apis::Core::JsonObjectSupport
557
- end
558
-
559
547
  class RelatedResource
560
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
549
 
@@ -568,12 +556,6 @@ module Google
568
556
  include Google::Apis::Core::JsonObjectSupport
569
557
  end
570
558
 
571
- class RelationshipAttributes
572
- class Representation < Google::Apis::Core::JsonRepresentation; end
573
-
574
- include Google::Apis::Core::JsonObjectSupport
575
- end
576
-
577
559
  class Resource
578
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
561
 
@@ -749,8 +731,6 @@ module Google
749
731
 
750
732
  property :os_inventory, as: 'osInventory', class: Google::Apis::CloudassetV1::Inventory, decorator: Google::Apis::CloudassetV1::Inventory::Representation
751
733
 
752
- property :related_assets, as: 'relatedAssets', class: Google::Apis::CloudassetV1::RelatedAssets, decorator: Google::Apis::CloudassetV1::RelatedAssets::Representation
753
-
754
734
  property :resource, as: 'resource', class: Google::Apis::CloudassetV1::Resource, decorator: Google::Apis::CloudassetV1::Resource::Representation
755
735
 
756
736
  property :service_perimeter, as: 'servicePerimeter', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter::Representation
@@ -1573,25 +1553,6 @@ module Google
1573
1553
  end
1574
1554
  end
1575
1555
 
1576
- class RelatedAsset
1577
- # @private
1578
- class Representation < Google::Apis::Core::JsonRepresentation
1579
- collection :ancestors, as: 'ancestors'
1580
- property :asset, as: 'asset'
1581
- property :asset_type, as: 'assetType'
1582
- end
1583
- end
1584
-
1585
- class RelatedAssets
1586
- # @private
1587
- class Representation < Google::Apis::Core::JsonRepresentation
1588
- collection :assets, as: 'assets', class: Google::Apis::CloudassetV1::RelatedAsset, decorator: Google::Apis::CloudassetV1::RelatedAsset::Representation
1589
-
1590
- property :relationship_attributes, as: 'relationshipAttributes', class: Google::Apis::CloudassetV1::RelationshipAttributes, decorator: Google::Apis::CloudassetV1::RelationshipAttributes::Representation
1591
-
1592
- end
1593
- end
1594
-
1595
1556
  class RelatedResource
1596
1557
  # @private
1597
1558
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1608,16 +1569,6 @@ module Google
1608
1569
  end
1609
1570
  end
1610
1571
 
1611
- class RelationshipAttributes
1612
- # @private
1613
- class Representation < Google::Apis::Core::JsonRepresentation
1614
- property :action, as: 'action'
1615
- property :source_resource_type, as: 'sourceResourceType'
1616
- property :target_resource_type, as: 'targetResourceType'
1617
- property :type, as: 'type'
1618
- end
1619
- end
1620
-
1621
1572
  class Resource
1622
1573
  # @private
1623
1574
  class Representation < Google::Apis::Core::JsonRepresentation
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.34.0
4
+ version: 0.35.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-09 00:00:00.000000000 Z
11
+ date: 2022-05-16 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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.35.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: []