google-api-client 0.45.0 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +56 -0
  3. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  6. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  7. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  8. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  9. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  10. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  11. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  12. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  13. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  14. data/generated/google/apis/apigee_v1.rb +1 -1
  15. data/generated/google/apis/apigee_v1/classes.rb +0 -6
  16. data/generated/google/apis/apigee_v1/representations.rb +0 -1
  17. data/generated/google/apis/apigee_v1/service.rb +1 -5
  18. data/generated/google/apis/appsmarket_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +22 -0
  21. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  22. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  24. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  25. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  26. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  27. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  28. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  29. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  32. data/generated/google/apis/chat_v1.rb +1 -1
  33. data/generated/google/apis/chat_v1/classes.rb +76 -2
  34. data/generated/google/apis/chat_v1/representations.rb +35 -0
  35. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  36. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  37. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  38. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  39. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  40. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  41. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  42. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  43. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -34
  44. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  45. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +185 -0
  47. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  48. data/generated/google/apis/cloudidentity_v1beta1/service.rb +164 -0
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  51. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  53. data/generated/google/apis/content_v2_1.rb +1 -1
  54. data/generated/google/apis/content_v2_1/service.rb +1 -1
  55. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  56. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  57. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
  59. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  60. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  61. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  62. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  63. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  64. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  65. data/generated/google/apis/dialogflow_v2.rb +1 -1
  66. data/generated/google/apis/dialogflow_v2/classes.rb +73 -0
  67. data/generated/google/apis/dialogflow_v2/representations.rb +51 -0
  68. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2beta1/classes.rb +73 -0
  70. data/generated/google/apis/dialogflow_v2beta1/representations.rb +51 -0
  71. data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
  72. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v3beta1/classes.rb +142 -0
  74. data/generated/google/apis/dialogflow_v3beta1/representations.rb +83 -0
  75. data/generated/google/apis/displayvideo_v1.rb +1 -1
  76. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  77. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  78. data/generated/google/apis/dlp_v2.rb +1 -1
  79. data/generated/google/apis/dlp_v2/classes.rb +26 -0
  80. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  81. data/generated/google/apis/dlp_v2/service.rb +328 -328
  82. data/generated/google/apis/firestore_v1.rb +1 -1
  83. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  84. data/generated/google/apis/gmail_v1.rb +1 -1
  85. data/generated/google/apis/gmail_v1/service.rb +1 -1
  86. data/generated/google/apis/healthcare_v1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1/classes.rb +3 -1
  88. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1beta1/classes.rb +1014 -16
  90. data/generated/google/apis/healthcare_v1beta1/representations.rb +453 -0
  91. data/generated/google/apis/healthcare_v1beta1/service.rb +1226 -0
  92. data/generated/google/apis/logging_v2.rb +1 -1
  93. data/generated/google/apis/logging_v2/classes.rb +98 -55
  94. data/generated/google/apis/logging_v2/representations.rb +32 -0
  95. data/generated/google/apis/logging_v2/service.rb +1214 -264
  96. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  97. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  98. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  99. data/generated/google/apis/people_v1.rb +1 -1
  100. data/generated/google/apis/people_v1/service.rb +8 -6
  101. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  102. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  103. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  104. data/generated/google/apis/run_v1.rb +1 -1
  105. data/generated/google/apis/run_v1/classes.rb +0 -124
  106. data/generated/google/apis/run_v1/representations.rb +0 -61
  107. data/generated/google/apis/run_v1/service.rb +0 -342
  108. data/generated/google/apis/searchconsole_v1.rb +7 -1
  109. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  110. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  111. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  112. data/generated/google/apis/securitycenter_v1.rb +1 -1
  113. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  114. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  115. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  116. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  117. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  118. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  119. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  120. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  121. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  122. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -2
  123. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  124. data/generated/google/apis/servicecontrol_v2/classes.rb +1 -2
  125. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  126. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  127. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  128. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  129. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  130. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  131. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  132. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  133. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  134. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  135. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  136. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  137. data/generated/google/apis/sqladmin_v1beta4/classes.rb +83 -52
  138. data/generated/google/apis/sqladmin_v1beta4/representations.rb +33 -17
  139. data/generated/google/apis/storage_v1.rb +1 -1
  140. data/generated/google/apis/sts_v1beta.rb +1 -1
  141. data/generated/google/apis/sts_v1beta/classes.rb +4 -1
  142. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  143. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  144. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  145. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  146. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  147. data/generated/google/apis/youtube_v3.rb +1 -1
  148. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  149. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  150. data/generated/google/apis/youtube_v3/service.rb +2 -2
  151. data/lib/google/apis/version.rb +1 -1
  152. metadata +15 -3
@@ -106,24 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class GoogleCloudSecuritycenterV1p1beta1Asset
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
109
  class GoogleCloudSecuritycenterV1p1beta1Finding
116
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
111
 
118
112
  include Google::Apis::Core::JsonObjectSupport
119
113
  end
120
114
 
121
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
115
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
128
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
117
 
@@ -142,24 +130,12 @@ module Google
142
130
  include Google::Apis::Core::JsonObjectSupport
143
131
  end
144
132
 
145
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
133
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
152
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
135
 
154
136
  include Google::Apis::Core::JsonObjectSupport
155
137
  end
156
138
 
157
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
139
  class GroupAssetsRequest
164
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
141
 
@@ -465,22 +441,6 @@ module Google
465
441
  end
466
442
  end
467
443
 
468
- class GoogleCloudSecuritycenterV1p1beta1Asset
469
- # @private
470
- class Representation < Google::Apis::Core::JsonRepresentation
471
- property :create_time, as: 'createTime'
472
- property :iam_policy, as: 'iamPolicy', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy::Representation
473
-
474
- property :name, as: 'name'
475
- hash :resource_properties, as: 'resourceProperties'
476
- property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties::Representation
477
-
478
- property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
479
-
480
- property :update_time, as: 'updateTime'
481
- end
482
- end
483
-
484
444
  class GoogleCloudSecuritycenterV1p1beta1Finding
485
445
  # @private
486
446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -499,13 +459,6 @@ module Google
499
459
  end
500
460
  end
501
461
 
502
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
503
- # @private
504
- class Representation < Google::Apis::Core::JsonRepresentation
505
- property :policy_blob, as: 'policyBlob'
506
- end
507
- end
508
-
509
462
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
510
463
  # @private
511
464
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -514,8 +467,6 @@ module Google
514
467
  property :notification_config_name, as: 'notificationConfigName'
515
468
  property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
516
469
 
517
- property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
518
-
519
470
  end
520
471
  end
521
472
 
@@ -538,20 +489,6 @@ module Google
538
489
  end
539
490
  end
540
491
 
541
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
542
- # @private
543
- class Representation < Google::Apis::Core::JsonRepresentation
544
- property :resource_display_name, as: 'resourceDisplayName'
545
- property :resource_name, as: 'resourceName'
546
- collection :resource_owners, as: 'resourceOwners'
547
- property :resource_parent, as: 'resourceParent'
548
- property :resource_parent_display_name, as: 'resourceParentDisplayName'
549
- property :resource_project, as: 'resourceProject'
550
- property :resource_project_display_name, as: 'resourceProjectDisplayName'
551
- property :resource_type, as: 'resourceType'
552
- end
553
- end
554
-
555
492
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
556
493
  # @private
557
494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -560,15 +497,6 @@ module Google
560
497
  end
561
498
  end
562
499
 
563
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
564
- # @private
565
- class Representation < Google::Apis::Core::JsonRepresentation
566
- property :asset, as: 'asset', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset::Representation
567
-
568
- property :change_type, as: 'changeType'
569
- end
570
- end
571
-
572
500
  class GroupAssetsRequest
573
501
  # @private
574
502
  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 SecuritycenterV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200820'
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'
@@ -739,74 +739,6 @@ module Google
739
739
  end
740
740
  end
741
741
 
742
- # Security Command Center representation of a Google Cloud resource. The Asset
743
- # is a Security Command Center resource that captures information about a single
744
- # Google Cloud resource. All modifications to an Asset are only within the
745
- # context of Security Command Center and don't affect the referenced Google
746
- # Cloud resource.
747
- class GoogleCloudSecuritycenterV1p1beta1Asset
748
- include Google::Apis::Core::Hashable
749
-
750
- # The time at which the asset was created in Security Command Center.
751
- # Corresponds to the JSON property `createTime`
752
- # @return [String]
753
- attr_accessor :create_time
754
-
755
- # Cloud IAM Policy information associated with the Google Cloud resource
756
- # described by the Security Command Center asset. This information is managed
757
- # and defined by the Google Cloud resource and cannot be modified by the user.
758
- # Corresponds to the JSON property `iamPolicy`
759
- # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
760
- attr_accessor :iam_policy
761
-
762
- # The relative resource name of this asset. See: https://cloud.google.com/apis/
763
- # design/resource_names#relative_resource_name Example: "organizations/`
764
- # organization_id`/assets/`asset_id`".
765
- # Corresponds to the JSON property `name`
766
- # @return [String]
767
- attr_accessor :name
768
-
769
- # Resource managed properties. These properties are managed and defined by the
770
- # Google Cloud resource and cannot be modified by the user.
771
- # Corresponds to the JSON property `resourceProperties`
772
- # @return [Hash<String,Object>]
773
- attr_accessor :resource_properties
774
-
775
- # Security Command Center managed properties. These properties are managed by
776
- # Security Command Center and cannot be modified by the user.
777
- # Corresponds to the JSON property `securityCenterProperties`
778
- # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
779
- attr_accessor :security_center_properties
780
-
781
- # User specified security marks that are attached to the parent Security Command
782
- # Center resource. Security marks are scoped within a Security Command Center
783
- # organization -- they can be modified and viewed by all users who have proper
784
- # permissions on the organization.
785
- # Corresponds to the JSON property `securityMarks`
786
- # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
787
- attr_accessor :security_marks
788
-
789
- # The time at which the asset was last updated, added, or deleted in Cloud SCC.
790
- # Corresponds to the JSON property `updateTime`
791
- # @return [String]
792
- attr_accessor :update_time
793
-
794
- def initialize(**args)
795
- update!(**args)
796
- end
797
-
798
- # Update properties of this object
799
- def update!(**args)
800
- @create_time = args[:create_time] if args.key?(:create_time)
801
- @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
802
- @name = args[:name] if args.key?(:name)
803
- @resource_properties = args[:resource_properties] if args.key?(:resource_properties)
804
- @security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
805
- @security_marks = args[:security_marks] if args.key?(:security_marks)
806
- @update_time = args[:update_time] if args.key?(:update_time)
807
- end
808
- end
809
-
810
742
  # Security Command Center finding. A finding is a record of assessment data (
811
743
  # security, risk, health or privacy) ingested into Security Command Center for
812
744
  # presentation, notification, analysis, policy testing, and enforcement. For
@@ -873,7 +805,8 @@ module Google
873
805
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
874
806
  attr_accessor :security_marks
875
807
 
876
- # The severity of the finding.
808
+ # The severity of the finding. This field is managed by the source that writes
809
+ # the finding.
877
810
  # Corresponds to the JSON property `severity`
878
811
  # @return [String]
879
812
  attr_accessor :severity
@@ -911,28 +844,6 @@ module Google
911
844
  end
912
845
  end
913
846
 
914
- # Cloud IAM Policy information associated with the Google Cloud resource
915
- # described by the Security Command Center asset. This information is managed
916
- # and defined by the Google Cloud resource and cannot be modified by the user.
917
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
918
- include Google::Apis::Core::Hashable
919
-
920
- # The JSON representation of the Policy associated with the asset. See https://
921
- # cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
922
- # Corresponds to the JSON property `policyBlob`
923
- # @return [String]
924
- attr_accessor :policy_blob
925
-
926
- def initialize(**args)
927
- update!(**args)
928
- end
929
-
930
- # Update properties of this object
931
- def update!(**args)
932
- @policy_blob = args[:policy_blob] if args.key?(:policy_blob)
933
- end
934
- end
935
-
936
847
  # Security Command Center's Notification
937
848
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
938
849
  include Google::Apis::Core::Hashable
@@ -955,12 +866,6 @@ module Google
955
866
  # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
956
867
  attr_accessor :resource
957
868
 
