google-apis-cloudasset_v1 0.73.0 → 0.74.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30c67aa520f328e2e3e6c1153c670e6cd6b7ca11584d7bec4f9290edb62b9c30
|
4
|
+
data.tar.gz: 9eddcbc84b03a166cb35357cce175837015bce3ff31c7a85fcceae69c7327f07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dc19917ab8b9361c5c32fd3a6f0755e833f6fba8e1923e592540c2fb0c1f6a04192b39f9730b2655c6691f4ee9373d8c97c6884c4207ca999d22031f2a8c1f7
|
7
|
+
data.tar.gz: bba02a58e329008c1a49513849b8441e3cbbabfac122842582f7c8489bed788192a8857fe877706374a7b6f1f3c9e187f6b22406dfb340b6ed613d91b5664de5
|
data/CHANGELOG.md
CHANGED
@@ -1473,6 +1473,14 @@ module Google
|
|
1473
1473
|
class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy
|
1474
1474
|
include Google::Apis::Core::Hashable
|
1475
1475
|
|
1476
|
+
# The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.
|
1477
|
+
# attached_resource. Example: `cloudresourcemanager.googleapis.com/Project` See [
|
1478
|
+
# Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-
|
1479
|
+
# inventory/docs/supported-asset-types) for all supported asset types.
|
1480
|
+
# Corresponds to the JSON property `assetType`
|
1481
|
+
# @return [String]
|
1482
|
+
attr_accessor :asset_type
|
1483
|
+
|
1476
1484
|
# The full resource name of the resource on which this IAM policy is set.
|
1477
1485
|
# Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
|
1478
1486
|
# instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://
|
@@ -1540,6 +1548,7 @@ module Google
|
|
1540
1548
|
|
1541
1549
|
# Update properties of this object
|
1542
1550
|
def update!(**args)
|
1551
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
1543
1552
|
@attached_resource = args[:attached_resource] if args.key?(:attached_resource)
|
1544
1553
|
@folders = args[:folders] if args.key?(:folders)
|
1545
1554
|
@organization = args[:organization] if args.key?(:organization)
|
@@ -1553,6 +1562,19 @@ module Google
|
|
1553
1562
|
class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
|
1554
1563
|
include Google::Apis::Core::Hashable
|
1555
1564
|
|
1565
|
+
# The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.
|
1566
|
+
# full_resource_name Example: `cloudresourcemanager.googleapis.com/Project` See [
|
1567
|
+
# Cloud Asset Inventory Supported Asset Types](https://cloud.google.com/asset-
|
1568
|
+
# inventory/docs/supported-asset-types) for all supported asset types.
|
1569
|
+
# Corresponds to the JSON property `assetType`
|
1570
|
+
# @return [String]
|
1571
|
+
attr_accessor :asset_type
|
1572
|
+
|
1573
|
+
# The effective tags on this resource.
|
1574
|
+
# Corresponds to the JSON property `effectiveTags`
|
1575
|
+
# @return [Array<Google::Apis::CloudassetV1::EffectiveTagDetails>]
|
1576
|
+
attr_accessor :effective_tags
|
1577
|
+
|
1556
1578
|
# The folder(s) that this resource belongs to, in the format of folders/`
|
1557
1579
|
# FOLDER_NUMBER`. This field is available when the resource belongs (directly or
|
1558
1580
|
# cascadingly) to one or more folders.
|
@@ -1593,6 +1615,8 @@ module Google
|
|
1593
1615
|
|
1594
1616
|
# Update properties of this object
|
1595
1617
|
def update!(**args)
|
1618
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
1619
|
+
@effective_tags = args[:effective_tags] if args.key?(:effective_tags)
|
1596
1620
|
@folders = args[:folders] if args.key?(:folders)
|
1597
1621
|
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
|
1598
1622
|
@organization = args[:organization] if args.key?(:organization)
|
@@ -1846,12 +1870,31 @@ module Google
|
|
1846
1870
|
# @return [Google::Apis::CloudassetV1::AnalyzerOrgPolicy]
|
1847
1871
|
attr_accessor :consolidated_policy
|
1848
1872
|
|
1873
|
+
# The effective tags on this resource.
|
1874
|
+
# Corresponds to the JSON property `effectiveTags`
|
1875
|
+
# @return [Array<Google::Apis::CloudassetV1::EffectiveTagDetails>]
|
1876
|
+
attr_accessor :effective_tags
|
1877
|
+
|
1878
|
+
# The folder(s) that this resource belongs to, in the format of folders/`
|
1879
|
+
# FOLDER_NUMBER`. This field is available when the resource belongs (directly or
|
1880
|
+
# cascadingly) to one or more folders.
|
1881
|
+
# Corresponds to the JSON property `folders`
|
1882
|
+
# @return [Array<String>]
|
1883
|
+
attr_accessor :folders
|
1884
|
+
|
1849
1885
|
# The [full resource name] (https://cloud.google.com/asset-inventory/docs/
|
1850
1886
|
# resource-name-format) of an organization/folder/project resource.
|
1851
1887
|
# Corresponds to the JSON property `fullResourceName`
|
1852
1888
|
# @return [String]
|
1853
1889
|
attr_accessor :full_resource_name
|
1854
1890
|
|
1891
|
+
# The organization that this resource belongs to, in the format of organizations/
|
1892
|
+
# `ORGANIZATION_NUMBER`. This field is available when the resource belongs (
|
1893
|
+
# directly or cascadingly) to an organization.
|
1894
|
+
# Corresponds to the JSON property `organization`
|
1895
|
+
# @return [String]
|
1896
|
+
attr_accessor :organization
|
1897
|
+
|
1855
1898
|
# The [full resource name] (https://cloud.google.com/asset-inventory/docs/
|
1856
1899
|
# resource-name-format) of the parent of
|
1857
1900
|
# AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.
|
@@ -1868,6 +1911,13 @@ module Google
|
|
1868
1911
|
# @return [Array<Google::Apis::CloudassetV1::AnalyzerOrgPolicy>]
|
1869
1912
|
attr_accessor :policy_bundle
|
1870
1913
|
|
1914
|
+
# The project that this resource belongs to, in the format of projects/`
|
1915
|
+
# PROJECT_NUMBER`. This field is available when the resource belongs to a
|
1916
|
+
# project.
|
1917
|
+
# Corresponds to the JSON property `project`
|
1918
|
+
# @return [String]
|
1919
|
+
attr_accessor :project
|
1920
|
+
|
1871
1921
|
def initialize(**args)
|
1872
1922
|
update!(**args)
|
1873
1923
|
end
|
@@ -1875,9 +1925,13 @@ module Google
|
|
1875
1925
|
# Update properties of this object
|
1876
1926
|
def update!(**args)
|
1877
1927
|
@consolidated_policy = args[:consolidated_policy] if args.key?(:consolidated_policy)
|
1928
|
+
@effective_tags = args[:effective_tags] if args.key?(:effective_tags)
|
1929
|
+
@folders = args[:folders] if args.key?(:folders)
|
1878
1930
|
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
|
1931
|
+
@organization = args[:organization] if args.key?(:organization)
|
1879
1932
|
@parent = args[:parent] if args.key?(:parent)
|
1880
1933
|
@policy_bundle = args[:policy_bundle] if args.key?(:policy_bundle)
|
1934
|
+
@project = args[:project] if args.key?(:project)
|
1881
1935
|
end
|
1882
1936
|
end
|
1883
1937
|
|
@@ -2073,6 +2127,11 @@ module Google
|
|
2073
2127
|
# @return [Google::Apis::CloudassetV1::Expr]
|
2074
2128
|
attr_accessor :condition
|
2075
2129
|
|
2130
|
+
# The Condition evaluation.
|
2131
|
+
# Corresponds to the JSON property `conditionEvaluation`
|
2132
|
+
# @return [Google::Apis::CloudassetV1::ConditionEvaluation]
|
2133
|
+
attr_accessor :condition_evaluation
|
2134
|
+
|
2076
2135
|
# Setting this to true means that all values are denied. This field can be set
|
2077
2136
|
# only in Policies for list constraints.
|
2078
2137
|
# Corresponds to the JSON property `denyAll`
|
@@ -2100,6 +2159,7 @@ module Google
|
|
2100
2159
|
def update!(**args)
|
2101
2160
|
@allow_all = args[:allow_all] if args.key?(:allow_all)
|
2102
2161
|
@condition = args[:condition] if args.key?(:condition)
|
2162
|
+
@condition_evaluation = args[:condition_evaluation] if args.key?(:condition_evaluation)
|
2103
2163
|
@deny_all = args[:deny_all] if args.key?(:deny_all)
|
2104
2164
|
@enforce = args[:enforce] if args.key?(:enforce)
|
2105
2165
|
@values = args[:values] if args.key?(:values)
|
@@ -3085,9 +3145,8 @@ module Google
|
|
3085
3145
|
class GoogleIdentityAccesscontextmanagerV1EgressFrom
|
3086
3146
|
include Google::Apis::Core::Hashable
|
3087
3147
|
|
3088
|
-
# A list of identities that are allowed access through this [EgressPolicy]
|
3089
|
-
#
|
3090
|
-
# individual user or service account only.
|
3148
|
+
# A list of identities that are allowed access through this [EgressPolicy], in
|
3149
|
+
# the format of `user:`email_id`` or `serviceAccount:`email_id``.
|
3091
3150
|
# Corresponds to the JSON property `identities`
|
3092
3151
|
# @return [Array<String>]
|
3093
3152
|
attr_accessor :identities
|
@@ -3253,9 +3312,8 @@ module Google
|
|
3253
3312
|
class GoogleIdentityAccesscontextmanagerV1IngressFrom
|
3254
3313
|
include Google::Apis::Core::Hashable
|
3255
3314
|
|
3256
|
-
# A list of identities that are allowed access through this ingress policy
|
3257
|
-
#
|
3258
|
-
# individual user or service account only.
|
3315
|
+
# A list of identities that are allowed access through this ingress policy, in
|
3316
|
+
# the format of `user:`email_id`` or `serviceAccount:`email_id``.
|
3259
3317
|
# Corresponds to the JSON property `identities`
|
3260
3318
|
# @return [Array<String>]
|
3261
3319
|
attr_accessor :identities
|
@@ -4458,6 +4516,20 @@ module Google
|
|
4458
4516
|
# @return [Google::Apis::CloudassetV1::AnalyzerOrgPolicy]
|
4459
4517
|
attr_accessor :consolidated_policy
|
4460
4518
|
|
4519
|
+
# The folder(s) that this consolidated policy belongs to, in the format of
|
4520
|
+
# folders/`FOLDER_NUMBER`. This field is available when the consolidated policy
|
4521
|
+
# belongs (directly or cascadingly) to one or more folders.
|
4522
|
+
# Corresponds to the JSON property `folders`
|
4523
|
+
# @return [Array<String>]
|
4524
|
+
attr_accessor :folders
|
4525
|
+
|
4526
|
+
# The organization that this consolidated policy belongs to, in the format of
|
4527
|
+
# organizations/`ORGANIZATION_NUMBER`. This field is available when the
|
4528
|
+
# consolidated policy belongs (directly or cascadingly) to an organization.
|
4529
|
+
# Corresponds to the JSON property `organization`
|
4530
|
+
# @return [String]
|
4531
|
+
attr_accessor :organization
|
4532
|
+
|
4461
4533
|
# The ordered list of all organization policies from the
|
4462
4534
|
# AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.
|
4463
4535
|
# attached_resource. to the scope specified in the request. If the constraint is
|
@@ -4466,6 +4538,13 @@ module Google
|
|
4466
4538
|
# @return [Array<Google::Apis::CloudassetV1::AnalyzerOrgPolicy>]
|
4467
4539
|
attr_accessor :policy_bundle
|
4468
4540
|
|
4541
|
+
# The project that this consolidated policy belongs to, in the format of
|
4542
|
+
# projects/`PROJECT_NUMBER`. This field is available when the consolidated
|
4543
|
+
# policy belongs to a project.
|
4544
|
+
# Corresponds to the JSON property `project`
|
4545
|
+
# @return [String]
|
4546
|
+
attr_accessor :project
|
4547
|
+
|
4469
4548
|
def initialize(**args)
|
4470
4549
|
update!(**args)
|
4471
4550
|
end
|
@@ -4473,7 +4552,10 @@ module Google
|
|
4473
4552
|
# Update properties of this object
|
4474
4553
|
def update!(**args)
|
4475
4554
|
@consolidated_policy = args[:consolidated_policy] if args.key?(:consolidated_policy)
|
4555
|
+
@folders = args[:folders] if args.key?(:folders)
|
4556
|
+
@organization = args[:organization] if args.key?(:organization)
|
4476
4557
|
@policy_bundle = args[:policy_bundle] if args.key?(:policy_bundle)
|
4558
|
+
@project = args[:project] if args.key?(:project)
|
4477
4559
|
end
|
4478
4560
|
end
|
4479
4561
|
|
@@ -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.74.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240126"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1206,6 +1206,7 @@ module Google
|
|
1206
1206
|
class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy
|
1207
1207
|
# @private
|
1208
1208
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1209
|
+
property :asset_type, as: 'assetType'
|
1209
1210
|
property :attached_resource, as: 'attachedResource'
|
1210
1211
|
collection :folders, as: 'folders'
|
1211
1212
|
property :organization, as: 'organization'
|
@@ -1218,6 +1219,9 @@ module Google
|
|
1218
1219
|
class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
|
1219
1220
|
# @private
|
1220
1221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1222
|
+
property :asset_type, as: 'assetType'
|
1223
|
+
collection :effective_tags, as: 'effectiveTags', class: Google::Apis::CloudassetV1::EffectiveTagDetails, decorator: Google::Apis::CloudassetV1::EffectiveTagDetails::Representation
|
1224
|
+
|
1221
1225
|
collection :folders, as: 'folders'
|
1222
1226
|
property :full_resource_name, as: 'fullResourceName'
|
1223
1227
|
property :organization, as: 'organization'
|
@@ -1289,10 +1293,15 @@ module Google
|
|
1289
1293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1290
1294
|
property :consolidated_policy, as: 'consolidatedPolicy', class: Google::Apis::CloudassetV1::AnalyzerOrgPolicy, decorator: Google::Apis::CloudassetV1::AnalyzerOrgPolicy::Representation
|
1291
1295
|
|
1296
|
+
collection :effective_tags, as: 'effectiveTags', class: Google::Apis::CloudassetV1::EffectiveTagDetails, decorator: Google::Apis::CloudassetV1::EffectiveTagDetails::Representation
|
1297
|
+
|
1298
|
+
collection :folders, as: 'folders'
|
1292
1299
|
property :full_resource_name, as: 'fullResourceName'
|
1300
|
+
property :organization, as: 'organization'
|
1293
1301
|
property :parent, as: 'parent'
|
1294
1302
|
collection :policy_bundle, as: 'policyBundle', class: Google::Apis::CloudassetV1::AnalyzerOrgPolicy, decorator: Google::Apis::CloudassetV1::AnalyzerOrgPolicy::Representation
|
1295
1303
|
|
1304
|
+
property :project, as: 'project'
|
1296
1305
|
end
|
1297
1306
|
end
|
1298
1307
|
|
@@ -1347,6 +1356,8 @@ module Google
|
|
1347
1356
|
property :allow_all, as: 'allowAll'
|
1348
1357
|
property :condition, as: 'condition', class: Google::Apis::CloudassetV1::Expr, decorator: Google::Apis::CloudassetV1::Expr::Representation
|
1349
1358
|
|
1359
|
+
property :condition_evaluation, as: 'conditionEvaluation', class: Google::Apis::CloudassetV1::ConditionEvaluation, decorator: Google::Apis::CloudassetV1::ConditionEvaluation::Representation
|
1360
|
+
|
1350
1361
|
property :deny_all, as: 'denyAll'
|
1351
1362
|
property :enforce, as: 'enforce'
|
1352
1363
|
property :values, as: 'values', class: Google::Apis::CloudassetV1::GoogleCloudAssetV1StringValues, decorator: Google::Apis::CloudassetV1::GoogleCloudAssetV1StringValues::Representation
|
@@ -1887,8 +1898,11 @@ module Google
|
|
1887
1898
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1888
1899
|
property :consolidated_policy, as: 'consolidatedPolicy', class: Google::Apis::CloudassetV1::AnalyzerOrgPolicy, decorator: Google::Apis::CloudassetV1::AnalyzerOrgPolicy::Representation
|
1889
1900
|
|
1901
|
+
collection :folders, as: 'folders'
|
1902
|
+
property :organization, as: 'organization'
|
1890
1903
|
collection :policy_bundle, as: 'policyBundle', class: Google::Apis::CloudassetV1::AnalyzerOrgPolicy, decorator: Google::Apis::CloudassetV1::AnalyzerOrgPolicy::Representation
|
1891
1904
|
|
1905
|
+
property :project, as: 'project'
|
1892
1906
|
end
|
1893
1907
|
end
|
1894
1908
|
|
@@ -882,14 +882,39 @@ module Google
|
|
882
882
|
|
883
883
|
# Analyzes organization policies governed assets (Google Cloud resources or
|
884
884
|
# policies) under a scope. This RPC supports custom constraints and the
|
885
|
-
# following
|
886
|
-
#
|
887
|
-
#
|
888
|
-
#
|
889
|
-
#
|
890
|
-
#
|
891
|
-
#
|
892
|
-
#
|
885
|
+
# following canned constraints: * constraints/ainotebooks.accessMode *
|
886
|
+
# constraints/ainotebooks.disableFileDownloads * constraints/ainotebooks.
|
887
|
+
# disableRootAccess * constraints/ainotebooks.disableTerminal * constraints/
|
888
|
+
# ainotebooks.environmentOptions * constraints/ainotebooks.
|
889
|
+
# requireAutoUpgradeSchedule * constraints/ainotebooks.restrictVpcNetworks *
|
890
|
+
# constraints/compute.disableGuestAttributesAccess * constraints/compute.
|
891
|
+
# disableInstanceDataAccessApis * constraints/compute.
|
892
|
+
# disableNestedVirtualization * constraints/compute.disableSerialPortAccess *
|
893
|
+
# constraints/compute.disableSerialPortLogging * constraints/compute.
|
894
|
+
# disableVpcExternalIpv6 * constraints/compute.requireOsLogin * constraints/
|
895
|
+
# compute.requireShieldedVm * constraints/compute.
|
896
|
+
# restrictLoadBalancerCreationForTypes * constraints/compute.
|
897
|
+
# restrictProtocolForwardingCreationForTypes * constraints/compute.
|
898
|
+
# restrictXpnProjectLienRemoval * constraints/compute.
|
899
|
+
# setNewProjectDefaultToZonalDNSOnly * constraints/compute.
|
900
|
+
# skipDefaultNetworkCreation * constraints/compute.trustedImageProjects *
|
901
|
+
# constraints/compute.vmCanIpForward * constraints/compute.vmExternalIpAccess *
|
902
|
+
# constraints/gcp.detailedAuditLoggingMode * constraints/gcp.resourceLocations *
|
903
|
+
# constraints/iam.allowedPolicyMemberDomains * constraints/iam.
|
904
|
+
# automaticIamGrantsForDefaultServiceAccounts * constraints/iam.
|
905
|
+
# disableServiceAccountCreation * constraints/iam.
|
906
|
+
# disableServiceAccountKeyCreation * constraints/iam.
|
907
|
+
# disableServiceAccountKeyUpload * constraints/iam.
|
908
|
+
# restrictCrossProjectServiceAccountLienRemoval * constraints/iam.
|
909
|
+
# serviceAccountKeyExpiryHours * constraints/resourcemanager.accessBoundaries *
|
910
|
+
# constraints/resourcemanager.allowedExportDestinations * constraints/sql.
|
911
|
+
# restrictAuthorizedNetworks * constraints/sql.
|
912
|
+
# restrictNoncompliantDiagnosticDataAccess * constraints/sql.
|
913
|
+
# restrictNoncompliantResourceCreation * constraints/sql.restrictPublicIp *
|
914
|
+
# constraints/storage.publicAccessPrevention * constraints/storage.
|
915
|
+
# restrictAuthTypes * constraints/storage.uniformBucketLevelAccess This RPC only
|
916
|
+
# returns either resources of types [supported by search APIs](https://cloud.
|
917
|
+
# google.com/asset-inventory/docs/supported-asset-types) or IAM policies.
|
893
918
|
# @param [String] scope
|
894
919
|
# Required. The organization to scope the request. Only organization policies
|
895
920
|
# within the scope will be analyzed. The output assets will also be limited to
|
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.74.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: 2024-
|
11
|
+
date: 2024-02-04 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.74.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: []
|