public class CloudTalentSolution.Projects.Companies
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CloudTalentSolution.Projects.Companies.Create |
class |
CloudTalentSolution.Projects.Companies.Delete |
class |
CloudTalentSolution.Projects.Companies.Get |
class |
CloudTalentSolution.Projects.Companies.List |
class |
CloudTalentSolution.Projects.Companies.Patch |
Constructor and Description |
---|
Companies() |
Modifier and Type | Method and Description |
---|---|
CloudTalentSolution.Projects.Companies.Create |
create(java.lang.String parent,
CreateCompanyRequest content)
Creates a new company entity.
|
CloudTalentSolution.Projects.Companies.Delete |
delete(java.lang.String name)
Deletes specified company.
|
CloudTalentSolution.Projects.Companies.Get |
get(java.lang.String name)
Retrieves specified company.
|
CloudTalentSolution.Projects.Companies.List |
list(java.lang.String parent)
Lists all companies associated with the service account.
|
CloudTalentSolution.Projects.Companies.Patch |
patch(java.lang.String name,
UpdateCompanyRequest content)
Updates specified company.
|
public CloudTalentSolution.Projects.Companies.Create create(java.lang.String parent, CreateCompanyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Resource name of the project under which the company is created.
The format is
"projects/{project_id}", for example,
"projects/api-test-project".content
- the CreateCompanyRequest
java.io.IOException
public CloudTalentSolution.Projects.Companies.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the company to be deleted.
The format is
"projects/{project_id}/companies/{company_id}", for example,
"projects/api-test-
project/companies/foo".java.io.IOException
public CloudTalentSolution.Projects.Companies.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the company to be retrieved.
The format is
"projects/{project_id}/companies/{company_id}", for example,
"projects/api-test-
project/companies/foo".java.io.IOException
public CloudTalentSolution.Projects.Companies.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. Resource name of the project under which the company is created.
The format is
"projects/{project_id}", for example,
"projects/api-test-project".java.io.IOException
public CloudTalentSolution.Projects.Companies.Patch patch(java.lang.String name, UpdateCompanyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required during company update.
The resource name for a company. This is generated by the service
when a
company is created.
The format is "projects/{project_id}/companies/{company_id}",
for example,
"projects/api-test-project/companies/foo".content
- the UpdateCompanyRequest
java.io.IOException