GetLicenseResult class
Result data returned by getLicense.
Constructors
- GetLicenseResult({required bool chargesUseFee, required String creationTimestamp, required String description, required String kind, required String licenseCode, required String name, required LicenseResourceRequirementsResponse resourceRequirements, required String selfLink, required String selfLinkWithId, required bool transferable})
-
Creates a new GetLicenseResult.
chargesUseFeeDeprecated. This field no longer reflects whether a license charges a usage fee.creationTimestampCreation timestamp in RFC3339 text format.descriptionAn optional textual description of the resource; provided by the client when the resource is created.kindType of resource. Always compute#license for licenses.licenseCodeThe unique code used to attach this license to images, snapshots, and disks.nameName of the resource. The name must be 1-63 characters long and comply with RFC1035.resourceRequirementsRequired.selfLinkServer-defined URL for the resource.selfLinkWithIdServer-defined URL for this resource with the resource id.transferableIf false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.const -
GetLicenseResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- chargesUseFee → bool
-
Deprecated. This field no longer reflects whether a license charges a usage fee.
final
- creationTimestamp → String
-
Creation timestamp in RFC3339 text format.
final
- description → String
-
An optional textual description of the resource; provided by the client when the resource is created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Type of resource. Always compute#license for licenses.
final
- licenseCode → String
-
The unique code used to attach this license to images, snapshots, and disks.
final
- name → String
-
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
final
- resourceRequirements → LicenseResourceRequirementsResponse
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
Server-defined URL for the resource.
final
- selfLinkWithId → String
-
Server-defined URL for this resource with the resource id.
final
- transferable → bool
-
If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
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