google-api-client 0.40.1 → 0.40.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1p1alpha1
|
|
28
28
|
VERSION = 'V1p1alpha1'
|
|
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'
|
|
@@ -162,6 +162,11 @@ module Google
|
|
|
162
162
|
# @return [String]
|
|
163
163
|
attr_accessor :notification_config_name
|
|
164
164
|
|
|
165
|
+
# Information related to the Google Cloud resource.
|
|
166
|
+
# Corresponds to the JSON property `resource`
|
|
167
|
+
# @return [Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource]
|
|
168
|
+
attr_accessor :resource
|
|
169
|
+
|
|
165
170
|
def initialize(**args)
|
|
166
171
|
update!(**args)
|
|
167
172
|
end
|
|
@@ -170,6 +175,51 @@ module Google
|
|
|
170
175
|
def update!(**args)
|
|
171
176
|
@finding = args[:finding] if args.key?(:finding)
|
|
172
177
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
|
178
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# Information related to the Google Cloud resource.
|
|
183
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
184
|
+
include Google::Apis::Core::Hashable
|
|
185
|
+
|
|
186
|
+
# The full resource name of the resource. See:
|
|
187
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
188
|
+
# Corresponds to the JSON property `name`
|
|
189
|
+
# @return [String]
|
|
190
|
+
attr_accessor :name
|
|
191
|
+
|
|
192
|
+
# The full resource name of resource's parent.
|
|
193
|
+
# Corresponds to the JSON property `parent`
|
|
194
|
+
# @return [String]
|
|
195
|
+
attr_accessor :parent
|
|
196
|
+
|
|
197
|
+
# The human readable name of resource's parent.
|
|
198
|
+
# Corresponds to the JSON property `parentDisplayName`
|
|
199
|
+
# @return [String]
|
|
200
|
+
attr_accessor :parent_display_name
|
|
201
|
+
|
|
202
|
+
# The full resource name of project that the resource belongs to.
|
|
203
|
+
# Corresponds to the JSON property `project`
|
|
204
|
+
# @return [String]
|
|
205
|
+
attr_accessor :project
|
|
206
|
+
|
|
207
|
+
# The human readable name of project that the resource belongs to.
|
|
208
|
+
# Corresponds to the JSON property `projectDisplayName`
|
|
209
|
+
# @return [String]
|
|
210
|
+
attr_accessor :project_display_name
|
|
211
|
+
|
|
212
|
+
def initialize(**args)
|
|
213
|
+
update!(**args)
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# Update properties of this object
|
|
217
|
+
def update!(**args)
|
|
218
|
+
@name = args[:name] if args.key?(:name)
|
|
219
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
220
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
|
221
|
+
@project = args[:project] if args.key?(:project)
|
|
222
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
|
173
223
|
end
|
|
174
224
|
end
|
|
175
225
|
|
|
@@ -438,6 +488,11 @@ module Google
|
|
|
438
488
|
# @return [String]
|
|
439
489
|
attr_accessor :notification_config_name
|
|
440
490
|
|
|
491
|
+
# Information related to the Google Cloud resource.
|
|
492
|
+
# Corresponds to the JSON property `resource`
|
|
493
|
+
# @return [Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
|
494
|
+
attr_accessor :resource
|
|
495
|
+
|
|
441
496
|
# Wrapper over asset object that also captures the state change for the asset
|
|
442
497
|
# e.g. if it was a newly created asset vs updated or deleted asset.
|
|
443
498
|
# Corresponds to the JSON property `temporalAsset`
|
|
@@ -452,10 +507,55 @@ module Google
|
|
|
452
507
|
def update!(**args)
|
|
453
508
|
@finding = args[:finding] if args.key?(:finding)
|
|
454
509
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
|
510
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
455
511
|
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
|
456
512
|
end
|
|
457
513
|
end
|
|
458
514
|
|
|
515
|
+
# Information related to the Google Cloud resource.
|
|
516
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
517
|
+
include Google::Apis::Core::Hashable
|
|
518
|
+
|
|
519
|
+
# The full resource name of the resource. See:
|
|
520
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
521
|
+
# Corresponds to the JSON property `name`
|
|
522
|
+
# @return [String]
|
|
523
|
+
attr_accessor :name
|
|
524
|
+
|
|
525
|
+
# The full resource name of resource's parent.
|
|
526
|
+
# Corresponds to the JSON property `parent`
|
|
527
|
+
# @return [String]
|
|
528
|
+
attr_accessor :parent
|
|
529
|
+
|
|
530
|
+
# The human readable name of resource's parent.
|
|
531
|
+
# Corresponds to the JSON property `parentDisplayName`
|
|
532
|
+
# @return [String]
|
|
533
|
+
attr_accessor :parent_display_name
|
|
534
|
+
|
|
535
|
+
# The full resource name of project that the resource belongs to.
|
|
536
|
+
# Corresponds to the JSON property `project`
|
|
537
|
+
# @return [String]
|
|
538
|
+
attr_accessor :project
|
|
539
|
+
|
|
540
|
+
# The human readable name of project that the resource belongs to.
|
|
541
|
+
# Corresponds to the JSON property `projectDisplayName`
|
|
542
|
+
# @return [String]
|
|
543
|
+
attr_accessor :project_display_name
|
|
544
|
+
|
|
545
|
+
def initialize(**args)
|
|
546
|
+
update!(**args)
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
# Update properties of this object
|
|
550
|
+
def update!(**args)
|
|
551
|
+
@name = args[:name] if args.key?(:name)
|
|
552
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
553
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
|
554
|
+
@project = args[:project] if args.key?(:project)
|
|
555
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
|
556
|
+
end
|
|
557
|
+
end
|
|
558
|
+
|
|
459
559
|
# Response of asset discovery run
|
|
460
560
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
461
561
|
include Google::Apis::Core::Hashable
|
|
@@ -40,6 +40,12 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
51
|
|
|
@@ -76,6 +82,12 @@ module Google
|
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
83
|
end
|
|
78
84
|
|
|
85
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
79
91
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
93
|
|
|
@@ -153,6 +165,19 @@ module Google
|
|
|
153
165
|
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::Finding::Representation
|
|
154
166
|
|
|
155
167
|
property :notification_config_name, as: 'notificationConfigName'
|
|
168
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource::Representation
|
|
169
|
+
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
174
|
+
# @private
|
|
175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
176
|
+
property :name, as: 'name'
|
|
177
|
+
property :parent, as: 'parent'
|
|
178
|
+
property :parent_display_name, as: 'parentDisplayName'
|
|
179
|
+
property :project, as: 'project'
|
|
180
|
+
property :project_display_name, as: 'projectDisplayName'
|
|
156
181
|
end
|
|
157
182
|
end
|
|
158
183
|
|
|
@@ -218,11 +243,24 @@ module Google
|
|
|
218
243
|
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
|
|
219
244
|
|
|
220
245
|
property :notification_config_name, as: 'notificationConfigName'
|
|
246
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
|
|
247
|
+
|
|
221
248
|
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
|
|
222
249
|
|
|
223
250
|
end
|
|
224
251
|
end
|
|
225
252
|
|
|
253
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
254
|
+
# @private
|
|
255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
256
|
+
property :name, as: 'name'
|
|
257
|
+
property :parent, as: 'parent'
|
|
258
|
+
property :parent_display_name, as: 'parentDisplayName'
|
|
259
|
+
property :project, as: 'project'
|
|
260
|
+
property :project_display_name, as: 'projectDisplayName'
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
226
264
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
227
265
|
# @private
|
|
228
266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1p1beta1
|
|
28
28
|
VERSION = 'V1p1beta1'
|
|
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'
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
# `
|
|
60
60
|
# "audit_configs": [
|
|
61
61
|
# `
|
|
62
|
-
# "service": "allServices"
|
|
62
|
+
# "service": "allServices",
|
|
63
63
|
# "audit_log_configs": [
|
|
64
64
|
# `
|
|
65
65
|
# "log_type": "DATA_READ",
|
|
@@ -68,18 +68,18 @@ module Google
|
|
|
68
68
|
# ]
|
|
69
69
|
# `,
|
|
70
70
|
# `
|
|
71
|
-
# "log_type": "DATA_WRITE"
|
|
71
|
+
# "log_type": "DATA_WRITE"
|
|
72
72
|
# `,
|
|
73
73
|
# `
|
|
74
|
-
# "log_type": "ADMIN_READ"
|
|
74
|
+
# "log_type": "ADMIN_READ"
|
|
75
75
|
# `
|
|
76
76
|
# ]
|
|
77
77
|
# `,
|
|
78
78
|
# `
|
|
79
|
-
# "service": "sampleservice.googleapis.com"
|
|
79
|
+
# "service": "sampleservice.googleapis.com",
|
|
80
80
|
# "audit_log_configs": [
|
|
81
81
|
# `
|
|
82
|
-
# "log_type": "DATA_READ"
|
|
82
|
+
# "log_type": "DATA_READ"
|
|
83
83
|
# `,
|
|
84
84
|
# `
|
|
85
85
|
# "log_type": "DATA_WRITE",
|
|
@@ -131,7 +131,7 @@ module Google
|
|
|
131
131
|
# ]
|
|
132
132
|
# `,
|
|
133
133
|
# `
|
|
134
|
-
# "log_type": "DATA_WRITE"
|
|
134
|
+
# "log_type": "DATA_WRITE"
|
|
135
135
|
# `
|
|
136
136
|
# ]
|
|
137
137
|
# `
|
|
@@ -495,6 +495,11 @@ module Google
|
|
|
495
495
|
# @return [String]
|
|
496
496
|
attr_accessor :notification_config_name
|
|
497
497
|
|
|
498
|
+
# Information related to the Google Cloud resource.
|
|
499
|
+
# Corresponds to the JSON property `resource`
|
|
500
|
+
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource]
|
|
501
|
+
attr_accessor :resource
|
|
502
|
+
|
|
498
503
|
def initialize(**args)
|
|
499
504
|
update!(**args)
|
|
500
505
|
end
|
|
@@ -503,6 +508,51 @@ module Google
|
|
|
503
508
|
def update!(**args)
|
|
504
509
|
@finding = args[:finding] if args.key?(:finding)
|
|
505
510
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
|
511
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
512
|
+
end
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
# Information related to the Google Cloud resource.
|
|
516
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
517
|
+
include Google::Apis::Core::Hashable
|
|
518
|
+
|
|
519
|
+
# The full resource name of the resource. See:
|
|
520
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
521
|
+
# Corresponds to the JSON property `name`
|
|
522
|
+
# @return [String]
|
|
523
|
+
attr_accessor :name
|
|
524
|
+
|
|
525
|
+
# The full resource name of resource's parent.
|
|
526
|
+
# Corresponds to the JSON property `parent`
|
|
527
|
+
# @return [String]
|
|
528
|
+
attr_accessor :parent
|
|
529
|
+
|
|
530
|
+
# The human readable name of resource's parent.
|
|
531
|
+
# Corresponds to the JSON property `parentDisplayName`
|
|
532
|
+
# @return [String]
|
|
533
|
+
attr_accessor :parent_display_name
|
|
534
|
+
|
|
535
|
+
# The full resource name of project that the resource belongs to.
|
|
536
|
+
# Corresponds to the JSON property `project`
|
|
537
|
+
# @return [String]
|
|
538
|
+
attr_accessor :project
|
|
539
|
+
|
|
540
|
+
# The human readable name of project that the resource belongs to.
|
|
541
|
+
# Corresponds to the JSON property `projectDisplayName`
|
|
542
|
+
# @return [String]
|
|
543
|
+
attr_accessor :project_display_name
|
|
544
|
+
|
|
545
|
+
def initialize(**args)
|
|
546
|
+
update!(**args)
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
# Update properties of this object
|
|
550
|
+
def update!(**args)
|
|
551
|
+
@name = args[:name] if args.key?(:name)
|
|
552
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
553
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
|
554
|
+
@project = args[:project] if args.key?(:project)
|
|
555
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
|
506
556
|
end
|
|
507
557
|
end
|
|
508
558
|
|
|
@@ -771,6 +821,11 @@ module Google
|
|
|
771
821
|
# @return [String]
|
|
772
822
|
attr_accessor :notification_config_name
|
|
773
823
|
|
|
824
|
+
# Information related to the Google Cloud resource.
|
|
825
|
+
# Corresponds to the JSON property `resource`
|
|
826
|
+
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
|
827
|
+
attr_accessor :resource
|
|
828
|
+
|
|
774
829
|
# Wrapper over asset object that also captures the state change for the asset
|
|
775
830
|
# e.g. if it was a newly created asset vs updated or deleted asset.
|
|
776
831
|
# Corresponds to the JSON property `temporalAsset`
|
|
@@ -785,10 +840,55 @@ module Google
|
|
|
785
840
|
def update!(**args)
|
|
786
841
|
@finding = args[:finding] if args.key?(:finding)
|
|
787
842
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
|
843
|
+
@resource = args[:resource] if args.key?(:resource)
|
|
788
844
|
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
|
789
845
|
end
|
|
790
846
|
end
|
|
791
847
|
|
|
848
|
+
# Information related to the Google Cloud resource.
|
|
849
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
850
|
+
include Google::Apis::Core::Hashable
|
|
851
|
+
|
|
852
|
+
# The full resource name of the resource. See:
|
|
853
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
854
|
+
# Corresponds to the JSON property `name`
|
|
855
|
+
# @return [String]
|
|
856
|
+
attr_accessor :name
|
|
857
|
+
|
|
858
|
+
# The full resource name of resource's parent.
|
|
859
|
+
# Corresponds to the JSON property `parent`
|
|
860
|
+
# @return [String]
|
|
861
|
+
attr_accessor :parent
|
|
862
|
+
|
|
863
|
+
# The human readable name of resource's parent.
|
|
864
|
+
# Corresponds to the JSON property `parentDisplayName`
|
|
865
|
+
# @return [String]
|
|
866
|
+
attr_accessor :parent_display_name
|
|
867
|
+
|
|
868
|
+
# The full resource name of project that the resource belongs to.
|
|
869
|
+
# Corresponds to the JSON property `project`
|
|
870
|
+
# @return [String]
|
|
871
|
+
attr_accessor :project
|
|
872
|
+
|
|
873
|
+
# The human readable name of project that the resource belongs to.
|
|
874
|
+
# Corresponds to the JSON property `projectDisplayName`
|
|
875
|
+
# @return [String]
|
|
876
|
+
attr_accessor :project_display_name
|
|
877
|
+
|
|
878
|
+
def initialize(**args)
|
|
879
|
+
update!(**args)
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
# Update properties of this object
|
|
883
|
+
def update!(**args)
|
|
884
|
+
@name = args[:name] if args.key?(:name)
|
|
885
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
886
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
|
887
|
+
@project = args[:project] if args.key?(:project)
|
|
888
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
|
889
|
+
end
|
|
890
|
+
end
|
|
891
|
+
|
|
792
892
|
# Response of asset discovery run
|
|
793
893
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
794
894
|
include Google::Apis::Core::Hashable
|
|
@@ -82,6 +82,12 @@ module Google
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
85
91
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
93
|
|
|
@@ -118,6 +124,12 @@ module Google
|
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
125
|
end
|
|
120
126
|
|
|
127
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
+
end
|
|
132
|
+
|
|
121
133
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
135
|
|
|
@@ -387,6 +399,19 @@ module Google
|
|
|
387
399
|
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::Finding::Representation
|
|
388
400
|
|
|
389
401
|
property :notification_config_name, as: 'notificationConfigName'
|
|
402
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource::Representation
|
|
403
|
+
|
|
404
|
+
end
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
class GoogleCloudSecuritycenterV1Resource
|
|
408
|
+
# @private
|
|
409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
410
|
+
property :name, as: 'name'
|
|
411
|
+
property :parent, as: 'parent'
|
|
412
|
+
property :parent_display_name, as: 'parentDisplayName'
|
|
413
|
+
property :project, as: 'project'
|
|
414
|
+
property :project_display_name, as: 'projectDisplayName'
|
|
390
415
|
end
|
|
391
416
|
end
|
|
392
417
|
|
|
@@ -452,11 +477,24 @@ module Google
|
|
|
452
477
|
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
|
|
453
478
|
|
|
454
479
|
property :notification_config_name, as: 'notificationConfigName'
|
|
480
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
|
|
481
|
+
|
|
455
482
|
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
|
|
456
483
|
|
|
457
484
|
end
|
|
458
485
|
end
|
|
459
486
|
|
|
487
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
488
|
+
# @private
|
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
490
|
+
property :name, as: 'name'
|
|
491
|
+
property :parent, as: 'parent'
|
|
492
|
+
property :parent_display_name, as: 'parentDisplayName'
|
|
493
|
+
property :project, as: 'project'
|
|
494
|
+
property :project_display_name, as: 'projectDisplayName'
|
|
495
|
+
end
|
|
496
|
+
end
|
|
497
|
+
|
|
460
498
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
|
461
499
|
# @private
|
|
462
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|