blob: 11b77c52c770a3980cc5e8a8ec4015d6c7ffbaa7 [file] [log] [blame]
{
"clientLibrary": {
"name": "cloud.google.com/go/gsuiteaddons/apiv1",
"version": "1.6.7",
"language": "GO",
"apis": [
{
"id": "google.cloud.gsuiteaddons.v1",
"version": "v1"
}
]
},
"snippets": [
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_CreateDeployment_sync",
"title": "gsuiteaddons CreateDeployment Sample",
"description": "CreateDeployment creates a deployment with the specified name and configuration.",
"file": "Client/CreateDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "CreateDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.Client.CreateDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.CreateDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*gsuiteaddonspb.Deployment",
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "CreateDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.CreateDeployment",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_DeleteDeployment_sync",
"title": "gsuiteaddons DeleteDeployment Sample",
"description": "DeleteDeployment deletes the deployment with the given name.",
"file": "Client/DeleteDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "DeleteDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.Client.DeleteDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.DeleteDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "DeleteDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.DeleteDeployment",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetAuthorization_sync",
"title": "gsuiteaddons GetAuthorization Sample",
"description": "GetAuthorization gets the authorization information for deployments in a given project.",
"file": "Client/GetAuthorization/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetAuthorization",
"fullName": "google.cloud.gsuiteaddons.v1.Client.GetAuthorization",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.GetAuthorizationRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*gsuiteaddonspb.Authorization",
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "GetAuthorization",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetAuthorization",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetDeployment_sync",
"title": "gsuiteaddons GetDeployment Sample",
"description": "GetDeployment gets the deployment with the specified name.",
"file": "Client/GetDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.Client.GetDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.GetDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*gsuiteaddonspb.Deployment",
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "GetDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetDeployment",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_GetInstallStatus_sync",
"title": "gsuiteaddons GetInstallStatus Sample",
"description": "GetInstallStatus fetches the install status of a developer mode deployment.",
"file": "Client/GetInstallStatus/main.go",
"language": "GO",
"clientMethod": {
"shortName": "GetInstallStatus",
"fullName": "google.cloud.gsuiteaddons.v1.Client.GetInstallStatus",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.GetInstallStatusRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*gsuiteaddonspb.InstallStatus",
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "GetInstallStatus",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetInstallStatus",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_InstallDeployment_sync",
"title": "gsuiteaddons InstallDeployment Sample",
"description": "InstallDeployment installs a deployment in developer mode.\nSee: \nhttps: //developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.",
"file": "Client/InstallDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "InstallDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.Client.InstallDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.InstallDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "InstallDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.InstallDeployment",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_ListDeployments_sync",
"title": "gsuiteaddons ListDeployments Sample",
"description": "ListDeployments lists all deployments in a particular project.",
"file": "Client/ListDeployments/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ListDeployments",
"fullName": "google.cloud.gsuiteaddons.v1.Client.ListDeployments",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.ListDeploymentsRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "DeploymentIterator",
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "ListDeployments",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ListDeployments",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 66,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_ReplaceDeployment_sync",
"title": "gsuiteaddons ReplaceDeployment Sample",
"description": "ReplaceDeployment creates or replaces a deployment with the specified name.",
"file": "Client/ReplaceDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "ReplaceDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.Client.ReplaceDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.ReplaceDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"resultType": "*gsuiteaddonspb.Deployment",
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "ReplaceDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ReplaceDeployment",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 53,
"type": "FULL"
}
]
},
{
"regionTag": "gsuiteaddons_v1_generated_GSuiteAddOns_UninstallDeployment_sync",
"title": "gsuiteaddons UninstallDeployment Sample",
"description": "UninstallDeployment uninstalls a developer mode deployment.\nSee: \nhttps: //developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.",
"file": "Client/UninstallDeployment/main.go",
"language": "GO",
"clientMethod": {
"shortName": "UninstallDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.Client.UninstallDeployment",
"parameters": [
{
"type": "context.Context",
"name": "ctx"
},
{
"type": "gsuiteaddonspb.UninstallDeploymentRequest",
"name": "req"
},
{
"type": "...gax.CallOption",
"name": "opts"
}
],
"client": {
"shortName": "Client",
"fullName": "google.cloud.gsuiteaddons.v1.Client"
},
"method": {
"shortName": "UninstallDeployment",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.UninstallDeployment",
"service": {
"shortName": "GSuiteAddOns",
"fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns"
}
}
},
"origin": "API_DEFINITION",
"segments": [
{
"start": 18,
"end": 51,
"type": "FULL"
}
]
}
]
}