GoogleApi.Compute.V1.Model.ResourcePolicy (google_api_compute v0.47.0) View Source
Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.
Attributes
-
creationTimestamp(type:String.t, default:nil) - [Output Only] Creation timestamp in RFC3339 text format. -
description(type:String.t, default:nil) - -
groupPlacementPolicy(type:GoogleApi.Compute.V1.Model.ResourcePolicyGroupPlacementPolicy.t, default:nil) - Resource policy for instances for placement configuration. -
id(type:String.t, default:nil) - [Output Only] The unique identifier for the resource. This identifier is defined by the server. -
instanceSchedulePolicy(type:GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicy.t, default:nil) - Resource policy for scheduling instance operations. -
kind(type:String.t, default:compute#resourcePolicy) - [Output Only] Type of the resource. Always compute#resource_policies for resource policies. -
name(type:String.t, default:nil) - The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. -
region(type:String.t, default:nil) - -
resourceStatus(type:GoogleApi.Compute.V1.Model.ResourcePolicyResourceStatus.t, default:nil) - [Output Only] The system status of the resource policy. -
selfLink(type:String.t, default:nil) - [Output Only] Server-defined fully-qualified URL for this resource. -
snapshotSchedulePolicy(type:GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicy.t, default:nil) - Resource policy for persistent disks for creating snapshots. -
status(type:String.t, default:nil) - [Output Only] The status of resource policy creation.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Compute.V1.Model.ResourcePolicy{
creationTimestamp: String.t() | nil,
description: String.t() | nil,
groupPlacementPolicy:
GoogleApi.Compute.V1.Model.ResourcePolicyGroupPlacementPolicy.t() | nil,
id: String.t() | nil,
instanceSchedulePolicy:
GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicy.t() | nil,
kind: String.t() | nil,
name: String.t() | nil,
region: String.t() | nil,
resourceStatus:
GoogleApi.Compute.V1.Model.ResourcePolicyResourceStatus.t() | nil,
selfLink: String.t() | nil,
snapshotSchedulePolicy:
GoogleApi.Compute.V1.Model.ResourcePolicySnapshotSchedulePolicy.t() | nil,
status: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.