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,
  "annotations": {
    string: string,
    ...
  },
  "endpoints": [
    {
      object ( | 
              
| Fields | |
|---|---|
name | 
                
                   
 Immutable. The resource name for the service in the format   | 
              
annotations | 
                
                   
 Optional. Annotations for the service. This data can be consumed by service clients. Restrictions: 
 Note: This field is equivalent to the  An object containing a list of   | 
              
endpoints[] | 
                
                   
 Output only. Endpoints associated with this service. Returned on   | 
              
uid | 
                
                   
 Output only. The globally unique identifier of the service in the UUID4 format.  | 
              
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). |