Class: Google::Apis::GamesV1::EventPeriodUpdate
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GamesV1::EventPeriodUpdate
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_v1/classes.rb,
 generated/google/apis/games_v1/representations.rb,
 generated/google/apis/games_v1/representations.rb
Overview
This is a JSON template for an event period update resource.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Uniquely identifies the type of this resource. 
- 
  
    
      #time_period  ⇒ Google::Apis::GamesV1::EventPeriodRange 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is a JSON template for an event period time range. 
- 
  
    
      #updates  ⇒ Array<Google::Apis::GamesV1::UpdateEventRequest> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The updates being made for this time period. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EventPeriodUpdate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EventPeriodUpdate. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventPeriodUpdate
Returns a new instance of EventPeriodUpdate
| 968 969 970 | # File 'generated/google/apis/games_v1/classes.rb', line 968 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#eventPeriodUpdate.
Corresponds to the JSON property kind
| 956 957 958 | # File 'generated/google/apis/games_v1/classes.rb', line 956 def kind @kind end | 
#time_period ⇒ Google::Apis::GamesV1::EventPeriodRange
This is a JSON template for an event period time range.
Corresponds to the JSON property timePeriod
| 961 962 963 | # File 'generated/google/apis/games_v1/classes.rb', line 961 def time_period @time_period end | 
#updates ⇒ Array<Google::Apis::GamesV1::UpdateEventRequest>
The updates being made for this time period.
Corresponds to the JSON property updates
| 966 967 968 | # File 'generated/google/apis/games_v1/classes.rb', line 966 def updates @updates end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 973 974 975 976 977 | # File 'generated/google/apis/games_v1/classes.rb', line 973 def update!(**args) @kind = args[:kind] if args.key?(:kind) @time_period = args[:time_period] if args.key?(:time_period) @updates = args[:updates] if args.key?(:updates) end |