Show / Hide Table of Contents

Class CuratorsResource.DataSegmentsResource

The "dataSegments" collection of methods.

Inheritance
object
CuratorsResource.DataSegmentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1beta
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1beta.dll
Syntax
public class CuratorsResource.DataSegmentsResource

Constructors

DataSegmentsResource(IClientService)

Constructs a new resource.

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

Methods

Activate(ActivateDataSegmentRequest, string)

Activates a data segment.

Declaration
public virtual CuratorsResource.DataSegmentsResource.ActivateRequest Activate(ActivateDataSegmentRequest body, string name)
Parameters
Type Name Description
ActivateDataSegmentRequest body

The body of the request.

string name

Required. Name of data segment to activate. v1alpha format: buyers/{accountId}/dataSegments/{curatorDataSegmentId} v1beta format: curators/{accountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
CuratorsResource.DataSegmentsResource.ActivateRequest

Create(DataSegment, string)

Creates a data segment owned by the listed curator. The data segment will be created in the ACTIVE state, meaning it will be immediately available for buyers to use in preferred deals, private auction deals, and auction packages.

Declaration
public virtual CuratorsResource.DataSegmentsResource.CreateRequest Create(DataSegment body, string parent)
Parameters
Type Name Description
DataSegment body

The body of the request.

string parent

Required. The parent resource where this data segment will be created. v1alpha format: buyers/{accountId} v1beta format: curators/{accountId}

Returns
Type Description
CuratorsResource.DataSegmentsResource.CreateRequest

Deactivate(DeactivateDataSegmentRequest, string)

Deactivates a data segment.

Declaration
public virtual CuratorsResource.DataSegmentsResource.DeactivateRequest Deactivate(DeactivateDataSegmentRequest body, string name)
Parameters
Type Name Description
DeactivateDataSegmentRequest body

The body of the request.

string name

Required. Name of data segment to deactivate. v1alpha format: buyers/{accountId}/dataSegments/{curatorDataSegmentId} v1beta format: curators/{accountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
CuratorsResource.DataSegmentsResource.DeactivateRequest

Get(string)

Gets a data segment given its name.

Declaration
public virtual CuratorsResource.DataSegmentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of data segment to get. v1alpha format: buyers/{accountId}/dataSegments/{curatorDataSegmentId} v1beta format: curators/{accountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
CuratorsResource.DataSegmentsResource.GetRequest

List(string)

List the data segments owned by a curator.

Declaration
public virtual CuratorsResource.DataSegmentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Name of the parent curator that can access the data segment. v1alpha format: buyers/{accountId} v1beta format: curators/{accountId}

Returns
Type Description
CuratorsResource.DataSegmentsResource.ListRequest

Patch(DataSegment, string)

Updates a data segment.

Declaration
public virtual CuratorsResource.DataSegmentsResource.PatchRequest Patch(DataSegment body, string name)
Parameters
Type Name Description
DataSegment body

The body of the request.

string name

Immutable. Identifier. The unique identifier for the data segment. Account ID corresponds to the account ID that created the segment. v1alpha format: buyers/{accountId}/dataSegments/{curatorDataSegmentId} v1beta format: curators/{curatorAccountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
CuratorsResource.DataSegmentsResource.PatchRequest
In this article
Back to top Generated by DocFX