Class: Google::Cloud::SecureSourceManager::V1::CreateHookRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb

Overview

CreateHookRequest is the request for creating a hook.

Instance Attribute Summary collapse

Instance Attribute Details

#hook::Google::Cloud::SecureSourceManager::V1::Hook

Returns Required. The resource being created.

Returns:



1076
1077
1078
1079
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1076

class CreateHookRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#hook_id::String

Returns 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.



1076
1077
1078
1079
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1076

class CreateHookRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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}



1076
1077
1078
1079
# File 'proto_docs/google/cloud/securesourcemanager/v1/secure_source_manager.rb', line 1076

class CreateHookRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end