Class BuyersResource.DataSegmentsResource
The "dataSegments" collection of methods.
Inherited Members
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:
|
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: |
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:
|
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: |
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: |
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: |
Returns
Type | Description |
---|---|
BuyersResource.DataSegmentsResource.PatchRequest |