Show / Hide Table of Contents

Class Hook

Metadata of a Secure Source Manager Hook.

Inheritance
object
Hook
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecureSourceManager.v1.Data
Assembly: Google.Apis.SecureSourceManager.v1.dll
Syntax
public class Hook : IDirectResponseSchema

Properties

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Create timestamp.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Disabled

Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.

Declaration
[JsonProperty("disabled")]
public virtual bool? Disabled { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Events

Optional. The events that trigger hook on.

Declaration
[JsonProperty("events")]
public virtual IList<string> Events { get; set; }
Property Value
Type Description
IList<string>

Name

Identifier. A unique identifier for a Hook. The name should be of the format: projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PushOption

Optional. The trigger option for push events.

Declaration
[JsonProperty("pushOption")]
public virtual PushOption PushOption { get; set; }
Property Value
Type Description
PushOption

SensitiveQueryString

Optional. The sensitive query string to be appended to the target URI.

Declaration
[JsonProperty("sensitiveQueryString")]
public virtual string SensitiveQueryString { get; set; }
Property Value
Type Description
string

TargetUri

Required. The target URI to which the payloads will be delivered.

Declaration
[JsonProperty("targetUri")]
public virtual string TargetUri { get; set; }
Property Value
Type Description
string

Uid

Output only. Unique identifier of the hook.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. Update timestamp.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX