Reference documentation and code samples for the Google Workspace Add-ons V1 Client class Deployment.
A Google Workspace add-on deployment
Generated from protobuf message google.cloud.gsuiteaddons.v1.Deployment
Namespace
Google \ Cloud \ GSuiteAddOns \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The deployment resource name. Example: projects/123/deployments/my_deployment.
↳ oauth_scopes
array
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
↳ add_ons
↳ etag
string
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.
string
setName
The deployment resource name.
Example: projects/123/deployments/my_deployment.
var
string
$this
getOauthScopes
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
setOauthScopes
The list of Google OAuth scopes for which to request consent from the end user before executing an add-on endpoint.
var
string[]
$this
getAddOns
The Google Workspace add-on configuration.
hasAddOns
clearAddOns
setAddOns
The Google Workspace add-on configuration.
$this
getEtag
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.
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.
var
string
$this