google-apis-cloudasset_v1 0.34.0 → 0.37.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: eb1fd56a17dccd382b3e9f3e96ab0c0cbc7ff75cf99f2413a79a6fbaffd313b0
4
+ data.tar.gz: c75cbbcc0c084446958becef99d6e2d4855ff0c628e51ffd382b40642cacbe35
5
5
  SHA512:
6
- metadata.gz: de1691e40241da66d8681cafb1deb366b9db80b294743d5bfd77aaa88e61b393f269bac389adab3ded11a970a749447d59d3d72307317dd7881e91296408600c
7
- data.tar.gz: 1b7547c4bc1680762da70cecb66872a2cec668ce893e7a584704e9c28adf2cb66d0a44aa29ecfa1e74d3aa47211c264cf06e67b3f48fb6f9923e16063abc1028
6
+ metadata.gz: e2abc8fcc1ec1f7b4a534decc8a5edf0f7539cd008c1a46906a6d934f8eca2eb7626594960e846df638358e7cd468505db21115170e121c021df2513590dea68
7
+ data.tar.gz: db26303d23822b34316ef6f9c32bbb025fe648b8536cb301d12b8b491ee5a5b07c58ec998f1153232f1cf7bdec7d2b966aa80dce3aec622288512fb500294338
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.37.0 (2022-05-25)
4
+
5
+ * Regenerated from discovery document revision 20220520
6
+
7
+ ### v0.36.0 (2022-05-18)
8
+
9
+ * Regenerated from discovery document revision 20220513
10
+
11
+ ### v0.35.0 (2022-05-12)
12
+
13
+ * Regenerated from discovery document revision 20220507
14
+
3
15
  ### v0.34.0 (2022-05-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220429
@@ -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)
@@ -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.34.0"
19
+ GEM_VERSION = "0.37.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 = "20220520"
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
 
@@ -982,21 +982,21 @@ module Google
982
982
  # query string is compared against each Cloud IAM policy binding, including its
983
983
  # principals, roles, and Cloud IAM conditions. The returned Cloud IAM policies
984
984
  # will only contain the bindings that match your query. To learn more about the
985
- # IAM policy structure, see [IAM policy doc](https://cloud.google.com/iam/docs/
986
- # policies#structure). Examples: * `policy:amy@gmail.com` to find IAM policy
987
- # bindings that specify user "amy@gmail.com". * `policy:roles/compute.admin` to
988
- # find IAM policy bindings that specify the Compute Admin role. * `policy:comp*`
989
- # to find IAM policy bindings that contain "comp" as a prefix of any word in the
990
- # binding. * `policy.role.permissions:storage.buckets.update` to find IAM policy
991
- # bindings that specify a role containing "storage.buckets.update" permission.
992
- # Note that if callers don't have `iam.roles.get` access to a role's included
993
- # permissions, policy bindings that specify this role will be dropped from the
994
- # search results. * `policy.role.permissions:upd*` to find IAM policy bindings
995
- # that specify a role containing "upd" as a prefix of any word in the role
996
- # permission. Note that if callers don't have `iam.roles.get` access to a role's
997
- # included permissions, policy bindings that specify this role will be dropped
998
- # from the search results. * `resource:organizations/123456` to find IAM policy
999
- # bindings that are set on "organizations/123456". * `resource=//
985
+ # IAM policy structure, see the [IAM policy documentation](https://cloud.google.
986
+ # com/iam/help/allow-policies/structure). Examples: * `policy:amy@gmail.com` to
987
+ # find IAM policy bindings that specify user "amy@gmail.com". * `policy:roles/
988
+ # compute.admin` to find IAM policy bindings that specify the Compute Admin role.
989
+ # * `policy:comp*` to find IAM policy bindings that contain "comp" as a prefix
990
+ # of any word in the binding. * `policy.role.permissions:storage.buckets.update`
991
+ # to find IAM policy bindings that specify a role containing "storage.buckets.
992
+ # update" permission. Note that if callers don't have `iam.roles.get` access to
993
+ # a role's included permissions, policy bindings that specify this role will be
994
+ # dropped from the search results. * `policy.role.permissions:upd*` to find IAM
995
+ # policy bindings that specify a role containing "upd" as a prefix of any word
996
+ # in the role permission. Note that if callers don't have `iam.roles.get` access
997
+ # to a role's included permissions, policy bindings that specify this role will
998
+ # be dropped from the search results. * `resource:organizations/123456` to find
999
+ # IAM policy bindings that are set on "organizations/123456". * `resource=//
1000
1000
  # cloudresourcemanager.googleapis.com/projects/myproject` to find IAM policy
1001
1001
  # bindings that are set on the project named "myproject". * `Important` to find
1002
1002
  # IAM policy bindings that contain "Important" as a word in any of the
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.37.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-30 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.37.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.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Asset API V1