public class ServiceConsumerManagement.Services.TenancyUnits
extends java.lang.Object
Constructor and Description |
---|
TenancyUnits() |
Modifier and Type | Method and Description |
---|---|
ServiceConsumerManagement.Services.TenancyUnits.AddProject |
addProject(java.lang.String parent,
AddTenantProjectRequest content)
Add a new tenant project to the tenancy unit.
|
ServiceConsumerManagement.Services.TenancyUnits.ApplyProjectConfig |
applyProjectConfig(java.lang.String name,
ApplyTenantProjectConfigRequest content)
Apply a configuration to an existing tenant project.
|
ServiceConsumerManagement.Services.TenancyUnits.AttachProject |
attachProject(java.lang.String name,
AttachTenantProjectRequest content)
Attach an existing project to the tenancy unit as a new tenant resource.
|
ServiceConsumerManagement.Services.TenancyUnits.Create |
create(java.lang.String parent,
CreateTenancyUnitRequest content)
Creates a tenancy unit with no tenant resources.
|
ServiceConsumerManagement.Services.TenancyUnits.Delete |
delete(java.lang.String name)
Delete a tenancy unit.
|
ServiceConsumerManagement.Services.TenancyUnits.DeleteProject |
deleteProject(java.lang.String name,
DeleteTenantProjectRequest content)
Deletes the specified project resource identified by a tenant resource tag.
|
ServiceConsumerManagement.Services.TenancyUnits.List |
list(java.lang.String parent)
Find the tenancy unit for a managed service and service consumer.
|
ServiceConsumerManagement.Services.TenancyUnits.RemoveProject |
removeProject(java.lang.String name,
RemoveTenantProjectRequest content)
Removes the specified project resource identified by a tenant resource tag.
|
ServiceConsumerManagement.Services.TenancyUnits.UndeleteProject |
undeleteProject(java.lang.String name,
UndeleteTenantProjectRequest content)
Attempts to undelete a previously deleted tenant project.
|
public ServiceConsumerManagement.Services.TenancyUnits.AddProject addProject(java.lang.String parent, AddTenantProjectRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Name of the tenancy unit.
Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the AddTenantProjectRequest
java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.ApplyProjectConfig applyProjectConfig(java.lang.String name, ApplyTenantProjectConfigRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.name
- Name of the tenancy unit.
Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the ApplyTenantProjectConfigRequest
java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.AttachProject attachProject(java.lang.String name, AttachTenantProjectRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Name of the tenancy unit that the project will be attached to.
Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the AttachTenantProjectRequest
java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.Create create(java.lang.String parent, CreateTenancyUnitRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- services/{service}/{collection id}/{resource id}
{collection id} is the cloud resource collection
type representing the
service consumer, for example 'projects', or 'organizations'.
{resource id} is the consumer numeric id, such as project number: '123456'.
{service} the
name of a managed service, such as 'service.googleapis.com'.
Enables service binding using
the new tenancy unit.content
- the CreateTenancyUnitRequest
java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Name of the tenancy unit to be deleted.java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.DeleteProject deleteProject(java.lang.String name, DeleteTenantProjectRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Name of the tenancy unit.
Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the DeleteTenantProjectRequest
java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Managed service and service consumer. Required.
services/{service}/{collection id}/{resource id}
{collection id} is the cloud resource collection type representing the
service consumer,
for example 'projects', or 'organizations'.
{resource id} is the consumer numeric id, such
as project number: '123456'.
{service} the name of a service, such as
'service.googleapis.com'.java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.RemoveProject removeProject(java.lang.String name, RemoveTenantProjectRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Name of the tenancy unit.
Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the RemoveTenantProjectRequest
java.io.IOException
public ServiceConsumerManagement.Services.TenancyUnits.UndeleteProject undeleteProject(java.lang.String name, UndeleteTenantProjectRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Name of the tenancy unit.
Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the UndeleteTenantProjectRequest
java.io.IOException