ChildService

Child wrapper object for Service, used in hierarchical API.


Properties

Required Property Name Type Description
optional Service Service

Contains the actual Service object.

optional _create_time integer

Timestamp of resource creation

optional _create_user string

ID of the user who created this resource

optional _last_modified_time integer

Timestamp of last modification

optional _last_modified_user string

ID of the user who last modified this resource

optional _links array of ResourceLink

The server will populate this field when returing the resource. Ignored on PUT and POST.

optional _protection string

Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity.

optional _revision integer

The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.

optional _schema string

Schema for this resource

optional _self SelfResourceLink

Link to this resource

optional _system_owned boolean

Indicates system owned resource

optional description string

Description of this resource

optional display_name string

Defaults to ID if not set

optional id string

Unique identifier of this resource

optional marked_for_delete boolean

If this field is set to true, delete operation is triggered on the intent tree. This resource along with its all children in intent tree will be deleted. This is a cascade delete and should only be used if intent object along with its all children are to be deleted. This does not support deletion of single non-leaf node within the tree and should be used carefully.

optional resource_type string

The type of this resource.

optional tags array of Tag

Opaque identifiers meaningful to the API user

JSON Example

{
    "Service": {
        "_create_time": 0,
        "_create_user": "string",
        "_last_modified_time": 0,
        "_last_modified_user": "string",
        "_links": [
            {
                "action": "string",
                "href": "string",
                "rel": "string"
            }
        ],
        "_protection": "string",
        "_revision": 0,
        "_schema": "string",
        "_self": {
            "action": "string",
            "href": "string",
            "rel": "string"
        },
        "_system_owned": false,
        "children": [
            {
                "_create_time": 0,
                "_create_user": "string",
                "_last_modified_time": 0,
                "_last_modified_user": "string",
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_protection": "string",
                "_revision": 0,
                "_schema": "string",
                "_self": {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                },
                "_system_owned": false,
                "description": "string",
                "display_name": "string",
                "id": "string",
                "marked_for_delete": false,
                "resource_type": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ]
            }
        ],
        "description": "string",
        "display_name": "string",
        "id": "string",
        "is_default": false,
        "marked_for_delete": false,
        "parent_path": "string",
        "path": "string",
        "relative_path": "string",
        "resource_type": "string",
        "service_entries": [
            {
                "_create_time": 0,
                "_create_user": "string",
                "_last_modified_time": 0,
                "_last_modified_user": "string",
                "_links": [
                    {
                        "action": "string",
                        "href": "string",
                        "rel": "string"
                    }
                ],
                "_protection": "string",
                "_revision": 0,
                "_schema": "string",
                "_self": {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                },
                "_system_owned": false,
                "children": [
                    {
                        "_create_time": 0,
                        "_create_user": "string",
                        "_last_modified_time": 0,
                        "_last_modified_user": "string",
                        "_links": [
                            {
                                "action": "string",
                                "href": "string",
                                "rel": "string"
                            }
                        ],
                        "_protection": "string",
                        "_revision": 0,
                        "_schema": "string",
                        "_self": {
                            "action": "string",
                            "href": "string",
                            "rel": "string"
                        },
                        "_system_owned": false,
                        "description": "string",
                        "display_name": "string",
                        "id": "string",
                        "marked_for_delete": false,
                        "resource_type": "string",
                        "tags": [
                            {
                                "scope": "string",
                                "tag": "string"
                            }
                        ]
                    }
                ],
                "description": "string",
                "display_name": "string",
                "id": "string",
                "marked_for_delete": false,
                "parent_path": "string",
                "path": "string",
                "relative_path": "string",
                "resource_type": "string",
                "tags": [
                    {
                        "scope": "string",
                        "tag": "string"
                    }
                ]
            }
        ],
        "tags": [
            {
                "scope": "string",
                "tag": "string"
            }
        ]
    },
    "_create_time": 0,
    "_create_user": "string",
    "_last_modified_time": 0,
    "_last_modified_user": "string",
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_protection": "string",
    "_revision": 0,
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "_system_owned": false,
    "description": "string",
    "display_name": "string",
    "id": "string",
    "marked_for_delete": false,
    "resource_type": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ]
}
Feedback

Was this page helpful?