Class: Google::Apis::GanV1beta1::Events

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Events

Returns a new instance of Events



979
980
981
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 979

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::GanV1beta1::Event>

The event list. Corresponds to the JSON property items



966
967
968
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 966

def items
  @items
end

#kindString

The kind for a page of events. Corresponds to the JSON property kind

Returns:

  • (String)


971
972
973
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 971

def kind
  @kind
end

#next_page_tokenString

The 'pageToken' to pass to the next request to get the next page, if there are more to retrieve. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


977
978
979
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 977

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



984
985
986
987
988
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 984

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