Secure Source Manager V1 API - Class Google::Cloud::SecureSourceManager::V1::Hook (v2.2.0)

Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::Hook.

Metadata of a Secure Source Manager Hook.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#disabled

def disabled() -> ::Boolean
Returns
  • (::Boolean) — Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.

#disabled=

def disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.
Returns
  • (::Boolean) — Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.

#events

def events() -> ::Array<::Google::Cloud::SecureSourceManager::V1::Hook::HookEventType>
Returns

#events=

def events=(value) -> ::Array<::Google::Cloud::SecureSourceManager::V1::Hook::HookEventType>
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — 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}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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}
Returns
  • (::String) — 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}

#push_option

def push_option() -> ::Google::Cloud::SecureSourceManager::V1::Hook::PushOption
Returns

#push_option=

def push_option=(value) -> ::Google::Cloud::SecureSourceManager::V1::Hook::PushOption
Parameter
Returns

#sensitive_query_string

def sensitive_query_string() -> ::String
Returns
  • (::String) — Optional. The sensitive query string to be appended to the target URI.

#sensitive_query_string=

def sensitive_query_string=(value) -> ::String
Parameter
  • value (::String) — Optional. The sensitive query string to be appended to the target URI.
Returns
  • (::String) — Optional. The sensitive query string to be appended to the target URI.

#target_uri

def target_uri() -> ::String
Returns
  • (::String) — Required. The target URI to which the payloads will be delivered.

#target_uri=

def target_uri=(value) -> ::String
Parameter
  • value (::String) — Required. The target URI to which the payloads will be delivered.
Returns
  • (::String) — Required. The target URI to which the payloads will be delivered.

#uid

def uid() -> ::String
Returns
  • (::String) — Output only. Unique identifier of the hook.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns