GetResourcePolicyResult constructor

const GetResourcePolicyResult({
  1. required String creationTimestamp,
  2. required String description,
  3. required Map<String, dynamic> diskConsistencyGroupPolicy,
  4. required ResourcePolicyGroupPlacementPolicyResponse groupPlacementPolicy,
  5. required ResourcePolicyInstanceSchedulePolicyResponse instanceSchedulePolicy,
  6. required String kind,
  7. required String name,
  8. required String region,
  9. required ResourcePolicyResourceStatusResponse resourceStatus,
  10. required String selfLink,
  11. required String selfLinkWithId,
  12. required ResourcePolicySnapshotSchedulePolicyResponse snapshotSchedulePolicy,
  13. required String status,
  14. required ResourcePolicyVmMaintenancePolicyResponse vmMaintenancePolicy,
})

Creates a new GetResourcePolicyResult. creationTimestamp Creation timestamp in RFC3339 text format. description Required. diskConsistencyGroupPolicy Resource policy for disk consistency groups. groupPlacementPolicy Resource policy for instances for placement configuration. instanceSchedulePolicy Resource policy for scheduling instance operations. kind Type of the resource. Always compute#resource_policies for resource policies. name 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 Required. resourceStatus The system status of the resource policy. selfLink Server-defined fully-qualified URL for this resource. selfLinkWithId Server-defined URL for this resource with the resource id. snapshotSchedulePolicy Resource policy for persistent disks for creating snapshots. status The status of resource policy creation. vmMaintenancePolicy Resource policy applicable to VMs for infrastructure maintenance.

Implementation

const GetResourcePolicyResult({
  required this.creationTimestamp,
  required this.description,
  required this.diskConsistencyGroupPolicy,
  required this.groupPlacementPolicy,
  required this.instanceSchedulePolicy,
  required this.kind,
  required this.name,
  required this.region,
  required this.resourceStatus,
  required this.selfLink,
  required this.selfLinkWithId,
  required this.snapshotSchedulePolicy,
  required this.status,
  required this.vmMaintenancePolicy,
});