License class

Represents a License resource.

A License represents billing and aggregate usage data for public and marketplace images. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. (== resource_for {$api_version}.licenses ==)


License.fromJson(Map _json)


chargesUseFee bool
Output Only Deprecated. This field no longer reflects whether a license charges a usage fee.
read / write
creationTimestamp String
Output Only Creation timestamp in RFC3339 text format.
read / write
description String
An optional textual description of the resource; provided by the client when the resource is created.
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 resource. Always compute#license for licenses.
read / write
licenseCode String
Output Only The unique code used to attach this license to images, snapshots, and disks.
read / write
name String
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
read / write
resourceRequirements LicenseResourceRequirements
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
Output Only Server-defined URL for the resource.
read / write
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.
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 ==(Object other) bool
The equality operator. [...]