google-api-client 0.40.1 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +468 -750
- data/generated/google/apis/androidpublisher_v3/representations.rb +9 -202
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +12 -6
- data/generated/google/apis/apigee_v1/representations.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +113 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +61 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -7
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +25 -342
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -96
- data/generated/google/apis/cloudasset_v1/service.rb +11 -186
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +91 -3
- data/generated/google/apis/compute_alpha/representations.rb +36 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +15 -3
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +3 -3
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +4 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +87 -81
- data/generated/google/apis/iam_v1/service.rb +163 -148
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +118 -2
- data/generated/google/apis/people_v1/representations.rb +51 -0
- data/generated/google/apis/people_v1/service.rb +336 -67
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +49 -7
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +108 -44
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +114 -44
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -12
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +109 -44
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +109 -44
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +109 -45
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +115 -45
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# @see https://cloud.google.com/apigee-api-management/
|
32
32
|
module ApigeeV1
|
33
33
|
VERSION = 'V1'
|
34
|
-
REVISION = '
|
34
|
+
REVISION = '20200604'
|
35
35
|
|
36
36
|
# View and manage your data across Google Cloud Platform services
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2807,6 +2807,11 @@ module Google
|
|
2807
2807
|
# @return [String]
|
2808
2808
|
attr_accessor :name
|
2809
2809
|
|
2810
|
+
# The project ID associated with the Apigee organization.
|
2811
|
+
# Corresponds to the JSON property `projectId`
|
2812
|
+
# @return [String]
|
2813
|
+
attr_accessor :project_id
|
2814
|
+
|
2810
2815
|
# Message for compatibility with legacy Edge specification for Java Properties
|
2811
2816
|
# object in JSON.
|
2812
2817
|
# Corresponds to the JSON property `properties`
|
@@ -2849,6 +2854,7 @@ module Google
|
|
2849
2854
|
@environments = args[:environments] if args.key?(:environments)
|
2850
2855
|
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
2851
2856
|
@name = args[:name] if args.key?(:name)
|
2857
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
2852
2858
|
@properties = args[:properties] if args.key?(:properties)
|
2853
2859
|
@runtime_type = args[:runtime_type] if args.key?(:runtime_type)
|
2854
2860
|
@subscription_type = args[:subscription_type] if args.key?(:subscription_type)
|
@@ -4269,7 +4275,7 @@ module Google
|
|
4269
4275
|
# `
|
4270
4276
|
# "audit_configs": [
|
4271
4277
|
# `
|
4272
|
-
# "service": "allServices"
|
4278
|
+
# "service": "allServices",
|
4273
4279
|
# "audit_log_configs": [
|
4274
4280
|
# `
|
4275
4281
|
# "log_type": "DATA_READ",
|
@@ -4278,18 +4284,18 @@ module Google
|
|
4278
4284
|
# ]
|
4279
4285
|
# `,
|
4280
4286
|
# `
|
4281
|
-
# "log_type": "DATA_WRITE"
|
4287
|
+
# "log_type": "DATA_WRITE"
|
4282
4288
|
# `,
|
4283
4289
|
# `
|
4284
|
-
# "log_type": "ADMIN_READ"
|
4290
|
+
# "log_type": "ADMIN_READ"
|
4285
4291
|
# `
|
4286
4292
|
# ]
|
4287
4293
|
# `,
|
4288
4294
|
# `
|
4289
|
-
# "service": "sampleservice.googleapis.com"
|
4295
|
+
# "service": "sampleservice.googleapis.com",
|
4290
4296
|
# "audit_log_configs": [
|
4291
4297
|
# `
|
4292
|
-
# "log_type": "DATA_READ"
|
4298
|
+
# "log_type": "DATA_READ"
|
4293
4299
|
# `,
|
4294
4300
|
# `
|
4295
4301
|
# "log_type": "DATA_WRITE",
|
@@ -4341,7 +4347,7 @@ module Google
|
|
4341
4347
|
# ]
|
4342
4348
|
# `,
|
4343
4349
|
# `
|
4344
|
-
# "log_type": "DATA_WRITE"
|
4350
|
+
# "log_type": "DATA_WRITE"
|
4345
4351
|
# `
|
4346
4352
|
# ]
|
4347
4353
|
# `
|
@@ -1365,6 +1365,7 @@ module Google
|
|
1365
1365
|
collection :environments, as: 'environments'
|
1366
1366
|
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
|
1367
1367
|
property :name, as: 'name'
|
1368
|
+
property :project_id, as: 'projectId'
|
1368
1369
|
property :properties, as: 'properties', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties::Representation
|
1369
1370
|
|
1370
1371
|
property :runtime_type, as: 'runtimeType'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/apps-marketplace
|
27
27
|
module AppsmarketV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200609'
|
30
30
|
|
31
31
|
# View your installed application's licensing information
|
32
32
|
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/artifacts/docs/
|
27
27
|
module ArtifactregistryV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200605'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -237,6 +237,119 @@ module Google
|
|
237
237
|
end
|
238
238
|
end
|
239
239
|
|
240
|
+
# Error information explaining why a package was not imported.
|
241
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
242
|
+
include Google::Apis::Core::Hashable
|
243
|
+
|
244
|
+
# The `Status` type defines a logical error model that is suitable for
|
245
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
246
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
247
|
+
# three pieces of data: error code, error message, and error details.
|
248
|
+
# You can find out more about this error model and how to work with it in the
|
249
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
250
|
+
# Corresponds to the JSON property `error`
|
251
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Status]
|
252
|
+
attr_accessor :error
|
253
|
+
|
254
|
+
# Google Cloud Storage location for the input content.
|
255
|
+
# Corresponds to the JSON property `gcsSource`
|
256
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource]
|
257
|
+
attr_accessor :gcs_source
|
258
|
+
|
259
|
+
def initialize(**args)
|
260
|
+
update!(**args)
|
261
|
+
end
|
262
|
+
|
263
|
+
# Update properties of this object
|
264
|
+
def update!(**args)
|
265
|
+
@error = args[:error] if args.key?(:error)
|
266
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# Google Cloud Storage location for the input content.
|
271
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
272
|
+
include Google::Apis::Core::Hashable
|
273
|
+
|
274
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
275
|
+
# Corresponds to the JSON property `uris`
|
276
|
+
# @return [Array<String>]
|
277
|
+
attr_accessor :uris
|
278
|
+
|
279
|
+
def initialize(**args)
|
280
|
+
update!(**args)
|
281
|
+
end
|
282
|
+
|
283
|
+
# Update properties of this object
|
284
|
+
def update!(**args)
|
285
|
+
@uris = args[:uris] if args.key?(:uris)
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# The response message from importing artifacts.
|
290
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
291
|
+
include Google::Apis::Core::Hashable
|
292
|
+
|
293
|
+
# Detailed error info for packages that were not imported.
|
294
|
+
# Corresponds to the JSON property `errors`
|
295
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo>]
|
296
|
+
attr_accessor :errors
|
297
|
+
|
298
|
+
# The packages updated.
|
299
|
+
# Corresponds to the JSON property `packages`
|
300
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package>]
|
301
|
+
attr_accessor :packages
|
302
|
+
|
303
|
+
def initialize(**args)
|
304
|
+
update!(**args)
|
305
|
+
end
|
306
|
+
|
307
|
+
# Update properties of this object
|
308
|
+
def update!(**args)
|
309
|
+
@errors = args[:errors] if args.key?(:errors)
|
310
|
+
@packages = args[:packages] if args.key?(:packages)
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# Packages are named collections of versions.
|
315
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
316
|
+
include Google::Apis::Core::Hashable
|
317
|
+
|
318
|
+
# The time when the package was created.
|
319
|
+
# Corresponds to the JSON property `createTime`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :create_time
|
322
|
+
|
323
|
+
# The display name of the package.
|
324
|
+
# Corresponds to the JSON property `displayName`
|
325
|
+
# @return [String]
|
326
|
+
attr_accessor :display_name
|
327
|
+
|
328
|
+
# The name of the package, for example:
|
329
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
|
330
|
+
# Corresponds to the JSON property `name`
|
331
|
+
# @return [String]
|
332
|
+
attr_accessor :name
|
333
|
+
|
334
|
+
# The time when the package was last updated. This includes publishing a new
|
335
|
+
# version of the package.
|
336
|
+
# Corresponds to the JSON property `updateTime`
|
337
|
+
# @return [String]
|
338
|
+
attr_accessor :update_time
|
339
|
+
|
340
|
+
def initialize(**args)
|
341
|
+
update!(**args)
|
342
|
+
end
|
343
|
+
|
344
|
+
# Update properties of this object
|
345
|
+
def update!(**args)
|
346
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
347
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
348
|
+
@name = args[:name] if args.key?(:name)
|
349
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
240
353
|
# A hash of file content.
|
241
354
|
class HashProp
|
242
355
|
include Google::Apis::Core::Hashable
|
@@ -46,6 +46,30 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
49
73
|
class HashProp
|
50
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
75
|
|
@@ -199,6 +223,43 @@ module Google
|
|
199
223
|
end
|
200
224
|
end
|
201
225
|
|
226
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
227
|
+
# @private
|
228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
229
|
+
property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation
|
230
|
+
|
231
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource::Representation
|
232
|
+
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
237
|
+
# @private
|
238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
239
|
+
collection :uris, as: 'uris'
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
244
|
+
# @private
|
245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
246
|
+
collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo::Representation
|
247
|
+
|
248
|
+
collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package::Representation
|
249
|
+
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
254
|
+
# @private
|
255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
256
|
+
property :create_time, as: 'createTime'
|
257
|
+
property :display_name, as: 'displayName'
|
258
|
+
property :name, as: 'name'
|
259
|
+
property :update_time, as: 'updateTime'
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
202
263
|
class HashProp
|
203
264
|
# @private
|
204
265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200603'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -4743,13 +4743,21 @@ module Google
|
|
4743
4743
|
# Note that this is different from the job_id. It has the following properties:
|
4744
4744
|
# 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is
|
4745
4745
|
# recommended. 2. Read only queries can ignore this token since they are
|
4746
|
-
# nullipotent by definition. 3.
|
4747
|
-
#
|
4748
|
-
#
|
4749
|
-
#
|
4750
|
-
#
|
4751
|
-
#
|
4752
|
-
#
|
4746
|
+
# nullipotent by definition. 3. For the purposes of idempotency ensured by the
|
4747
|
+
# request_id, a request is considered duplicate of another only if they have the
|
4748
|
+
# same request_id and are actually duplicates. When determining whether a
|
4749
|
+
# request is a duplicate of the previous request, all parameters in the request
|
4750
|
+
# that may affect the behavior are considered. For example, query,
|
4751
|
+
# connection_properties, query_parameters, use_legacy_sql are parameters that
|
4752
|
+
# affect the result and are considered when determining whether a request is a
|
4753
|
+
# duplicate, but properties like timeout_ms don't affect the result and are thus
|
4754
|
+
# not considered. Dry run query requests are never considered duplicate of
|
4755
|
+
# another request. 4. When a duplicate mutating query request is detected, it
|
4756
|
+
# returns: a. the results of the mutation if it completes successfully within
|
4757
|
+
# the timeout. b. the running operation if it is still in progress at the end of
|
4758
|
+
# the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two
|
4759
|
+
# requests are sent with the same request_id, but more than 15 minutes apart,
|
4760
|
+
# idempotency is not guaranteed.
|
4753
4761
|
# Corresponds to the JSON property `requestId`
|
4754
4762
|
# @return [String]
|
4755
4763
|
attr_accessor :request_id
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
27
27
|
module BinaryauthorizationV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200605'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -540,8 +540,7 @@ module Google
|
|
540
540
|
# @return [Array<Google::Apis::BinaryauthorizationV1::AdmissionWhitelistPattern>]
|
541
541
|
attr_accessor :admission_whitelist_patterns
|
542
542
|
|
543
|
-
# Optional.
|
544
|
-
# Per-cluster admission rules. Cluster spec format:
|
543
|
+
# Optional. Per-cluster admission rules. Cluster spec format:
|
545
544
|
# `location.clusterId`. There can be at most one admission rule per cluster
|
546
545
|
# spec.
|
547
546
|
# A `location` is either a compute zone (e.g. us-central1-a) or a region
|
@@ -549,8 +548,6 @@ module Google
|
|
549
548
|
# For `clusterId` syntax restrictions see
|
550
549
|
# https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.
|
551
550
|
# clusters.
|
552
|
-
# LINT.ThenChange(//depot/google3/cloud/console/web/binary_authorization/api/
|
553
|
-
# models/admission_rule_type.ts:cluster_regex)
|
554
551
|
# Corresponds to the JSON property `clusterAdmissionRules`
|
555
552
|
# @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
|
556
553
|
attr_accessor :cluster_admission_rules
|
@@ -43,8 +43,8 @@ module Google
|
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
45
|
def initialize
|
46
|
-
super('https://
|
47
|
-
@batch_path = 'batch'
|
46
|
+
super('https://www.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch/books/v1'
|
48
48
|
end
|
49
49
|
|
50
50
|
# Retrieves metadata for a specific bookshelf for the specified user.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/asset-inventory/docs/quickstart
|
26
26
|
module CloudassetV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200605'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
# @return [Array<String>]
|
60
60
|
attr_accessor :ancestors
|
61
61
|
|
62
|
-
# The type of the asset. Example:
|
62
|
+
# The type of the asset. Example: `compute.googleapis.com/Disk`
|
63
63
|
# See [Supported asset
|
64
64
|
# types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
|
65
65
|
# for more information.
|
@@ -133,8 +133,8 @@ module Google
|
|
133
133
|
attr_accessor :iam_policy
|
134
134
|
|
135
135
|
# The full name of the asset. Example:
|
136
|
-
#
|
137
|
-
# instance1
|
136
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
|
137
|
+
# instance1`
|
138
138
|
# See [Resource
|
139
139
|
# names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
140
140
|
# for more information.
|
@@ -170,6 +170,12 @@ module Google
|
|
170
170
|
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
|
171
171
|
attr_accessor :service_perimeter
|
172
172
|
|
173
|
+
# The last update timestamp of an asset. update_time is updated when
|
174
|
+
# create/update/delete operation is performed.
|
175
|
+
# Corresponds to the JSON property `updateTime`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :update_time
|
178
|
+
|
173
179
|
def initialize(**args)
|
174
180
|
update!(**args)
|
175
181
|
end
|
@@ -185,6 +191,7 @@ module Google
|
|
185
191
|
@org_policy = args[:org_policy] if args.key?(:org_policy)
|
186
192
|
@resource = args[:resource] if args.key?(:resource)
|
187
193
|
@service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
|
194
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
188
195
|
end
|
189
196
|
end
|
190
197
|
|
@@ -200,7 +207,7 @@ module Google
|
|
200
207
|
# `
|
201
208
|
# "audit_configs": [
|
202
209
|
# `
|
203
|
-
# "service": "allServices"
|
210
|
+
# "service": "allServices",
|
204
211
|
# "audit_log_configs": [
|
205
212
|
# `
|
206
213
|
# "log_type": "DATA_READ",
|
@@ -209,18 +216,18 @@ module Google
|
|
209
216
|
# ]
|
210
217
|
# `,
|
211
218
|
# `
|
212
|
-
# "log_type": "DATA_WRITE"
|
219
|
+
# "log_type": "DATA_WRITE"
|
213
220
|
# `,
|
214
221
|
# `
|
215
|
-
# "log_type": "ADMIN_READ"
|
222
|
+
# "log_type": "ADMIN_READ"
|
216
223
|
# `
|
217
224
|
# ]
|
218
225
|
# `,
|
219
226
|
# `
|
220
|
-
# "service": "sampleservice.googleapis.com"
|
227
|
+
# "service": "sampleservice.googleapis.com",
|
221
228
|
# "audit_log_configs": [
|
222
229
|
# `
|
223
|
-
# "log_type": "DATA_READ"
|
230
|
+
# "log_type": "DATA_READ"
|
224
231
|
# `,
|
225
232
|
# `
|
226
233
|
# "log_type": "DATA_WRITE",
|
@@ -272,7 +279,7 @@ module Google
|
|
272
279
|
# ]
|
273
280
|
# `,
|
274
281
|
# `
|
275
|
-
# "log_type": "DATA_WRITE"
|
282
|
+
# "log_type": "DATA_WRITE"
|
276
283
|
# `
|
277
284
|
# ]
|
278
285
|
# `
|
@@ -323,7 +330,7 @@ module Google
|
|
323
330
|
end
|
324
331
|
end
|
325
332
|
|
326
|
-
# A BigQuery destination.
|
333
|
+
# A BigQuery destination for exporting assets to.
|
327
334
|
class BigQueryDestination
|
328
335
|
include Google::Apis::Core::Hashable
|
329
336
|
|
@@ -495,31 +502,6 @@ module Google
|
|
495
502
|
end
|
496
503
|
end
|
497
504
|
|
498
|
-
# Explanation about the IAM policy search result.
|
499
|
-
class Explanation
|
500
|
-
include Google::Apis::Core::Hashable
|
501
|
-
|
502
|
-
# The map from roles to their included permissions that match the
|
503
|
-
# permission query (i.e., a query containing `policy.role.permissions:`).
|
504
|
-
# Example: if query `policy.role.permissions : "compute.disk.get"`
|
505
|
-
# matches a policy binding that contains owner role, the
|
506
|
-
# matched_permissions will be `"roles/owner": ["compute.disk.get"]`. The
|
507
|
-
# roles can also be found in the returned `policy` bindings. Note that the
|
508
|
-
# map is populated only for requests with permission queries.
|
509
|
-
# Corresponds to the JSON property `matchedPermissions`
|
510
|
-
# @return [Hash<String,Google::Apis::CloudassetV1::Permissions>]
|
511
|
-
attr_accessor :matched_permissions
|
512
|
-
|
513
|
-
def initialize(**args)
|
514
|
-
update!(**args)
|
515
|
-
end
|
516
|
-
|
517
|
-
# Update properties of this object
|
518
|
-
def update!(**args)
|
519
|
-
@matched_permissions = args[:matched_permissions] if args.key?(:matched_permissions)
|
520
|
-
end
|
521
|
-
end
|
522
|
-
|
523
505
|
# Export asset request.
|
524
506
|
class ExportAssetsRequest
|
525
507
|
include Google::Apis::Core::Hashable
|
@@ -1600,117 +1582,6 @@ module Google
|
|
1600
1582
|
end
|
1601
1583
|
end
|
1602
1584
|
|
1603
|
-
# A result of IAM Policy search, containing information of an IAM policy.
|
1604
|
-
class IamPolicySearchResult
|
1605
|
-
include Google::Apis::Core::Hashable
|
1606
|
-
|
1607
|
-
# Explanation about the IAM policy search result.
|
1608
|
-
# Corresponds to the JSON property `explanation`
|
1609
|
-
# @return [Google::Apis::CloudassetV1::Explanation]
|
1610
|
-
attr_accessor :explanation
|
1611
|
-
|
1612
|
-
# An Identity and Access Management (IAM) policy, which specifies access
|
1613
|
-
# controls for Google Cloud resources.
|
1614
|
-
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1615
|
-
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1616
|
-
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1617
|
-
# permissions; each `role` can be an IAM predefined role or a user-created
|
1618
|
-
# custom role.
|
1619
|
-
# For some types of Google Cloud resources, a `binding` can also specify a
|
1620
|
-
# `condition`, which is a logical expression that allows access to a resource
|
1621
|
-
# only if the expression evaluates to `true`. A condition can add constraints
|
1622
|
-
# based on attributes of the request, the resource, or both. To learn which
|
1623
|
-
# resources support conditions in their IAM policies, see the
|
1624
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1625
|
-
# policies).
|
1626
|
-
# **JSON example:**
|
1627
|
-
# `
|
1628
|
-
# "bindings": [
|
1629
|
-
# `
|
1630
|
-
# "role": "roles/resourcemanager.organizationAdmin",
|
1631
|
-
# "members": [
|
1632
|
-
# "user:mike@example.com",
|
1633
|
-
# "group:admins@example.com",
|
1634
|
-
# "domain:google.com",
|
1635
|
-
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
1636
|
-
# ]
|
1637
|
-
# `,
|
1638
|
-
# `
|
1639
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1640
|
-
# "members": [
|
1641
|
-
# "user:eve@example.com"
|
1642
|
-
# ],
|
1643
|
-
# "condition": `
|
1644
|
-
# "title": "expirable access",
|
1645
|
-
# "description": "Does not grant access after Sep 2020",
|
1646
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1647
|
-
# ",
|
1648
|
-
# `
|
1649
|
-
# `
|
1650
|
-
# ],
|
1651
|
-
# "etag": "BwWWja0YfJA=",
|
1652
|
-
# "version": 3
|
1653
|
-
# `
|
1654
|
-
# **YAML example:**
|
1655
|
-
# bindings:
|
1656
|
-
# - members:
|
1657
|
-
# - user:mike@example.com
|
1658
|
-
# - group:admins@example.com
|
1659
|
-
# - domain:google.com
|
1660
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1661
|
-
# role: roles/resourcemanager.organizationAdmin
|
1662
|
-
# - members:
|
1663
|
-
# - user:eve@example.com
|
1664
|
-
# role: roles/resourcemanager.organizationViewer
|
1665
|
-
# condition:
|
1666
|
-
# title: expirable access
|
1667
|
-
# description: Does not grant access after Sep 2020
|
1668
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1669
|
-
# - etag: BwWWja0YfJA=
|
1670
|
-
# - version: 3
|
1671
|
-
# For a description of IAM and its features, see the
|
1672
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1673
|
-
# Corresponds to the JSON property `policy`
|
1674
|
-
# @return [Google::Apis::CloudassetV1::Policy]
|
1675
|
-
attr_accessor :policy
|
1676
|
-
|
1677
|
-
# The project that the associated GCP resource belongs to, in the form of
|
1678
|
-
# projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
|
1679
|
-
# instance, Cloud Storage bucket), the project field will indicate the
|
1680
|
-
# project that contains the resource. If an IAM policy is set on a folder or
|
1681
|
-
# orgnization, the project field will be empty.
|
1682
|
-
# To search against the `project`:
|
1683
|
-
# * specify the `scope` field as this project in your search request.
|
1684
|
-
# Corresponds to the JSON property `project`
|
1685
|
-
# @return [String]
|
1686
|
-
attr_accessor :project
|
1687
|
-
|
1688
|
-
# The full resource name of the resource associated with this IAM policy.
|
1689
|
-
# Example:
|
1690
|
-
# "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
|
1691
|
-
# instance1".
|
1692
|
-
# See [Cloud Asset Inventory Resource Name
|
1693
|
-
# Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
1694
|
-
# for more information.
|
1695
|
-
# To search against the `resource`:
|
1696
|
-
# * use a field query. Example: `resource : "organizations/123"`
|
1697
|
-
# Corresponds to the JSON property `resource`
|
1698
|
-
# @return [String]
|
1699
|
-
attr_accessor :resource
|
1700
|
-
|
1701
|
-
def initialize(**args)
|
1702
|
-
update!(**args)
|
1703
|
-
end
|
1704
|
-
|
1705
|
-
# Update properties of this object
|
1706
|
-
def update!(**args)
|
1707
|
-
@explanation = args[:explanation] if args.key?(:explanation)
|
1708
|
-
@policy = args[:policy] if args.key?(:policy)
|
1709
|
-
@project = args[:project] if args.key?(:project)
|
1710
|
-
@resource = args[:resource] if args.key?(:resource)
|
1711
|
-
end
|
1712
|
-
end
|
1713
|
-
|
1714
1585
|
#
|
1715
1586
|
class ListFeedsResponse
|
1716
1587
|
include Google::Apis::Core::Hashable
|
@@ -1798,7 +1669,7 @@ module Google
|
|
1798
1669
|
class OutputConfig
|
1799
1670
|
include Google::Apis::Core::Hashable
|
1800
1671
|
|
1801
|
-
# A BigQuery destination.
|
1672
|
+
# A BigQuery destination for exporting assets to.
|
1802
1673
|
# Corresponds to the JSON property `bigqueryDestination`
|
1803
1674
|
# @return [Google::Apis::CloudassetV1::BigQueryDestination]
|
1804
1675
|
attr_accessor :bigquery_destination
|
@@ -1819,25 +1690,6 @@ module Google
|
|
1819
1690
|
end
|
1820
1691
|
end
|
1821
1692
|
|
1822
|
-
# IAM permissions
|
1823
|
-
class Permissions
|
1824
|
-
include Google::Apis::Core::Hashable
|
1825
|
-
|
1826
|
-
# A list of permissions. A sample permission string: "compute.disk.get".
|
1827
|
-
# Corresponds to the JSON property `permissions`
|
1828
|
-
# @return [Array<String>]
|
1829
|
-
attr_accessor :permissions
|
1830
|
-
|
1831
|
-
def initialize(**args)
|
1832
|
-
update!(**args)
|
1833
|
-
end
|
1834
|
-
|
1835
|
-
# Update properties of this object
|
1836
|
-
def update!(**args)
|
1837
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
1838
|
-
end
|
1839
|
-
end
|
1840
|
-
|
1841
1693
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1842
1694
|
# controls for Google Cloud resources.
|
1843
1695
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
@@ -1998,7 +1850,7 @@ module Google
|
|
1998
1850
|
|
1999
1851
|
# The URL of the discovery document containing the resource's JSON schema.
|
2000
1852
|
# Example:
|
2001
|
-
#
|
1853
|
+
# `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
|
2002
1854
|
# This value is unspecified for resources that do not have an API based on a
|
2003
1855
|
# discovery document, such as Cloud Bigtable.
|
2004
1856
|
# Corresponds to the JSON property `discoveryDocumentUri`
|
@@ -2006,7 +1858,7 @@ module Google
|
|
2006
1858
|
attr_accessor :discovery_document_uri
|
2007
1859
|
|
2008
1860
|
# The JSON schema name listed in the discovery document. Example:
|
2009
|
-
#
|
1861
|
+
# `Project`
|
2010
1862
|
# This value is unspecified for resources that do not have an API based on a
|
2011
1863
|
# discovery document, such as Cloud Bigtable.
|
2012
1864
|
# Corresponds to the JSON property `discoveryName`
|
@@ -2027,7 +1879,7 @@ module Google
|
|
2027
1879
|
# [Cloud IAM policy
|
2028
1880
|
# hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
|
2029
1881
|
# Example:
|
2030
|
-
#
|
1882
|
+
# `//cloudresourcemanager.googleapis.com/projects/my_project_123`
|
2031
1883
|
# For third-party assets, this field may be set differently.
|
2032
1884
|
# Corresponds to the JSON property `parent`
|
2033
1885
|
# @return [String]
|
@@ -2035,13 +1887,13 @@ module Google
|
|
2035
1887
|
|
2036
1888
|
# The REST URL for accessing the resource. An HTTP `GET` request using this
|
2037
1889
|
# URL returns the resource itself. Example:
|
2038
|
-
#
|
1890
|
+
# `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
|
2039
1891
|
# This value is unspecified for resources without a REST API.
|
2040
1892
|
# Corresponds to the JSON property `resourceUrl`
|
2041
1893
|
# @return [String]
|
2042
1894
|
attr_accessor :resource_url
|
2043
1895
|
|
2044
|
-
# The API version. Example:
|
1896
|
+
# The API version. Example: `v1`
|
2045
1897
|
# Corresponds to the JSON property `version`
|
2046
1898
|
# @return [String]
|
2047
1899
|
attr_accessor :version
|
@@ -2062,175 +1914,6 @@ module Google
|
|
2062
1914
|
end
|
2063
1915
|
end
|
2064
1916
|
|
2065
|
-
# A result of Resource Search, containing information of a cloud resoure.
|
2066
|
-
class ResourceSearchResult
|
2067
|
-
include Google::Apis::Core::Hashable
|
2068
|
-
|
2069
|
-
# The additional attributes of this resource. The attributes may vary from
|
2070
|
-
# one resource type to another. Examples: "projectId" for Project,
|
2071
|
-
# "dnsName" for DNS ManagedZone.
|
2072
|
-
# To search against the `additional_attributes`:
|
2073
|
-
# * use a free text query to match the attributes values. Example: to search
|
2074
|
-
# additional_attributes = ` dnsName: "foobar" `, you can issue a query
|
2075
|
-
# `"foobar"`.
|
2076
|
-
# Corresponds to the JSON property `additionalAttributes`
|
2077
|
-
# @return [Hash<String,Object>]
|
2078
|
-
attr_accessor :additional_attributes
|
2079
|
-
|
2080
|
-
# The type of this resource. Example: "compute.googleapis.com/Disk".
|
2081
|
-
# To search against the `asset_type`:
|
2082
|
-
# * specify the `asset_type` field in your search request.
|
2083
|
-
# Corresponds to the JSON property `assetType`
|
2084
|
-
# @return [String]
|
2085
|
-
attr_accessor :asset_type
|
2086
|
-
|
2087
|
-
# One or more paragraphs of text description of this resource. Maximum length
|
2088
|
-
# could be up to 1M bytes.
|
2089
|
-
# To search against the `description`:
|
2090
|
-
# * use a field query. Example: `description : "*important instance*"`
|
2091
|
-
# * use a free text query. Example: `"*important instance*"`
|
2092
|
-
# Corresponds to the JSON property `description`
|
2093
|
-
# @return [String]
|
2094
|
-
attr_accessor :description
|
2095
|
-
|
2096
|
-
# The display name of this resource.
|
2097
|
-
# To search against the `display_name`:
|
2098
|
-
# * use a field query. Example: `displayName : "My Instance"`
|
2099
|
-
# * use a free text query. Example: `"My Instance"`
|
2100
|
-
# Corresponds to the JSON property `displayName`
|
2101
|
-
# @return [String]
|
2102
|
-
attr_accessor :display_name
|
2103
|
-
|
2104
|
-
# Labels associated with this resource. See [Labelling and grouping GCP
|
2105
|
-
# resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
|
2106
|
-
# your-google-cloud-platform-resources)
|
2107
|
-
# for more information.
|
2108
|
-
# To search against the `labels`:
|
2109
|
-
# * use a field query, as following:
|
2110
|
-
# - query on any label's key or value. Example: `labels : "prod"`
|
2111
|
-
# - query by a given label. Example: `labels.env : "prod"`
|
2112
|
-
# - query by a given label'sexistence. Example: `labels.env : *`
|
2113
|
-
# * use a free text query. Example: `"prod"`
|
2114
|
-
# Corresponds to the JSON property `labels`
|
2115
|
-
# @return [Hash<String,String>]
|
2116
|
-
attr_accessor :labels
|
2117
|
-
|
2118
|
-
# Location can be "global", regional like "us-east1", or zonal like
|
2119
|
-
# "us-west1-b".
|
2120
|
-
# To search against the `location`:
|
2121
|
-
# * use a field query. Example: `location : "us-west*"`
|
2122
|
-
# * use a free text query. Example: `"us-west*"`
|
2123
|
-
# Corresponds to the JSON property `location`
|
2124
|
-
# @return [String]
|
2125
|
-
attr_accessor :location
|
2126
|
-
|
2127
|
-
# The full resource name of this resource. Example:
|
2128
|
-
# "//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
|
2129
|
-
# instance1".
|
2130
|
-
# See [Cloud Asset Inventory Resource Name
|
2131
|
-
# Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
|
2132
|
-
# for more information.
|
2133
|
-
# To search against the `name`:
|
2134
|
-
# * use a field query. Example: `name : "instance1"`
|
2135
|
-
# * use a free text query. Example: `"instance1"`
|
2136
|
-
# Corresponds to the JSON property `name`
|
2137
|
-
# @return [String]
|
2138
|
-
attr_accessor :name
|
2139
|
-
|
2140
|
-
# Network tags associated with this resource. Like labels, network tags are a
|
2141
|
-
# type of annotations used to group GCP resources. See [Labelling GCP
|
2142
|
-
# resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
|
2143
|
-
# your-google-cloud-platform-resources)
|
2144
|
-
# for more information.
|
2145
|
-
# To search against the `network_tags`:
|
2146
|
-
# * use a field query. Example: `networkTags : "internal"`
|
2147
|
-
# * use a free text query. Example: `"internal"`
|
2148
|
-
# Corresponds to the JSON property `networkTags`
|
2149
|
-
# @return [Array<String>]
|
2150
|
-
attr_accessor :network_tags
|
2151
|
-
|
2152
|
-
# The project that this resource belongs to, in the form of
|
2153
|
-
# projects/`PROJECT_NUMBER`.
|
2154
|
-
# To search against the `project`:
|
2155
|
-
# * specify the `scope` field as this project in your search request.
|
2156
|
-
# Corresponds to the JSON property `project`
|
2157
|
-
# @return [String]
|
2158
|
-
attr_accessor :project
|
2159
|
-
|
2160
|
-
def initialize(**args)
|
2161
|
-
update!(**args)
|
2162
|
-
end
|
2163
|
-
|
2164
|
-
# Update properties of this object
|
2165
|
-
def update!(**args)
|
2166
|
-
@additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
|
2167
|
-
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
2168
|
-
@description = args[:description] if args.key?(:description)
|
2169
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2170
|
-
@labels = args[:labels] if args.key?(:labels)
|
2171
|
-
@location = args[:location] if args.key?(:location)
|
2172
|
-
@name = args[:name] if args.key?(:name)
|
2173
|
-
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
2174
|
-
@project = args[:project] if args.key?(:project)
|
2175
|
-
end
|
2176
|
-
end
|
2177
|
-
|
2178
|
-
# Search all IAM policies response.
|
2179
|
-
class SearchAllIamPoliciesResponse
|
2180
|
-
include Google::Apis::Core::Hashable
|
2181
|
-
|
2182
|
-
# Set if there are more results than those appearing in this response; to get
|
2183
|
-
# the next set of results, call this method again, using this value as the
|
2184
|
-
# `page_token`.
|
2185
|
-
# Corresponds to the JSON property `nextPageToken`
|
2186
|
-
# @return [String]
|
2187
|
-
attr_accessor :next_page_token
|
2188
|
-
|
2189
|
-
# A list of IamPolicy that match the search query. Related information such
|
2190
|
-
# as the associated resource is returned along with the policy.
|
2191
|
-
# Corresponds to the JSON property `results`
|
2192
|
-
# @return [Array<Google::Apis::CloudassetV1::IamPolicySearchResult>]
|
2193
|
-
attr_accessor :results
|
2194
|
-
|
2195
|
-
def initialize(**args)
|
2196
|
-
update!(**args)
|
2197
|
-
end
|
2198
|
-
|
2199
|
-
# Update properties of this object
|
2200
|
-
def update!(**args)
|
2201
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2202
|
-
@results = args[:results] if args.key?(:results)
|
2203
|
-
end
|
2204
|
-
end
|
2205
|
-
|
2206
|
-
# Search all resources response.
|
2207
|
-
class SearchAllResourcesResponse
|
2208
|
-
include Google::Apis::Core::Hashable
|
2209
|
-
|
2210
|
-
# If there are more results than those appearing in this response, then
|
2211
|
-
# `next_page_token` is included. To get the next set of results, call this
|
2212
|
-
# method again using the value of `next_page_token` as `page_token`.
|
2213
|
-
# Corresponds to the JSON property `nextPageToken`
|
2214
|
-
# @return [String]
|
2215
|
-
attr_accessor :next_page_token
|
2216
|
-
|
2217
|
-
# A list of Resources that match the search query. It contains the resource
|
2218
|
-
# standard metadata information.
|
2219
|
-
# Corresponds to the JSON property `results`
|
2220
|
-
# @return [Array<Google::Apis::CloudassetV1::ResourceSearchResult>]
|
2221
|
-
attr_accessor :results
|
2222
|
-
|
2223
|
-
def initialize(**args)
|
2224
|
-
update!(**args)
|
2225
|
-
end
|
2226
|
-
|
2227
|
-
# Update properties of this object
|
2228
|
-
def update!(**args)
|
2229
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2230
|
-
@results = args[:results] if args.key?(:results)
|
2231
|
-
end
|
2232
|
-
end
|
2233
|
-
|
2234
1917
|
# The `Status` type defines a logical error model that is suitable for
|
2235
1918
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2236
1919
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
@@ -2291,7 +1974,7 @@ module Google
|
|
2291
1974
|
attr_accessor :deleted
|
2292
1975
|
alias_method :deleted?, :deleted
|
2293
1976
|
|
2294
|
-
# A time window specified by its
|
1977
|
+
# A time window specified by its `start_time` and `end_time`.
|
2295
1978
|
# Corresponds to the JSON property `window`
|
2296
1979
|
# @return [Google::Apis::CloudassetV1::TimeWindow]
|
2297
1980
|
attr_accessor :window
|
@@ -2308,7 +1991,7 @@ module Google
|
|
2308
1991
|
end
|
2309
1992
|
end
|
2310
1993
|
|
2311
|
-
# A time window specified by its
|
1994
|
+
# A time window specified by its `start_time` and `end_time`.
|
2312
1995
|
class TimeWindow
|
2313
1996
|
include Google::Apis::Core::Hashable
|
2314
1997
|
|