Autogenerated update (2020-07-06)

Update:
- games_v1
- gameservices_v1
This commit is contained in:
Google APIs committed 2020-07-06 00:38:05 +00:00
1 parent 9749c651b1
commit 47dceac8f1
9 files changed
+7011 -509

No files matched your search

+3 -5
View File
@@ -18,13 +18,11 @@ require 'google/apis/games_v1/representations.rb'
module Google
module Apis
# Google Play Game Services
# Google Play Game Services API
#
# The Google Play games service allows developers to enhance games with social
# leaderboards,
# achievements, game state, sign-in with Google, and more.
# The API for Google Play Game Services.
#
# @see https://developers.google.com/games/
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20200625'
File diff suppressed because it is too large. Load diff
+647 -12
View File
@@ -82,6 +82,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AggregateStats
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AnonymousPlayer
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Application
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -250,6 +262,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NetworkDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ParticipantResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PeerChannelDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PeerSessionDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Played
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Player
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -346,12 +388,114 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PushToken
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PushTokenId
class Representation < Google::Apis::Core::JsonRepresentation; end
class Ios
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class CheckRevisionResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Room
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomAutoMatchStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomAutoMatchingCriteria
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomClientAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateRoomRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class JoinRoomRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomLeaveDiagnostics
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LeaveRoomRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomModification
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomP2PStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomP2PStatuses
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomParticipant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RoomStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ScoreSubmission
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -376,7 +520,73 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class StatsResponse
class TurnBasedAutoMatchingCriteria
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CreateTurnBasedMatchRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchData
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchDataRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchModification
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchParticipant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchRematch
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchResults
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchSync
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TurnBasedMatchTurn
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@@ -488,6 +698,26 @@ module Google
end
end
class AggregateStats
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, :numeric_string => true, as: 'count'
property :kind, as: 'kind'
property :max, :numeric_string => true, as: 'max'
property :min, :numeric_string => true, as: 'min'
property :sum, :numeric_string => true, as: 'sum'
end
end
class AnonymousPlayer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :avatar_image_url, as: 'avatarImageUrl'
property :display_name, as: 'displayName'
property :kind, as: 'kind'
end
end
class Application
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -803,6 +1033,68 @@ module Google
end
end
class NetworkDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_network_subtype, as: 'androidNetworkSubtype'
property :android_network_type, as: 'androidNetworkType'
property :ios_network_type, as: 'iosNetworkType'
property :kind, as: 'kind'
property :network_operator_code, as: 'networkOperatorCode'
property :network_operator_name, as: 'networkOperatorName'
property :registration_latency_millis, as: 'registrationLatencyMillis'
end
end
class ParticipantResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :participant_id, as: 'participantId'
property :placing, as: 'placing'
property :result, as: 'result'
end
end
class PeerChannelDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bytes_received, as: 'bytesReceived', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
property :bytes_sent, as: 'bytesSent', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
property :kind, as: 'kind'
property :num_messages_lost, as: 'numMessagesLost'
property :num_messages_received, as: 'numMessagesReceived'
property :num_messages_sent, as: 'numMessagesSent'
property :num_send_failures, as: 'numSendFailures'
property :roundtrip_latency_millis, as: 'roundtripLatencyMillis', class: Google::Apis::GamesV1::AggregateStats, decorator: Google::Apis::GamesV1::AggregateStats::Representation
end
end
class PeerSessionDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :connected_timestamp_millis, :numeric_string => true, as: 'connectedTimestampMillis'
property :kind, as: 'kind'
property :participant_id, as: 'participantId'
property :reliable_channel, as: 'reliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation
property :unreliable_channel, as: 'unreliableChannel', class: Google::Apis::GamesV1::PeerChannelDiagnostics, decorator: Google::Apis::GamesV1::PeerChannelDiagnostics::Representation
end
end
class Played
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matched, as: 'autoMatched'
property :kind, as: 'kind'
property :time_millis, :numeric_string => true, as: 'timeMillis'
end
end
class Player
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -814,6 +1106,8 @@ module Google
property :friend_status, as: 'friendStatus'
property :kind, as: 'kind'
property :last_played_with, as: 'lastPlayedWith', class: Google::Apis::GamesV1::Played, decorator: Google::Apis::GamesV1::Played::Representation
property :name, as: 'name', class: Google::Apis::GamesV1::Player::Name, decorator: Google::Apis::GamesV1::Player::Name::Representation
property :original_player_id, as: 'originalPlayerId'
@@ -989,6 +1283,34 @@ module Google
end
end
class PushToken
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :client_revision, as: 'clientRevision'
property :id, as: 'id', class: Google::Apis::GamesV1::PushTokenId, decorator: Google::Apis::GamesV1::PushTokenId::Representation
property :kind, as: 'kind'
property :language, as: 'language'
end
end
class PushTokenId
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ios, as: 'ios', class: Google::Apis::GamesV1::PushTokenId::Ios, decorator: Google::Apis::GamesV1::PushTokenId::Ios::Representation
property :kind, as: 'kind'
end
class Ios
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :apns_device_token, :base64 => true, as: 'apns_device_token'
property :apns_environment, as: 'apns_environment'
end
end
end
class CheckRevisionResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -998,6 +1320,184 @@ module Google
end
end
class Room
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :application_id, as: 'applicationId'
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::RoomAutoMatchingCriteria, decorator: Google::Apis::GamesV1::RoomAutoMatchingCriteria::Representation
property :auto_matching_status, as: 'autoMatchingStatus', class: Google::Apis::GamesV1::RoomAutoMatchStatus, decorator: Google::Apis::GamesV1::RoomAutoMatchStatus::Representation
property :creation_details, as: 'creationDetails', class: Google::Apis::GamesV1::RoomModification, decorator: Google::Apis::GamesV1::RoomModification::Representation
property :description, as: 'description'
property :inviter_id, as: 'inviterId'
property :kind, as: 'kind'
property :last_update_details, as: 'lastUpdateDetails', class: Google::Apis::GamesV1::RoomModification, decorator: Google::Apis::GamesV1::RoomModification::Representation
collection :participants, as: 'participants', class: Google::Apis::GamesV1::RoomParticipant, decorator: Google::Apis::GamesV1::RoomParticipant::Representation
property :room_id, as: 'roomId'
property :room_status_version, as: 'roomStatusVersion'
property :status, as: 'status'
property :variant, as: 'variant'
end
end
class RoomAutoMatchStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :wait_estimate_seconds, as: 'waitEstimateSeconds'
end
end
class RoomAutoMatchingCriteria
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask'
property :kind, as: 'kind'
property :max_auto_matching_players, as: 'maxAutoMatchingPlayers'
property :min_auto_matching_players, as: 'minAutoMatchingPlayers'
end
end
class RoomClientAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :xmpp_address, as: 'xmppAddress'
end
end
class CreateRoomRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::RoomAutoMatchingCriteria, decorator: Google::Apis::GamesV1::RoomAutoMatchingCriteria::Representation
collection :capabilities, as: 'capabilities'
property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
collection :invited_player_ids, as: 'invitedPlayerIds'
property :kind, as: 'kind'
property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation
property :request_id, :numeric_string => true, as: 'requestId'
property :variant, as: 'variant'
end
end
class JoinRoomRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :capabilities, as: 'capabilities'
property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
property :kind, as: 'kind'
property :network_diagnostics, as: 'networkDiagnostics', class: Google::Apis::GamesV1::NetworkDiagnostics, decorator: Google::Apis::GamesV1::NetworkDiagnostics::Representation
end
end
class RoomLeaveDiagnostics
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_network_subtype, as: 'androidNetworkSubtype'
property :android_network_type, as: 'androidNetworkType'
property :ios_network_type, as: 'iosNetworkType'
property :kind, as: 'kind'
property :network_operator_code, as: 'networkOperatorCode'
property :network_operator_name, as: 'networkOperatorName'
collection :peer_session, as: 'peerSession', class: Google::Apis::GamesV1::PeerSessionDiagnostics, decorator: Google::Apis::GamesV1::PeerSessionDiagnostics::Representation
property :sockets_used, as: 'socketsUsed'
end
end
class LeaveRoomRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :leave_diagnostics, as: 'leaveDiagnostics', class: Google::Apis::GamesV1::RoomLeaveDiagnostics, decorator: Google::Apis::GamesV1::RoomLeaveDiagnostics::Representation
property :reason, as: 'reason'
end
end
class RoomList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::GamesV1::Room, decorator: Google::Apis::GamesV1::Room::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class RoomModification
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :modified_timestamp_millis, :numeric_string => true, as: 'modifiedTimestampMillis'
property :participant_id, as: 'participantId'
end
end
class RoomP2PStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :connection_setup_latency_millis, as: 'connectionSetupLatencyMillis'
property :error, as: 'error'
property :error_reason, as: 'error_reason'
property :kind, as: 'kind'
property :participant_id, as: 'participantId'
property :status, as: 'status'
property :unreliable_roundtrip_latency_millis, as: 'unreliableRoundtripLatencyMillis'
end
end
class RoomP2PStatuses
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :updates, as: 'updates', class: Google::Apis::GamesV1::RoomP2PStatus, decorator: Google::Apis::GamesV1::RoomP2PStatus::Representation
end
end
class RoomParticipant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matched, as: 'autoMatched'
property :auto_matched_player, as: 'autoMatchedPlayer', class: Google::Apis::GamesV1::AnonymousPlayer, decorator: Google::Apis::GamesV1::AnonymousPlayer::Representation
collection :capabilities, as: 'capabilities'
property :client_address, as: 'clientAddress', class: Google::Apis::GamesV1::RoomClientAddress, decorator: Google::Apis::GamesV1::RoomClientAddress::Representation
property :connected, as: 'connected'
property :id, as: 'id'
property :kind, as: 'kind'
property :leave_reason, as: 'leaveReason'
property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
property :status, as: 'status'
end
end
class RoomStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matching_status, as: 'autoMatchingStatus', class: Google::Apis::GamesV1::RoomAutoMatchStatus, decorator: Google::Apis::GamesV1::RoomAutoMatchStatus::Representation
property :kind, as: 'kind'
collection :participants, as: 'participants', class: Google::Apis::GamesV1::RoomParticipant, decorator: Google::Apis::GamesV1::RoomParticipant::Representation
property :room_id, as: 'roomId'
property :status, as: 'status'
property :status_version, as: 'statusVersion'
end
end
class ScoreSubmission
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1048,20 +1548,155 @@ module Google
end
end
class StatsResponse
class TurnBasedAutoMatchingCriteria
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :avg_session_length_minutes, as: 'avg_session_length_minutes'
property :churn_probability, as: 'churn_probability'
property :days_since_last_played, as: 'days_since_last_played'
property :high_spender_probability, as: 'high_spender_probability'
property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask'
property :kind, as: 'kind'
property :num_purchases, as: 'num_purchases'
property :num_sessions, as: 'num_sessions'
property :num_sessions_percentile, as: 'num_sessions_percentile'
property :spend_percentile, as: 'spend_percentile'
property :spend_probability, as: 'spend_probability'
property :total_spend_next_28_days, as: 'total_spend_next_28_days'
property :max_auto_matching_players, as: 'maxAutoMatchingPlayers'
property :min_auto_matching_players, as: 'minAutoMatchingPlayers'
end
end
class TurnBasedMatch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :application_id, as: 'applicationId'
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria, decorator: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria::Representation
property :creation_details, as: 'creationDetails', class: Google::Apis::GamesV1::TurnBasedMatchModification, decorator: Google::Apis::GamesV1::TurnBasedMatchModification::Representation
property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchData, decorator: Google::Apis::GamesV1::TurnBasedMatchData::Representation
property :description, as: 'description'
property :inviter_id, as: 'inviterId'
property :kind, as: 'kind'
property :last_update_details, as: 'lastUpdateDetails', class: Google::Apis::GamesV1::TurnBasedMatchModification, decorator: Google::Apis::GamesV1::TurnBasedMatchModification::Representation
property :match_id, as: 'matchId'
property :match_number, as: 'matchNumber'
property :match_version, as: 'matchVersion'
collection :participants, as: 'participants', class: Google::Apis::GamesV1::TurnBasedMatchParticipant, decorator: Google::Apis::GamesV1::TurnBasedMatchParticipant::Representation
property :pending_participant_id, as: 'pendingParticipantId'
property :previous_match_data, as: 'previousMatchData', class: Google::Apis::GamesV1::TurnBasedMatchData, decorator: Google::Apis::GamesV1::TurnBasedMatchData::Representation
property :rematch_id, as: 'rematchId'
collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
property :status, as: 'status'
property :user_match_status, as: 'userMatchStatus'
property :variant, as: 'variant'
property :with_participant_id, as: 'withParticipantId'
end
end
class CreateTurnBasedMatchRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matching_criteria, as: 'autoMatchingCriteria', class: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria, decorator: Google::Apis::GamesV1::TurnBasedAutoMatchingCriteria::Representation
collection :invited_player_ids, as: 'invitedPlayerIds'
property :kind, as: 'kind'
property :request_id, :numeric_string => true, as: 'requestId'
property :variant, as: 'variant'
end
end
class TurnBasedMatchData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, :base64 => true, as: 'data'
property :data_available, as: 'dataAvailable'
property :kind, as: 'kind'
end
end
class TurnBasedMatchDataRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, :base64 => true, as: 'data'
property :kind, as: 'kind'
end
end
class TurnBasedMatchList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class TurnBasedMatchModification
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :modified_timestamp_millis, :numeric_string => true, as: 'modifiedTimestampMillis'
property :participant_id, as: 'participantId'
end
end
class TurnBasedMatchParticipant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_matched, as: 'autoMatched'
property :auto_matched_player, as: 'autoMatchedPlayer', class: Google::Apis::GamesV1::AnonymousPlayer, decorator: Google::Apis::GamesV1::AnonymousPlayer::Representation
property :id, as: 'id'
property :kind, as: 'kind'
property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
property :status, as: 'status'
end
end
class TurnBasedMatchRematch
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :previous_match, as: 'previousMatch', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
property :rematch, as: 'rematch', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
end
end
class TurnBasedMatchResults
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchDataRequest, decorator: Google::Apis::GamesV1::TurnBasedMatchDataRequest::Representation
property :kind, as: 'kind'
property :match_version, as: 'matchVersion'
collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
end
end
class TurnBasedMatchSync
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::GamesV1::TurnBasedMatch, decorator: Google::Apis::GamesV1::TurnBasedMatch::Representation
property :kind, as: 'kind'
property :more_available, as: 'moreAvailable'
property :next_page_token, as: 'nextPageToken'
end
end
class TurnBasedMatchTurn
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :data, as: 'data', class: Google::Apis::GamesV1::TurnBasedMatchDataRequest, decorator: Google::Apis::GamesV1::TurnBasedMatchDataRequest::Representation
property :kind, as: 'kind'
property :match_version, as: 'matchVersion'
property :pending_participant_id, as: 'pendingParticipantId'
collection :results, as: 'results', class: Google::Apis::GamesV1::ParticipantResult, decorator: Google::Apis::GamesV1::ParticipantResult::Representation
end
end
end
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/solutions/gaming/
module GameservicesV1
VERSION = 'V1'
REVISION = '20200528'
REVISION = '20200630'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
File diff suppressed because it is too large. Load diff
@@ -82,6 +82,36 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeployedClusterState
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeployedFleet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeployedFleetAutoscaler
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeployedFleetDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeployedFleetStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -94,6 +124,90 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FetchDeploymentStateRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FetchDeploymentStateResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FleetConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GameServerCluster
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GameServerClusterConnectionInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GameServerConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GameServerConfigOverride
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GameServerDeployment
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GameServerDeploymentRollout
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GkeClusterReference
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class LabelSelector
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListGameServerClustersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListGameServerConfigsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListGameServerDeploymentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListLocationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -106,6 +220,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListRealmsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Location
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -124,30 +244,132 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class OperationStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreviewCreateGameServerClusterResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreviewDeleteGameServerClusterResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreviewGameServerDeploymentRolloutResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreviewRealmUpdateResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PreviewUpdateGameServerClusterResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Realm
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RealmSelector
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Rule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ScalingConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Schedule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SpecSource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetFleet
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetFleetAutoscaler
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetFleetDetails
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TargetState
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TestIamPermissionsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -247,6 +469,57 @@ module Google
end
end
class DeployedClusterState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster, as: 'cluster'
collection :fleet_details, as: 'fleetDetails', class: Google::Apis::GameservicesV1::DeployedFleetDetails, decorator: Google::Apis::GameservicesV1::DeployedFleetDetails::Representation
end
end
class DeployedFleet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fleet, as: 'fleet'
property :fleet_spec, as: 'fleetSpec'
property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
property :status, as: 'status', class: Google::Apis::GameservicesV1::DeployedFleetStatus, decorator: Google::Apis::GameservicesV1::DeployedFleetStatus::Representation
end
end
class DeployedFleetAutoscaler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :autoscaler, as: 'autoscaler'
property :fleet_autoscaler_spec, as: 'fleetAutoscalerSpec'
property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
end
end
class DeployedFleetDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :deployed_autoscaler, as: 'deployedAutoscaler', class: Google::Apis::GameservicesV1::DeployedFleetAutoscaler, decorator: Google::Apis::GameservicesV1::DeployedFleetAutoscaler::Representation
property :deployed_fleet, as: 'deployedFleet', class: Google::Apis::GameservicesV1::DeployedFleet, decorator: Google::Apis::GameservicesV1::DeployedFleet::Representation
end
end
class DeployedFleetStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allocated_replicas, :numeric_string => true, as: 'allocatedReplicas'
property :ready_replicas, :numeric_string => true, as: 'readyReplicas'
property :replicas, :numeric_string => true, as: 'replicas'
property :reserved_replicas, :numeric_string => true, as: 'reservedReplicas'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,6 +536,145 @@ module Google
end
end
class FetchDeploymentStateRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class FetchDeploymentStateResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :cluster_state, as: 'clusterState', class: Google::Apis::GameservicesV1::DeployedClusterState, decorator: Google::Apis::GameservicesV1::DeployedClusterState::Representation
collection :unavailable, as: 'unavailable'
end
end
class FleetConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fleet_spec, as: 'fleetSpec'
property :name, as: 'name'
end
end
class GameServerCluster
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :connection_info, as: 'connectionInfo', class: Google::Apis::GameservicesV1::GameServerClusterConnectionInfo, decorator: Google::Apis::GameservicesV1::GameServerClusterConnectionInfo::Representation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :etag, as: 'etag'
hash :labels, as: 'labels'
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class GameServerClusterConnectionInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :gke_cluster_reference, as: 'gkeClusterReference', class: Google::Apis::GameservicesV1::GkeClusterReference, decorator: Google::Apis::GameservicesV1::GkeClusterReference::Representation
property :namespace, as: 'namespace'
end
end
class GameServerConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
collection :fleet_configs, as: 'fleetConfigs', class: Google::Apis::GameservicesV1::FleetConfig, decorator: Google::Apis::GameservicesV1::FleetConfig::Representation
hash :labels, as: 'labels'
property :name, as: 'name'
collection :scaling_configs, as: 'scalingConfigs', class: Google::Apis::GameservicesV1::ScalingConfig, decorator: Google::Apis::GameservicesV1::ScalingConfig::Representation
property :update_time, as: 'updateTime'
end
end
class GameServerConfigOverride
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :config_version, as: 'configVersion'
property :realms_selector, as: 'realmsSelector', class: Google::Apis::GameservicesV1::RealmSelector, decorator: Google::Apis::GameservicesV1::RealmSelector::Representation
end
end
class GameServerDeployment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :etag, as: 'etag'
hash :labels, as: 'labels'
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class GameServerDeploymentRollout
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :default_game_server_config, as: 'defaultGameServerConfig'
property :etag, as: 'etag'
collection :game_server_config_overrides, as: 'gameServerConfigOverrides', class: Google::Apis::GameservicesV1::GameServerConfigOverride, decorator: Google::Apis::GameservicesV1::GameServerConfigOverride::Representation
property :name, as: 'name'
property :update_time, as: 'updateTime'
end
end
class GkeClusterReference
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cluster, as: 'cluster'
end
end
class LabelSelector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
hash :labels, as: 'labels'
end
end
class ListGameServerClustersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :game_server_clusters, as: 'gameServerClusters', class: Google::Apis::GameservicesV1::GameServerCluster, decorator: Google::Apis::GameservicesV1::GameServerCluster::Representation
property :next_page_token, as: 'nextPageToken'
collection :unreachable, as: 'unreachable'
end
end
class ListGameServerConfigsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :game_server_configs, as: 'gameServerConfigs', class: Google::Apis::GameservicesV1::GameServerConfig, decorator: Google::Apis::GameservicesV1::GameServerConfig::Representation
property :next_page_token, as: 'nextPageToken'
collection :unreachable, as: 'unreachable'
end
end
class ListGameServerDeploymentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :game_server_deployments, as: 'gameServerDeployments', class: Google::Apis::GameservicesV1::GameServerDeployment, decorator: Google::Apis::GameservicesV1::GameServerDeployment::Representation
property :next_page_token, as: 'nextPageToken'
collection :unreachable, as: 'unreachable'
end
end
class ListLocationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -281,6 +693,16 @@ module Google
end
end
class ListRealmsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :realms, as: 'realms', class: Google::Apis::GameservicesV1::Realm, decorator: Google::Apis::GameservicesV1::Realm::Representation
collection :unreachable, as: 'unreachable'
end
end
class Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -316,6 +738,31 @@ module Google
end
end
class OperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :api_version, as: 'apiVersion'
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
hash :operation_status, as: 'operationStatus', class: Google::Apis::GameservicesV1::OperationStatus, decorator: Google::Apis::GameservicesV1::OperationStatus::Representation
property :requested_cancellation, as: 'requestedCancellation'
property :status_message, as: 'statusMessage'
property :target, as: 'target'
collection :unreachable, as: 'unreachable'
property :verb, as: 'verb'
end
end
class OperationStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error_code, as: 'errorCode'
property :error_message, as: 'errorMessage'
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -331,6 +778,72 @@ module Google
end
end
class PreviewCreateGameServerClusterResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
end
end
class PreviewDeleteGameServerClusterResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
end
end
class PreviewGameServerDeploymentRolloutResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
collection :unavailable, as: 'unavailable'
end
end
class PreviewRealmUpdateResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
end
end
class PreviewUpdateGameServerClusterResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
end
end
class Realm
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :description, as: 'description'
property :etag, as: 'etag'
hash :labels, as: 'labels'
property :name, as: 'name'
property :time_zone, as: 'timeZone'
property :update_time, as: 'updateTime'
end
end
class RealmSelector
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :realms, as: 'realms'
end
end
class Rule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -346,6 +859,28 @@ module Google
end
end
class ScalingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :fleet_autoscaler_spec, as: 'fleetAutoscalerSpec'
property :name, as: 'name'
collection :schedules, as: 'schedules', class: Google::Apis::GameservicesV1::Schedule, decorator: Google::Apis::GameservicesV1::Schedule::Representation
collection :selectors, as: 'selectors', class: Google::Apis::GameservicesV1::LabelSelector, decorator: Google::Apis::GameservicesV1::LabelSelector::Representation
end
end
class Schedule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cron_job_duration, as: 'cronJobDuration'
property :cron_spec, as: 'cronSpec'
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end
class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -355,6 +890,14 @@ module Google
end
end
class SpecSource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :game_server_config_name, as: 'gameServerConfigName'
property :name, as: 'name'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -364,6 +907,52 @@ module Google
end
end
class TargetDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :fleet_details, as: 'fleetDetails', class: Google::Apis::GameservicesV1::TargetFleetDetails, decorator: Google::Apis::GameservicesV1::TargetFleetDetails::Representation
property :game_server_cluster_name, as: 'gameServerClusterName'
property :game_server_deployment_name, as: 'gameServerDeploymentName'
end
end
class TargetFleet
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
end
end
class TargetFleetAutoscaler
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
end
end
class TargetFleetDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :autoscaler, as: 'autoscaler', class: Google::Apis::GameservicesV1::TargetFleetAutoscaler, decorator: Google::Apis::GameservicesV1::TargetFleetAutoscaler::Representation
property :fleet, as: 'fleet', class: Google::Apis::GameservicesV1::TargetFleet, decorator: Google::Apis::GameservicesV1::TargetFleet::Representation
end
end
class TargetState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :details, as: 'details', class: Google::Apis::GameservicesV1::TargetDetails, decorator: Google::Apis::GameservicesV1::TargetDetails::Representation
end
end
class TestIamPermissionsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
File diff suppressed because it is too large. Load diff