public interface CreateHookRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getHook()
public abstract Hook getHook()
Required. The resource being created.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Hook |
The hook. |
getHookId()
public abstract String getHookId()
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.
string hook_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The hookId. |
getHookIdBytes()
public abstract ByteString getHookIdBytes()
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.
string hook_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hookId. |
getHookOrBuilder()
public abstract HookOrBuilder getHookOrBuilder()
Required. The resource being created.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
HookOrBuilder |
getParent()
public abstract String getParent()
Required. The repository in which to create the hook. Values are of the
form
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
Required. The repository in which to create the hook. Values are of the
form
projects/{project_number}/locations/{location_id}/repositories/{repository_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasHook()
public abstract boolean hasHook()
Required. The resource being created.
.google.cloud.securesourcemanager.v1.Hook hook = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the hook field is set. |