958
- # Wrapper over asset object that also captures the state change for the asset e.
959
- # g. if it was a newly created asset vs updated or deleted asset.
960
- # Corresponds to the JSON property `temporalAsset`
961
- # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
962
- attr_accessor :temporal_asset
963
-
964
869
  def initialize(**args)
965
870
  update!(**args)
966
871
  end
@@ -970,7 +875,6 @@ module Google
970
875
  @finding = args[:finding] if args.key?(:finding)
971
876
  @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
972
877
  @resource = args[:resource] if args.key?(:resource)
973
- @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
974
878
  end
975
879
  end
976
880
 
@@ -1043,74 +947,6 @@ module Google
1043
947
  end
1044
948
  end
1045
949
 
1046
- # Security Command Center managed properties. These properties are managed by
1047
- # Security Command Center and cannot be modified by the user.
1048
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
1049
- include Google::Apis::Core::Hashable
1050
-
1051
- # The user defined display name for this resource.
1052
- # Corresponds to the JSON property `resourceDisplayName`
1053
- # @return [String]
1054
- attr_accessor :resource_display_name
1055
-
1056
- # The full resource name of the Google Cloud resource this asset represents.
1057
- # This field is immutable after create time. See: https://cloud.google.com/apis/
1058
- # design/resource_names#full_resource_name
1059
- # Corresponds to the JSON property `resourceName`
1060
- # @return [String]
1061
- attr_accessor :resource_name
1062
-
1063
- # Owners of the Google Cloud resource.
1064
- # Corresponds to the JSON property `resourceOwners`
1065
- # @return [Array<String>]
1066
- attr_accessor :resource_owners
1067
-
1068
- # The full resource name of the immediate parent of the resource. See: https://
1069
- # cloud.google.com/apis/design/resource_names#full_resource_name
1070
- # Corresponds to the JSON property `resourceParent`
1071
- # @return [String]
1072
- attr_accessor :resource_parent
1073
-
1074
- # The user defined display name for the parent of this resource.
1075
- # Corresponds to the JSON property `resourceParentDisplayName`
1076
- # @return [String]
1077
- attr_accessor :resource_parent_display_name
1078
-
1079
- # The full resource name of the project the resource belongs to. See: https://
1080
- # cloud.google.com/apis/design/resource_names#full_resource_name
1081
- # Corresponds to the JSON property `resourceProject`
1082
- # @return [String]
1083
- attr_accessor :resource_project
1084
-
1085
- # The user defined display name for the project of this resource.
1086
- # Corresponds to the JSON property `resourceProjectDisplayName`
1087
- # @return [String]
1088
- attr_accessor :resource_project_display_name
1089
-
1090
- # The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
1091
- # and ORGANIZATION. This is a case insensitive field defined by Security Command
1092
- # Center and/or the producer of the resource and is immutable after create time.
1093
- # Corresponds to the JSON property `resourceType`
1094
- # @return [String]
1095
- attr_accessor :resource_type
1096
-
1097
- def initialize(**args)
1098
- update!(**args)
1099
- end
1100
-
1101
- # Update properties of this object
1102
- def update!(**args)
1103
- @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
1104
- @resource_name = args[:resource_name] if args.key?(:resource_name)
1105
- @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
1106
- @resource_parent = args[:resource_parent] if args.key?(:resource_parent)
1107
- @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
1108
- @resource_project = args[:resource_project] if args.key?(:resource_project)
1109
- @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
1110
- @resource_type = args[:resource_type] if args.key?(:resource_type)
1111
- end
1112
- end
1113
-
1114
950
  # User specified security marks that are attached to the parent Security Command
1115
951
  # Center resource. Security marks are scoped within a Security Command Center
1116
952
  # organization -- they can be modified and viewed by all users who have proper
@@ -1146,36 +982,6 @@ module Google
1146
982
  end
1147
983
  end
1148
984
 
