Autogenerated update (2020-07-02)

Update:
- androiddeviceprovisioning_v1
- androidpublisher_v3
- displayvideo_v1
- games_v1
- ml_v1
- run_v1
- run_v1alpha1
- run_v1beta1
This commit is contained in:
Google APIs 2020-07-02 00:38:31 +00:00
parent fe73ddc884
commit 206045285c
23 changed files with 919 additions and 3949 deletions

View File

@ -8888,6 +8888,12 @@
"/androidpublisher:v3/DeviceMetadata/screenDensityDpi": screen_density_dpi
"/androidpublisher:v3/DeviceMetadata/screenHeightPx": screen_height_px
"/androidpublisher:v3/DeviceMetadata/screenWidthPx": screen_width_px
"/androidpublisher:v3/DeviceSpec": device_spec
"/androidpublisher:v3/DeviceSpec/screenDensity": screen_density
"/androidpublisher:v3/DeviceSpec/supportedAbis": supported_abis
"/androidpublisher:v3/DeviceSpec/supportedAbis/supported_abi": supported_abi
"/androidpublisher:v3/DeviceSpec/supportedLocales": supported_locales
"/androidpublisher:v3/DeviceSpec/supportedLocales/supported_locale": supported_locale
"/androidpublisher:v3/ExpansionFile": expansion_file
"/androidpublisher:v3/ExpansionFile/fileSize": file_size
"/androidpublisher:v3/ExpansionFile/referencesVersion": references_version
@ -9073,6 +9079,9 @@
"/androidpublisher:v3/SubscriptionPurchasesDeferRequest/deferralInfo": deferral_info
"/androidpublisher:v3/SubscriptionPurchasesDeferResponse": subscription_purchases_defer_response
"/androidpublisher:v3/SubscriptionPurchasesDeferResponse/newExpiryTimeMillis": new_expiry_time_millis
"/androidpublisher:v3/SystemApksListResponse": system_apks_list_response
"/androidpublisher:v3/SystemApksListResponse/variants": variants
"/androidpublisher:v3/SystemApksListResponse/variants/variant": variant
"/androidpublisher:v3/Testers": testers
"/androidpublisher:v3/Testers/googleGroups": google_groups
"/androidpublisher:v3/Testers/googleGroups/google_group": google_group
@ -9118,6 +9127,9 @@
"/androidpublisher:v3/UsesPermission": uses_permission
"/androidpublisher:v3/UsesPermission/maxSdkVersion": max_sdk_version
"/androidpublisher:v3/UsesPermission/name": name
"/androidpublisher:v3/Variant": variant
"/androidpublisher:v3/Variant/deviceSpec": device_spec
"/androidpublisher:v3/Variant/variantId": variant_id
"/androidpublisher:v3/VoidedPurchase": voided_purchase
"/androidpublisher:v3/VoidedPurchase/kind": kind
"/androidpublisher:v3/VoidedPurchase/orderId": order_id
@ -9348,6 +9360,20 @@
"/androidpublisher:v3/androidpublisher.reviews.reply": reply_review
"/androidpublisher:v3/androidpublisher.reviews.reply/packageName": package_name
"/androidpublisher:v3/androidpublisher.reviews.reply/reviewId": review_id
"/androidpublisher:v3/androidpublisher.systemapks.variants.create": create_systemapk_variant
"/androidpublisher:v3/androidpublisher.systemapks.variants.create/packageName": package_name
"/androidpublisher:v3/androidpublisher.systemapks.variants.create/versionCode": version_code
"/androidpublisher:v3/androidpublisher.systemapks.variants.download": download_systemapk_variant
"/androidpublisher:v3/androidpublisher.systemapks.variants.download/packageName": package_name
"/androidpublisher:v3/androidpublisher.systemapks.variants.download/variantId": variant_id
"/androidpublisher:v3/androidpublisher.systemapks.variants.download/versionCode": version_code
"/androidpublisher:v3/androidpublisher.systemapks.variants.get": get_systemapk_variant
"/androidpublisher:v3/androidpublisher.systemapks.variants.get/packageName": package_name
"/androidpublisher:v3/androidpublisher.systemapks.variants.get/variantId": variant_id
"/androidpublisher:v3/androidpublisher.systemapks.variants.get/versionCode": version_code
"/androidpublisher:v3/androidpublisher.systemapks.variants.list": list_systemapk_variants
"/androidpublisher:v3/androidpublisher.systemapks.variants.list/packageName": package_name
"/androidpublisher:v3/androidpublisher.systemapks.variants.list/versionCode": version_code
"/androidpublisher:v3/fields": fields
"/androidpublisher:v3/key": key
"/androidpublisher:v3/quotaUser": quota_user
@ -94768,6 +94794,18 @@
"/games:v1/SnapshotListResponse/items/item": item
"/games:v1/SnapshotListResponse/kind": kind
"/games:v1/SnapshotListResponse/nextPageToken": next_page_token
"/games:v1/StatsResponse": stats_response
"/games:v1/StatsResponse/avg_session_length_minutes": avg_session_length_minutes
"/games:v1/StatsResponse/churn_probability": churn_probability
"/games:v1/StatsResponse/days_since_last_played": days_since_last_played
"/games:v1/StatsResponse/high_spender_probability": high_spender_probability
"/games:v1/StatsResponse/kind": kind
"/games:v1/StatsResponse/num_purchases": num_purchases
"/games:v1/StatsResponse/num_sessions": num_sessions
"/games:v1/StatsResponse/num_sessions_percentile": num_sessions_percentile
"/games:v1/StatsResponse/spend_percentile": spend_percentile
"/games:v1/StatsResponse/spend_probability": spend_probability
"/games:v1/StatsResponse/total_spend_next_28_days": total_spend_next_28_days
"/games:v1/TurnBasedAutoMatchingCriteria": turn_based_auto_matching_criteria
"/games:v1/TurnBasedAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask
"/games:v1/TurnBasedAutoMatchingCriteria/kind": kind
@ -95032,6 +95070,7 @@
"/games:v1/games.snapshots.list/maxResults": max_results
"/games:v1/games.snapshots.list/pageToken": page_token
"/games:v1/games.snapshots.list/playerId": player_id
"/games:v1/games.stats.get": get_stat
"/games:v1/games.turnBasedMatches.cancel": cancel_turn_based_match
"/games:v1/games.turnBasedMatches.cancel/consistencyToken": consistency_token
"/games:v1/games.turnBasedMatches.cancel/matchId": match_id

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1
VERSION = 'V1'
REVISION = '20200311'
REVISION = '20200701'
end
end
end

View File

@ -33,13 +33,13 @@ module Google
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
# Metadata entries that can be attached to a `Device`. To learn more, read
# [Device metadata](/zero-touch/guides/metadata).
# [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
# Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata
@ -113,7 +113,7 @@ module Google
class Company
include Google::Apis::Core::Hashable
# Optional. Input only. Email address of customer's users in the admin role.
# Optional. Email address of customer's users in the admin role.
# Each email address must be associated with a Google Account.
# Corresponds to the JSON property `adminEmails`
# @return [Array<String>]
@ -140,7 +140,8 @@ module Google
# @return [String]
attr_accessor :name
# Input only. Email address of customer's users in the owner role. At least
# Required. Input only. Email address of customer's users in the owner role. At
# least
# one `owner_email` is required. Each email address must be associated with a
# Google Account. Owners share the same access as admins but can also add,
# delete, and edit your organization's portal users.
@ -306,7 +307,8 @@ module Google
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# identifiers, read
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `device`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceReference]
attr_accessor :device
@ -424,7 +426,8 @@ module Google
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# identifiers, read
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `device`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceReference]
attr_accessor :device
@ -450,7 +453,8 @@ module Google
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# identifiers, read
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `device`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceReference]
attr_accessor :device
@ -492,13 +496,13 @@ module Google
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
# Metadata entries that can be attached to a `Device`. To learn more, read
# [Device metadata](/zero-touch/guides/metadata).
# [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
# Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata
@ -574,7 +578,7 @@ module Google
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
class DeviceIdentifier
include Google::Apis::Core::Hashable
@ -624,7 +628,7 @@ module Google
end
# Metadata entries that can be attached to a `Device`. To learn more, read
# [Device metadata](/zero-touch/guides/metadata).
# [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
class DeviceMetadata
include Google::Apis::Core::Hashable
@ -650,7 +654,8 @@ module Google
# device.
# Methods that operate on devices take a `DeviceReference` as a parameter type
# because it's more flexible for the caller. To learn more about device
# identifiers, read [Identifiers](/zero-touch/guides/identifiers).
# identifiers, read
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
class DeviceReference
include Google::Apis::Core::Hashable
@ -661,7 +666,7 @@ module Google
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
@ -810,7 +815,7 @@ module Google
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
@ -1142,13 +1147,13 @@ module Google
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
# Metadata entries that can be attached to a `Device`. To learn more, read
# [Device metadata](/zero-touch/guides/metadata).
# [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
# Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata
@ -1175,14 +1180,14 @@ module Google
class PartnerUnclaim
include Google::Apis::Core::Hashable
# Device ID of the device.
# Required. Device ID of the device.
# Corresponds to the JSON property `deviceId`
# @return [Fixnum]
attr_accessor :device_id
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
@ -1192,13 +1197,14 @@ module Google
# @return [String]
attr_accessor :section_type
# The duration of the vacation unlock starting from when the request is
# Optional. The duration of the vacation unlock starting from when the request
# is
# processed. (1 day is treated as 24 hours)
# Corresponds to the JSON property `vacationModeDays`
# @return [Fixnum]
attr_accessor :vacation_mode_days
# The expiration time of the vacation unlock.
# Optional. The expiration time of the vacation unlock.
# Corresponds to the JSON property `vacationModeExpireTime`
# @return [String]
attr_accessor :vacation_mode_expire_time
@ -1297,14 +1303,14 @@ module Google
class UnclaimDeviceRequest
include Google::Apis::Core::Hashable
# The device ID returned by `ClaimDevice`.
# Required. The device ID returned by `ClaimDevice`.
# Corresponds to the JSON property `deviceId`
# @return [Fixnum]
attr_accessor :device_id
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
@ -1382,7 +1388,7 @@ module Google
include Google::Apis::Core::Hashable
# Metadata entries that can be attached to a `Device`. To learn more, read
# [Device metadata](/zero-touch/guides/metadata).
# [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
# Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata
@ -1401,20 +1407,20 @@ module Google
class UpdateMetadataArguments
include Google::Apis::Core::Hashable
# Device ID of the device.
# Required. Device ID of the device.
# Corresponds to the JSON property `deviceId`
# @return [Fixnum]
attr_accessor :device_id
# Encapsulates hardware and product IDs to identify a manufactured device.
# To understand requirements on identifier sets, read
# [Identifiers](/zero-touch/guides/identifiers).
# [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
# Corresponds to the JSON property `deviceIdentifier`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceIdentifier]
attr_accessor :device_identifier
# Metadata entries that can be attached to a `Device`. To learn more, read
# [Device metadata](/zero-touch/guides/metadata).
# [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
# Corresponds to the JSON property `deviceMetadata`
# @return [Google::Apis::AndroiddeviceprovisioningV1::DeviceMetadata]
attr_accessor :device_metadata

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20200616'
REVISION = '20200701'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -464,6 +464,39 @@ module Google
end
end
# The device spec used to generate a system APK.
class DeviceSpec
include Google::Apis::Core::Hashable
# Screen dpi.
# Corresponds to the JSON property `screenDensity`
# @return [Fixnum]
attr_accessor :screen_density
# Supported ABI architectures in the order of preference.
# The values should be the string as reported by the platform, e.g.
# "armeabi-v7a", "x86_64".
# Corresponds to the JSON property `supportedAbis`
# @return [Array<String>]
attr_accessor :supported_abis
# All installed locales represented as BCP-47 strings, e.g. "en-US".
# Corresponds to the JSON property `supportedLocales`
# @return [Array<String>]
attr_accessor :supported_locales
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@screen_density = args[:screen_density] if args.key?(:screen_density)
@supported_abis = args[:supported_abis] if args.key?(:supported_abis)
@supported_locales = args[:supported_locales] if args.key?(:supported_locales)
end
end
# An expansion file. The resource for ExpansionFilesService.
class ExpansionFile
include Google::Apis::Core::Hashable
@ -1805,6 +1838,25 @@ module Google
end
end
# Response to list previously created system APK variants.
class SystemApksListResponse
include Google::Apis::Core::Hashable
# All system APK variants created.
# Corresponds to the JSON property `variants`
# @return [Array<Google::Apis::AndroidpublisherV3::Variant>]
attr_accessor :variants
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@variants = args[:variants] if args.key?(:variants)
end
end
# The testers of an app. The resource for TestersService.
class Testers
include Google::Apis::Core::Hashable
@ -2124,6 +2176,32 @@ module Google
end
end
# APK that is suitable for inclusion in a system image. The resource of
# SystemApksService.
class Variant
include Google::Apis::Core::Hashable
# The device spec used to generate a system APK.
# Corresponds to the JSON property `deviceSpec`
# @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
attr_accessor :device_spec
# Output only. The ID of a previously created system APK variant.
# Corresponds to the JSON property `variantId`
# @return [Fixnum]
attr_accessor :variant_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@device_spec = args[:device_spec] if args.key?(:device_spec)
@variant_id = args[:variant_id] if args.key?(:variant_id)
end
end
# A VoidedPurchase resource indicates a purchase that was either
# canceled/refunded/charged-back.
class VoidedPurchase

View File

@ -112,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DeviceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExpansionFile
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -298,6 +304,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SystemApksListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Testers
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -346,6 +358,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Variant
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VoidedPurchase
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -495,6 +513,15 @@ module Google
end
end
class DeviceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :screen_density, as: 'screenDensity'
collection :supported_abis, as: 'supportedAbis'
collection :supported_locales, as: 'supportedLocales'
end
end
class ExpansionFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -830,6 +857,14 @@ module Google
end
end
class SystemApksListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :variants, as: 'variants', class: Google::Apis::AndroidpublisherV3::Variant, decorator: Google::Apis::AndroidpublisherV3::Variant::Representation
end
end
class Testers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -914,6 +949,15 @@ module Google
end
end
class Variant
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_spec, as: 'deviceSpec', class: Google::Apis::AndroidpublisherV3::DeviceSpec, decorator: Google::Apis::AndroidpublisherV3::DeviceSpec::Representation
property :variant_id, as: 'variantId'
end
end
class VoidedPurchase
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -44,7 +44,7 @@ module Google
def initialize
super('https://www.googleapis.com/', '')
@batch_path = 'batch/androidpublisher'
@batch_path = 'batch/androidpublisher/v3'
end
# Commits an app edit.
@ -2255,6 +2255,154 @@ module Google
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Creates an APK which is suitable for inclusion in a system image from an
# already uploaded Android App Bundle.
# @param [String] package_name
# Unique identifier of the Android app.
# @param [Fixnum] version_code
# The version code of the App Bundle.
# @param [Google::Apis::AndroidpublisherV3::Variant] variant_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV3::Variant]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def create_systemapk_variant(package_name, version_code, variant_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants', options)
command.request_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
command.request_object = variant_object
command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Variant
command.params['packageName'] = package_name unless package_name.nil?
command.params['versionCode'] = version_code unless version_code.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Downloads a previously created system APK which is suitable for inclusion
# in a system image.
# @param [String] package_name
# Unique identifier of the Android app.
# @param [Fixnum] version_code
# The version code of the App Bundle.
# @param [Fixnum] variant_id
# The ID of a previously created system APK variant.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [IO, String] download_dest
# IO stream or filename to receive content download
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def download_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
if download_dest.nil?
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options)
else
command = make_download_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download', options)
command.download_dest = download_dest
end
command.params['packageName'] = package_name unless package_name.nil?
command.params['versionCode'] = version_code unless version_code.nil?
command.params['variantId'] = variant_id unless variant_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns a previously created system APK variant.
# @param [String] package_name
# Unique identifier of the Android app.
# @param [Fixnum] version_code
# The version code of the App Bundle.
# @param [Fixnum] variant_id
# The ID of a previously created system APK variant.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV3::Variant] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV3::Variant]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_systemapk_variant(package_name, version_code, variant_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}', options)
command.response_representation = Google::Apis::AndroidpublisherV3::Variant::Representation
command.response_class = Google::Apis::AndroidpublisherV3::Variant
command.params['packageName'] = package_name unless package_name.nil?
command.params['versionCode'] = version_code unless version_code.nil?
command.params['variantId'] = variant_id unless variant_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the list of previously created system APK variants.
# @param [String] package_name
# Unique identifier of the Android app.
# @param [Fixnum] version_code
# The version code of the App Bundle.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidpublisherV3::SystemApksListResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidpublisherV3::SystemApksListResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_systemapk_variants(package_name, version_code, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants', options)
command.response_representation = Google::Apis::AndroidpublisherV3::SystemApksListResponse::Representation
command.response_class = Google::Apis::AndroidpublisherV3::SystemApksListResponse
command.params['packageName'] = package_name unless package_name.nil?
command.params['versionCode'] = version_code unless version_code.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
protected

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/display-video/
module DisplayvideoV1
VERSION = 'V1'
REVISION = '20200623'
REVISION = '20200630'
# Create, see, edit, and permanently delete your Display & Video 360 entities and reports
AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video'

View File

@ -3829,7 +3829,7 @@ module Google
# @return [String]
attr_accessor :audience_type
# Output only. The description of the first and third party audience.
# The user-provided description of the audience.
# Only applicable to first party audiences.
# Corresponds to the JSON property `description`
# @return [String]
@ -3874,8 +3874,7 @@ module Google
# @return [Fixnum]
attr_accessor :display_mobile_web_audience_size
# Output only. The display name of the first and third party audience.
# .
# The display name of the first and third party audience.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
@ -3888,7 +3887,6 @@ module Google
attr_accessor :first_and_third_party_audience_id
# Output only. Whether the audience is a first or third party audience.
# .
# Corresponds to the JSON property `firstAndThirdPartyAudienceType`
# @return [String]
attr_accessor :first_and_third_party_audience_type
@ -3903,8 +3901,7 @@ module Google
# @return [Fixnum]
attr_accessor :gmail_audience_size
# Output only. The duration in days that an entry remains in the audience after
# the
# The duration in days that an entry remains in the audience after the
# qualifying event.
# Only applicable to first party audiences.
# Corresponds to the JSON property `membershipDurationDays`

View File

@ -651,8 +651,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing inventory source.
# Returns the updated inventory source if successful.
# Gets a channel for a partner or advertiser.
# @param [Fixnum] advertiser_id
# The ID of the advertiser that owns the fetched channel.
@ -4028,8 +4026,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing inventory source.
# Returns the updated inventory source if successful.
# Gets a channel for a partner or advertiser.
# @param [Fixnum] partner_id
# The ID of the partner that owns the fetched channel.

