Class: Google::Apis::GanV1beta1::Links
- Inherits:
-
Object
- Object
- Google::Apis::GanV1beta1::Links
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gan_v1beta1/classes.rb,
generated/google/apis/gan_v1beta1/representations.rb,
generated/google/apis/gan_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::GanV1beta1::Link>
The links.
-
#kind ⇒ String
The kind for a page of links.
-
#next_page_token ⇒ String
The next page token.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Links
constructor
A new instance of Links.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Links
Returns a new instance of Links.
1213 1214 1215 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1213 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GanV1beta1::Link>
The links.
Corresponds to the JSON property items
1201 1202 1203 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1201 def items @items end |
#kind ⇒ String
The kind for a page of links.
Corresponds to the JSON property kind
1206 1207 1208 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1206 def kind @kind end |
#next_page_token ⇒ String
The next page token.
Corresponds to the JSON property nextPageToken
1211 1212 1213 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1211 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1218 1219 1220 1221 1222 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1218 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |