google-apis-cloudasset_v1 0.3.0 → 0.4.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: d32094b60417d5b0be65ca6ede4506106897899799b74c9738301f578f577a59
|
4
|
+
data.tar.gz: 501c92c0fb7a189714022498d11270df22d6a526c6dd29866cfaf3969a312c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 981c1be1d5940d37ae20449aa5d9816fc1cf32067469f18b232372a8693c0cf861ae6d2fc74f33977c557cc370ddcbc7f0716a21f6d729635dcf20755f188c12
|
7
|
+
data.tar.gz: e8e54fc05a9f67ec270325f5d536053f083f42ac048c55747649b32dc2cee3c6da84758f20f0ff08d3d6a0bed1b367d0b90dd905b43e5801755cd55d43b67dbd
|
data/CHANGELOG.md
CHANGED
@@ -763,7 +763,9 @@ module Google
|
|
763
763
|
# The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
|
764
764
|
# Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
|
765
765
|
# Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
|
766
|
-
# more information.
|
766
|
+
# more information. If the specified Cloud Storage object already exists and
|
767
|
+
# there is no [hold](https://cloud.google.com/storage/docs/object-holds), it
|
768
|
+
# will be overwritten with the exported result.
|
767
769
|
# Corresponds to the JSON property `uri`
|
768
770
|
# @return [String]
|
769
771
|
attr_accessor :uri
|
@@ -954,9 +956,11 @@ module Google
|
|
954
956
|
include Google::Apis::Core::Hashable
|
955
957
|
|
956
958
|
# Required. The uri of the Cloud Storage object. It's the same uri that is used
|
957
|
-
# by gsutil.
|
958
|
-
#
|
959
|
-
#
|
959
|
+
# by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing
|
960
|
+
# Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-
|
961
|
+
# metadata) for more information. If the specified Cloud Storage object already
|
962
|
+
# exists and there is no [hold](https://cloud.google.com/storage/docs/object-
|
963
|
+
# holds), it will be overwritten with the analysis result.
|
960
964
|
# Corresponds to the JSON property `uri`
|
961
965
|
# @return [String]
|
962
966
|
attr_accessor :uri
|
@@ -1058,6 +1062,326 @@ module Google
|
|
1058
1062
|
end
|
1059
1063
|
end
|
1060
1064
|
|
1065
|
+
# An asset in Google Cloud. An asset can be any resource in the Google Cloud [
|
1066
|
+
# resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
|
1067
|
+
# platform-resource-hierarchy), a resource outside the Google Cloud resource
|
1068
|
+
# hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
|
1069
|
+
# (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
|
1070
|
+
# asset-inventory/docs/supported-asset-types) for more information.
|
1071
|
+
class GoogleCloudAssetV1p7beta1Asset
|
1072
|
+
include Google::Apis::Core::Hashable
|
1073
|
+
|
1074
|
+
# An `AccessLevel` is a label that can be applied to requests to Google Cloud
|
1075
|
+
# services, along with a list of requirements necessary for the label to be
|
1076
|
+
# applied.
|
1077
|
+
# Corresponds to the JSON property `accessLevel`
|
1078
|
+
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessLevel]
|
1079
|
+
attr_accessor :access_level
|
1080
|
+
|
1081
|
+
# `AccessPolicy` is a container for `AccessLevels` (which define the necessary
|
1082
|
+
# attributes to use Google Cloud services) and `ServicePerimeters` (which define
|
1083
|
+
# regions of services able to freely pass data within a perimeter). An access
|
1084
|
+
# policy is globally visible within an organization, and the restrictions it
|
1085
|
+
# specifies apply to all projects within an organization.
|
1086
|
+
# Corresponds to the JSON property `accessPolicy`
|
1087
|
+
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
|
1088
|
+
attr_accessor :access_policy
|
1089
|
+
|
1090
|
+
# The ancestry path of an asset in Google Cloud [resource hierarchy](https://
|
1091
|
+
# cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
|
1092
|
+
# represented as a list of relative resource names. An ancestry path starts with
|
1093
|
+
# the closest ancestor in the hierarchy and ends at root. If the asset is a
|
1094
|
+
# project, folder, or organization, the ancestry path starts from the asset
|
1095
|
+
# itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
|
1096
|
+
# Corresponds to the JSON property `ancestors`
|
1097
|
+
# @return [Array<String>]
|
1098
|
+
attr_accessor :ancestors
|
1099
|
+
|
1100
|
+
# The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
|
1101
|
+
# asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
|
1102
|
+
# types) for more information.
|
1103
|
+
# Corresponds to the JSON property `assetType`
|
1104
|
+
# @return [String]
|
1105
|
+
attr_accessor :asset_type
|
1106
|
+
|
1107
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1108
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1109
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1110
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1111
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1112
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1113
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1114
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1115
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1116
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1117
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1118
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1119
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1120
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1121
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1122
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1123
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1124
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1125
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1126
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1127
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1128
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1129
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1130
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1131
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1132
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1133
|
+
# google.com/iam/docs/).
|
1134
|
+
# Corresponds to the JSON property `iamPolicy`
|
1135
|
+
# @return [Google::Apis::CloudassetV1::Policy]
|
1136
|
+
attr_accessor :iam_policy
|
1137
|
+
|
1138
|
+
# The full name of the asset. Example: `//compute.googleapis.com/projects/
|
1139
|
+
# my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
|
1140
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name) for more
|
1141
|
+
# information.
|
1142
|
+
# Corresponds to the JSON property `name`
|
1143
|
+
# @return [String]
|
1144
|
+
attr_accessor :name
|
1145
|
+
|
1146
|
+
# A representation of an [organization policy](https://cloud.google.com/resource-
|
1147
|
+
# manager/docs/organization-policy/overview#organization_policy). There can be
|
1148
|
+
# more than one organization policy with different constraints set on a given
|
1149
|
+
# resource.
|
1150
|
+
# Corresponds to the JSON property `orgPolicy`
|
1151
|
+
# @return [Array<Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy>]
|
1152
|
+
attr_accessor :org_policy
|
1153
|
+
|
1154
|
+
# The detailed related assets with the `relationship_type`.
|
1155
|
+
# Corresponds to the JSON property `relatedAssets`
|
1156
|
+
# @return [Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAssets]
|
1157
|
+
attr_accessor :related_assets
|
1158
|
+
|
1159
|
+
# A representation of a Google Cloud resource.
|
1160
|
+
# Corresponds to the JSON property `resource`
|
1161
|
+
# @return [Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1Resource]
|
1162
|
+
attr_accessor :resource
|
1163
|
+
|
1164
|
+
# `ServicePerimeter` describes a set of Google Cloud resources which can freely
|
1165
|
+
# import and export data amongst themselves, but not export outside of the `
|
1166
|
+
# ServicePerimeter`. If a request with a source within this `ServicePerimeter`
|
1167
|
+
# has a target outside of the `ServicePerimeter`, the request will be blocked.
|
1168
|
+
# Otherwise the request is allowed. There are two types of Service Perimeter -
|
1169
|
+
# Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
|
1170
|
+
# Cloud project can only belong to a single regular Service Perimeter. Service
|
1171
|
+
# Perimeter Bridges can contain only Google Cloud projects as members, a single
|
1172
|
+
# Google Cloud project may belong to multiple Service Perimeter Bridges.
|
1173
|
+
# Corresponds to the JSON property `servicePerimeter`
|
1174
|
+
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
|
1175
|
+
attr_accessor :service_perimeter
|
1176
|
+
|
1177
|
+
# The last update timestamp of an asset. update_time is updated when create/
|
1178
|
+
# update/delete operation is performed.
|
1179
|
+
# Corresponds to the JSON property `updateTime`
|
1180
|
+
# @return [String]
|
1181
|
+
attr_accessor :update_time
|
1182
|
+
|
1183
|
+
def initialize(**args)
|
1184
|
+
update!(**args)
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
# Update properties of this object
|
1188
|
+
def update!(**args)
|
1189
|
+
@access_level = args[:access_level] if args.key?(:access_level)
|
1190
|
+
@access_policy = args[:access_policy] if args.key?(:access_policy)
|
1191
|
+
@ancestors = args[:ancestors] if args.key?(:ancestors)
|
1192
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
1193
|
+
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
1194
|
+
@name = args[:name] if args.key?(:name)
|
1195
|
+
@org_policy = args[:org_policy] if args.key?(:org_policy)
|
1196
|
+
@related_assets = args[:related_assets] if args.key?(:related_assets)
|
1197
|
+
@resource = args[:resource] if args.key?(:resource)
|
1198
|
+
@service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
|
1199
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1200
|
+
end
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
# An asset identify in Google Cloud which contains its name, type and ancestors.
|
1204
|
+
# An asset can be any resource in the Google Cloud [resource hierarchy](https://
|
1205
|
+
# cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a
|
1206
|
+
# resource outside the Google Cloud resource hierarchy (such as Google
|
1207
|
+
# Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
|
1208
|
+
# See [Supported asset types](https://cloud.google.com/asset-inventory/docs/
|
1209
|
+
# supported-asset-types) for more information.
|
1210
|
+
class GoogleCloudAssetV1p7beta1RelatedAsset
|
1211
|
+
include Google::Apis::Core::Hashable
|
1212
|
+
|
1213
|
+
# The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.
|
1214
|
+
# google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
|
1215
|
+
# represented as a list of relative resource names. An ancestry path starts with
|
1216
|
+
# the closest ancestor in the hierarchy and ends at root. Example: `["projects/
|
1217
|
+
# 123456789", "folders/5432", "organizations/1234"]`
|
1218
|
+
# Corresponds to the JSON property `ancestors`
|
1219
|
+
# @return [Array<String>]
|
1220
|
+
attr_accessor :ancestors
|
1221
|
+
|
1222
|
+
# The full name of the asset. Example: `//compute.googleapis.com/projects/
|
1223
|
+
# my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
|
1224
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name) for more
|
1225
|
+
# information.
|
1226
|
+
# Corresponds to the JSON property `asset`
|
1227
|
+
# @return [String]
|
1228
|
+
attr_accessor :asset
|
1229
|
+
|
1230
|
+
# The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
|
1231
|
+
# asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
|
1232
|
+
# types) for more information.
|
1233
|
+
# Corresponds to the JSON property `assetType`
|
1234
|
+
# @return [String]
|
1235
|
+
attr_accessor :asset_type
|
1236
|
+
|
1237
|
+
def initialize(**args)
|
1238
|
+
update!(**args)
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# Update properties of this object
|
1242
|
+
def update!(**args)
|
1243
|
+
@ancestors = args[:ancestors] if args.key?(:ancestors)
|
1244
|
+
@asset = args[:asset] if args.key?(:asset)
|
1245
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
1246
|
+
end
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# The detailed related assets with the `relationship_type`.
|
1250
|
+
class GoogleCloudAssetV1p7beta1RelatedAssets
|
1251
|
+
include Google::Apis::Core::Hashable
|
1252
|
+
|
1253
|
+
# The peer resources of the relationship.
|
1254
|
+
# Corresponds to the JSON property `assets`
|
1255
|
+
# @return [Array<Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAsset>]
|
1256
|
+
attr_accessor :assets
|
1257
|
+
|
1258
|
+
# The relationship attributes which include `type`, `source_resource_type`, `
|
1259
|
+
# target_resource_type` and `action`.
|
1260
|
+
# Corresponds to the JSON property `relationshipAttributes`
|
1261
|
+
# @return [Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelationshipAttributes]
|
1262
|
+
attr_accessor :relationship_attributes
|
1263
|
+
|
1264
|
+
def initialize(**args)
|
1265
|
+
update!(**args)
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
# Update properties of this object
|
1269
|
+
def update!(**args)
|
1270
|
+
@assets = args[:assets] if args.key?(:assets)
|
1271
|
+
@relationship_attributes = args[:relationship_attributes] if args.key?(:relationship_attributes)
|
1272
|
+
end
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# The relationship attributes which include `type`, `source_resource_type`, `
|
1276
|
+
# target_resource_type` and `action`.
|
1277
|
+
class GoogleCloudAssetV1p7beta1RelationshipAttributes
|
1278
|
+
include Google::Apis::Core::Hashable
|
1279
|
+
|
1280
|
+
# The detail of the relationship, e.g. `contains`, `attaches`
|
1281
|
+
# Corresponds to the JSON property `action`
|
1282
|
+
# @return [String]
|
1283
|
+
attr_accessor :action
|
1284
|
+
|
1285
|
+
# The source asset type. Example: `compute.googleapis.com/Instance`
|
1286
|
+
# Corresponds to the JSON property `sourceResourceType`
|
1287
|
+
# @return [String]
|
1288
|
+
attr_accessor :source_resource_type
|
1289
|
+
|
1290
|
+
# The target asset type. Example: `compute.googleapis.com/Disk`
|
1291
|
+
# Corresponds to the JSON property `targetResourceType`
|
1292
|
+
# @return [String]
|
1293
|
+
attr_accessor :target_resource_type
|
1294
|
+
|
1295
|
+
# The unique identifier of the relationship type. Example: `
|
1296
|
+
# INSTANCE_TO_INSTANCEGROUP`
|
1297
|
+
# Corresponds to the JSON property `type`
|
1298
|
+
# @return [String]
|
1299
|
+
attr_accessor :type
|
1300
|
+
|
1301
|
+
def initialize(**args)
|
1302
|
+
update!(**args)
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# Update properties of this object
|
1306
|
+
def update!(**args)
|
1307
|
+
@action = args[:action] if args.key?(:action)
|
1308
|
+
@source_resource_type = args[:source_resource_type] if args.key?(:source_resource_type)
|
1309
|
+
@target_resource_type = args[:target_resource_type] if args.key?(:target_resource_type)
|
1310
|
+
@type = args[:type] if args.key?(:type)
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
# A representation of a Google Cloud resource.
|
1315
|
+
class GoogleCloudAssetV1p7beta1Resource
|
1316
|
+
include Google::Apis::Core::Hashable
|
1317
|
+
|
1318
|
+
# The content of the resource, in which some sensitive fields are removed and
|
1319
|
+
# may not be present.
|
1320
|
+
# Corresponds to the JSON property `data`
|
1321
|
+
# @return [Hash<String,Object>]
|
1322
|
+
attr_accessor :data
|
1323
|
+
|
1324
|
+
# The URL of the discovery document containing the resource's JSON schema.
|
1325
|
+
# Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
|
1326
|
+
# value is unspecified for resources that do not have an API based on a
|
1327
|
+
# discovery document, such as Cloud Bigtable.
|
1328
|
+
# Corresponds to the JSON property `discoveryDocumentUri`
|
1329
|
+
# @return [String]
|
1330
|
+
attr_accessor :discovery_document_uri
|
1331
|
+
|
1332
|
+
# The JSON schema name listed in the discovery document. Example: `Project` This
|
1333
|
+
# value is unspecified for resources that do not have an API based on a
|
1334
|
+
# discovery document, such as Cloud Bigtable.
|
1335
|
+
# Corresponds to the JSON property `discoveryName`
|
1336
|
+
# @return [String]
|
1337
|
+
attr_accessor :discovery_name
|
1338
|
+
|
1339
|
+
# The location of the resource in Google Cloud, such as its zone and region. For
|
1340
|
+
# more information, see https://cloud.google.com/about/locations/.
|
1341
|
+
# Corresponds to the JSON property `location`
|
1342
|
+
# @return [String]
|
1343
|
+
attr_accessor :location
|
1344
|
+
|
1345
|
+
# The full name of the immediate parent of this resource. See [Resource Names](
|
1346
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name) for
|
1347
|
+
# more information. For Google Cloud assets, this value is the parent resource
|
1348
|
+
# defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
|
1349
|
+
# overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
|
1350
|
+
# projects/my_project_123` For third-party assets, this field may be set
|
1351
|
+
# differently.
|
1352
|
+
# Corresponds to the JSON property `parent`
|
1353
|
+
# @return [String]
|
1354
|
+
attr_accessor :parent
|
1355
|
+
|
1356
|
+
# The REST URL for accessing the resource. An HTTP `GET` request using this URL
|
1357
|
+
# returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
|
1358
|
+
# com/v1/projects/my-project-123` This value is unspecified for resources
|
1359
|
+
# without a REST API.
|
1360
|
+
# Corresponds to the JSON property `resourceUrl`
|
1361
|
+
# @return [String]
|
1362
|
+
attr_accessor :resource_url
|
1363
|
+
|
1364
|
+
# The API version. Example: `v1`
|
1365
|
+
# Corresponds to the JSON property `version`
|
1366
|
+
# @return [String]
|
1367
|
+
attr_accessor :version
|
1368
|
+
|
1369
|
+
def initialize(**args)
|
1370
|
+
update!(**args)
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
# Update properties of this object
|
1374
|
+
def update!(**args)
|
1375
|
+
@data = args[:data] if args.key?(:data)
|
1376
|
+
@discovery_document_uri = args[:discovery_document_uri] if args.key?(:discovery_document_uri)
|
1377
|
+
@discovery_name = args[:discovery_name] if args.key?(:discovery_name)
|
1378
|
+
@location = args[:location] if args.key?(:location)
|
1379
|
+
@parent = args[:parent] if args.key?(:parent)
|
1380
|
+
@resource_url = args[:resource_url] if args.key?(:resource_url)
|
1381
|
+
@version = args[:version] if args.key?(:version)
|
1382
|
+
end
|
1383
|
+
end
|
1384
|
+
|
1061
1385
|
# Used in `policy_type` to specify how `boolean_policy` will behave at this
|
1062
1386
|
# resource.
|
1063
1387
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
@@ -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.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.1.2"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210226"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,36 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class GoogleCloudAssetV1p7beta1Asset
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudAssetV1p7beta1RelatedAsset
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleCloudAssetV1p7beta1RelatedAssets
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class GoogleCloudAssetV1p7beta1RelationshipAttributes
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GoogleCloudAssetV1p7beta1Resource
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
175
205
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
176
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
207
|
|
@@ -757,6 +787,72 @@ module Google
|
|
757
787
|
end
|
758
788
|
end
|
759
789
|
|
790
|
+
class GoogleCloudAssetV1p7beta1Asset
|
791
|
+
# @private
|
792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
793
|
+
property :access_level, as: 'accessLevel', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessLevel, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessLevel::Representation
|
794
|
+
|
795
|
+
property :access_policy, as: 'accessPolicy', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy::Representation
|
796
|
+
|
797
|
+
collection :ancestors, as: 'ancestors'
|
798
|
+
property :asset_type, as: 'assetType'
|
799
|
+
property :iam_policy, as: 'iamPolicy', class: Google::Apis::CloudassetV1::Policy, decorator: Google::Apis::CloudassetV1::Policy::Representation
|
800
|
+
|
801
|
+
property :name, as: 'name'
|
802
|
+
collection :org_policy, as: 'orgPolicy', class: Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy, decorator: Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy::Representation
|
803
|
+
|
804
|
+
property :related_assets, as: 'relatedAssets', class: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAssets, decorator: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAssets::Representation
|
805
|
+
|
806
|
+
property :resource, as: 'resource', class: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1Resource, decorator: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1Resource::Representation
|
807
|
+
|
808
|
+
property :service_perimeter, as: 'servicePerimeter', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter::Representation
|
809
|
+
|
810
|
+
property :update_time, as: 'updateTime'
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
class GoogleCloudAssetV1p7beta1RelatedAsset
|
815
|
+
# @private
|
816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
817
|
+
collection :ancestors, as: 'ancestors'
|
818
|
+
property :asset, as: 'asset'
|
819
|
+
property :asset_type, as: 'assetType'
|
820
|
+
end
|
821
|
+
end
|
822
|
+
|
823
|
+
class GoogleCloudAssetV1p7beta1RelatedAssets
|
824
|
+
# @private
|
825
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
826
|
+
collection :assets, as: 'assets', class: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAsset, decorator: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelatedAsset::Representation
|
827
|
+
|
828
|
+
property :relationship_attributes, as: 'relationshipAttributes', class: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelationshipAttributes, decorator: Google::Apis::CloudassetV1::GoogleCloudAssetV1p7beta1RelationshipAttributes::Representation
|
829
|
+
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
833
|
+
class GoogleCloudAssetV1p7beta1RelationshipAttributes
|
834
|
+
# @private
|
835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
836
|
+
property :action, as: 'action'
|
837
|
+
property :source_resource_type, as: 'sourceResourceType'
|
838
|
+
property :target_resource_type, as: 'targetResourceType'
|
839
|
+
property :type, as: 'type'
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
class GoogleCloudAssetV1p7beta1Resource
|
844
|
+
# @private
|
845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
846
|
+
hash :data, as: 'data'
|
847
|
+
property :discovery_document_uri, as: 'discoveryDocumentUri'
|
848
|
+
property :discovery_name, as: 'discoveryName'
|
849
|
+
property :location, as: 'location'
|
850
|
+
property :parent, as: 'parent'
|
851
|
+
property :resource_url, as: 'resourceUrl'
|
852
|
+
property :version, as: 'version'
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
760
856
|
class GoogleCloudOrgpolicyV1BooleanPolicy
|
761
857
|
# @private
|
762
858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.4.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: 2021-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Asset API V1
|