Class: Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest

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

Overview

Request message for SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule. The maximum size of the request is 4 MiB.

Defined Under Namespace

Classes: SimulatedResource

Instance Attribute Summary collapse

Instance Attribute Details

#custom_config::Google::Cloud::SecurityCenterManagement::V1::CustomConfig

Returns Required. The custom configuration that you need to test.

Returns:



575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 575

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

  # Manually constructed information about a resource.
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     Required. The type of the resource. For example,
  #     `compute.googleapis.com/Disk`.
  # @!attribute [rw] resource_data
  #   @return [::Google::Protobuf::Struct]
  #     Optional. A representation of the Google Cloud resource. Should match the
  #     Google Cloud resource JSON format.
  #
  #     If the custom module evaluates only the IAM allow policy, then you can
  #     omit this field.
  # @!attribute [rw] iam_policy_data
  #   @return [::Google::Iam::V1::Policy]
  #     Optional. A representation of the IAM allow policy.
  #
  #     If the custom module evaluates only the resource data, then you can omit
  #     this field.
  class SimulatedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#parent::String

Returns Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.

Returns:

  • (::String)

    Required. The relative resource name of the organization, project, or folder. For more information about relative resource names, see AIP-122: Resource names. Example: organizations/{organization_id}.



575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 575

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

  # Manually constructed information about a resource.
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     Required. The type of the resource. For example,
  #     `compute.googleapis.com/Disk`.
  # @!attribute [rw] resource_data
  #   @return [::Google::Protobuf::Struct]
  #     Optional. A representation of the Google Cloud resource. Should match the
  #     Google Cloud resource JSON format.
  #
  #     If the custom module evaluates only the IAM allow policy, then you can
  #     omit this field.
  # @!attribute [rw] iam_policy_data
  #   @return [::Google::Iam::V1::Policy]
  #     Optional. A representation of the IAM allow policy.
  #
  #     If the custom module evaluates only the resource data, then you can omit
  #     this field.
  class SimulatedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#resource::Google::Cloud::SecurityCenterManagement::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource

Returns Required. Resource data to simulate custom module against.



575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
# File 'proto_docs/google/cloud/securitycentermanagement/v1/security_center_management.rb', line 575

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

  # Manually constructed information about a resource.
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     Required. The type of the resource. For example,
  #     `compute.googleapis.com/Disk`.
  # @!attribute [rw] resource_data
  #   @return [::Google::Protobuf::Struct]
  #     Optional. A representation of the Google Cloud resource. Should match the
  #     Google Cloud resource JSON format.
  #
  #     If the custom module evaluates only the IAM allow policy, then you can
  #     omit this field.
  # @!attribute [rw] iam_policy_data
  #   @return [::Google::Iam::V1::Policy]
  #     Optional. A representation of the IAM allow policy.
  #
  #     If the custom module evaluates only the resource data, then you can omit
  #     this field.
  class SimulatedResource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end