Show / Hide Table of Contents

Class BuyersResource.DataSegmentsResource

The "dataSegments" collection of methods.

Inheritance
object
BuyersResource.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.v1alpha
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1alpha.dll
Syntax
public class BuyersResource.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 BuyersResource.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. Format: buyers/{accountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
BuyersResource.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 BuyersResource.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. Format: buyers/{accountId}

Returns
Type Description
BuyersResource.DataSegmentsResource.CreateRequest

Deactivate(DeactivateDataSegmentRequest, string)

Deactivates a data segment.

Declaration
public virtual BuyersResource.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. Format: buyers/{accountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
BuyersResource.DataSegmentsResource.DeactivateRequest

Get(string)

Gets a data segment given its name.

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

Required. Name of data segment to get. Format: buyers/{accountId}/dataSegments/{curatorDataSegmentId}

Returns
Type Description
BuyersResource.DataSegmentsResource.GetRequest

List(string)

List the data segments owned by a curator.

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

Required. Name of the parent buyer that can access the data segment. Format: buyers/{accountId}

Returns
Type Description
BuyersResource.DataSegmentsResource.ListRequest

Patch(DataSegment, string)

Updates a data segment.

Declaration
public virtual BuyersResource.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. Format: buyers/{accountId}/dataSegments/{curatorDataSegmentId}

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