google-apis-cloudasset_v1 0.21.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudasset_v1/classes.rb +25 -5
- data/lib/google/apis/cloudasset_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudasset_v1/representations.rb +1 -0
- data/lib/google/apis/cloudasset_v1/service.rb +8 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20600d9b72c1bb9604dcd2dbe760f1b0b66c8fa0b6badd15883753ae6e2d8a04
|
4
|
+
data.tar.gz: 0f0884f4f8ade430b4a73b41acc2e85b0775cbd518165e0b25d3ff1bd014b4bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f482450fd27689283085b33bb4a66dd4638bbf6907cdd5f4588f8feb621df5c1044e6fca7bef3d827d3241e6706eade3eddf089524c268125b1d35b619d820d1
|
7
|
+
data.tar.gz: a75f3850f761a4e1a290773a8035103161f749f423622d614558552daeba1bab8dde2f44239f4014ccef59ae987eafc6edaf6f0c0a8112bf89c058f157b4164f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1
|
2
2
|
|
3
|
+
### v0.25.0 (2022-01-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220114
|
6
|
+
|
7
|
+
### v0.24.0 (2022-01-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220110
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.23.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.22.0 (2021-12-02)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211125
|
19
|
+
|
3
20
|
### v0.21.0 (2021-11-10)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211105
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudasset_v1"
|
|
51
51
|
client = Google::Apis::CloudassetV1::CloudAssetService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
class AnalyzeIamPolicyLongrunningRequest
|
75
75
|
include Google::Apis::Core::Hashable
|
76
76
|
|
77
|
-
#
|
77
|
+
# IAM policy analysis query message.
|
78
78
|
# Corresponds to the JSON property `analysisQuery`
|
79
79
|
# @return [Google::Apis::CloudassetV1::IamPolicyAnalysisQuery]
|
80
80
|
attr_accessor :analysis_query
|
@@ -1970,6 +1970,21 @@ module Google
|
|
1970
1970
|
# @return [String]
|
1971
1971
|
attr_accessor :parent
|
1972
1972
|
|
1973
|
+
# The scopes of a policy define which resources an ACM policy can restrict, and
|
1974
|
+
# where ACM resources can be referenced. For example, a policy with scopes=["
|
1975
|
+
# folders/123"] has the following behavior: - vpcsc perimeters can only restrict
|
1976
|
+
# projects within folders/123 - access levels can only be referenced by
|
1977
|
+
# resources within folders/123. If empty, there are no limitations on which
|
1978
|
+
# resources can be restricted by an ACM policy, and there are no limitations on
|
1979
|
+
# where ACM resources can be referenced. Only one policy can include a given
|
1980
|
+
# scope (attempting to create a second policy which includes "folders/123" will
|
1981
|
+
# result in an error). Currently, scopes cannot be modified after a policy is
|
1982
|
+
# created. Currently, policies can only have a single scope. Format: list of `
|
1983
|
+
# folders/`folder_number`` or `projects/`project_number``
|
1984
|
+
# Corresponds to the JSON property `scopes`
|
1985
|
+
# @return [Array<String>]
|
1986
|
+
attr_accessor :scopes
|
1987
|
+
|
1973
1988
|
# Required. Human readable title. Does not affect behavior.
|
1974
1989
|
# Corresponds to the JSON property `title`
|
1975
1990
|
# @return [String]
|
@@ -1984,6 +1999,7 @@ module Google
|
|
1984
1999
|
@etag = args[:etag] if args.key?(:etag)
|
1985
2000
|
@name = args[:name] if args.key?(:name)
|
1986
2001
|
@parent = args[:parent] if args.key?(:parent)
|
2002
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1987
2003
|
@title = args[:title] if args.key?(:title)
|
1988
2004
|
end
|
1989
2005
|
end
|
@@ -2722,7 +2738,7 @@ module Google
|
|
2722
2738
|
class IamPolicyAnalysis
|
2723
2739
|
include Google::Apis::Core::Hashable
|
2724
2740
|
|
2725
|
-
#
|
2741
|
+
# IAM policy analysis query message.
|
2726
2742
|
# Corresponds to the JSON property `analysisQuery`
|
2727
2743
|
# @return [Google::Apis::CloudassetV1::IamPolicyAnalysisQuery]
|
2728
2744
|
attr_accessor :analysis_query
|
@@ -2783,7 +2799,7 @@ module Google
|
|
2783
2799
|
end
|
2784
2800
|
end
|
2785
2801
|
|
2786
|
-
#
|
2802
|
+
# IAM policy analysis query message.
|
2787
2803
|
class IamPolicyAnalysisQuery
|
2788
2804
|
include Google::Apis::Core::Hashable
|
2789
2805
|
|
@@ -3394,7 +3410,11 @@ module Google
|
|
3394
3410
|
# service account SA has permission P to the GCP folder F, then user A
|
3395
3411
|
# potentially has access to the GCP folder F. And those advanced analysis
|
3396
3412
|
# results will be included in AnalyzeIamPolicyResponse.
|
3397
|
-
# service_account_impersonation_analysis.
|
3413
|
+
# service_account_impersonation_analysis. Only the following permissions are
|
3414
|
+
# considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.
|
3415
|
+
# serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.
|
3416
|
+
# serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.
|
3417
|
+
# serviceAccounts.implicitDelegation` Default is false.
|
3398
3418
|
# Corresponds to the JSON property `analyzeServiceAccountImpersonation`
|
3399
3419
|
# @return [Boolean]
|
3400
3420
|
attr_accessor :analyze_service_account_impersonation
|
@@ -3711,7 +3731,7 @@ module Google
|
|
3711
3731
|
class QueryContent
|
3712
3732
|
include Google::Apis::Core::Hashable
|
3713
3733
|
|
3714
|
-
#
|
3734
|
+
# IAM policy analysis query message.
|
3715
3735
|
# Corresponds to the JSON property `iamPolicyAnalysisQuery`
|
3716
3736
|
# @return [Google::Apis::CloudassetV1::IamPolicyAnalysisQuery]
|
3717
3737
|
attr_accessor :iam_policy_analysis_query
|
@@ -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.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220114"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -54,8 +54,9 @@ module Google
|
|
54
54
|
# @param [String] parent
|
55
55
|
# Required. Name of the organization or project the assets belong to. Format: "
|
56
56
|
# organizations/[organization-number]" (such as "organizations/123"), "projects/[
|
57
|
-
# project-id]" (such as "projects/my-project-id"),
|
58
|
-
#
|
57
|
+
# project-id]" (such as "projects/my-project-id"), "projects/[project-number]" (
|
58
|
+
# such as "projects/12345"), or "folders/[folder-number]" (such as "folders/
|
59
|
+
# 12345").
|
59
60
|
# @param [Array<String>, String] asset_types
|
60
61
|
# A list of asset types to take a snapshot for. For example: "compute.googleapis.
|
61
62
|
# com/Disk". Regular expression is also supported. For example: * "compute.
|
@@ -575,7 +576,11 @@ module Google
|
|
575
576
|
# service account SA has permission P to the GCP folder F, then user A
|
576
577
|
# potentially has access to the GCP folder F. And those advanced analysis
|
577
578
|
# results will be included in AnalyzeIamPolicyResponse.
|
578
|
-
# service_account_impersonation_analysis.
|
579
|
+
# service_account_impersonation_analysis. Only the following permissions are
|
580
|
+
# considered in this analysis: * `iam.serviceAccounts.actAs` * `iam.
|
581
|
+
# serviceAccounts.signBlob` * `iam.serviceAccounts.signJwt` * `iam.
|
582
|
+
# serviceAccounts.getAccessToken` * `iam.serviceAccounts.getOpenIdToken` * `iam.
|
583
|
+
# serviceAccounts.implicitDelegation` Default is false.
|
579
584
|
# @param [Boolean] analysis_query_options_expand_groups
|
580
585
|
# Optional. If true, the identities section of the result will expand any Google
|
581
586
|
# groups appearing in an IAM policy binding. If IamPolicyAnalysisQuery.
|
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.25.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:
|
11
|
+
date: 2022-01-24 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.25.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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Asset API V1
|