google-api-client 0.37.1 → 0.37.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 +105 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +2 -2
- data/generated/google/apis/accesscontextmanager_v1/service.rb +10 -8
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -38
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -16
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +193 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +89 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +15 -14
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +86 -0
- data/generated/google/apis/books_v1/representations.rb +37 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +0 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +12 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +30 -26
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +30 -26
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -37
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +2 -15
- data/generated/google/apis/datacatalog_v1beta1/service.rb +0 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -7
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +20 -231
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -95
- data/generated/google/apis/dialogflow_v2/service.rb +26 -390
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -235
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -95
- data/generated/google/apis/dialogflow_v2beta1/service.rb +68 -804
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/displayvideo_v1/classes.rb +382 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +167 -0
- data/generated/google/apis/displayvideo_v1/service.rb +176 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +31 -0
- data/generated/google/apis/dlp_v2/representations.rb +5 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +22 -0
- data/generated/google/apis/docs_v1/representations.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +13 -9
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +22 -35
- data/generated/google/apis/logging_v2/representations.rb +0 -2
- data/generated/google/apis/logging_v2/service.rb +14 -14
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1/classes.rb +1662 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +576 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1661 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +576 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1659 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +576 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -43
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/classes.rb +0 -68
- data/generated/google/apis/oauth2_v2/representations.rb +0 -32
- data/generated/google/apis/oauth2_v2/service.rb +0 -30
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +16 -12
- data/generated/google/apis/pubsub_v1/service.rb +22 -21
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +48 -0
- data/generated/google/apis/run_v1/representations.rb +17 -0
- data/generated/google/apis/run_v1/service.rb +208 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +431 -280
- data/generated/google/apis/run_v1alpha1/representations.rb +156 -105
- data/generated/google/apis/run_v1alpha1/service.rb +874 -448
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +3 -3
- data/generated/google/apis/secretmanager_v1/service.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +3 -3
- data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +98 -98
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +37 -37
- data/generated/google/apis/securitycenter_v1beta1/service.rb +36 -36
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +56 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -0
- data/generated/google/apis/servicenetworking_v1/representations.rb +17 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +56 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +56 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +17 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +56 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +17 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +38 -11
- data/generated/google/apis/spanner_v1/representations.rb +15 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/toolresults_v1/service.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +6 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +1 -0
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +6 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +72 -33
- data/generated/google/apis/youtube_v3/representations.rb +32 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -3
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/run/
|
27
27
|
module RunV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200219'
|
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'
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
29
29
|
module RuntimeconfigV1
|
30
30
|
VERSION = 'V1'
|
31
|
-
REVISION = '
|
31
|
+
REVISION = '20200224'
|
32
32
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
29
29
|
module RuntimeconfigV1beta1
|
30
30
|
VERSION = 'V1beta1'
|
31
|
-
REVISION = '
|
31
|
+
REVISION = '20200224'
|
32
32
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Secret Manager API
|
22
22
|
#
|
23
|
-
# Stores
|
24
|
-
# improving security.
|
23
|
+
# Stores API keys, passwords, certificates, and other sensitive data. Provides
|
24
|
+
# convenience while improving security.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/secret-manager/
|
27
27
|
module SecretmanagerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200222'
|
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'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module SecretmanagerV1
|
23
23
|
# Secret Manager API
|
24
24
|
#
|
25
|
-
# Stores
|
26
|
-
# improving security.
|
25
|
+
# Stores API keys, passwords, certificates, and other sensitive data. Provides
|
26
|
+
# convenience while improving security.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/secretmanager_v1'
|
@@ -20,13 +20,13 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Secret Manager API
|
22
22
|
#
|
23
|
-
# Stores
|
24
|
-
# improving security.
|
23
|
+
# Stores API keys, passwords, certificates, and other sensitive data. Provides
|
24
|
+
# convenience while improving security.
|
25
25
|
#
|
26
26
|
# @see https://cloud.google.com/secret-manager/
|
27
27
|
module SecretmanagerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200222'
|
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'
|
@@ -22,8 +22,8 @@ module Google
|
|
22
22
|
module SecretmanagerV1beta1
|
23
23
|
# Secret Manager API
|
24
24
|
#
|
25
|
-
# Stores
|
26
|
-
# improving security.
|
25
|
+
# Stores API keys, passwords, certificates, and other sensitive data. Provides
|
26
|
+
# convenience while improving security.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/secretmanager_v1beta1'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200224'
|
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'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200224'
|
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'
|
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
# SCC organization -- they can be modified and viewed by all users who have
|
61
61
|
# proper permissions on the organization.
|
62
62
|
# Corresponds to the JSON property `securityMarks`
|
63
|
-
# @return [Google::Apis::SecuritycenterV1beta1::
|
63
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
64
64
|
attr_accessor :security_marks
|
65
65
|
|
66
66
|
# The time at which the asset was last updated, added, or deleted in Cloud
|
@@ -403,12 +403,80 @@ module Google
|
|
403
403
|
end
|
404
404
|
end
|
405
405
|
|
406
|
+
# Request message for `GetIamPolicy` method.
|
407
|
+
class GetIamPolicyRequest
|
408
|
+
include Google::Apis::Core::Hashable
|
409
|
+
|
410
|
+
# Encapsulates settings provided to GetIamPolicy.
|
411
|
+
# Corresponds to the JSON property `options`
|
412
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GetPolicyOptions]
|
413
|
+
attr_accessor :options
|
414
|
+
|
415
|
+
def initialize(**args)
|
416
|
+
update!(**args)
|
417
|
+
end
|
418
|
+
|
419
|
+
# Update properties of this object
|
420
|
+
def update!(**args)
|
421
|
+
@options = args[:options] if args.key?(:options)
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# Encapsulates settings provided to GetIamPolicy.
|
426
|
+
class GetPolicyOptions
|
427
|
+
include Google::Apis::Core::Hashable
|
428
|
+
|
429
|
+
# Optional. The policy format version to be returned.
|
430
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
431
|
+
# rejected.
|
432
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
433
|
+
# Policies without any conditional bindings may specify any valid value or
|
434
|
+
# leave the field unset.
|
435
|
+
# Corresponds to the JSON property `requestedPolicyVersion`
|
436
|
+
# @return [Fixnum]
|
437
|
+
attr_accessor :requested_policy_version
|
438
|
+
|
439
|
+
def initialize(**args)
|
440
|
+
update!(**args)
|
441
|
+
end
|
442
|
+
|
443
|
+
# Update properties of this object
|
444
|
+
def update!(**args)
|
445
|
+
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# Response of asset discovery run
|
450
|
+
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
451
|
+
include Google::Apis::Core::Hashable
|
452
|
+
|
453
|
+
# The duration between asset discovery run start and end
|
454
|
+
# Corresponds to the JSON property `duration`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :duration
|
457
|
+
|
458
|
+
# The state of an asset discovery run.
|
459
|
+
# Corresponds to the JSON property `state`
|
460
|
+
# @return [String]
|
461
|
+
attr_accessor :state
|
462
|
+
|
463
|
+
def initialize(**args)
|
464
|
+
update!(**args)
|
465
|
+
end
|
466
|
+
|
467
|
+
# Update properties of this object
|
468
|
+
def update!(**args)
|
469
|
+
@duration = args[:duration] if args.key?(:duration)
|
470
|
+
@state = args[:state] if args.key?(:state)
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
406
474
|
# Cloud Security Command Center (Cloud SCC) finding.
|
407
475
|
# A finding is a record of assessment data (security, risk, health or privacy)
|
408
476
|
# ingested into Cloud SCC for presentation, notification, analysis,
|
409
477
|
# policy testing, and enforcement. For example, an XSS vulnerability in an
|
410
478
|
# App Engine application is a finding.
|
411
|
-
class
|
479
|
+
class GoogleCloudSecuritycenterV1beta1Finding
|
412
480
|
include Google::Apis::Core::Hashable
|
413
481
|
|
414
482
|
# The additional taxonomy group within findings from a given source.
|
@@ -470,7 +538,7 @@ module Google
|
|
470
538
|
# SCC organization -- they can be modified and viewed by all users who have
|
471
539
|
# proper permissions on the organization.
|
472
540
|
# Corresponds to the JSON property `securityMarks`
|
473
|
-
# @return [Google::Apis::SecuritycenterV1beta1::
|
541
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
474
542
|
attr_accessor :security_marks
|
475
543
|
|
476
544
|
# Source specific properties. These properties are managed by the source
|
@@ -505,51 +573,8 @@ module Google
|
|
505
573
|
end
|
506
574
|
end
|
507
575
|
|
508
|
-
# Request message for `GetIamPolicy` method.
|
509
|
-
class GetIamPolicyRequest
|
510
|
-
include Google::Apis::Core::Hashable
|
511
|
-
|
512
|
-
# Encapsulates settings provided to GetIamPolicy.
|
513
|
-
# Corresponds to the JSON property `options`
|
514
|
-
# @return [Google::Apis::SecuritycenterV1beta1::GetPolicyOptions]
|
515
|
-
attr_accessor :options
|
516
|
-
|
517
|
-
def initialize(**args)
|
518
|
-
update!(**args)
|
519
|
-
end
|
520
|
-
|
521
|
-
# Update properties of this object
|
522
|
-
def update!(**args)
|
523
|
-
@options = args[:options] if args.key?(:options)
|
524
|
-
end
|
525
|
-
end
|
526
|
-
|
527
|
-
# Encapsulates settings provided to GetIamPolicy.
|
528
|
-
class GetPolicyOptions
|
529
|
-
include Google::Apis::Core::Hashable
|
530
|
-
|
531
|
-
# Optional. The policy format version to be returned.
|
532
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
533
|
-
# rejected.
|
534
|
-
# Requests for policies with any conditional bindings must specify version 3.
|
535
|
-
# Policies without any conditional bindings may specify any valid value or
|
536
|
-
# leave the field unset.
|
537
|
-
# Corresponds to the JSON property `requestedPolicyVersion`
|
538
|
-
# @return [Fixnum]
|
539
|
-
attr_accessor :requested_policy_version
|
540
|
-
|
541
|
-
def initialize(**args)
|
542
|
-
update!(**args)
|
543
|
-
end
|
544
|
-
|
545
|
-
# Update properties of this object
|
546
|
-
def update!(**args)
|
547
|
-
@requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
|
548
|
-
end
|
549
|
-
end
|
550
|
-
|
551
576
|
# Response of asset discovery run
|
552
|
-
class
|
577
|
+
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
553
578
|
include Google::Apis::Core::Hashable
|
554
579
|
|
555
580
|
# The duration between asset discovery run start and end
|
@@ -573,19 +598,33 @@ module Google
|
|
573
598
|
end
|
574
599
|
end
|
575
600
|
|
576
|
-
#
|
577
|
-
|
601
|
+
# User specified security marks that are attached to the parent Cloud Security
|
602
|
+
# Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
|
603
|
+
# SCC organization -- they can be modified and viewed by all users who have
|
604
|
+
# proper permissions on the organization.
|
605
|
+
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
578
606
|
include Google::Apis::Core::Hashable
|
579
607
|
|
580
|
-
#
|
581
|
-
#
|
582
|
-
#
|
583
|
-
|
608
|
+
# Mutable user specified security marks belonging to the parent resource.
|
609
|
+
# Constraints are as follows:
|
610
|
+
# * Keys and values are treated as case insensitive
|
611
|
+
# * Keys must be between 1 - 256 characters (inclusive)
|
612
|
+
# * Keys must be letters, numbers, underscores, or dashes
|
613
|
+
# * Values have leading and trailing whitespace trimmed, remaining
|
614
|
+
# characters must be between 1 - 4096 characters (inclusive)
|
615
|
+
# Corresponds to the JSON property `marks`
|
616
|
+
# @return [Hash<String,String>]
|
617
|
+
attr_accessor :marks
|
584
618
|
|
585
|
-
# The
|
586
|
-
#
|
619
|
+
# The relative resource name of the SecurityMarks. See:
|
620
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
621
|
+
# Examples:
|
622
|
+
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
623
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
624
|
+
# securityMarks".
|
625
|
+
# Corresponds to the JSON property `name`
|
587
626
|
# @return [String]
|
588
|
-
attr_accessor :
|
627
|
+
attr_accessor :name
|
589
628
|
|
590
629
|
def initialize(**args)
|
591
630
|
update!(**args)
|
@@ -593,8 +632,8 @@ module Google
|
|
593
632
|
|
594
633
|
# Update properties of this object
|
595
634
|
def update!(**args)
|
596
|
-
@
|
597
|
-
@
|
635
|
+
@marks = args[:marks] if args.key?(:marks)
|
636
|
+
@name = args[:name] if args.key?(:name)
|
598
637
|
end
|
599
638
|
end
|
600
639
|
|
@@ -1333,7 +1372,7 @@ module Google
|
|
1333
1372
|
|
1334
1373
|
# Findings matching the list request.
|
1335
1374
|
# Corresponds to the JSON property `findings`
|
1336
|
-
# @return [Array<Google::Apis::SecuritycenterV1beta1::
|
1375
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding>]
|
1337
1376
|
attr_accessor :findings
|
1338
1377
|
|
1339
1378
|
# Token to retrieve the next page of results, or empty if there are no more
|
@@ -1703,45 +1742,6 @@ module Google
|
|
1703
1742
|
end
|
1704
1743
|
end
|
1705
1744
|
|
1706
|
-
# User specified security marks that are attached to the parent Cloud Security
|
1707
|
-
# Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
|
1708
|
-
# SCC organization -- they can be modified and viewed by all users who have
|
1709
|
-
# proper permissions on the organization.
|
1710
|
-
class SecurityMarks
|
1711
|
-
include Google::Apis::Core::Hashable
|
1712
|
-
|
1713
|
-
# Mutable user specified security marks belonging to the parent resource.
|
1714
|
-
# Constraints are as follows:
|
1715
|
-
# * Keys and values are treated as case insensitive
|
1716
|
-
# * Keys must be between 1 - 256 characters (inclusive)
|
1717
|
-
# * Keys must be letters, numbers, underscores, or dashes
|
1718
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
1719
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
1720
|
-
# Corresponds to the JSON property `marks`
|
1721
|
-
# @return [Hash<String,String>]
|
1722
|
-
attr_accessor :marks
|
1723
|
-
|
1724
|
-
# The relative resource name of the SecurityMarks. See:
|
1725
|
-
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1726
|
-
# Examples:
|
1727
|
-
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
1728
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
1729
|
-
# securityMarks".
|
1730
|
-
# Corresponds to the JSON property `name`
|
1731
|
-
# @return [String]
|
1732
|
-
attr_accessor :name
|
1733
|
-
|
1734
|
-
def initialize(**args)
|
1735
|
-
update!(**args)
|
1736
|
-
end
|
1737
|
-
|
1738
|
-
# Update properties of this object
|
1739
|
-
def update!(**args)
|
1740
|
-
@marks = args[:marks] if args.key?(:marks)
|
1741
|
-
@name = args[:name] if args.key?(:name)
|
1742
|
-
end
|
1743
|
-
end
|
1744
|
-
|
1745
1745
|
# Request message for updating a finding's state.
|
1746
1746
|
class SetFindingStateRequest
|
1747
1747
|
include Google::Apis::Core::Hashable
|
@@ -70,25 +70,25 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class GetIamPolicyRequest
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class GetPolicyOptions
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class GoogleCloudSecuritycenterV1beta1Finding
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GoogleCloudSecuritycenterV1p1beta1Asset
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -238,12 +244,6 @@ module Google
|
|
238
244
|
include Google::Apis::Core::JsonObjectSupport
|
239
245
|
end
|
240
246
|
|
241
|
-
class SecurityMarks
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
247
|
class SetFindingStateRequest
|
248
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
249
|
|
@@ -288,7 +288,7 @@ module Google
|
|
288
288
|
hash :resource_properties, as: 'resourceProperties'
|
289
289
|
property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1beta1::SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1beta1::SecurityCenterProperties::Representation
|
290
290
|
|
291
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::
|
291
|
+
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
292
292
|
|
293
293
|
property :update_time, as: 'updateTime'
|
294
294
|
end
|
@@ -351,23 +351,6 @@ module Google
|
|
351
351
|
end
|
352
352
|
end
|
353
353
|
|
354
|
-
class Finding
|
355
|
-
# @private
|
356
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
357
|
-
property :category, as: 'category'
|
358
|
-
property :create_time, as: 'createTime'
|
359
|
-
property :event_time, as: 'eventTime'
|
360
|
-
property :external_uri, as: 'externalUri'
|
361
|
-
property :name, as: 'name'
|
362
|
-
property :parent, as: 'parent'
|
363
|
-
property :resource_name, as: 'resourceName'
|
364
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
365
|
-
|
366
|
-
hash :source_properties, as: 'sourceProperties'
|
367
|
-
property :state, as: 'state'
|
368
|
-
end
|
369
|
-
end
|
370
|
-
|
371
354
|
class GetIamPolicyRequest
|
372
355
|
# @private
|
373
356
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -391,6 +374,23 @@ module Google
|
|
391
374
|
end
|
392
375
|
end
|
393
376
|
|
377
|
+
class GoogleCloudSecuritycenterV1beta1Finding
|
378
|
+
# @private
|
379
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
+
property :category, as: 'category'
|
381
|
+
property :create_time, as: 'createTime'
|
382
|
+
property :event_time, as: 'eventTime'
|
383
|
+
property :external_uri, as: 'externalUri'
|
384
|
+
property :name, as: 'name'
|
385
|
+
property :parent, as: 'parent'
|
386
|
+
property :resource_name, as: 'resourceName'
|
387
|
+
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
388
|
+
|
389
|
+
hash :source_properties, as: 'sourceProperties'
|
390
|
+
property :state, as: 'state'
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
394
|
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
395
395
|
# @private
|
396
396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -399,6 +399,14 @@ module Google
|
|
399
399
|
end
|
400
400
|
end
|
401
401
|
|
402
|
+
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
403
|
+
# @private
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
405
|
+
hash :marks, as: 'marks'
|
406
|
+
property :name, as: 'name'
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
402
410
|
class GoogleCloudSecuritycenterV1p1beta1Asset
|
403
411
|
# @private
|
404
412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -563,7 +571,7 @@ module Google
|
|
563
571
|
class ListFindingsResponse
|
564
572
|
# @private
|
565
573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
-
collection :findings, as: 'findings', class: Google::Apis::SecuritycenterV1beta1::
|
574
|
+
collection :findings, as: 'findings', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
567
575
|
|
568
576
|
property :next_page_token, as: 'nextPageToken'
|
569
577
|
property :read_time, as: 'readTime'
|
@@ -640,14 +648,6 @@ module Google
|
|
640
648
|
end
|
641
649
|
end
|
642
650
|
|
643
|
-
class SecurityMarks
|
644
|
-
# @private
|
645
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
646
|
-
hash :marks, as: 'marks'
|
647
|
-
property :name, as: 'name'
|
648
|
-
end
|
649
|
-
end
|
650
|
-
|
651
651
|
class SetFindingStateRequest
|
652
652
|
# @private
|
653
653
|
class Representation < Google::Apis::Core::JsonRepresentation
|