Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::CreateHookRequest.
CreateHookRequest is the request for creating a hook.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hook
def hook() -> ::Google::Cloud::SecureSourceManager::V1::Hook
Returns
- (::Google::Cloud::SecureSourceManager::V1::Hook) — Required. The resource being created.
#hook=
def hook=(value) -> ::Google::Cloud::SecureSourceManager::V1::Hook
Parameter
- value (::Google::Cloud::SecureSourceManager::V1::Hook) — Required. The resource being created.
Returns
- (::Google::Cloud::SecureSourceManager::V1::Hook) — Required. The resource being created.
#hook_id
def hook_id() -> ::String
Returns
- (::String) — Required. The ID to use for the hook, which will become the final component of the hook's resource name. This value restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
#hook_id=
def hook_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID to use for the hook, which will become the final component of the hook's resource name. This value restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
Returns
- (::String) — Required. The ID to use for the hook, which will become the final component of the hook's resource name. This value restricts to lower-case letters, numbers, and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The repository in which to create the hook. Values are of the
form
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The repository in which to create the hook. Values are of the
form
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
Returns
-
(::String) — Required. The repository in which to create the hook. Values are of the
form
projects/{project_number}/locations/{location_id}/repositories/{repository_id}