google-cloud-asset-v1 0.20.0 → 0.20.1
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 +4 -4
- data/lib/google/cloud/asset/v1/asset_service/client.rb +15 -2
- data/lib/google/cloud/asset/v1/version.rb +1 -1
- data/proto_docs/google/cloud/asset/v1/asset_service.rb +10 -2
- data/proto_docs/google/cloud/asset/v1/assets.rb +3 -2
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c06b554d19850b8923937a7b76e2713fd41c855d0c7e85737930564c668b5784
|
|
4
|
+
data.tar.gz: 87deccb72bb8eeeabc00feb919f455a27a171af2e31e745fa997ecb201b81222
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35e758724c4667474c013a2484300d790ee0b15ca24577781f7c0d126bb63d0eaa818d5fae2b0d64ca70c3fa47ad54e754ed22cd8d2efccef402ec61aa4a144b
|
|
7
|
+
data.tar.gz: 6047743a05bca031e51615548b83e9416a96b86a397515c60f3d81cb5bb307ccefb9899db2ac1f8857719b9b46d631277d402e418ec3564fdb0e4f47ed851e90
|
|
@@ -112,6 +112,11 @@ module Google
|
|
|
112
112
|
|
|
113
113
|
default_config.rpcs.analyze_iam_policy_longrunning.timeout = 60.0
|
|
114
114
|
|
|
115
|
+
default_config.rpcs.batch_get_effective_iam_policies.timeout = 300.0
|
|
116
|
+
default_config.rpcs.batch_get_effective_iam_policies.retry_policy = {
|
|
117
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
|
|
118
|
+
}
|
|
119
|
+
|
|
115
120
|
default_config
|
|
116
121
|
end
|
|
117
122
|
yield @configure if block_given?
|
|
@@ -1145,6 +1150,14 @@ module Google
|
|
|
1145
1150
|
# * `labels.env:*` to find Cloud resources that have a label "env".
|
|
1146
1151
|
# * `kmsKey:key` to find Cloud resources encrypted with a customer-managed
|
|
1147
1152
|
# encryption key whose name contains the word "key".
|
|
1153
|
+
# * `relationships:instance-group-1` to find Cloud resources that have
|
|
1154
|
+
# relationships with "instance-group-1" in the related resource name.
|
|
1155
|
+
# * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that
|
|
1156
|
+
# have relationships of type "INSTANCE_TO_INSTANCEGROUP".
|
|
1157
|
+
# * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
|
|
1158
|
+
# compute instances that have relationships with "instance-group-1" in the
|
|
1159
|
+
# compute instance group resource name, for relationship type
|
|
1160
|
+
# "INSTANCE_TO_INSTANCEGROUP".
|
|
1148
1161
|
# * `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a
|
|
1149
1162
|
# word.
|
|
1150
1163
|
# * `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain
|
|
@@ -1358,8 +1371,8 @@ module Google
|
|
|
1358
1371
|
# compared against each Cloud IAM policy binding, including its principals,
|
|
1359
1372
|
# roles, and Cloud IAM conditions. The returned Cloud IAM policies will only
|
|
1360
1373
|
# contain the bindings that match your query. To learn more about the IAM
|
|
1361
|
-
# policy structure, see [IAM policy
|
|
1362
|
-
#
|
|
1374
|
+
# policy structure, see the [IAM policy
|
|
1375
|
+
# documentation](https://cloud.google.com/iam/help/allow-policies/structure).
|
|
1363
1376
|
#
|
|
1364
1377
|
# Examples:
|
|
1365
1378
|
#
|
|
@@ -649,6 +649,14 @@ module Google
|
|
|
649
649
|
# * `labels.env:*` to find Cloud resources that have a label "env".
|
|
650
650
|
# * `kmsKey:key` to find Cloud resources encrypted with a customer-managed
|
|
651
651
|
# encryption key whose name contains the word "key".
|
|
652
|
+
# * `relationships:instance-group-1` to find Cloud resources that have
|
|
653
|
+
# relationships with "instance-group-1" in the related resource name.
|
|
654
|
+
# * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that
|
|
655
|
+
# have relationships of type "INSTANCE_TO_INSTANCEGROUP".
|
|
656
|
+
# * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
|
|
657
|
+
# compute instances that have relationships with "instance-group-1" in the
|
|
658
|
+
# compute instance group resource name, for relationship type
|
|
659
|
+
# "INSTANCE_TO_INSTANCEGROUP".
|
|
652
660
|
# * `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a
|
|
653
661
|
# word.
|
|
654
662
|
# * `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain
|
|
@@ -797,8 +805,8 @@ module Google
|
|
|
797
805
|
# compared against each Cloud IAM policy binding, including its principals,
|
|
798
806
|
# roles, and Cloud IAM conditions. The returned Cloud IAM policies will only
|
|
799
807
|
# contain the bindings that match your query. To learn more about the IAM
|
|
800
|
-
# policy structure, see [IAM policy
|
|
801
|
-
#
|
|
808
|
+
# policy structure, see the [IAM policy
|
|
809
|
+
# documentation](https://cloud.google.com/iam/help/allow-policies/structure).
|
|
802
810
|
#
|
|
803
811
|
# Examples:
|
|
804
812
|
#
|
|
@@ -115,8 +115,8 @@ module Google
|
|
|
115
115
|
# effectively policy is the union of both the policy set on this resource
|
|
116
116
|
# and each policy set on all of the resource's ancestry resource levels in
|
|
117
117
|
# the hierarchy. See
|
|
118
|
-
# [this topic](https://cloud.google.com/iam/
|
|
119
|
-
# more information.
|
|
118
|
+
# [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
|
|
119
|
+
# for more information.
|
|
120
120
|
# @!attribute [rw] org_policy
|
|
121
121
|
# @return [::Array<::Google::Cloud::OrgPolicy::V1::Policy>]
|
|
122
122
|
# A representation of an [organization
|
|
@@ -297,6 +297,7 @@ module Google
|
|
|
297
297
|
end
|
|
298
298
|
|
|
299
299
|
# A result of Resource Search, containing information of a cloud resource.
|
|
300
|
+
# Next ID: 29
|
|
300
301
|
# @!attribute [rw] name
|
|
301
302
|
# @return [::String]
|
|
302
303
|
# The full resource name of this resource. Example:
|
|
@@ -26,8 +26,6 @@ module Google
|
|
|
26
26
|
# service Foo {
|
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
28
28
|
# }
|
|
29
|
-
#
|
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
|
31
29
|
class Empty
|
|
32
30
|
include ::Google::Protobuf::MessageExts
|
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-asset-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.20.
|
|
4
|
+
version: 0.20.1
|
|
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-
|
|
11
|
+
date: 2022-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|