Class Workload.Types.ResourceSettings (2.0.0)

public sealed class ResourceSettings : IMessage<Workload.Types.ResourceSettings>, IEquatable<Workload.Types.ResourceSettings>, IDeepCloneable<Workload.Types.ResourceSettings>, IBufferMessage, IMessage

Represent the custom settings for the resources to be created.

Inheritance

Object > Workload.Types.ResourceSettings

Namespace

Google.Cloud.AssuredWorkloads.V1

Assembly

Google.Cloud.AssuredWorkloads.V1.dll

Constructors

ResourceSettings()

public ResourceSettings()

ResourceSettings(Workload.Types.ResourceSettings)

public ResourceSettings(Workload.Types.ResourceSettings other)
Parameter
NameDescription
otherWorkload.Types.ResourceSettings

Properties

DisplayName

public string DisplayName { get; set; }

User-assigned resource display name. If not empty it will be used to create a resource with the specified name.

Property Value
TypeDescription
String

ResourceId

public string ResourceId { get; set; }

Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail.

Property Value
TypeDescription
String

ResourceType

public Workload.Types.ResourceInfo.Types.ResourceType ResourceType { get; set; }

Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)

Property Value
TypeDescription
Workload.Types.ResourceInfo.Types.ResourceType