Class: Google::Apis::GamesV1::CheckRevisionResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb

Overview

A third party checking a revision response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CheckRevisionResponse

Returns a new instance of CheckRevisionResponse.



2621
2622
2623
# File 'lib/google/apis/games_v1/classes.rb', line 2621

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

Instance Attribute Details

#api_versionString

The version of the API this client revision should use when calling API methods. Corresponds to the JSON property apiVersion

Returns:

  • (String)


2608
2609
2610
# File 'lib/google/apis/games_v1/classes.rb', line 2608

def api_version
  @api_version
end

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string games#revisionCheckResponse. Corresponds to the JSON property kind

Returns:

  • (String)


2614
2615
2616
# File 'lib/google/apis/games_v1/classes.rb', line 2614

def kind
  @kind
end

#revision_statusString

The result of the revision check. Corresponds to the JSON property revisionStatus

Returns:

  • (String)


2619
2620
2621
# File 'lib/google/apis/games_v1/classes.rb', line 2619

def revision_status
  @revision_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2626
2627
2628
2629
2630
# File 'lib/google/apis/games_v1/classes.rb', line 2626

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