Close httplib2 connections.
get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)
Fetches the expansion file configuration for the specified APK.
patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)
Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.
update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)
Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.
Uploads a new expansion file and attaches to the specified APK.
close()
Close httplib2 connections.
get(packageName, editId, apkVersionCode, expansionFileType, x__xgafv=None)
Fetches the expansion file configuration for the specified APK. Args: packageName: string, Package name of the app. (required) editId: string, Identifier of the edit. (required) apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required) expansionFileType: string, The file type of the file configuration which is being read or modified. (required) Allowed values expansionFileTypeUnspecified - Unspecified expansion file type. main - Main expansion file. patch - Patch expansion file. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An expansion file. The resource for ExpansionFilesService. "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes. "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set. }
patch(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)
Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method. Args: packageName: string, Package name of the app. (required) editId: string, Identifier of the edit. (required) apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required) expansionFileType: string, The file type of the expansion file configuration which is being updated. (required) Allowed values expansionFileTypeUnspecified - Unspecified expansion file type. main - Main expansion file. patch - Patch expansion file. body: object, The request body. The object takes the form of: { # An expansion file. The resource for ExpansionFilesService. "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes. "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An expansion file. The resource for ExpansionFilesService. "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes. "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set. }
update(packageName, editId, apkVersionCode, expansionFileType, body=None, x__xgafv=None)
Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method. Args: packageName: string, Package name of the app. (required) editId: string, Identifier of the edit. (required) apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required) expansionFileType: string, The file type of the file configuration which is being read or modified. (required) Allowed values expansionFileTypeUnspecified - Unspecified expansion file type. main - Main expansion file. patch - Patch expansion file. body: object, The request body. The object takes the form of: { # An expansion file. The resource for ExpansionFilesService. "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes. "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # An expansion file. The resource for ExpansionFilesService. "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes. "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set. }
upload(packageName, editId, apkVersionCode, expansionFileType, media_body=None, media_mime_type=None, x__xgafv=None)
Uploads a new expansion file and attaches to the specified APK. Args: packageName: string, Package name of the app. (required) editId: string, Identifier of the edit. (required) apkVersionCode: integer, The version code of the APK whose expansion file configuration is being read or modified. (required) expansionFileType: string, The file type of the expansion file configuration which is being updated. (required) Allowed values expansionFileTypeUnspecified - Unspecified expansion file type. main - Main expansion file. patch - Patch expansion file. media_body: string, The filename of the media request body, or an instance of a MediaUpload object. media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response for uploading an expansion file. "expansionFile": { # An expansion file. The resource for ExpansionFilesService. # The uploaded expansion file configuration. "fileSize": "A String", # If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes. "referencesVersion": 42, # If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set. }, }