Resource: Service
An individual service. A service contains a name and optional metadata. A service must exist before endpoints
can be added to it.
JSON representation | |
---|---|
{
"name": string,
"metadata": {
string: string,
...
},
"endpoints": [
{
object ( |
Fields | |
---|---|
name |
Immutable. The resource name for the service in the format 'projects/*/locations/*/namespaces/*/services/*'. |
metadata |
Optional. Metadata for the service. This data can be consumed by service clients. The entire metadata dictionary may contain up to 2000 characters, spread across all key-value pairs. Metadata that goes beyond any these limits will be rejected. An object containing a list of |
endpoints[] |
Output only. Endpoints associated with this service. Returned on LookupService.Resolve. Control plane clients should use RegistrationService.ListEndpoints. |
Methods |
|
---|---|
|
Creates a service, and returns the new Service. |
|
Deletes a service. |
|
Gets a service. |
|
Gets the IAM Policy for a resource (namespace or service only). |
|
Lists all services belonging to a namespace. |
|
Updates a service. |
|
Returns a service and its associated endpoints. |
|
Sets the IAM Policy for a resource (namespace or service only). |
|
Tests IAM permissions for a resource (namespace or service only). |