class Google::Apis::ComputeBeta::Reference
Represents a reference to a resource.
Attributes
kind[RW]
- Output Only
-
Type of the resource. Always compute#reference for references.
Corresponds to the JSON property `kind` @return [String]
reference_type[RW]
A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF Corresponds to the JSON property `referenceType` @return [String]
referrer[RW]
URL of the resource which refers to the target. Corresponds to the JSON property `referrer` @return [String]
target[RW]
URL of the resource to which this reference points. Corresponds to the JSON property `target` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 25862 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 25867 def update!(**args) @kind = args[:kind] if args.key?(:kind) @reference_type = args[:reference_type] if args.key?(:reference_type) @referrer = args[:referrer] if args.key?(:referrer) @target = args[:target] if args.key?(:target) end