Class: Google::Apis::ComputeV1::License
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::License
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Overview
A license resource.
Instance Attribute Summary collapse
-
#charges_use_fee ⇒ Boolean
(also: #charges_use_fee?)
[Output Only] Deprecated.
-
#kind ⇒ String
[Output Only] Type of resource.
-
#name ⇒ String
[Output Only] Name of the resource.
-
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ License
constructor
A new instance of License.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ License
Returns a new instance of License
10049 10050 10051 |
# File 'generated/google/apis/compute_v1/classes.rb', line 10049 def initialize(**args) update!(**args) end |
Instance Attribute Details
#charges_use_fee ⇒ Boolean Also known as: charges_use_fee?
[Output Only] Deprecated. This field no longer reflects whether a license
charges a usage fee.
Corresponds to the JSON property chargesUseFee
10030 10031 10032 |
# File 'generated/google/apis/compute_v1/classes.rb', line 10030 def charges_use_fee @charges_use_fee end |
#kind ⇒ String
[Output Only] Type of resource. Always compute#license for licenses.
Corresponds to the JSON property kind
10036 10037 10038 |
# File 'generated/google/apis/compute_v1/classes.rb', line 10036 def kind @kind end |
#name ⇒ String
[Output Only] Name of the resource. The name is 1-63 characters long and
complies with RFC1035.
Corresponds to the JSON property name
10042 10043 10044 |
# File 'generated/google/apis/compute_v1/classes.rb', line 10042 def name @name end |
#self_link ⇒ String
[Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
10047 10048 10049 |
# File 'generated/google/apis/compute_v1/classes.rb', line 10047 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10054 10055 10056 10057 10058 10059 |
# File 'generated/google/apis/compute_v1/classes.rb', line 10054 def update!(**args) @charges_use_fee = args[:charges_use_fee] if args.key?(:charges_use_fee) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @self_link = args[:self_link] if args.key?(:self_link) end |