class RegionSslPolicies extends Resource (View source)

The "regionSslPolicies" collection of methods.

Typical usage is:

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

Methods

delete(string $project, string $region, 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 $region, string $sslPolicy, array $optParams = [])

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

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

Creates a new policy in the specified project and region using the data included in the request. (regionSslPolicies.insert)

listRegionSslPolicies(string $project, string $region, array $optParams = [])

Lists all the SSL policies that have been configured for the specified project and region. (regionSslPolicies.listRegionSslPolicies)

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

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

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

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

Details

Operation delete(string $project, string $region, 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.

(regionSslPolicies.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping 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 $region, string $sslPolicy, array $optParams = [])

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

(regionSslPolicies.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping 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, string $region, SslPolicy $postBody, array $optParams = [])

Creates a new policy in the specified project and region using the data included in the request. (regionSslPolicies.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

SslPolicy $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Lists all the SSL policies that have been configured for the specified project and region. (regionSslPolicies.listRegionSslPolicies)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

SslPoliciesList

Exceptions

Exception

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

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

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

SslPoliciesListAvailableFeaturesResponse

Exceptions

Exception

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

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

(regionSslPolicies.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping 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