Class ProjectsResource.LocationsResource.ReportsResource
The "reports" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudObservability.v1
Assembly: Google.Apis.CloudObservability.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ReportsResource
Constructors
ReportsResource(IClientService)
Constructs a new resource.
Declaration
public ReportsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Report, string)
Create a Report.
Declaration
public virtual ProjectsResource.LocationsResource.ReportsResource.CreateRequest Create(Report body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | body | The body of the request. |
| string | parent | Required. The full resource name of the location where the report should be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ReportsResource.CreateRequest |
Delete(string)
Deletes a Report resource.
Declaration
public virtual ProjectsResource.LocationsResource.ReportsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the report to delete. Format: projects/{project}/locations/{location}/reports/{REPORT_ID} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ReportsResource.DeleteRequest |
Get(string)
Report Endpoints Gets a Report resource.
Declaration
public virtual ProjectsResource.LocationsResource.ReportsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the report to retrieve. Format: projects/{project}/locations/{location}/reports/{REPORT_ID} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ReportsResource.GetRequest |
List(string)
Lists Report resources
Declaration
public virtual ProjectsResource.LocationsResource.ReportsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The scope of reports to list Format: projects/{project}/locations/{location} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ReportsResource.ListRequest |
Patch(Report, string)
Updates a Report resource.
Declaration
public virtual ProjectsResource.LocationsResource.ReportsResource.PatchRequest Patch(Report body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | body | The body of the request. |
| string | name | Identifier. The resource name of the report. Format: projects/{project}/locations/{location}/reports/{report} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ReportsResource.PatchRequest |
Send(SendReportRequest, string)
Sends a Report resource via email.
Declaration
public virtual ProjectsResource.LocationsResource.ReportsResource.SendRequest Send(SendReportRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| SendReportRequest | body | The body of the request. |
| string | name | Required. The resource name of the report to send. Format: projects/{project}/locations/{location}/reports/{REPORT_ID} |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ReportsResource.SendRequest |