class ProjectsLocationsTrustConfigs extends Resource (View source)

The "trustConfigs" collection of methods.

Typical usage is:

 $certificatemanagerService = new Google\Service\CertificateManager(...);
 $trustConfigs = $certificatemanagerService->projects_locations_trustConfigs;

Methods

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

Creates a new TrustConfig in a given project and location.

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

Deletes a single TrustConfig. (trustConfigs.delete)

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

Gets details of a single TrustConfig. (trustConfigs.get)

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

Lists TrustConfigs in a given project and location.

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

Updates a TrustConfig. (trustConfigs.patch)

Details

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

Creates a new TrustConfig in a given project and location.

(trustConfigs.create)

Parameters

string $parent

Required. The parent resource of the TrustConfig. Must be in the format projects/locations.

TrustConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a single TrustConfig. (trustConfigs.delete)

Parameters

string $name

Required. A name of the TrustConfig to delete. Must be in the format projects/locations/trustConfigs.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a single TrustConfig. (trustConfigs.get)

Parameters

string $name

Required. A name of the TrustConfig to describe. Must be in the format projects/locations/trustConfigs.

array $optParams

Optional parameters.

Return Value

TrustConfig

Exceptions

Exception

ListTrustConfigsResponse listProjectsLocationsTrustConfigs(string $parent, array $optParams = [])

Lists TrustConfigs in a given project and location.

(trustConfigs.listProjectsLocationsTrustConfigs)

Parameters

string $parent

Required. The project and location from which the TrustConfigs should be listed, specified in the format projects/locations.

array $optParams

Optional parameters.

Return Value

ListTrustConfigsResponse

Exceptions

Exception

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

Updates a TrustConfig. (trustConfigs.patch)

Parameters

string $name

Identifier. A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/locations/trustConfigs.

TrustConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception