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.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.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 ManagedService
IOException
public 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](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.IOException
public ServiceManagement.Services.GenerateConfigReport generateConfigReport(GenerateConfigReportRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.content
- the GenerateConfigReportRequest
IOException
public 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`.IOException
public 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](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.IOException
public 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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the GetIamPolicyRequest
IOException
public ServiceManagement.Services.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public 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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the SetIamPolicyRequest
IOException
public 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 [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.content
- the TestIamPermissionsRequest
IOException
public 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](https://cloud.google.com/service-
management/overview) for naming requirements. For example: `example.googleapis.com`.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 ...)
Copyright © 2011–2024 Google. All rights reserved.