google-apis-cloudasset_v1 0.34.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb1fd56a17dccd382b3e9f3e96ab0c0cbc7ff75cf99f2413a79a6fbaffd313b0
|
4
|
+
data.tar.gz: c75cbbcc0c084446958becef99d6e2d4855ff0c628e51ffd382b40642cacbe35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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.
|
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 = "
|
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
|
986
|
-
# policies
|
987
|
-
# bindings that specify user "amy@gmail.com". * `policy:roles/
|
988
|
-
# find IAM policy bindings that specify the Compute Admin role.
|
989
|
-
# to find IAM policy bindings that contain "comp" as a prefix
|
990
|
-
# binding. * `policy.role.permissions:storage.buckets.update`
|
991
|
-
# bindings that specify a role containing "storage.buckets.
|
992
|
-
# Note that if callers don't have `iam.roles.get` access to
|
993
|
-
# permissions, policy bindings that specify this role will be
|
994
|
-
# search results. * `policy.role.permissions:upd*` to find IAM
|
995
|
-
# that specify a role containing "upd" as a prefix of any word
|
996
|
-
# permission. Note that if callers don't have `iam.roles.get` access
|
997
|
-
# included permissions, policy bindings that specify this role will
|
998
|
-
# from the search results. * `resource:organizations/123456` to find
|
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.
|
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-
|
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.
|
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.
|
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
|