Class LicenseCodesResource
The "licenseCodes" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class LicenseCodesResource
Constructors
LicenseCodesResource(IClientService)
Constructs a new resource.
Declaration
public LicenseCodesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string, string)
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.
Declaration
public virtual LicenseCodesResource.GetRequest Get(string project, string licenseCode)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | licenseCode | Number corresponding to the License code resource to return. |
Returns
Type | Description |
---|---|
LicenseCodesResource.GetRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
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.
Declaration
public virtual LicenseCodesResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
LicenseCodesResource.TestIamPermissionsRequest |