google-apis-cloudasset_v1 0.72.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: 2de0f949ddaf521fcda7fb7ea3a5087c9d4a2be1e3511820840479a51133c306
4
- data.tar.gz: 0beed4ced23ee25e47d2b9203fb19242222a63b4e9c8e4e60a490922a4682606
3
+ metadata.gz: 30c67aa520f328e2e3e6c1153c670e6cd6b7ca11584d7bec4f9290edb62b9c30
4
+ data.tar.gz: 9eddcbc84b03a166cb35357cce175837015bce3ff31c7a85fcceae69c7327f07
5
5
  SHA512:
6
- metadata.gz: 2f44748353d2cdcc89061b07f710020a954275b64e0d4a0ecb84ec863f50b7a47b66bec40adf6b8aede72f96f1ea4f26db716ee5f78b6eb8c3e581174c7c28f1
7
- data.tar.gz: c86efd3ae410b776b226f0eee2f1f24fe4932710e2784812e28a1151960289cd9ebcddd6edda2e871d347a0d64bfbe3e23cc08af9e836057c970e2814e091300
6
+ metadata.gz: 2dc19917ab8b9361c5c32fd3a6f0755e833f6fba8e1923e592540c2fb0c1f6a04192b39f9730b2655c6691f4ee9373d8c97c6884c4207ca999d22031f2a8c1f7
7
+ data.tar.gz: bba02a58e329008c1a49513849b8441e3cbbabfac122842582f7c8489bed788192a8857fe877706374a7b6f1f3c9e187f6b22406dfb340b6ed613d91b5664de5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudasset_v1
2
2
 
3
+ ### v0.74.0 (2024-02-04)
4
+
5
+ * Regenerated from discovery document revision 20240126
6
+
7
+ ### v0.73.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240119
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.72.0 (2024-01-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20240105
@@ -823,7 +823,10 @@ module Google
823
823
  attr_accessor :members
824
824
 
825
825
  # Role that is assigned to the list of `members`, or principals. For example, `
826
- # roles/viewer`, `roles/editor`, or `roles/owner`.
826
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
827
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
828
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
829
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
827
830
  # Corresponds to the JSON property `role`
828
831
  # @return [String]
829
832
  attr_accessor :role
@@ -1470,6 +1473,14 @@ module Google
1470
1473
  class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedIamPolicy
1471
1474
  include Google::Apis::Core::Hashable
1472
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
+
1473
1484
  # The full resource name of the resource on which this IAM policy is set.
1474
1485
  # Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
1475
1486
  # instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://
@@ -1537,6 +1548,7 @@ module Google
1537
1548
 
1538
1549
  # Update properties of this object
1539
1550
  def update!(**args)
1551
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
1540
1552
  @attached_resource = args[:attached_resource] if args.key?(:attached_resource)
1541
1553
  @folders = args[:folders] if args.key?(:folders)
1542
1554
  @organization = args[:organization] if args.key?(:organization)
@@ -1550,6 +1562,19 @@ module Google
1550
1562
  class GoogleCloudAssetV1AnalyzeOrgPolicyGovernedAssetsResponseGovernedResource
1551
1563
  include Google::Apis::Core::Hashable
1552
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
+
1553
1578
  # The folder(s) that this resource belongs to, in the format of folders/`
1554
1579
  # FOLDER_NUMBER`. This field is available when the resource belongs (directly or
1555
1580
  # cascadingly) to one or more folders.
@@ -1590,6 +1615,8 @@ module Google
1590
1615
 
1591
1616
  # Update properties of this object
1592
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)
1593
1620
  @folders = args[:folders] if args.key?(:folders)
1594
1621
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
1595
1622
  @organization = args[:organization] if args.key?(:organization)
@@ -1843,12 +1870,31 @@ module Google
1843
1870
  # @return [Google::Apis::CloudassetV1::AnalyzerOrgPolicy]
1844
1871
  attr_accessor :consolidated_policy
1845
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
+
1846
1885
  # The [full resource name] (https://cloud.google.com/asset-inventory/docs/
1847
1886
  # resource-name-format) of an organization/folder/project resource.
1848
1887
  # Corresponds to the JSON property `fullResourceName`
1849
1888
  # @return [String]
1850
1889
  attr_accessor :full_resource_name
1851
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
+
1852
1898
  # The [full resource name] (https://cloud.google.com/asset-inventory/docs/
1853
1899
  # resource-name-format) of the parent of
1854
1900
  # AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.
@@ -1865,6 +1911,13 @@ module Google
1865
1911
  # @return [Array<Google::Apis::CloudassetV1::AnalyzerOrgPolicy>]
1866
1912
  attr_accessor :policy_bundle
