Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource (v0.33.0)

Reference documentation and code samples for the Cloud Security Command Center V1 API class Google::Cloud::SecurityCenter::V1::SimulateSecurityHealthAnalyticsCustomModuleRequest::SimulatedResource.

Manually constructed resource. If the custom module only evaluates against the resource data, the iam_policy_data field can be omitted, and vice versa.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#iam_policy_data

def iam_policy_data() -> ::Google::Iam::V1::Policy
Returns

#iam_policy_data=

def iam_policy_data=(value) -> ::Google::Iam::V1::Policy
Parameter
Returns

#resource_data

def resource_data() -> ::Google::Protobuf::Struct
Returns

#resource_data=

def resource_data=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Optional. A representation of the GCP resource. Should match the GCP resource JSON format.
Returns

#resource_type

def resource_type() -> ::String
Returns
  • (::String) — Required. The type of the resource, e.g. compute.googleapis.com/Disk.

#resource_type=

def resource_type=(value) -> ::String
Parameter
  • value (::String) — Required. The type of the resource, e.g. compute.googleapis.com/Disk.
Returns
  • (::String) — Required. The type of the resource, e.g. compute.googleapis.com/Disk.