Class LicenseCodesResource
The "licenseCodes" collection of methods.
Inheritance
System.Object
LicenseCodesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|---|
| System.String | project | Project ID for this request. |
| System.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. |
| System.String | project | Project ID for this request. |
| System.String | resource | Name or id of the resource for this request. |
Returns
| Type | Description |
|---|---|
| LicenseCodesResource.TestIamPermissionsRequest |