ResourcePolicy class

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.

(== resource_for {$api_version}.resourcePolicies ==)


ResourcePolicy.fromJson(Map _json)


creationTimestamp String
Output Only Creation timestamp in RFC3339 text format.
read / write
description String
read / write
groupPlacementPolicy ResourcePolicyGroupPlacementPolicy
Resource policy for instacnes for placement configuration.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Output Only The unique identifier for the resource. This identifier is defined by the server.
read / write
kind String
Output Only Type of the resource. Always compute#resource_policies for resource policies.
read / write
name String
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.
read / write
region String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
Output Only Server-defined fully-qualified URL for this resource.
read / write
snapshotSchedulePolicy ResourcePolicySnapshotSchedulePolicy
Resource policy for persistent disks for creating snapshots.
read / write
status String
Output Only The status of resource policy creation. Possible string values are: [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]