google-api-client 0.45.0 → 0.45.1
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 +56 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +0 -6
- data/generated/google/apis/apigee_v1/representations.rb +0 -1
- data/generated/google/apis/apigee_v1/service.rb +1 -5
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +22 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +76 -2
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -34
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +185 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +164 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/service.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +73 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +73 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +142 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +26 -0
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1014 -16
- data/generated/google/apis/healthcare_v1beta1/representations.rb +453 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1226 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +8 -6
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -124
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -2
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +1 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +83 -52
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +33 -17
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +4 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- 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 +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1beta2
|
|
28
28
|
VERSION = 'V1beta2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200918'
|
|
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'
|
|
@@ -401,74 +401,6 @@ module Google
|
|
|
401
401
|
end
|
|
402
402
|
end
|
|
403
403
|
|
|
404
|
-
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
405
|
-
# is a Security Command Center resource that captures information about a single
|
|
406
|
-
# Google Cloud resource. All modifications to an Asset are only within the
|
|
407
|
-
# context of Security Command Center and don't affect the referenced Google
|
|
408
|
-
# Cloud resource.
|
|
409
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
|
410
|
-
include Google::Apis::Core::Hashable
|
|
411
|
-
|
|
412
|
-
# The time at which the asset was created in Security Command Center.
|
|
413
|
-
# Corresponds to the JSON property `createTime`
|
|
414
|
-
# @return [String]
|
|
415
|
-
attr_accessor :create_time
|
|
416
|
-
|
|
417
|
-
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
418
|
-
# described by the Security Command Center asset. This information is managed
|
|
419
|
-
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
420
|
-
# Corresponds to the JSON property `iamPolicy`
|
|
421
|
-
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
|
422
|
-
attr_accessor :iam_policy
|
|
423
|
-
|
|
424
|
-
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
|
425
|
-
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
426
|
-
# organization_id`/assets/`asset_id`".
|
|
427
|
-
# Corresponds to the JSON property `name`
|
|
428
|
-
# @return [String]
|
|
429
|
-
attr_accessor :name
|
|
430
|
-
|
|
431
|
-
# Resource managed properties. These properties are managed and defined by the
|
|
432
|
-
# Google Cloud resource and cannot be modified by the user.
|
|
433
|
-
# Corresponds to the JSON property `resourceProperties`
|
|
434
|
-
# @return [Hash<String,Object>]
|
|
435
|
-
attr_accessor :resource_properties
|
|
436
|
-
|
|
437
|
-
# Security Command Center managed properties. These properties are managed by
|
|
438
|
-
# Security Command Center and cannot be modified by the user.
|
|
439
|
-
# Corresponds to the JSON property `securityCenterProperties`
|
|
440
|
-
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
|
441
|
-
attr_accessor :security_center_properties
|
|
442
|
-
|
|
443
|
-
# User specified security marks that are attached to the parent Security Command
|
|
444
|
-
# Center resource. Security marks are scoped within a Security Command Center
|
|
445
|
-
# organization -- they can be modified and viewed by all users who have proper
|
|
446
|
-
# permissions on the organization.
|
|
447
|
-
# Corresponds to the JSON property `securityMarks`
|
|
448
|
-
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
|
449
|
-
attr_accessor :security_marks
|
|
450
|
-
|
|
451
|
-
# The time at which the asset was last updated, added, or deleted in Cloud SCC.
|
|
452
|
-
# Corresponds to the JSON property `updateTime`
|
|
453
|
-
# @return [String]
|
|
454
|
-
attr_accessor :update_time
|
|
455
|
-
|
|
456
|
-
def initialize(**args)
|
|
457
|
-
update!(**args)
|
|
458
|
-
end
|
|
459
|
-
|
|
460
|
-
# Update properties of this object
|
|
461
|
-
def update!(**args)
|
|
462
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
463
|
-
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
|
464
|
-
@name = args[:name] if args.key?(:name)
|
|
465
|
-
@resource_properties = args[:resource_properties] if args.key?(:resource_properties)
|
|
466
|
-
@security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
|
|
467
|
-
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
|
468
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
|
469
|
-
end
|
|
470
|
-
end
|
|
471
|
-
|
|
472
404
|
# Security Command Center finding. A finding is a record of assessment data (
|
|
473
405
|
# security, risk, health or privacy) ingested into Security Command Center for
|
|
474
406
|
# presentation, notification, analysis, policy testing, and enforcement. For
|
|
@@ -535,7 +467,8 @@ module Google
|
|
|
535
467
|
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
|
536
468
|
attr_accessor :security_marks
|
|
537
469
|
|
|
538
|
-
# The severity of the finding.
|
|
470
|
+
# The severity of the finding. This field is managed by the source that writes
|
|
471
|
+
# the finding.
|
|
539
472
|
# Corresponds to the JSON property `severity`
|
|
540
473
|
# @return [String]
|
|
541
474
|
attr_accessor :severity
|
|
@@ -573,28 +506,6 @@ module Google
|
|
|
573
506
|
end
|
|
574
507
|
end
|
|
575
508
|
|
|
576
|
-
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
577
|
-
# described by the Security Command Center asset. This information is managed
|
|
578
|
-
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
579
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
|
580
|
-
include Google::Apis::Core::Hashable
|
|
581
|
-
|
|
582
|
-
# The JSON representation of the Policy associated with the asset. See https://
|
|
583
|
-
# cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
|
|
584
|
-
# Corresponds to the JSON property `policyBlob`
|
|
585
|
-
# @return [String]
|
|
586
|
-
attr_accessor :policy_blob
|
|
587
|
-
|
|
588
|
-
def initialize(**args)
|
|
589
|
-
update!(**args)
|
|
590
|
-
end
|
|
591
|
-
|
|
592
|
-
# Update properties of this object
|
|
593
|
-
def update!(**args)
|
|
594
|
-
@policy_blob = args[:policy_blob] if args.key?(:policy_blob)
|
|
595
|
-
end
|
|
596
|
-
end
|
|
597
|
-
|
|
598
509
|
# Security Command Center's Notification
|
|
599
510
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
600
511
|
include Google::Apis::Core::Hashable
|
|
@@ -617,12 +528,6 @@ module Google
|
|
|
617
528
|
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Resource]
|
|
618
529
|
attr_accessor :resource
|
|
619
530
|
|
|
620
|
-
# Wrapper over asset object that also captures the state change for the asset e.
|
|
621
|
-
# g. if it was a newly created asset vs updated or deleted asset.
|
|
622
|
-
# Corresponds to the JSON property `temporalAsset`
|
|
623
|
-
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
|
624
|
-
attr_accessor :temporal_asset
|
|
625
|
-
|
|
626
531
|
def initialize(**args)
|
|
627
532
|
update!(**args)
|
|
628
533
|
end
|
|
@@ -632,7 +537,6 @@ module Google
|
|
|
632
537
|
@finding = args[:finding] if args.key?(:finding)
|
|
633
538
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
|
634
539
|
@resource = args[:resource] if args.key?(:resource)
|
|
635
|
-
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
|
636
540
|
end
|
|
637
541
|
end
|
|
638
542
|
|
|
@@ -705,74 +609,6 @@ module Google
|
|
|
705
609
|
end
|
|
706
610
|
end
|
|
707
611
|
|
|
708
|
-
# Security Command Center managed properties. These properties are managed by
|
|
709
|
-
# Security Command Center and cannot be modified by the user.
|
|
710
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
|
711
|
-
include Google::Apis::Core::Hashable
|
|
712
|
-
|
|
713
|
-
# The user defined display name for this resource.
|
|
714
|
-
# Corresponds to the JSON property `resourceDisplayName`
|
|
715
|
-
# @return [String]
|
|
716
|
-
attr_accessor :resource_display_name
|
|
717
|
-
|
|
718
|
-
# The full resource name of the Google Cloud resource this asset represents.
|
|
719
|
-
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
|
720
|
-
# design/resource_names#full_resource_name
|
|
721
|
-
# Corresponds to the JSON property `resourceName`
|
|
722
|
-
# @return [String]
|
|
723
|
-
attr_accessor :resource_name
|
|
724
|
-
|
|
725
|
-
# Owners of the Google Cloud resource.
|
|
726
|
-
# Corresponds to the JSON property `resourceOwners`
|
|
727
|
-
# @return [Array<String>]
|
|
728
|
-
attr_accessor :resource_owners
|
|
729
|
-
|
|
730
|
-
# The full resource name of the immediate parent of the resource. See: https://
|
|
731
|
-
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
732
|
-
# Corresponds to the JSON property `resourceParent`
|
|
733
|
-
# @return [String]
|
|
734
|
-
attr_accessor :resource_parent
|
|
735
|
-
|
|
736
|
-
# The user defined display name for the parent of this resource.
|
|
737
|
-
# Corresponds to the JSON property `resourceParentDisplayName`
|
|
738
|
-
# @return [String]
|
|
739
|
-
attr_accessor :resource_parent_display_name
|
|
740
|
-
|
|
741
|
-
# The full resource name of the project the resource belongs to. See: https://
|
|
742
|
-
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
743
|
-
# Corresponds to the JSON property `resourceProject`
|
|
744
|
-
# @return [String]
|
|
745
|
-
attr_accessor :resource_project
|
|
746
|
-
|
|
747
|
-
# The user defined display name for the project of this resource.
|
|
748
|
-
# Corresponds to the JSON property `resourceProjectDisplayName`
|
|
749
|
-
# @return [String]
|
|
750
|
-
attr_accessor :resource_project_display_name
|
|
751
|
-
|
|
752
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
|
753
|
-
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
|
754
|
-
# Center and/or the producer of the resource and is immutable after create time.
|
|
755
|
-
# Corresponds to the JSON property `resourceType`
|
|
756
|
-
# @return [String]
|
|
757
|
-
attr_accessor :resource_type
|
|
758
|
-
|
|
759
|
-
def initialize(**args)
|
|
760
|
-
update!(**args)
|
|
761
|
-
end
|
|
762
|
-
|
|
763
|
-
# Update properties of this object
|
|
764
|
-
def update!(**args)
|
|
765
|
-
@resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
|
|
766
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
|
767
|
-
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
|
768
|
-
@resource_parent = args[:resource_parent] if args.key?(:resource_parent)
|
|
769
|
-
@resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
|
|
770
|
-
@resource_project = args[:resource_project] if args.key?(:resource_project)
|
|
771
|
-
@resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
|
|
772
|
-
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
773
|
-
end
|
|
774
|
-
end
|
|
775
|
-
|
|
776
612
|
# User specified security marks that are attached to the parent Security Command
|
|
777
613
|
# Center resource. Security marks are scoped within a Security Command Center
|
|
778
614
|
# organization -- they can be modified and viewed by all users who have proper
|
|
@@ -808,36 +644,6 @@ module Google
|
|
|
808
644
|
end
|
|
809
645
|
end
|
|
810
646
|
|
|
811
|
-
# Wrapper over asset object that also captures the state change for the asset e.
|
|
812
|
-
# g. if it was a newly created asset vs updated or deleted asset.
|
|
813
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
|
814
|
-
include Google::Apis::Core::Hashable
|
|
815
|
-
|
|
816
|
-
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
817
|
-
# is a Security Command Center resource that captures information about a single
|
|
818
|
-
# Google Cloud resource. All modifications to an Asset are only within the
|
|
819
|
-
# context of Security Command Center and don't affect the referenced Google
|
|
820
|
-
# Cloud resource.
|
|
821
|
-
# Corresponds to the JSON property `asset`
|
|
822
|
-
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Asset]
|
|
823
|
-
attr_accessor :asset
|
|
824
|
-
|
|
825
|
-
# Represents if the asset was created/updated/deleted.
|
|
826
|
-
# Corresponds to the JSON property `changeType`
|
|
827
|
-
# @return [String]
|
|
828
|
-
attr_accessor :change_type
|
|
829
|
-
|
|
830
|
-
def initialize(**args)
|
|
831
|
-
update!(**args)
|
|
832
|
-
end
|
|
833
|
-
|
|
834
|
-
# Update properties of this object
|
|
835
|
-
def update!(**args)
|
|
836
|
-
@asset = args[:asset] if args.key?(:asset)
|
|
837
|
-
@change_type = args[:change_type] if args.key?(:change_type)
|
|
838
|
-
end
|
|
839
|
-
end
|
|
840
|
-
|
|
841
647
|
# Resource capturing the settings for Security Center.
|
|
842
648
|
class SecurityCenterSettings
|
|
843
649
|
include Google::Apis::Core::Hashable
|
|
@@ -76,24 +76,12 @@ module Google
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
79
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
86
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
81
|
|
|
88
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
83
|
end
|
|
90
84
|
|
|
91
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
85
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
98
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
87
|
|
|
@@ -112,24 +100,12 @@ module Google
|
|
|
112
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
101
|
end
|
|
114
102
|
|
|
115
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
-
|
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
-
end
|
|
120
|
-
|
|
121
103
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
122
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
105
|
|
|
124
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
125
107
|
end
|
|
126
108
|
|
|
127
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
-
|
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
-
end
|
|
132
|
-
|
|
133
109
|
class SecurityCenterSettings
|
|
134
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
111
|
|
|
@@ -255,22 +231,6 @@ module Google
|
|
|
255
231
|
end
|
|
256
232
|
end
|
|
257
233
|
|
|
258
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
|
259
|
-
# @private
|
|
260
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
261
|
-
property :create_time, as: 'createTime'
|
|
262
|
-
property :iam_policy, as: 'iamPolicy', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1IamPolicy, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1IamPolicy::Representation
|
|
263
|
-
|
|
264
|
-
property :name, as: 'name'
|
|
265
|
-
hash :resource_properties, as: 'resourceProperties'
|
|
266
|
-
property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties::Representation
|
|
267
|
-
|
|
268
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
|
|
269
|
-
|
|
270
|
-
property :update_time, as: 'updateTime'
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
|
-
|
|
274
234
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
275
235
|
# @private
|
|
276
236
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -289,13 +249,6 @@ module Google
|
|
|
289
249
|
end
|
|
290
250
|
end
|
|
291
251
|
|
|
292
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
|
293
|
-
# @private
|
|
294
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
295
|
-
property :policy_blob, as: 'policyBlob'
|
|
296
|
-
end
|
|
297
|
-
end
|
|
298
|
-
|
|
299
252
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
300
253
|
# @private
|
|
301
254
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -304,8 +257,6 @@ module Google
|
|
|
304
257
|
property :notification_config_name, as: 'notificationConfigName'
|
|
305
258
|
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
|
|
306
259
|
|
|
307
|
-
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
|
|
308
|
-
|
|
309
260
|
end
|
|
310
261
|
end
|
|
311
262
|
|
|
@@ -328,20 +279,6 @@ module Google
|
|
|
328
279
|
end
|
|
329
280
|
end
|
|
330
281
|
|
|
331
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
|
332
|
-
# @private
|
|
333
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
334
|
-
property :resource_display_name, as: 'resourceDisplayName'
|
|
335
|
-
property :resource_name, as: 'resourceName'
|
|
336
|
-
collection :resource_owners, as: 'resourceOwners'
|
|
337
|
-
property :resource_parent, as: 'resourceParent'
|
|
338
|
-
property :resource_parent_display_name, as: 'resourceParentDisplayName'
|
|
339
|
-
property :resource_project, as: 'resourceProject'
|
|
340
|
-
property :resource_project_display_name, as: 'resourceProjectDisplayName'
|
|
341
|
-
property :resource_type, as: 'resourceType'
|
|
342
|
-
end
|
|
343
|
-
end
|
|
344
|
-
|
|
345
282
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
346
283
|
# @private
|
|
347
284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -350,15 +287,6 @@ module Google
|
|
|
350
287
|
end
|
|
351
288
|
end
|
|
352
289
|
|
|
353
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
|
354
|
-
# @private
|
|
355
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
356
|
-
property :asset, as: 'asset', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Asset, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1p1beta1Asset::Representation
|
|
357
|
-
|
|
358
|
-
property :change_type, as: 'changeType'
|
|
359
|
-
end
|
|
360
|
-
end
|
|
361
|
-
|
|
362
290
|
class SecurityCenterSettings
|
|
363
291
|
# @private
|
|
364
292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
|
27
27
|
module ServicecontrolV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200917'
|
|
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'
|
|
@@ -400,8 +400,7 @@ module Google
|
|
|
400
400
|
attr_accessor :principal_email
|
|
401
401
|
|
|
402
402
|
# String representation of identity of requesting party. Populated for both
|
|
403
|
-
# first and third party identities.
|
|
404
|
-
# party identities.
|
|
403
|
+
# first and third party identities.
|
|
405
404
|
# Corresponds to the JSON property `principalSubject`
|
|
406
405
|
# @return [String]
|
|
407
406
|
attr_accessor :principal_subject
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
|
27
27
|
module ServicecontrolV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200917'
|
|
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'
|
|
@@ -371,8 +371,7 @@ module Google
|
|
|
371
371
|
attr_accessor :principal_email
|
|
372
372
|
|
|
373
373
|
# String representation of identity of requesting party. Populated for both
|
|
374
|
-
# first and third party identities.
|
|
375
|
-
# party identities.
|
|
374
|
+
# first and third party identities.
|
|
376
375
|
# Corresponds to the JSON property `principalSubject`
|
|
377
376
|
# @return [String]
|
|
378
377
|
attr_accessor :principal_subject
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
|
28
28
|
module ServicemanagementV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200918'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1019,28 +1019,6 @@ module Google
|
|
|
1019
1019
|
end
|
|
1020
1020
|
end
|
|
1021
1021
|
|
|
1022
|
-
# Request message for DisableService method.
|
|
1023
|
-
class DisableServiceRequest
|
|
1024
|
-
include Google::Apis::Core::Hashable
|
|
1025
|
-
|
|
1026
|
-
# Required. The identity of consumer resource which service disablement will be
|
|
1027
|
-
# applied to. The Google Service Management implementation accepts the following
|
|
1028
|
-
# forms: - "project:" Note: this is made compatible with google.api.
|
|
1029
|
-
# servicecontrol.v1.Operation.consumer_id.
|
|
1030
|
-
# Corresponds to the JSON property `consumerId`
|
|
1031
|
-
# @return [String]
|
|
1032
|
-
attr_accessor :consumer_id
|
|
1033
|
-
|
|
1034
|
-
def initialize(**args)
|
|
1035
|
-
update!(**args)
|
|
1036
|
-
end
|
|
1037
|
-
|
|
1038
|
-
# Update properties of this object
|
|
1039
|
-
def update!(**args)
|
|
1040
|
-
@consumer_id = args[:consumer_id] if args.key?(:consumer_id)
|
|
1041
|
-
end
|
|
1042
|
-
end
|
|
1043
|
-
|
|
1044
1022
|
# Operation payload for DisableService method.
|
|
1045
1023
|
class DisableServiceResponse
|
|
1046
1024
|
include Google::Apis::Core::Hashable
|