ServicesResourceApi class


ServicesResourceApi(ApiRequester client)


configs ServicesConfigsResourceApi
consumers ServicesConsumersResourceApi
rollouts ServicesRolloutsResourceApi
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


create(ManagedService request, {String $fields}) → Future<Operation>
Creates a new managed service. Please note one producer project can own no more than 20 services. [...]
delete(String serviceName, {String $fields}) → Future<Operation>
Deletes a managed service. This method will change the service to the Soft-Delete state for 30 days. Within this period, service producers may call UndeleteService to restore the service. After 30 days, the service will be permanently deleted. [...]
disable(DisableServiceRequest request, String serviceName, {String $fields}) → Future<Operation>
Disables a service for a project, so it can no longer be be used for the project. It prevents accidental usage that may cause unexpected billing charges or security leaks. [...]
enable(EnableServiceRequest request, String serviceName, {String $fields}) → Future<Operation>
Enables a service for a project, so it can be used for the project. See Cloud Auth Guide for more information. [...]
generateConfigReport(GenerateConfigReportRequest request, {String $fields}) → Future<GenerateConfigReportResponse>
Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value [...]
get(String serviceName, {String $fields}) → Future<ManagedService>
Gets a managed service. Authentication is required unless the service is public. [...]
getConfig(String serviceName, {String configId, String view, String $fields}) → Future<Service>
Gets a service configuration (version) for a managed service. [...]
getIamPolicy(GetIamPolicyRequest request, String resource, {String $fields}) → Future<Policy>
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. [...]
list({String consumerId, String pageToken, int pageSize, String producerProjectId, String $fields}) → Future<ListServicesResponse>
Lists managed services. [...]
setIamPolicy(SetIamPolicyRequest request, String resource, {String $fields}) → Future<Policy>
Sets the access control policy on the specified resource. Replaces any existing policy. [...]
testIamPermissions(TestIamPermissionsRequest request, String resource, {String $fields}) → Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. [...]
undelete(String serviceName, {String $fields}) → Future<Operation>
Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.