class OrganizationsSecurityProfilesEnvironments extends Resource (View source)

The "environments" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $environments = $apigeeService->organizations_securityProfiles_environments;

Methods

computeEnvironmentScores(string $profileEnvironment, GoogleCloudApigeeV1ComputeEnvironmentScoresRequest $postBody, array $optParams = [])

ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment.

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

CreateSecurityProfileEnvironmentAssociation creates profile environment association i.e. attaches environment to security profile.

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

DeleteSecurityProfileEnvironmentAssociation removes profile environment association i.e. detaches environment from security profile.

Details

GoogleCloudApigeeV1ComputeEnvironmentScoresResponse computeEnvironmentScores(string $profileEnvironment, GoogleCloudApigeeV1ComputeEnvironmentScoresRequest $postBody, array $optParams = [])

ComputeEnvironmentScores calculates scores for requested time range for the specified security profile and environment.

(environments.computeEnvironmentScores)

Parameters

string $profileEnvironment

Required. Name of organization and environment and profile id for which score needs to be computed. Format: organizations/{org}/securityProfiles/{profile}/environments/{env}

GoogleCloudApigeeV1ComputeEnvironmentScoresRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1ComputeEnvironmentScoresResponse

Exceptions

Exception

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

CreateSecurityProfileEnvironmentAssociation creates profile environment association i.e. attaches environment to security profile.

(environments.create)

Parameters

string $parent

Required. Name of organization and security profile ID. Format: organizations/{org}/securityProfiles/{profile}

GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1SecurityProfileEnvironmentAssociation

Exceptions

Exception

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

DeleteSecurityProfileEnvironmentAssociation removes profile environment association i.e. detaches environment from security profile.

(environments.delete)

Parameters

string $name

Required. The name of the environment attachment to delete. Format: organizations/{org}/securityProfiles/{profile}/environments/{env}

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception