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 |
metadata |
Optional. Metadata 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 |
createTime |
Output only. The timestamp when the service was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The timestamp when the service was last updated. Note: endpoints being created/deleted/updated within the service are not considered service updates for the purpose of this timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
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). |