GetResourcePolicyResult class
Result data returned by getResourcePolicy.
Constructors
-
GetResourcePolicyResult({required String creationTimestamp, required String description, required Map<
String, dynamic> diskConsistencyGroupPolicy, required ResourcePolicyGroupPlacementPolicyResponse groupPlacementPolicy, required ResourcePolicyInstanceSchedulePolicyResponse instanceSchedulePolicy, required String kind, required String name, required String region, required ResourcePolicyResourceStatusResponse resourceStatus, required String selfLink, required String selfLinkWithId, required ResourcePolicySnapshotSchedulePolicyResponse snapshotSchedulePolicy, required String status, required ResourcePolicyVmMaintenancePolicyResponse vmMaintenancePolicy}) -
Creates a new GetResourcePolicyResult.
creationTimestampCreation timestamp in RFC3339 text format.descriptionRequired.diskConsistencyGroupPolicyResource policy for disk consistency groups.groupPlacementPolicyResource policy for instances for placement configuration.instanceSchedulePolicyResource policy for scheduling instance operations.kindType of the resource. Always compute#resource_policies for resource policies.nameThe 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.regionRequired.resourceStatusThe system status of the resource policy.selfLinkServer-defined fully-qualified URL for this resource.selfLinkWithIdServer-defined URL for this resource with the resource id.snapshotSchedulePolicyResource policy for persistent disks for creating snapshots.statusThe status of resource policy creation.vmMaintenancePolicyResource policy applicable to VMs for infrastructure maintenance.const -
GetResourcePolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- creationTimestamp → String
-
Creation timestamp in RFC3339 text format.
final
- description → String
-
final
-
diskConsistencyGroupPolicy
→ Map<
String, dynamic> -
Resource policy for disk consistency groups.
final
- groupPlacementPolicy → ResourcePolicyGroupPlacementPolicyResponse
-
Resource policy for instances for placement configuration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceSchedulePolicy → ResourcePolicyInstanceSchedulePolicyResponse
-
Resource policy for scheduling instance operations.
final
- kind → String
-
Type of the resource. Always compute#resource_policies for resource policies.
final
- 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.final - region → String
-
final
- resourceStatus → ResourcePolicyResourceStatusResponse
-
The system status of the resource policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
Server-defined fully-qualified URL for this resource.
final
- selfLinkWithId → String
-
Server-defined URL for this resource with the resource id.
final
- snapshotSchedulePolicy → ResourcePolicySnapshotSchedulePolicyResponse
-
Resource policy for persistent disks for creating snapshots.
final
- status → String
-
The status of resource policy creation.
final
- vmMaintenancePolicy → ResourcePolicyVmMaintenancePolicyResponse
-
Resource policy applicable to VMs for infrastructure maintenance.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited