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.
Implements
IMessage<Workload.Types.ResourceSettings>, IEquatable<Workload.Types.ResourceSettings>, IDeepCloneable<Workload.Types.ResourceSettings>, IBufferMessage, IMessageNamespace
Google.Cloud.AssuredWorkloads.V1Beta1Assembly
Google.Cloud.AssuredWorkloads.V1Beta1.dll
Constructors
ResourceSettings()
public ResourceSettings()
ResourceSettings(Workload.Types.ResourceSettings)
public ResourceSettings(Workload.Types.ResourceSettings other)
Parameter | |
---|---|
Name | Description |
other | Workload.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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Workload.Types.ResourceInfo.Types.ResourceType |