Class Subscription
A subscription represents a subscribers' access to a particular set of published data. It contains references to associated listings, data exchanges, and linked datasets.
Implements
Inherited Members
Namespace: Google.Apis.AnalyticsHub.v1.Data
Assembly: Google.Apis.AnalyticsHub.v1.dll
Syntax
public class Subscription : IDirectResponseSchema
Properties
CreationTime
object representation of CreationTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreationTimeDateTimeOffset instead.")]
public virtual object CreationTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreationTimeDateTimeOffset
DateTimeOffset representation of CreationTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreationTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreationTimeRaw
Output only. Timestamp when the subscription was created.
Declaration
[JsonProperty("creationTime")]
public virtual string CreationTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
DataExchange
Output only. Resource name of the source Data Exchange. e.g. projects/123/locations/US/dataExchanges/456
Declaration
[JsonProperty("dataExchange")]
public virtual string DataExchange { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LastModifyTime
object representation of LastModifyTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastModifyTimeDateTimeOffset instead.")]
public virtual object LastModifyTime { get; set; }
Property Value
Type | Description |
---|---|
object |
LastModifyTimeDateTimeOffset
DateTimeOffset representation of LastModifyTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastModifyTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
LastModifyTimeRaw
Output only. Timestamp when the subscription was last modified.
Declaration
[JsonProperty("lastModifyTime")]
public virtual string LastModifyTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
LinkedDatasetMap
Output only. Map of listing resource names to associated linked resource, e.g. projects/123/locations/US/dataExchanges/456/listings/789 -> projects/123/datasets/my_dataset For listing-level subscriptions, this is a map of size 1. Only contains values if state == STATE_ACTIVE.
Declaration
[JsonProperty("linkedDatasetMap")]
public virtual IDictionary<string, LinkedResource> LinkedDatasetMap { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, LinkedResource> |
LinkedResources
Output only. Linked resources created in the subscription. Only contains values if state = STATE_ACTIVE.
Declaration
[JsonProperty("linkedResources")]
public virtual IList<LinkedResource> LinkedResources { get; set; }
Property Value
Type | Description |
---|---|
IList<LinkedResource> |
Listing
Output only. Resource name of the source Listing. e.g. projects/123/locations/US/dataExchanges/456/listings/789
Declaration
[JsonProperty("listing")]
public virtual string Listing { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. The resource name of the subscription. e.g.
projects/myproject/locations/US/subscriptions/123
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrganizationDisplayName
Output only. Display name of the project of this subscription.
Declaration
[JsonProperty("organizationDisplayName")]
public virtual string OrganizationDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
OrganizationId
Output only. Organization of the project this subscription belongs to.
Declaration
[JsonProperty("organizationId")]
public virtual string OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceType
Output only. Listing shared asset type.
Declaration
[JsonProperty("resourceType")]
public virtual string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. Current state of the subscription.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
SubscriberContact
Output only. Email of the subscriber.
Declaration
[JsonProperty("subscriberContact")]
public virtual string SubscriberContact { get; set; }
Property Value
Type | Description |
---|---|
string |