Show / Hide Table of Contents

Class LicenseCodesResource

The "licenseCodes" collection of methods.

Inheritance
object
LicenseCodesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.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
In This Article
Back to top Generated by DocFX