class Google::Apis::GamesV1::CheckRevisionResponse

This is a JSON template for the result of checking a revision.

Attributes

api_version[RW]

The version of the API this client revision should use when calling API methods. Corresponds to the JSON property `apiVersion` @return [String]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#revisionCheckResponse. Corresponds to the JSON property `kind` @return [String]

revision_status[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 3061
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 3066
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