public class ServiceConsumerManagement.Services.TenancyUnits extends Object
Constructor and Description |
---|
TenancyUnits() |
public ServiceConsumerManagement.Services.TenancyUnits.AddProject addProject(String parent, AddTenantProjectRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. Name of the tenancy unit. Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the AddTenantProjectRequest
IOException
public ServiceConsumerManagement.Services.TenancyUnits.ApplyProjectConfig applyProjectConfig(String name, ApplyTenantProjectConfigRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.name
- Required. Name of the tenancy unit. Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the ApplyTenantProjectConfigRequest
IOException
public ServiceConsumerManagement.Services.TenancyUnits.AttachProject attachProject(String name, AttachTenantProjectRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. 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
IOException
public ServiceConsumerManagement.Services.TenancyUnits.Create create(String parent, CreateTenancyUnitRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- 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 managed service, such as 'service.googleapis.com'.
Enables service binding using the new tenancy unit.content
- the CreateTenancyUnitRequest
IOException
public ServiceConsumerManagement.Services.TenancyUnits.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. Name of the tenancy unit to be deleted.IOException
public ServiceConsumerManagement.Services.TenancyUnits.DeleteProject deleteProject(String name, DeleteTenantProjectRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. Name of the tenancy unit. Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the DeleteTenantProjectRequest
IOException
public ServiceConsumerManagement.Services.TenancyUnits.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. 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'.IOException
public ServiceConsumerManagement.Services.TenancyUnits.RemoveProject removeProject(String name, RemoveTenantProjectRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. Name of the tenancy unit. Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the RemoveTenantProjectRequest
IOException
public ServiceConsumerManagement.Services.TenancyUnits.UndeleteProject undeleteProject(String name, UndeleteTenantProjectRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. Name of the tenancy unit. Such as
'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.content
- the UndeleteTenantProjectRequest
IOException
Copyright © 2011–2021 Google. All rights reserved.