Chrome Management API . customers . profiles . commands

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

Creates a Chrome browser profile remote command.

get(name, x__xgafv=None)

Gets a Chrome browser profile remote command.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Lists remote commands of a Chrome browser profile.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a Chrome browser profile remote command.

Args:
  parent: string, Required. Format: customers/{customer_id}/profiles/{profile_permanent_id} (required)
  body: object, The request body.
    The object takes the form of:

{ # A representation of a remote command for a Chrome browser profile.
  "commandResult": { # Result of the execution of a command. # Output only. Result of the remote command.
    "clientExecutionTime": "A String", # Output only. Timestamp of the client execution of the remote command.
    "resultCode": "A String", # Output only. Result code that indicates the type of error or success of the command.
    "resultType": "A String", # Output only. Result type of the remote command.
  },
  "commandState": "A String", # Output only. State of the remote command.
  "commandType": "A String", # Required. Type of the remote command. The only supported command_type is "clearBrowsingData".
  "issueTime": "A String", # Output only. Timestamp of the issurance of the remote command.
  "name": "A String", # Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}
  "payload": { # Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type.
    "a_key": "", # Properties of the object.
  },
  "validDuration": "A String", # Output only. Valid duration of the remote command.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A representation of a remote command for a Chrome browser profile.
  "commandResult": { # Result of the execution of a command. # Output only. Result of the remote command.
    "clientExecutionTime": "A String", # Output only. Timestamp of the client execution of the remote command.
    "resultCode": "A String", # Output only. Result code that indicates the type of error or success of the command.
    "resultType": "A String", # Output only. Result type of the remote command.
  },
  "commandState": "A String", # Output only. State of the remote command.
  "commandType": "A String", # Required. Type of the remote command. The only supported command_type is "clearBrowsingData".
  "issueTime": "A String", # Output only. Timestamp of the issurance of the remote command.
  "name": "A String", # Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}
  "payload": { # Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type.
    "a_key": "", # Properties of the object.
  },
  "validDuration": "A String", # Output only. Valid duration of the remote command.
}
get(name, x__xgafv=None)
Gets a Chrome browser profile remote command.

Args:
  name: string, Required. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id} (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A representation of a remote command for a Chrome browser profile.
  "commandResult": { # Result of the execution of a command. # Output only. Result of the remote command.
    "clientExecutionTime": "A String", # Output only. Timestamp of the client execution of the remote command.
    "resultCode": "A String", # Output only. Result code that indicates the type of error or success of the command.
    "resultType": "A String", # Output only. Result type of the remote command.
  },
  "commandState": "A String", # Output only. State of the remote command.
  "commandType": "A String", # Required. Type of the remote command. The only supported command_type is "clearBrowsingData".
  "issueTime": "A String", # Output only. Timestamp of the issurance of the remote command.
  "name": "A String", # Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}
  "payload": { # Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type.
    "a_key": "", # Properties of the object.
  },
  "validDuration": "A String", # Output only. Valid duration of the remote command.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists remote commands of a Chrome browser profile.

Args:
  parent: string, Required. Format: customers/{customer_id}/profiles/{profile_permanent_id} (required)
  pageSize: integer, Optional. The maximum number of commands to return. The default page size is 100 if page_size is unspecified, and the maximum page size allowed is 100.
  pageToken: string, Optional. The page token used to retrieve a specific page of the listing request.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response to ListChromeBrowserProfileCommands method.
  "chromeBrowserProfileCommands": [ # The list of commands returned.
    { # A representation of a remote command for a Chrome browser profile.
      "commandResult": { # Result of the execution of a command. # Output only. Result of the remote command.
        "clientExecutionTime": "A String", # Output only. Timestamp of the client execution of the remote command.
        "resultCode": "A String", # Output only. Result code that indicates the type of error or success of the command.
        "resultType": "A String", # Output only. Result type of the remote command.
      },
      "commandState": "A String", # Output only. State of the remote command.
      "commandType": "A String", # Required. Type of the remote command. The only supported command_type is "clearBrowsingData".
      "issueTime": "A String", # Output only. Timestamp of the issurance of the remote command.
      "name": "A String", # Identifier. Format: customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id}
      "payload": { # Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type.
        "a_key": "", # Properties of the object.
      },
      "validDuration": "A String", # Output only. Valid duration of the remote command.
    },
  ],
  "nextPageToken": "A String", # The pagination token that can be used to list the next page.
  "totalSize": "A String", # Total size represents an estimated number of resources returned.
}
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.