Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a web app.
Deletes a web app.
Gets a web app.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists web apps for a given enterprise.
Retrieves the next page of results.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a web app.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a web app. Args: parent: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required) body: object, The request body. The object takes the form of: { # A web app. "displayMode": "A String", # The display mode of the web app. "icons": [ # A list of icons for the web app. Must have at least one element. { # An icon for a web app. Supported formats are: png, jpg and webp. "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. }, ], "name": "A String", # The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the application. "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). "versionCode": "A String", # The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A web app. "displayMode": "A String", # The display mode of the web app. "icons": [ # A list of icons for the web app. Must have at least one element. { # An icon for a web app. Supported formats are: png, jpg and webp. "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. }, ], "name": "A String", # The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the application. "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). "versionCode": "A String", # The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. }
delete(name, x__xgafv=None)
Deletes a web app. Args: name: string, The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }
get(name, x__xgafv=None)
Gets a web app. Args: name: string, The name of the web app in the form enterprises/{enterpriseId}/webApp/{packageName}. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A web app. "displayMode": "A String", # The display mode of the web app. "icons": [ # A list of icons for the web app. Must have at least one element. { # An icon for a web app. Supported formats are: png, jpg and webp. "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. }, ], "name": "A String", # The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the application. "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). "versionCode": "A String", # The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. }
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists web apps for a given enterprise. Args: parent: string, The name of the enterprise in the form enterprises/{enterpriseId}. (required) pageSize: integer, The requested page size. This is a hint and the actual page size in the response may be different. pageToken: string, A token identifying a page of results returned by the server. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response to a request to list web apps for a given enterprise. "nextPageToken": "A String", # If there are more results, a token to retrieve next page of results. "webApps": [ # The list of web apps. { # A web app. "displayMode": "A String", # The display mode of the web app. "icons": [ # A list of icons for the web app. Must have at least one element. { # An icon for a web app. Supported formats are: png, jpg and webp. "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. }, ], "name": "A String", # The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the application. "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). "versionCode": "A String", # The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. }, ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a web app. Args: name: string, The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}. (required) body: object, The request body. The object takes the form of: { # A web app. "displayMode": "A String", # The display mode of the web app. "icons": [ # A list of icons for the web app. Must have at least one element. { # An icon for a web app. Supported formats are: png, jpg and webp. "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. }, ], "name": "A String", # The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the application. "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). "versionCode": "A String", # The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. } updateMask: string, The field mask indicating the fields to update. If not set, all modifiable fields will be modified. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A web app. "displayMode": "A String", # The display mode of the web app. "icons": [ # A list of icons for the web app. Must have at least one element. { # An icon for a web app. Supported formats are: png, jpg and webp. "imageData": "A String", # The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image type can be png or jpg. - The image should ideally be square. - The image should ideally have a size of 512x512. }, ], "name": "A String", # The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. "startUrl": "A String", # The start URL, i.e. the URL that should load when the user opens the application. "title": "A String", # The title of the web app as displayed to the user (e.g., amongst a list of other applications, or as a label for an icon). "versionCode": "A String", # The current version of the app.Note that the version can automatically increase during the lifetime of the web app, while Google does internal housekeeping to keep the web app up-to-date. }