Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.PreviewsResource

The "previews" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.PreviewsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Config.v1
Assembly: Google.Apis.Config.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PreviewsResource

Constructors

PreviewsResource(IClientService)

Constructs a new resource.

Declaration
public PreviewsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Preview, string)

Creates a Preview.

Declaration
public virtual ProjectsResource.LocationsResource.PreviewsResource.CreateRequest Create(Preview body, string parent)
Parameters
Type Name Description
Preview body

The body of the request.

string parent

Required. The parent in whose context the Preview is created. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

Returns
Type Description
ProjectsResource.LocationsResource.PreviewsResource.CreateRequest

Delete(string)

Deletes a Preview.

Declaration
public virtual ProjectsResource.LocationsResource.PreviewsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the Preview in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Returns
Type Description
ProjectsResource.LocationsResource.PreviewsResource.DeleteRequest

Export(ExportPreviewResultRequest, string)

Export Preview results.

Declaration
public virtual ProjectsResource.LocationsResource.PreviewsResource.ExportRequest Export(ExportPreviewResultRequest body, string parent)
Parameters
Type Name Description
ExportPreviewResultRequest body

The body of the request.

string parent

Required. The preview whose results should be exported. The preview value is in the format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Returns
Type Description
ProjectsResource.LocationsResource.PreviewsResource.ExportRequest

Get(string)

Gets details about a Preview.

Declaration
public virtual ProjectsResource.LocationsResource.PreviewsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Returns
Type Description
ProjectsResource.LocationsResource.PreviewsResource.GetRequest

List(string)

Lists Previews in a given project and location.

Declaration
public virtual ProjectsResource.LocationsResource.PreviewsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent in whose context the Previews are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}'.

Returns
Type Description
ProjectsResource.LocationsResource.PreviewsResource.ListRequest
In this article
Back to top Generated by DocFX