1867
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
+
1868
1921
  def initialize(**args)
1869
1922
  update!(**args)
1870
1923
  end
@@ -1872,9 +1925,13 @@ module Google
1872
1925
  # Update properties of this object
1873
1926
  def update!(**args)
1874
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)
1875
1930
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
1931
+ @organization = args[:organization] if args.key?(:organization)
1876
1932
  @parent = args[:parent] if args.key?(:parent)
1877
1933
  @policy_bundle = args[:policy_bundle] if args.key?(:policy_bundle)
1934
+ @project = args[:project] if args.key?(:project)
1878
1935
  end
1879
1936
  end
1880
1937
 
@@ -2070,6 +2127,11 @@ module Google
2070
2127
  # @return [Google::Apis::CloudassetV1::Expr]
2071
2128
  attr_accessor :condition
2072
2129
 
2130
+ # The Condition evaluation.
2131
+ # Corresponds to the JSON property `conditionEvaluation`
2132
+ # @return [Google::Apis::CloudassetV1::ConditionEvaluation]
2133
+ attr_accessor :condition_evaluation
2134
+
2073
2135
  # Setting this to true means that all values are denied. This field can be set
2074
2136
  # only in Policies for list constraints.
2075
2137
  # Corresponds to the JSON property `denyAll`
@@ -2097,6 +2159,7 @@ module Google
2097
2159
  def update!(**args)
2098
2160
  @allow_all = args[:allow_all] if args.key?(:allow_all)
2099
2161
  @condition = args[:condition] if args.key?(:condition)
2162
+ @condition_evaluation = args[:condition_evaluation] if args.key?(:condition_evaluation)
2100
2163
  @deny_all = args[:deny_all] if args.key?(:deny_all)
2101
2164
  @enforce = args[:enforce] if args.key?(:enforce)
2102
2165
  @values = args[:values] if args.key?(:values)
@@ -3082,9 +3145,8 @@ module Google
3082
3145
  class GoogleIdentityAccesscontextmanagerV1EgressFrom
3083
3146
  include Google::Apis::Core::Hashable
3084
3147
 
3085
- # A list of identities that are allowed access through this [EgressPolicy].
3086
- # Should be in the format of email address. The email address should represent
3087
- # 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``.
3088
3150
  # Corresponds to the JSON property `identities`
3089
3151
  # @return [Array<String>]
3090
3152
  attr_accessor :identities
@@ -3250,9 +3312,8 @@ module Google
3250
3312
  class GoogleIdentityAccesscontextmanagerV1IngressFrom
3251
3313
  include Google::Apis::Core::Hashable
3252
3314
 
3253
- # A list of identities that are allowed access through this ingress policy.
3254
- # Should be in the format of email address. The email address should represent
3255
- # 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``.
3256
3317
  # Corresponds to the JSON property `identities`
3257
3318
  # @return [Array<String>]
3258
3319
  attr_accessor :identities
@@ -4455,6 +4516,20 @@ module Google
4455
4516
  # @return [Google::Apis::CloudassetV1::AnalyzerOrgPolicy]
4456
4517
  attr_accessor :consolidated_policy
4457
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
+
4458
4533
  # The ordered list of all organization policies from the
4459
4534
  # AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.
4460
4535
  # attached_resource. to the scope specified in the request. If the constraint is
@@ -4463,6 +4538,13 @@ module Google
4463
4538
  # @return [Array<Google::Apis::CloudassetV1::AnalyzerOrgPolicy>]
4464
4539
  attr_accessor :policy_bundle
4465
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
+
4466
4548
  def initialize(**args)
4467
4549
  update!(**args)
4468
4550
  end
@@ -4470,7 +4552,10 @@ module Google
4470
4552
  # Update properties of this object
4471
4553
  def update!(**args)
4472
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)
4473
4557
  @policy_bundle = args[:policy_bundle] if args.key?(:policy_bundle)
4558
+ @project = args[:project] if args.key?(:project)
4474
4559
  end
4475
4560
  end
4476
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.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240105"
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 10 canned constraints: * storage.uniformBucketLevelAccess * iam.
886
- # disableServiceAccountKeyCreation * iam.allowedPolicyMemberDomains * compute.
887
- # vmExternalIpAccess * appengine.enforceServiceAccountActAsCheck * gcp.
888
- # resourceLocations * compute.trustedImageProjects * compute.
889
- # skipDefaultNetworkCreation * compute.requireOsLogin * compute.
890
- # disableNestedVirtualization This RPC only returns either resources of types [
891
- # supported by search APIs](https://cloud.google.com/asset-inventory/docs/
892
- # supported-asset-types) or IAM policies.
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.72.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-01-23 00:00:00.000000000 Z
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.72.0
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: []