public sealed class ResourceMaintenance.Types.Resource : IMessage<ResourceMaintenance.Types.Resource>, IEquatable<ResourceMaintenance.Types.Resource>, IDeepCloneable<ResourceMaintenance.Types.Resource>, IBufferMessage, IMessage
Reference documentation and code samples for the Maintenance v1beta API class ResourceMaintenance.Types.Resource.
Resource contains information about the resource affected by maintenance.
Implements
IMessageResourceMaintenanceTypesResource, IEquatableResourceMaintenanceTypesResource, IDeepCloneableResourceMaintenanceTypesResource, IBufferMessage, IMessageNamespace
Google.Cloud.Maintenance.Api.V1BetaAssembly
Google.Cloud.Maintenance.Api.V1Beta.dll
Constructors
Resource()
public Resource()
Resource(Resource)
public Resource(ResourceMaintenance.Types.Resource other)
Parameter | |
---|---|
Name | Description |
other |
ResourceMaintenanceTypesResource |
Properties
Location
public string Location { get; set; }
Output only. The location of the resource.
Format:
us-central1
Property Value | |
---|---|
Type | Description |
string |
ResourceName
public string ResourceName { get; set; }
Output only. Name is the reference to the consumer resource affected by the maintenance. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-names
Property Value | |
---|---|
Type | Description |
string |
Type
public string Type { get; set; }
Output only. The type of the resource. Available values can be found here: https://cloud.google.com/asset-inventory/docs/asset-types#supported_resource_types Please note that not all the resource types will have their maintenances reported.
Property Value | |
---|---|
Type | Description |
string |