Class ProjectsResource.LocationsResource.AssetsResource
The "assets" collection of methods.
Inherited Members
Namespace: Google.Apis.MigrationCenterAPI.v1
Assembly: Google.Apis.MigrationCenterAPI.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AssetsResource
Constructors
AssetsResource(IClientService)
Constructs a new resource.
Declaration
public AssetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregateValues(AggregateAssetsValuesRequest, string)
Aggregates the requested fields based on provided function.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.AggregateValuesRequest AggregateValues(AggregateAssetsValuesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
AggregateAssetsValuesRequest | body | The body of the request. |
string | parent | Required. Parent value for |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.AggregateValuesRequest |
BatchDelete(BatchDeleteAssetsRequest, string)
Deletes list of Assets.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.BatchDeleteRequest BatchDelete(BatchDeleteAssetsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BatchDeleteAssetsRequest | body | The body of the request. |
string | parent | Required. Parent value for batch asset delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.BatchDeleteRequest |
BatchUpdate(BatchUpdateAssetsRequest, string)
Updates the parameters of a list of assets.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.BatchUpdateRequest BatchUpdate(BatchUpdateAssetsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateAssetsRequest | body | The body of the request. |
string | parent | Required. Parent value for batch asset update. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.BatchUpdateRequest |
Delete(string)
Deletes an asset.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.DeleteRequest |
Get(string)
Gets the details of an asset.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.GetRequest |
List(string)
Lists all the assets in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.ListRequest |
Patch(Asset, string)
Updates the parameters of an asset.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.PatchRequest Patch(Asset body, string name)
Parameters
Type | Name | Description |
---|---|---|
Asset | body | The body of the request. |
string | name | Output only. The full name of the asset. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.PatchRequest |
ReportAssetFrames(Frames, string)
Reports a set of frames.
Declaration
public virtual ProjectsResource.LocationsResource.AssetsResource.ReportAssetFramesRequest ReportAssetFrames(Frames body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Frames | body | The body of the request. |
string | parent | Required. Parent of the resource. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AssetsResource.ReportAssetFramesRequest |