public class ServiceManagement.Services
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ServiceManagement.Services.Configs
The "configs" collection of methods.
|
class |
ServiceManagement.Services.Consumers
The "consumers" collection of methods.
|
class |
ServiceManagement.Services.Create |
class |
ServiceManagement.Services.Delete |
class |
ServiceManagement.Services.Disable |
class |
ServiceManagement.Services.Enable |
class |
ServiceManagement.Services.GenerateConfigReport |
class |
ServiceManagement.Services.Get |
class |
ServiceManagement.Services.GetConfig |
class |
ServiceManagement.Services.GetIamPolicy |
class |
ServiceManagement.Services.List |
class |
ServiceManagement.Services.Rollouts
The "rollouts" collection of methods.
|
class |
ServiceManagement.Services.SetIamPolicy |
class |
ServiceManagement.Services.TestIamPermissions |
class |
ServiceManagement.Services.Undelete |
Constructor and Description |
---|
Services() |
Modifier and Type | Method and Description |
---|---|
ServiceManagement.Services.Configs |
configs()
An accessor for creating requests from the Configs collection.
|
ServiceManagement.Services.Consumers |
consumers()
An accessor for creating requests from the Consumers collection.
|
ServiceManagement.Services.Create |
create(ManagedService content)
Creates a new managed service.
|
ServiceManagement.Services.Delete |
delete(java.lang.String serviceName)
Deletes a managed service.
|
ServiceManagement.Services.Disable |
disable(java.lang.String serviceName,
DisableServiceRequest content)
Disables a service for a project, so it can no longer be be used for the project.
|
ServiceManagement.Services.Enable |
enable(java.lang.String serviceName,
EnableServiceRequest content)
Enables a service for a project, so it can be used for the project.
|
ServiceManagement.Services.GenerateConfigReport |
generateConfigReport(GenerateConfigReportRequest content)
Generates and returns a report (errors, warnings and changes from existing configurations)
associated with GenerateConfigReportRequest.new_value
If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a
single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and
GenerateConfigReportRequest.old_value.
|
ServiceManagement.Services.Get |
get(java.lang.String serviceName)
Gets a managed service.
|
ServiceManagement.Services.GetConfig |
getConfig(java.lang.String serviceName)
Gets a service configuration (version) for a managed service.
|
ServiceManagement.Services.GetIamPolicy |
getIamPolicy(java.lang.String resource,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
|
ServiceManagement.Services.List |
list()
Lists managed services.
|
ServiceManagement.Services.Rollouts |
rollouts()
An accessor for creating requests from the Rollouts collection.
|
ServiceManagement.Services.SetIamPolicy |
setIamPolicy(java.lang.String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
ServiceManagement.Services.TestIamPermissions |
testIamPermissions(java.lang.String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
ServiceManagement.Services.Undelete |
undelete(java.lang.String serviceName)
Revives a previously deleted managed service.
|
public ServiceManagement.Services.Create create(ManagedService content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the ManagedService
java.io.IOException
public ServiceManagement.Services.Delete delete(java.lang.String serviceName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](/service-management/overview)
for naming
requirements. For example: `example.googleapis.com`.java.io.IOException
public ServiceManagement.Services.Disable disable(java.lang.String serviceName, DisableServiceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. Name of the service to disable. Specifying an unknown service name
will cause the request
to fail.content
- the DisableServiceRequest
java.io.IOException
public ServiceManagement.Services.Enable enable(java.lang.String serviceName, EnableServiceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. Name of the service to enable. Specifying an unknown service name will
cause the request
to fail.content
- the EnableServiceRequest
java.io.IOException
public ServiceManagement.Services.GenerateConfigReport generateConfigReport(GenerateConfigReportRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.content
- the GenerateConfigReportRequest
java.io.IOException
public ServiceManagement.Services.Get get(java.lang.String serviceName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the `ServiceManager` overview for naming
requirements. For
example: `example.googleapis.com`.java.io.IOException
public ServiceManagement.Services.GetConfig getConfig(java.lang.String serviceName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](/service-management/overview)
for naming
requirements. For example: `example.googleapis.com`.java.io.IOException
public ServiceManagement.Services.GetIamPolicy getIamPolicy(java.lang.String resource, GetIamPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being requested.
See the operation documentation for
the appropriate value for this field.content
- the GetIamPolicyRequest
java.io.IOException
public ServiceManagement.Services.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.java.io.IOException
public ServiceManagement.Services.SetIamPolicy setIamPolicy(java.lang.String resource, SetIamPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy is being specified.
See the operation documentation for
the appropriate value for this field.content
- the SetIamPolicyRequest
java.io.IOException
public ServiceManagement.Services.TestIamPermissions testIamPermissions(java.lang.String resource, TestIamPermissionsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.resource
- REQUIRED: The resource for which the policy detail is being requested.
See the operation
documentation for the appropriate value for this field.content
- the TestIamPermissionsRequest
java.io.IOException
public ServiceManagement.Services.Undelete undelete(java.lang.String serviceName) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.serviceName
- Required. The name of the service. See the [overview](/service-management/overview)
for naming
requirements. For example: `example.googleapis.com`.java.io.IOException
public ServiceManagement.Services.Configs configs()
The typical use is:
ServiceManagement servicemanagement = new ServiceManagement(...);
ServiceManagement.Configs.List request = servicemanagement.configs().list(parameters ...)
public ServiceManagement.Services.Consumers consumers()
The typical use is:
ServiceManagement servicemanagement = new ServiceManagement(...);
ServiceManagement.Consumers.List request = servicemanagement.consumers().list(parameters ...)
public ServiceManagement.Services.Rollouts rollouts()
The typical use is:
ServiceManagement servicemanagement = new ServiceManagement(...);
ServiceManagement.Rollouts.List request = servicemanagement.rollouts().list(parameters ...)