class SslPolicies extends Resource (View source)

The "sslPolicies" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $sslPolicies = $computeService->sslPolicies;

Methods

aggregatedList(string $project, array $optParams = [])

Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. (sslPolicies.aggregatedList)

delete(string $project, string $sslPolicy, array $optParams = [])

Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.

get(string $project, string $sslPolicy, array $optParams = [])

Lists all of the ordered rules present in a single specified policy.

insert(string $project, SslPolicy $postBody, array $optParams = [])

Returns the specified SSL policy resource. (sslPolicies.insert)

listSslPolicies(string $project, array $optParams = [])

Lists all the SSL policies that have been configured for the specified project. (sslPolicies.listSslPolicies)

listAvailableFeatures(string $project, array $optParams = [])

Lists all features that can be specified in the SSL policy when using custom profile. (sslPolicies.listAvailableFeatures)

patch(string $project, string $sslPolicy, SslPolicy $postBody, array $optParams = [])

Patches the specified SSL policy with the data included in the request.

Details

SslPoliciesAggregatedList aggregatedList(string $project, array $optParams = [])

Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. (sslPolicies.aggregatedList)

Parameters

string $project

Name of the project scoping this request.

array $optParams

Optional parameters.

Return Value

SslPoliciesAggregatedList

Exceptions

Exception

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

Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.

(sslPolicies.delete)

Parameters

string $project

Project ID for this request.

string $sslPolicy

Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

SslPolicy get(string $project, string $sslPolicy, array $optParams = [])

Lists all of the ordered rules present in a single specified policy.

(sslPolicies.get)

Parameters

string $project

Project ID for this request.

string $sslPolicy

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

array $optParams

Optional parameters.

Return Value

SslPolicy

Exceptions

Exception

Operation insert(string $project, SslPolicy $postBody, array $optParams = [])

Returns the specified SSL policy resource. (sslPolicies.insert)

Parameters

string $project

Project ID for this request.

SslPolicy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

SslPoliciesList listSslPolicies(string $project, array $optParams = [])

Lists all the SSL policies that have been configured for the specified project. (sslPolicies.listSslPolicies)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

SslPoliciesList

Exceptions

Exception

SslPoliciesListAvailableFeaturesResponse listAvailableFeatures(string $project, array $optParams = [])

Lists all features that can be specified in the SSL policy when using custom profile. (sslPolicies.listAvailableFeatures)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

SslPoliciesListAvailableFeaturesResponse

Exceptions

Exception

Operation patch(string $project, string $sslPolicy, SslPolicy $postBody, array $optParams = [])

Patches the specified SSL policy with the data included in the request.

(sslPolicies.patch)

Parameters

string $project

Project ID for this request.

string $sslPolicy

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

SslPolicy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception