Class: Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb

Overview

Result containing the Finding and its StateChange.

Defined Under Namespace

Modules: StateChange Classes: Resource

Instance Attribute Summary collapse

Instance Attribute Details

#finding::Google::Cloud::SecurityCenter::V1::Finding

Returns Finding matching the search request.

Returns:



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1207

class ListFindingsResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Information related to the Google Cloud resource that is
  # associated with this finding.
  # @!attribute [rw] name
  #   @return [::String]
  #     The full resource name of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] display_name
  #   @return [::String]
  #     The human readable name of the resource.
  # @!attribute [rw] type
  #   @return [::String]
  #     The full resource type of the resource.
  # @!attribute [rw] project_name
  #   @return [::String]
  #     The full resource name of project that the resource belongs to.
  # @!attribute [rw] project_display_name
  #   @return [::String]
  #     The project ID that the resource belongs to.
  # @!attribute [rw] parent_name
  #   @return [::String]
  #     The full resource name of resource's parent.
  # @!attribute [rw] parent_display_name
  #   @return [::String]
  #     The human readable name of resource's parent.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is
  #     the folder directly under the Organization.
  class Resource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The change in state of the finding.
  #
  # When querying across two points in time this describes
  # the change in the finding between the two points: CHANGED, UNCHANGED,
  # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
  # the finding at timestamp does not match the filter specified, but it did
  # at timestamp - compare_duration. If there was no compare_duration
  # supplied in the request the state change will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # The finding has changed state in some way between the points in time
    # and existed at both points.
    CHANGED = 1

    # The finding has not changed state between the points in time and
    # existed at both points.
    UNCHANGED = 2

    # The finding was created between the points in time.
    ADDED = 3

    # The finding at timestamp does not match the filter specified, but it
    # did at timestamp - compare_duration.
    REMOVED = 4
  end
end

#resource::Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::Resource (readonly)

Returns Output only. Resource that is associated with this finding.

Returns:



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1207

class ListFindingsResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Information related to the Google Cloud resource that is
  # associated with this finding.
  # @!attribute [rw] name
  #   @return [::String]
  #     The full resource name of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] display_name
  #   @return [::String]
  #     The human readable name of the resource.
  # @!attribute [rw] type
  #   @return [::String]
  #     The full resource type of the resource.
  # @!attribute [rw] project_name
  #   @return [::String]
  #     The full resource name of project that the resource belongs to.
  # @!attribute [rw] project_display_name
  #   @return [::String]
  #     The project ID that the resource belongs to.
  # @!attribute [rw] parent_name
  #   @return [::String]
  #     The full resource name of resource's parent.
  # @!attribute [rw] parent_display_name
  #   @return [::String]
  #     The human readable name of resource's parent.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is
  #     the folder directly under the Organization.
  class Resource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The change in state of the finding.
  #
  # When querying across two points in time this describes
  # the change in the finding between the two points: CHANGED, UNCHANGED,
  # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
  # the finding at timestamp does not match the filter specified, but it did
  # at timestamp - compare_duration. If there was no compare_duration
  # supplied in the request the state change will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # The finding has changed state in some way between the points in time
    # and existed at both points.
    CHANGED = 1

    # The finding has not changed state between the points in time and
    # existed at both points.
    UNCHANGED = 2

    # The finding was created between the points in time.
    ADDED = 3

    # The finding at timestamp does not match the filter specified, but it
    # did at timestamp - compare_duration.
    REMOVED = 4
  end
end

#state_change::Google::Cloud::SecurityCenter::V1::ListFindingsResponse::ListFindingsResult::StateChange

Returns State change of the finding between the points in time.

Returns:



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
# File 'proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb', line 1207

class ListFindingsResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Information related to the Google Cloud resource that is
  # associated with this finding.
  # @!attribute [rw] name
  #   @return [::String]
  #     The full resource name of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] display_name
  #   @return [::String]
  #     The human readable name of the resource.
  # @!attribute [rw] type
  #   @return [::String]
  #     The full resource type of the resource.
  # @!attribute [rw] project_name
  #   @return [::String]
  #     The full resource name of project that the resource belongs to.
  # @!attribute [rw] project_display_name
  #   @return [::String]
  #     The project ID that the resource belongs to.
  # @!attribute [rw] parent_name
  #   @return [::String]
  #     The full resource name of resource's parent.
  # @!attribute [rw] parent_display_name
  #   @return [::String]
  #     The human readable name of resource's parent.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is
  #     the folder directly under the Organization.
  class Resource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The change in state of the finding.
  #
  # When querying across two points in time this describes
  # the change in the finding between the two points: CHANGED, UNCHANGED,
  # ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that
  # the finding at timestamp does not match the filter specified, but it did
  # at timestamp - compare_duration. If there was no compare_duration
  # supplied in the request the state change will be: UNUSED
  module StateChange
    # State change is unused, this is the canonical default for this enum.
    UNUSED = 0

    # The finding has changed state in some way between the points in time
    # and existed at both points.
    CHANGED = 1

    # The finding has not changed state between the points in time and
    # existed at both points.
    UNCHANGED = 2

    # The finding was created between the points in time.
    ADDED = 3

    # The finding at timestamp does not match the filter specified, but it
    # did at timestamp - compare_duration.
    REMOVED = 4
  end
end