View File

@ -18,14 +18,16 @@ require 'google/apis/games_v1/representations.rb'
module Google
module Apis
# Google Play Game Services API
# Google Play Game Services
#
# The API for Google Play Game Services.
# The Google Play games service allows developers to enhance games with social
# leaderboards,
# achievements, game state, sign-in with Google, and more.
#
# @see https://developers.google.com/games/services/
# @see https://developers.google.com/games/
module GamesV1
VERSION = 'V1'
REVISION = '20200528'
REVISION = '20200625'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'

File diff suppressed because it is too large Load Diff

View File

@ -82,18 +82,6 @@ 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
@ -262,36 +250,6 @@ 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
@ -388,114 +346,12 @@ 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
@ -520,73 +376,7 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
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 StatsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
@ -698,26 +488,6 @@ 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
@ -1033,68 +803,6 @@ 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
@ -1106,8 +814,6 @@ 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'
@ -1283,34 +989,6 @@ 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
@ -1320,184 +998,6 @@ 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
@ -1548,155 +1048,20 @@ module Google
end
end
class TurnBasedAutoMatchingCriteria
class StatsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :exclusive_bitmask, :numeric_string => true, as: 'exclusiveBitmask'
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 :kind, as: 'kind'
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
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'
end
end
end

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/ml/
module MlV1
VERSION = 'V1'
REVISION = '20200629'
REVISION = '20200630'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3101,7 +3101,7 @@ module Google
# `
# "audit_configs": [
# `
# "service": "allServices",
# "service": "allServices"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
@ -3110,18 +3110,18 @@ module Google
# ]
# `,
# `
# "log_type": "DATA_WRITE"
# "log_type": "DATA_WRITE",
# `,
# `
# "log_type": "ADMIN_READ"
# "log_type": "ADMIN_READ",
# `
# ]
# `,
# `
# "service": "sampleservice.googleapis.com",
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ"
# "log_type": "DATA_READ",
# `,
# `
# "log_type": "DATA_WRITE",
@ -3173,7 +3173,7 @@ module Google
# ]
# `,
# `
# "log_type": "DATA_WRITE"
# "log_type": "DATA_WRITE",
# `
# ]
# `

View File

@ -18,7 +18,7 @@ require 'google/apis/run_v1/representations.rb'
module Google
module Apis
# Cloud Run Admin API
# Cloud Run API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.

View File

@ -2449,12 +2449,7 @@ module Google
# @return [String]
attr_accessor :service_account_name
# TimeoutSeconds holds the max duration the instance is allowed for
# responding to a request.
# Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum
# allowed value is 900 seconds (15 minutes).
# Cloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed
# value is configurable by the cluster operator.
#
# Corresponds to the JSON property `timeoutSeconds`
# @return [Fixnum]
attr_accessor :timeout_seconds

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module RunV1
# Cloud Run Admin API
# Cloud Run API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.

View File

@ -18,7 +18,7 @@ require 'google/apis/run_v1alpha1/representations.rb'
module Google
module Apis
# Cloud Run Admin API
# Cloud Run API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module RunV1alpha1
# Cloud Run Admin API
# Cloud Run API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.

View File

@ -18,7 +18,7 @@ require 'google/apis/run_v1beta1/representations.rb'
module Google
module Apis
# Cloud Run Admin API
# Cloud Run API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module RunV1beta1
# Cloud Run Admin API
# Cloud Run API
#
# Deploy and manage user provided container images that scale automatically
# based on HTTP traffic.