public class ServiceManagement.Services extends 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(String serviceName)
Deletes a managed service.
|
ServiceManagement.Services.Disable |
disable(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(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(String serviceName)
Gets a managed service.
|
ServiceManagement.Services.GetConfig |
getConfig(String serviceName)
Gets a service configuration (version) for a managed service.
|
ServiceManagement.Services.GetIamPolicy |
getIamPolicy(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(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
ServiceManagement.Services.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
ServiceManagement.Services.Undelete |
undelete(String serviceName)
Revives a previously deleted managed service.
|
public ServiceManagement.Services.Create create(ManagedService content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ManagedServiceIOExceptionpublic ServiceManagement.Services.Delete delete(String serviceName) throws 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`.IOExceptionpublic ServiceManagement.Services.Disable disable(String serviceName, DisableServiceRequest content) throws 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 DisableServiceRequestIOExceptionpublic ServiceManagement.Services.Enable enable(String serviceName, EnableServiceRequest content) throws 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 EnableServiceRequestIOExceptionpublic ServiceManagement.Services.GenerateConfigReport generateConfigReport(GenerateConfigReportRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.content - the GenerateConfigReportRequestIOExceptionpublic ServiceManagement.Services.Get get(String serviceName) throws 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`.IOExceptionpublic ServiceManagement.Services.GetConfig getConfig(String serviceName) throws 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`.IOExceptionpublic ServiceManagement.Services.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) throws 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 GetIamPolicyRequestIOExceptionpublic ServiceManagement.Services.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic ServiceManagement.Services.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws 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 SetIamPolicyRequestIOExceptionpublic ServiceManagement.Services.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws 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 TestIamPermissionsRequestIOExceptionpublic ServiceManagement.Services.Undelete undelete(String serviceName) throws 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`.IOExceptionpublic 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 ...)
Copyright © 2011–2020 Google. All rights reserved.