Cloud Security Compliance v1 API - Class TargetResourceConfig (1.0.0-beta04)

public sealed class TargetResourceConfig : IMessage<TargetResourceConfig>, IEquatable<TargetResourceConfig>, IDeepCloneable<TargetResourceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Security Compliance v1 API class TargetResourceConfig.

The name of the target resource or the configuration that's required to create a new target resource.

Inheritance

object > TargetResourceConfig

Namespace

Google.Cloud.CloudSecurityCompliance.V1

Assembly

Google.Cloud.CloudSecurityCompliance.V1.dll

Constructors

TargetResourceConfig()

public TargetResourceConfig()

TargetResourceConfig(TargetResourceConfig)

public TargetResourceConfig(TargetResourceConfig other)
Parameter
Name Description
other TargetResourceConfig

Properties

ExistingTargetResource

public string ExistingTargetResource { get; set; }

Optional. The resource hierarchy node, in one of the following formats:

  • organizations/{organizationID}
  • folders/{folderID}
  • projects/{projectID}
Property Value
Type Description
string

HasExistingTargetResource

public bool HasExistingTargetResource { get; }

Gets whether the "existing_target_resource" field is set

Property Value
Type Description
bool

ResourceConfigCase

public TargetResourceConfig.ResourceConfigOneofCase ResourceConfigCase { get; }
Property Value
Type Description
TargetResourceConfigResourceConfigOneofCase

TargetResourceCreationConfig

public TargetResourceCreationConfig TargetResourceCreationConfig { get; set; }

Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

Property Value
Type Description
TargetResourceCreationConfig