class ProjectsLocationsApplicationsServices extends Resource (View source)

The "services" collection of methods.

Typical usage is:

 $apphubService = new Google\Service\AppHub(...);
 $services = $apphubService->projects_locations_applications_services;

Methods

create(string $parent, Service $postBody, array $optParams = [])

Creates a Service in an Application. (services.create)

delete(string $name, array $optParams = [])

Deletes a Service from an Application. (services.delete)

get(string $name, array $optParams = [])

Gets a Service in an Application. (services.get)

listProjectsLocationsApplicationsServices(string $parent, array $optParams = [])

Lists Services in an Application.

patch(string $name, Service $postBody, array $optParams = [])

Updates a Service in an Application. (services.patch)

Details

Operation create(string $parent, Service $postBody, array $optParams = [])

Creates a Service in an Application. (services.create)

Parameters

string $parent

Required. Fully qualified name of the parent Application to create the Service in. Expected format: projects/{project}/locations/{location}/applications/{application}.

Service $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a Service from an Application. (services.delete)

Parameters

string $name

Required. Fully qualified name of the Service to delete from an Application. Expected format: projects/{project}/locations/{location }/applications/{application}/services/{service}.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Service get(string $name, array $optParams = [])

Gets a Service in an Application. (services.get)

Parameters

string $name

Required. Fully qualified name of the Service to fetch. Expected format: projects/{project}/locations/{location}/applications/{appli cation}/services/{service}.

array $optParams

Optional parameters.

Return Value

Service

Exceptions

Exception

ListServicesResponse listProjectsLocationsApplicationsServices(string $parent, array $optParams = [])

Lists Services in an Application.

(services.listProjectsLocationsApplicationsServices)

Parameters

string $parent

Required. Fully qualified name of the parent Application to list Services for. Expected format: projects/{project}/locations/{location}/applications/{application}.

array $optParams

Optional parameters.

Return Value

ListServicesResponse

Exceptions

Exception

Operation patch(string $name, Service $postBody, array $optParams = [])

Updates a Service in an Application. (services.patch)

Parameters

string $name

Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application- id}/services/{service-id}"

Service $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception