"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location":"query",
"type":"string"
},
"bearer_token":{
"description":"OAuth bearer token.",
"location":"query",
"type":"string"
},
"callback":{
"description":"JSONP",
"location":"query",
"type":"string"
},
"fields":{
"description":"Selector specifying which fields to include in a partial response.",
"location":"query",
"type":"string"
},
"key":{
"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location":"query",
"type":"string"
},
"oauth_token":{
"description":"OAuth 2.0 token for the current user.",
"location":"query",
"type":"string"
},
"pp":{
"default":"true",
"description":"Pretty-print response.",
"location":"query",
"type":"boolean"
},
"prettyPrint":{
"default":"true",
"description":"Returns response with indentations and line breaks.",
"location":"query",
"type":"boolean"
},
"quotaUser":{
"description":"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.",
"location":"query",
"type":"string"
},
"uploadType":{
"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location":"query",
"type":"string"
},
"upload_protocol":{
"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").",
"description":"Creates a new matter with the given name and description. The initial state\nis open, and the owner is the method caller. Returns the created matter\nwith default view.",
"description":"Updates the specified matter.\nThis updates only the name and description of the matter, identified by\nmatter id. Changes to any other fields are ignored.\nReturns the default view of the matter.",
"description":"The number of holds to return in the response, between 0 and 100 inclusive.\nLeaving this empty, or as 0, is the same as page_size = 100.",
"description":"Updates the OU and/or query parameters of a hold. You cannot add accounts\nto a hold that covers an OU, nor can you add OUs to a hold that covers\nindividual accounts. Accounts listed in the hold will be ignored.",
"description":"Adds a HeldAccount to a hold. Accounts can only be added to a hold that\nhas no held_org_unit set. Attempting to add an account to an OU-based\nhold will result in an error.",
"description":"Lists HeldAccounts for a hold. This will only list individually specified\nheld accounts. If the hold is on an OU, then use\n\u003ca href=\"https://developers.google.com/admin-sdk/\"\u003eAdmin SDK\u003c/a\u003e\nto enumerate its members.",
"description":"Add an account with the permission specified. The role cannot be owner.\nIf an account already has a role in the matter, it will be\noverwritten.",
"id":"AddMatterPermissionsRequest",
"properties":{
"ccMe":{
"description":"Only relevant if send_emails is true.\nTrue to CC requestor in the email message.\nFalse to not CC requestor.",
"type":"boolean"
},
"matterPermission":{
"$ref":"MatterPermission",
"description":"The MatterPermission to add."
},
"sendEmails":{
"description":"True to send notification email to the added account.\nFalse to not send notification email.",
"description":"Response to a CloseMatterRequest.",
"id":"CloseMatterResponse",
"properties":{
"matter":{
"$ref":"Matter",
"description":"The updated matter, with state CLOSED."
}
},
"type":"object"
},
"CorpusQuery":{
"description":"Corpus specific queries.",
"id":"CorpusQuery",
"properties":{
"driveQuery":{
"$ref":"HeldDriveQuery",
"description":"Details pertaining to Drive holds. If set, corpus must be Drive."
},
"groupsQuery":{
"$ref":"HeldGroupsQuery",
"description":"Details pertaining to Groups holds. If set, corpus must be Groups."
},
"hangoutsChatQuery":{
"$ref":"HeldHangoutsChatQuery",
"description":"Details pertaining to Hangouts Chat holds. If set, corpus must be\nHangouts Chat."
},
"mailQuery":{
"$ref":"HeldMailQuery",
"description":"Details pertaining to mail holds. If set, corpus must be mail."
}
},
"type":"object"
},
"Empty":{
"description":"A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
"id":"Empty",
"properties":{},
"type":"object"
},
"HeldAccount":{
"description":"An account being held in a particular hold. This structure is immutable.\nThis can be either a single user or a google group, depending on the corpus.",
"id":"HeldAccount",
"properties":{
"accountId":{
"description":"The account's ID as provided by the\n\u003ca href=\"https://developers.google.com/admin-sdk/\"\u003eAdmin SDK\u003c/a\u003e.",
"type":"string"
},
"holdTime":{
"description":"When the account was put on hold.",
"format":"google-datetime",
"type":"string"
}
},
"type":"object"
},
"HeldDriveQuery":{
"description":"Query options for Drive holds.",
"id":"HeldDriveQuery",
"properties":{
"includeTeamDriveFiles":{
"description":"If true, include files in Team Drives in the hold.",
"type":"boolean"
}
},
"type":"object"
},
"HeldGroupsQuery":{
"description":"Query options for group holds.",
"id":"HeldGroupsQuery",
"properties":{
"endTime":{
"description":"The end time range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
"format":"google-datetime",
"type":"string"
},
"startTime":{
"description":"The start time range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
"format":"google-datetime",
"type":"string"
},
"terms":{
"description":"The search terms for the hold.",
"type":"string"
}
},
"type":"object"
},
"HeldHangoutsChatQuery":{
"description":"Query options for hangouts chat holds.",
"id":"HeldHangoutsChatQuery",
"properties":{
"includeRooms":{
"description":"If true, include rooms the user has participated in.",
"type":"boolean"
}
},
"type":"object"
},
"HeldMailQuery":{
"description":"Query options for mail holds.",
"id":"HeldMailQuery",
"properties":{
"endTime":{
"description":"The end time range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
"format":"google-datetime",
"type":"string"
},
"startTime":{
"description":"The start time range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
"description":"Represents a hold within Vault. A hold restricts purging of\nartifacts based on the combination of the query and accounts restrictions.\nA hold can be configured to either apply to an explicitly configured set\nof accounts, or can be applied to all members of an organizational unit.",
"id":"Hold",
"properties":{
"accounts":{
"description":"If set, the hold applies to the enumerated accounts and org_unit must be\nempty.",
"items":{
"$ref":"HeldAccount"
},
"type":"array"
},
"corpus":{
"description":"The corpus to be searched.",
"enum":[
"CORPUS_TYPE_UNSPECIFIED",
"DRIVE",
"MAIL",
"GROUPS",
"HANGOUTS_CHAT"
],
"enumDescriptions":[
"No corpus specified.",
"Drive.",
"Mail.",
"Groups.",
"Hangouts Chat."
],
"type":"string"
},
"holdId":{
"description":"The unique immutable ID of the hold. Assigned during creation.",
"type":"string"
},
"name":{
"description":"The name of the hold.",
"type":"string"
},
"orgUnit":{
"$ref":"HeldOrgUnit",
"description":"If set, the hold applies to all members of the organizational unit and\naccounts must be empty. This property is mutable. For groups holds,\nset the accounts field."
},
"query":{
"$ref":"CorpusQuery",
"description":"The corpus-specific query. If set, the corpusQuery must match corpus\ntype."
},
"updateTime":{
"description":"The last time this hold was modified.",
"description":"The matter ID which is generated by the server.\nShould be blank when creating a new matter.",
"type":"string"
},
"matterPermissions":{
"description":"List of users and access to the matter. Currently there is no programmer\ndefined limit on the number of permissions a matter can have.",
"description":"Currently each matter only has one owner, and all others are collaborators.\nWhen an account is purged, its corresponding MatterPermission resources\ncease to exist.",
"id":"MatterPermission",
"properties":{
"accountId":{
"description":"The account id, as provided by \u003ca href=\"https://developers.google.com/admin-sdk/\"\u003eAdmin SDK\u003c/a\u003e.",