public sealed class Workload.Types.ResourceSettings : IMessage<Workload.Types.ResourceSettings>, IEquatable<Workload.Types.ResourceSettings>, IDeepCloneable<Workload.Types.ResourceSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Assured Workloads v1beta1 API class Workload.Types.ResourceSettings.
Represent the custom settings for the resources to be created.
Implements
IMessageWorkloadTypesResourceSettings, IEquatableWorkloadTypesResourceSettings, IDeepCloneableWorkloadTypesResourceSettings, IBufferMessage, IMessageNamespace
Google.Cloud.AssuredWorkloads.V1Beta1Assembly
Google.Cloud.AssuredWorkloads.V1Beta1.dll
Constructors
ResourceSettings()
public ResourceSettings()
ResourceSettings(ResourceSettings)
public ResourceSettings(Workload.Types.ResourceSettings other)
Parameter | |
---|---|
Name | Description |
other |
WorkloadTypesResourceSettings |
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. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.
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 |
WorkloadTypesResourceInfoTypesResourceType |