This value is computed by the server based on the version of the deployment in storage, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
getName
The deployment resource name.
Example: projects/123/deployments/my_deployment.
Returns
Type
Description
string
setName
The deployment resource name.
Example: projects/123/deployments/my_deployment.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOauthScopes
The list of Google OAuth scopes for which to request consent from the end
user before executing an add-on endpoint.
This value is computed by the server based on the version of the
deployment in storage, and may be sent on update and delete requests to
ensure the client has an up-to-date value before proceeding.
Returns
Type
Description
string
setEtag
This value is computed by the server based on the version of the
deployment in storage, and may be sent on update and delete requests to
ensure the client has an up-to-date value before proceeding.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Workspace Add-ons V1 Client - Class Deployment (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-gsuite-addons/latest/V1.Deployment)\n- [1.0.3](/php/docs/reference/cloud-gsuite-addons/1.0.3/V1.Deployment)\n- [0.3.5](/php/docs/reference/cloud-gsuite-addons/0.3.5/V1.Deployment)\n- [0.2.3](/php/docs/reference/cloud-gsuite-addons/0.2.3/V1.Deployment)\n- [0.1.6](/php/docs/reference/cloud-gsuite-addons/0.1.6/V1.Deployment) \nReference documentation and code samples for the Google Workspace Add-ons V1 Client class Deployment.\n\nA Google Workspace add-on deployment\n\nGenerated from protobuf message `google.cloud.gsuiteaddons.v1.Deployment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GSuiteAddOns \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe deployment resource name.\n\nExample: projects/123/deployments/my_deployment.\n\n### setName\n\nThe deployment resource name.\n\nExample: projects/123/deployments/my_deployment.\n\n### getOauthScopes\n\nThe list of Google OAuth scopes for which to request consent from the end\nuser before executing an add-on endpoint.\n\n### setOauthScopes\n\nThe list of Google OAuth scopes for which to request consent from the end\nuser before executing an add-on endpoint.\n\n### getAddOns\n\nThe Google Workspace add-on configuration.\n\n### hasAddOns\n\n### clearAddOns\n\n### setAddOns\n\nThe Google Workspace add-on configuration.\n\n### getEtag\n\nThis value is computed by the server based on the version of the\ndeployment in storage, and may be sent on update and delete requests to\nensure the client has an up-to-date value before proceeding.\n\n### setEtag\n\nThis value is computed by the server based on the version of the\ndeployment in storage, and may be sent on update and delete requests to\nensure the client has an up-to-date value before proceeding."]]