1149
- # Wrapper over asset object that also captures the state change for the asset e.
1150
- # g. if it was a newly created asset vs updated or deleted asset.
1151
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
1152
- include Google::Apis::Core::Hashable
1153
-
1154
- # Security Command Center representation of a Google Cloud resource. The Asset
1155
- # is a Security Command Center resource that captures information about a single
1156
- # Google Cloud resource. All modifications to an Asset are only within the
1157
- # context of Security Command Center and don't affect the referenced Google
1158
- # Cloud resource.
1159
- # Corresponds to the JSON property `asset`
1160
- # @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
1161
- attr_accessor :asset
1162
-
1163
- # Represents if the asset was created/updated/deleted.
1164
- # Corresponds to the JSON property `changeType`
1165
- # @return [String]
1166
- attr_accessor :change_type
1167
-
1168
- def initialize(**args)
1169
- update!(**args)
1170
- end
1171
-
1172
- # Update properties of this object
1173
- def update!(**args)
1174
- @asset = args[:asset] if args.key?(:asset)
1175
- @change_type = args[:change_type] if args.key?(:change_type)
1176
- end
1177
- end
1178
-
1179
985
  # Request message for grouping by assets.
1180
986
  class GroupAssetsRequest
1181
987
  include Google::Apis::Core::Hashable
@@ -124,24 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class GoogleCloudSecuritycenterV1p1beta1Asset
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
127
  class GoogleCloudSecuritycenterV1p1beta1Finding
134
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
129
 
136
130
  include Google::Apis::Core::JsonObjectSupport
137
131
  end
138
132
 
139
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
133
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
146
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
135
 
@@ -160,24 +148,12 @@ module Google
160
148
  include Google::Apis::Core::JsonObjectSupport
161
149
  end
162
150
 
163
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
151
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
170
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
153
 
172
154
  include Google::Apis::Core::JsonObjectSupport
173
155
  end
174
156
 
175
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
157
  class GroupAssetsRequest
182
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
159
 
@@ -476,22 +452,6 @@ module Google
476
452
  end
477
453
  end
478
454
 
479
- class GoogleCloudSecuritycenterV1p1beta1Asset
480
- # @private
481
- class Representation < Google::Apis::Core::JsonRepresentation
482
- property :create_time, as: 'createTime'
483
- property :iam_policy, as: 'iamPolicy', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy::Representation
484
-
485
- property :name, as: 'name'
486
- hash :resource_properties, as: 'resourceProperties'
487
- property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties::Representation
488
-
489
- property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
490
-
491
- property :update_time, as: 'updateTime'
492
- end
493
- end
494
-
495
455
  class GoogleCloudSecuritycenterV1p1beta1Finding
496
456
  # @private
497
457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -510,13 +470,6 @@ module Google
510
470
  end
511
471
  end
512
472
 
513
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
514
- # @private
515
- class Representation < Google::Apis::Core::JsonRepresentation
516
- property :policy_blob, as: 'policyBlob'
517
- end
518
- end
519
-
520
473
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
521
474
  # @private
522
475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -525,8 +478,6 @@ module Google
525
478
  property :notification_config_name, as: 'notificationConfigName'
526
479
  property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
527
480
 
528
- property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
529
-
530
481
  end
531
482
  end
532
483
 
@@ -549,20 +500,6 @@ module Google
549
500
  end
550
501
  end
551
502
 
552
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
553
- # @private
554
- class Representation < Google::Apis::Core::JsonRepresentation
555
- property :resource_display_name, as: 'resourceDisplayName'
556
- property :resource_name, as: 'resourceName'
557
- collection :resource_owners, as: 'resourceOwners'
558
- property :resource_parent, as: 'resourceParent'
559
- property :resource_parent_display_name, as: 'resourceParentDisplayName'
560
- property :resource_project, as: 'resourceProject'
561
- property :resource_project_display_name, as: 'resourceProjectDisplayName'
562
- property :resource_type, as: 'resourceType'
563
- end
564
- end
565
-
566
503
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
567
504
  # @private
568
505
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -571,15 +508,6 @@ module Google
571
508
  end
572
509
  end
573
510
 
574
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
575
- # @private
576
- class Representation < Google::Apis::Core::JsonRepresentation
577
- property :asset, as: 'asset', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Asset, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Asset::Representation
578
-
579
- property :change_type, as: 'changeType'
580
- end
581
- end
582
-
583
511
  class GroupAssetsRequest
584
512
  # @private
585
513
  class Representation < Google::Apis::Core::JsonRepresentation