Class: Google::Apis::GamesV1::CheckRevisionResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GamesV1::CheckRevisionResponse
 
 
- 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 the result of checking a revision.
Instance Attribute Summary collapse
- 
  
    
      #api_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The version of the API this client revision should use when calling API methods.
 - 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Uniquely identifies the type of this resource.
 - 
  
    
      #revision_status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The result of the revision check.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CheckRevisionResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CheckRevisionResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CheckRevisionResponse
Returns a new instance of CheckRevisionResponse
      3097 3098 3099  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3097 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#api_version ⇒ String
The version of the API this client revision should use when calling API
methods.
Corresponds to the JSON property apiVersion
      3079 3080 3081  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3079 def api_version @api_version end  | 
  
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#revisionCheckResponse.
Corresponds to the JSON property kind
      3085 3086 3087  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3085 def kind @kind end  | 
  
#revision_status ⇒ String
The result of the revision check. Possible values are:
- "OK" - The revision being used is current.
 - "DEPRECATED" - There is currently a newer version available, but the revision being used still works.
 - "INVALID" - The revision being used is not supported in any released version.
Corresponds to the JSON property 
revisionStatus 
      3095 3096 3097  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3095 def revision_status @revision_status end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3102 3103 3104 3105 3106  | 
    
      # File 'generated/google/apis/games_v1/classes.rb', line 3102 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) @revision_status = args[:revision_status] if args.key?(:revision_status) end  |