LicenseCodes
class LicenseCodes extends Resource (View source)
The "licenseCodes" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$licenseCodes = $computeService->licenseCodes;
Methods
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. (licenseCodes.get)
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. (licenseCodes.testIamPermissions)
Details
LicenseCode
get(string $project, string $licenseCode, array $optParams = [])
Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. (licenseCodes.get)
TestPermissionsResponse
testIamPermissions(string $project, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. (licenseCodes.testIamPermissions)