Google Cloud Logging v2 API - Class CreateLinkRequest (4.1.0)

public sealed class CreateLinkRequest : IMessage<CreateLinkRequest>, IEquatable<CreateLinkRequest>, IDeepCloneable<CreateLinkRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class CreateLinkRequest.

The parameters to CreateLink.

Inheritance

object > CreateLinkRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

CreateLinkRequest()

public CreateLinkRequest()

CreateLinkRequest(CreateLinkRequest)

public CreateLinkRequest(CreateLinkRequest other)
Parameter
NameDescription
otherCreateLinkRequest

Properties

public Link Link { get; set; }

Required. The new link.

Property Value
TypeDescription
Link

LinkId

public string LinkId { get; set; }

Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The full resource name of the bucket to create a link for.

"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
"folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Property Value
TypeDescription
string

ParentAsLogBucketName

public LogBucketName ParentAsLogBucketName { get; set; }

LogBucketName-typed view over the Parent resource name property.

Property Value
TypeDescription
LogBucketName