public sealed class LicensesClientImpl : LicensesClient
Licenses client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The Licenses API.
Constructors
LicensesClientImpl(Licenses.LicensesClient, LicensesSettings)
public LicensesClientImpl(Licenses.LicensesClient grpcClient, LicensesSettings settings)
Constructs a client wrapper for the Licenses service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Licenses.LicensesClient The underlying gRPC client. |
settings | LicensesSettings The base LicensesSettings used within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Licenses.LicensesClient GrpcClient { get; }
The underlying gRPC Licenses client
Property Value | |
---|---|
Type | Description |
Licenses.LicensesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteLicenseRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteLicenseRequest request, CallSettings callSettings = null)
Deletes the specified license. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | DeleteLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteLicenseRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteLicenseRequest request, CallSettings callSettings = null)
Deletes the specified license. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | DeleteLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetLicenseRequest, CallSettings)
public override License Get(GetLicenseRequest request, CallSettings callSettings = null)
Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | GetLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
License | The RPC response. |
GetAsync(GetLicenseRequest, CallSettings)
public override Task<License> GetAsync(GetLicenseRequest request, CallSettings callSettings = null)
Returns the specified License resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | GetLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<License> | A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyLicenseRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyLicenseRequest request, CallSettings callSettings = null)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
GetIamPolicyAsync(GetIamPolicyLicenseRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyLicenseRequest request, CallSettings callSettings = null)
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Policy> | A Task containing the RPC response. |
Insert(InsertLicenseRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertLicenseRequest request, CallSettings callSettings = null)
Create a License resource in the specified project. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | InsertLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertLicenseRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertLicenseRequest request, CallSettings callSettings = null)
Create a License resource in the specified project. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | InsertLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListLicensesRequest, CallSettings)
public override PagedEnumerable<LicensesListResponse, License> List(ListLicensesRequest request, CallSettings callSettings = null)
Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | ListLicensesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<LicensesListResponse, License> | A pageable sequence of License resources. |
ListAsync(ListLicensesRequest, CallSettings)
public override PagedAsyncEnumerable<LicensesListResponse, License> ListAsync(ListLicensesRequest request, CallSettings callSettings = null)
Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | ListLicensesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<LicensesListResponse, License> | A pageable asynchronous sequence of License resources. |
SetIamPolicy(SetIamPolicyLicenseRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyLicenseRequest request, CallSettings callSettings = null)
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Policy | The RPC response. |
SetIamPolicyAsync(SetIamPolicyLicenseRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyLicenseRequest request, CallSettings callSettings = null)
Sets the access control policy on the specified resource. Replaces any existing policy. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Policy> | A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsLicenseRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsLicenseRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TestPermissionsResponse | The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsLicenseRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsLicenseRequest request, CallSettings callSettings = null)
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.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsLicenseRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<TestPermissionsResponse> | A Task containing the RPC response. |