Service Client: Google::Cloud::Securesourcemanager::V1::SecureSourceManager::SecureSourceManagerClient
Client stub representing the remote SecureSourceManager gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to securesourcemanager.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Securesourcemanager::V1::SecureSourceManager - Compiled Protocol Buffers messages for google/cloud/securesourcemanager/v1/secure_source_manager.proto
SYNOPSIS
use Google::Cloud::Securesourcemanager::V1::SecureSourceManager;
my $msg = Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance->new({
name => $name,
create_time => $create_time,
update_time => $update_time,
labels => $labels,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securesourcemanager/v1/secure_source_manager.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance
A resource that represents a Secure Source Manager instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. A unique identifier for an instance. The name should be of the format: `projects/{project_number}/locations/{location_id}/instances/{instance_id}`
`project_number`: Maps to a unique int64 id assigned to each project.
`location_id`: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions.
`instance_id`: User provided name for the instance, must be unique for a project_number and location_id combination.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update timestamp.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance::LabelsEntry)Optional. Labels as key value pairs. Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. For more information, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/best-practices-labels#label_encoding).
$msg->private_config()/$msg->private_config($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance::PrivateConfig)Optional. Private settings for private instance.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::Instance::State)Output only. Current state of the instance.
$msg->state_note()/$msg->state_note($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::Instance::StateNote)Output only. An optional field providing information about the current instance state.
$msg->kms_key()/$msg->kms_key($value)Type:
StringOptional. Immutable. Customer-managed encryption key name, in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.
$msg->host_config()/$msg->host_config($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance::HostConfig)Output only. A list of hostnames for this instance.
$msg->workforce_identity_federation_config()/$msg->workforce_identity_federation_config($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance::WorkforceIdentityFederationConfig)Optional. Configuration for Workforce Identity Federation to support third party identity provider. If unset, defaults to the Google OIDC IdP.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOutput only. Reserved for future use.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOutput only. Reserved for future use.
Enum: Instance::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3PAUSED=>4UNKNOWN=>6
Enum: Instance::StateNote
STATE_NOTE_UNSPECIFIED=>0PAUSED_CMEK_UNAVAILABLE=>1INSTANCE_RESUMING=>2
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository
Metadata of a Secure Source Manager repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. A unique identifier for a repository. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}`
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the repository, which cannot exceed 500 characters.
$msg->instance()/$msg->instance($value)Type:
StringOptional. The name of the instance in which the repository is hosted, formatted as `projects/{project_number}/locations/{location_id}/instances/{instance_id}` When creating repository via securesourcemanager.googleapis.com, this field is used as input. When creating repository via *.sourcemanager.dev, this field is output only.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the repository.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update timestamp.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->uris()/$msg->uris($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository::URIs)Output only. URIs for the repository.
$msg->initial_config()/$msg->initial_config($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository::InitialConfig)Input only. Initial configurations for the repository.
$msg->service_account()/$msg->service_account($value)Type:
StringOptional. Repository level service account (BYOSA).
$msg->scan_config()/$msg->scan_config($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository::ScanConfig)Optional. Provides configuration for scanning.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Hook
Metadata of a Secure Source Manager Hook.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. A unique identifier for a Hook. The name should be of the format: `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`
$msg->target_uri()/$msg->target_uri($value)Type:
StringRequired. The target URI to which the payloads will be delivered.
$msg->disabled()/$msg->disabled($value)Type:
BoolOptional. Determines if the hook disabled or not. Set to true to stop sending traffic.
$msg->events()/$msg->events($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::Hook::HookEventType)Optional. The events that trigger hook on.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update timestamp.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the hook.
$msg->push_option()/$msg->push_option($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Hook::PushOption)Optional. The trigger option for push events.
$msg->sensitive_query_string()/$msg->sensitive_query_string($value)Type:
StringOptional. The sensitive query string to be appended to the target URI.
Enum: Hook::HookEventType
UNSPECIFIED=>0PUSH=>1PULL_REQUEST=>2PULL_REQUEST_COMMENT=>3
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BranchRule
Metadata of a BranchRule. BranchRule is the protection rule to enforce pre-defined rules on designated branches within a repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. A unique identifier for a BranchRule. The name should be of the format: `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
$msg->uid()/$msg->uid($value)Type:
StringOutput only. Unique identifier of the repository.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Create timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Update timestamp.
$msg->annotations()/$msg->annotations($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BranchRule::AnnotationsEntry)Optional. User annotations. These attributes can only be set and used by the user. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
$msg->include_pattern()/$msg->include_pattern($value)Type:
StringOptional. The pattern of the branch that can match to this BranchRule. Specified as regex. .* for all branches. Examples: main, (main|release.*). Current MVP phase only support `.*` for wildcard.
$msg->disabled()/$msg->disabled($value)Type:
BoolOptional. Determines if the branch rule is disabled or not.
$msg->require_pull_request()/$msg->require_pull_request($value)Type:
BoolOptional. Determines if the branch rule requires a pull request or not.
$msg->minimum_reviews_count()/$msg->minimum_reviews_count($value)Type:
Int32Optional. The minimum number of reviews required for the branch rule to be matched.
$msg->minimum_approvals_count()/$msg->minimum_approvals_count($value)Type:
Int32Optional. The minimum number of approvals required for the branch rule to be matched.
$msg->require_code_owner_approval()/$msg->require_code_owner_approval($value)Type:
BoolOptional. Determines if code owners must approve before merging to the branch.
$msg->require_comments_resolved()/$msg->require_comments_resolved($value)Type:
BoolOptional. Determines if require comments resolved before merging to the branch.
$msg->allow_stale_reviews()/$msg->allow_stale_reviews($value)Type:
BoolOptional. Determines if allow stale reviews or approvals before merging to the branch.
$msg->require_linear_history()/$msg->require_linear_history($value)Type:
BoolOptional. Determines if require linear history before merging to the branch.
$msg->required_status_checks()/$msg->required_status_checks($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BranchRule::Check)Optional. List of required status checks before merging to the branch.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequest
Metadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Identifier. A unique identifier for a PullRequest. The number appended at the end is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}`
$msg->title()/$msg->title($value)Type:
StringRequired. The pull request title.
$msg->body()/$msg->body($value)Type:
StringOptional. The pull request body. Provides a detailed description of the changes.
$msg->base()/$msg->base($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequest::Branch)Required. The branch to merge changes in.
$msg->head()/$msg->head($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequest::Branch)Immutable. The branch containing the changes to be merged.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::PullRequest::State)Output only. State of the pull request (open, closed or merged).
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Last updated timestamp.
$msg->close_time()/$msg->close_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
Enum: PullRequest::State
STATE_UNSPECIFIED=>0OPEN=>1CLOSED=>2MERGED=>3
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FileDiff
Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The name of the file.
$msg->action()/$msg->action($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::FileDiff::Action)Output only. The action taken on the file (eg. added, modified, deleted).
$msg->sha()/$msg->sha($value)Type:
StringOutput only. The commit pointing to the file changes.
$msg->patch()/$msg->patch($value)Type:
StringOutput only. The git patch containing the file changes.
Enum: FileDiff::Action
ACTION_UNSPECIFIED=>0ADDED=>1MODIFIED=>2DELETED=>3
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Issue
Metadata of an Issue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique identifier for an issue. The issue id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`
$msg->title()/$msg->title($value)Type:
StringRequired. Issue title.
$msg->body()/$msg->body($value)Type:
StringOptional. Issue body. Provides a detailed description of the issue.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::Issue::State)Output only. State of the issue.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Last updated timestamp.
$msg->close_time()/$msg->close_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Close timestamp (if closed). Cleared when is re-opened.
$msg->etag()/$msg->etag($value)Type:
StringOptional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Enum: Issue::State
STATE_UNSPECIFIED=>0OPEN=>1CLOSED=>2
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::IssueComment
IssueComment represents a comment on an issue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique identifier for an issue comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}`
$msg->body()/$msg->body($value)Type:
StringRequired. The comment body.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Last updated timestamp.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment
PullRequestComment represents a comment on a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}`
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Creation timestamp.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Last updated timestamp.
$msg->review()/$msg->review($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment::Review)Optional. The review summary comment.
$msg->comment()/$msg->comment($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment::Comment)Optional. The general pull request comment.
$msg->code()/$msg->code($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment::Code)Optional. The comment on a code line.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Ref
Ref represents a git reference within a repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. Name of the git reference (e.g., 'refs/heads/foo' or 'refs/tags/v1.0').
$msg->target()/$msg->target($value)Type:
StringOutput only. The target of the reference, which is a commit SHA.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::Ref::RefType)Output only. The type of the reference.
Enum: Ref::RefType
REF_TYPE_UNSPECIFIED=>0REF_TYPE_BRANCH=>1REF_TYPE_TAG=>2
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListInstancesRequest
ListInstancesRequest is the request to list instances.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListInstancesRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter for filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListInstancesResponse
Inherits from Protobuf::Message.
Accessors
$msg->instances()/$msg->instances($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance)The list of instances.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetInstanceRequest
GetInstanceRequest is the request for getting an instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateInstanceRequest
CreateInstanceRequest is the request for creating an instance.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->instance_id()/$msg->instance_id($value)Type:
StringRequired. ID of the instance to be created.
$msg->instance()/$msg->instance($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Instance)Required. The resource being created.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeleteInstanceRequest
DeleteInstanceRequest is the request for deleting an instance.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->force()/$msg->force($value)Type:
BoolOptional. If set to true, will force the deletion of the instance.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListRepositoriesRequest
ListRepositoriesRequest is request to list repositories.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListRepositoriesRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter results.
$msg->instance()/$msg->instance($value)Type:
StringOptional. The name of the instance in which the repository is hosted, formatted as `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. When listing repositories via securesourcemanager.googleapis.com, this field is required. When listing repositories via *.sourcemanager.dev, this field is ignored.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListRepositoriesResponse
Inherits from Protobuf::Message.
Accessors
$msg->repositories()/$msg->repositories($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository)The list of repositories.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetRepositoryRequest
GetRepositoryRequest is the request for getting a repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the repository to retrieve. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateRepositoryRequest
CreateRepositoryRequest is the request for creating a repository.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project in which to create the repository. Values are of the form `projects/{project_number}/locations/{location_id}`
$msg->repository()/$msg->repository($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository)Required. The resource being created.
$msg->repository_id()/$msg->repository_id($value)Type:
StringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdateRepositoryRequest
UpdateRepositoryRequest is the request to update a repository.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
$msg->repository()/$msg->repository($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Repository)Required. The repository being updated.
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeleteRepositoryRequest
DeleteRepositoryRequest is the request to delete a repository.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the repository to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, and the repository is not found, the request will succeed but no action will be taken on the server.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListHooksRequest
ListHooksRequest is request to list hooks.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListHooksRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListHooksResponse
ListHooksResponse is response to list hooks.
Inherits from Protobuf::Message.
Accessors
$msg->hooks()/$msg->hooks($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Hook)The list of hooks.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetHookRequest
GetHookRequest is the request for getting a hook.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the hook to retrieve. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateHookRequest
CreateHookRequest is the request for creating a hook.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The repository in which to create the hook. Values are of the form `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
$msg->hook()/$msg->hook($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Hook)Required. The resource being created.
$msg->hook_id()/$msg->hook_id($value)Type:
StringRequired. 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.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdateHookRequest
UpdateHookRequest is the request to update a hook.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the hook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
$msg->hook()/$msg->hook($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Hook)Required. The hook being updated.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeleteHookRequest
DeleteHookRequest is the request to delete a hook.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the hook to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetBranchRuleRequest
GetBranchRuleRequest is the request for getting a branch rule.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the repository to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateBranchRuleRequest
CreateBranchRuleRequest is the request to create a branch rule.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
String$msg->branch_rule()/$msg->branch_rule($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BranchRule)$msg->branch_rule_id()/$msg->branch_rule_id($value)Type:
String
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListBranchRulesRequest
ListBranchRulesRequest is the request to list branch rules.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
String$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeleteBranchRuleRequest
DeleteBranchRuleRequest is the request to delete a branch rule.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
String$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true, and the branch rule is not found, the request will succeed but no action will be taken on the server.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdateBranchRuleRequest
UpdateBranchRuleRequest is the request to update a branchRule.
Inherits from Protobuf::Message.
Accessors
$msg->branch_rule()/$msg->branch_rule($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BranchRule)$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set, validate the request and preview the review, but do not actually post it. (https://google.aip.dev/163, for declarative friendly)
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the branchRule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListBranchRulesResponse
ListBranchRulesResponse is the response to listing branchRules.
Inherits from Protobuf::Message.
Accessors
$msg->branch_rules()/$msg->branch_rules($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BranchRule)The list of branch rules.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreatePullRequestRequest
CreatePullRequestRequest is the request to create a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The repository that the pull request is created from. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
$msg->pull_request()/$msg->pull_request($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequest)Required. The pull request to create.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetPullRequestRequest
GetPullRequestRequest is the request to get a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the pull request to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestsRequest
ListPullRequestsRequest is the request to list pull requests.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The repository in which to list pull requests. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestsResponse
ListPullRequestsResponse is the response to list pull requests.
Inherits from Protobuf::Message.
Accessors
$msg->pull_requests()/$msg->pull_requests($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequest)The list of pull requests.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdatePullRequestRequest
UpdatePullRequestRequest is the request to update a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->pull_request()/$msg->pull_request($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequest)Required. The pull request to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the pull request resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::MergePullRequestRequest
MergePullRequestRequest is the request to merge a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The pull request to merge. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::OpenPullRequestRequest
OpenPullRequestRequest is the request to open a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The pull request to open. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ClosePullRequestRequest
ClosePullRequestRequest is the request to close a pull request.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The pull request to close. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestFileDiffsRequest
ListPullRequestFileDiffsRequest is the request to list pull request file diffs.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The pull request to list file diffs for. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestFileDiffsResponse
ListPullRequestFileDiffsResponse is the response containing file diffs returned from ListPullRequestFileDiffs.
Inherits from Protobuf::Message.
Accessors
$msg->file_diffs()/$msg->file_diffs($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FileDiff)The list of pull request file diffs.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateIssueRequest
The request to create an issue.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The repository in which to create the issue. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
$msg->issue()/$msg->issue($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Issue)Required. The issue to create.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetIssueRequest
The request to get an issue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the issue to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListIssuesRequest
The request to list issues.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The repository in which to list issues. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Used to filter the resulting issues list.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListIssuesResponse
The response to list issues.
Inherits from Protobuf::Message.
Accessors
$msg->issues()/$msg->issues($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Issue)The list of issues.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdateIssueRequest
The request to update an issue.
Inherits from Protobuf::Message.
Accessors
$msg->issue()/$msg->issue($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Issue)Required. The issue to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the issue resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeleteIssueRequest
The request to delete an issue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the issue to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, deletion will be blocked and an ABORTED error will be returned.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CloseIssueRequest
The request to close an issue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the issue to close. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, closing will be blocked and an ABORTED error will be returned.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::OpenIssueRequest
The request to open an issue.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the issue to open. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, opening will be blocked and an ABORTED error will be returned.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::TreeEntry
Represents an entry within a tree structure (like a Git tree).
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::TreeEntry::ObjectType)Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.
$msg->sha()/$msg->sha($value)Type:
StringOutput only. The SHA-1 hash of the object (unique identifier). Output-only.
$msg->path()/$msg->path($value)Type:
StringOutput only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.
$msg->mode()/$msg->mode($value)Type:
StringOutput only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.
$msg->size()/$msg->size($value)Type:
Int64Output only. The size of the object in bytes (only for blobs). Output-only.
Enum: TreeEntry::ObjectType
OBJECT_TYPE_UNSPECIFIED=>0TREE=>1BLOB=>2COMMIT=>3
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FetchTreeRequest
Request message for fetching a tree structure from a repository.
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
StringRequired. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository to fetch the tree from.
$msg->ref()/$msg->ref($value)Type:
StringOptional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies which tree to fetch. If not specified, the default branch will be used.
$msg->recursive()/$msg->recursive($value)Type:
BoolOptional. If true, include all subfolders and their files in the response. If false, only the immediate children are returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. Server may return fewer items than requested. If unspecified, at most 10,000 items will be returned.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FetchTreeResponse
Response message containing a list of TreeEntry objects.
Inherits from Protobuf::Message.
Accessors
$msg->tree_entries()/$msg->tree_entries($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::TreeEntry)The list of TreeEntry objects.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FetchBlobRequest
Request message for fetching a blob (file content) from a repository.
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
StringRequired. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository containing the blob.
$msg->sha()/$msg->sha($value)Type:
StringRequired. The SHA-1 hash of the blob to retrieve.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FetchBlobResponse
Response message containing the content of a blob.
Inherits from Protobuf::Message.
Accessors
$msg->sha()/$msg->sha($value)Type:
StringThe SHA-1 hash of the blob.
$msg->content()/$msg->content($value)Type:
StringThe content of the blob, encoded as base64.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FetchRefsRequest
Request message for fetching git references from a repository.
Inherits from Protobuf::Message.
Accessors
$msg->repository()/$msg->repository($value)Type:
StringRequired. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository to fetch the references from.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Securesourcemanager::V1::Ref::RefType)Optional. The type of reference to fetch (eg. branch, tag). By default, all references are returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::FetchRefsResponse
Response message containing a list of git references.
Inherits from Protobuf::Message.
Accessors
$msg->refs()/$msg->refs($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Ref)The list of git references.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestCommentsRequest
The request to list pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The pull request in which to list pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestCommentsResponse
The response to list pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->pull_request_comments()/$msg->pull_request_comments($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment)The list of pull request comments.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to set as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreatePullRequestCommentRequest
The request to create a pull request comment.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The pull request in which to create the pull request comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
$msg->pull_request_comment()/$msg->pull_request_comment($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment)Required. The pull request comment to create.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BatchCreatePullRequestCommentsRequest
The request to batch create pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The pull request in which to create the pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
$msg->requests()/$msg->requests($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreatePullRequestCommentRequest)Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::BatchCreatePullRequestCommentsResponse
The response to batch create pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->pull_request_comments()/$msg->pull_request_comments($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment)The list of pull request comments created.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdatePullRequestCommentRequest
The request to update a pull request comment.
Inherits from Protobuf::Message.
Accessors
$msg->pull_request_comment()/$msg->pull_request_comment($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment)Required. The pull request comment to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the pull request comment resource by the update. Updatable fields are `body`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeletePullRequestCommentRequest
The request to delete a pull request comment. A Review PullRequestComment cannot be deleted.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the pull request comment to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetPullRequestCommentRequest
The request to get a pull request comment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the pull request comment to retrieve. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ResolvePullRequestCommentsRequest
The request to resolve multiple pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The pull request in which to resolve the pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
$msg->names()/$msg->names($value)Type:
StringRequired. The names of the pull request comments to resolve. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` Only comments from the same threads are allowed in the same request.
$msg->auto_fill()/$msg->auto_fill($value)Type:
BoolOptional. If set, at least one comment in a thread is required, rest of the comments in the same thread will be automatically updated to resolved. If unset, all comments in the same thread need be present.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ResolvePullRequestCommentsResponse
The response to resolve multiple pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->pull_request_comments()/$msg->pull_request_comments($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment)The list of pull request comments resolved.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UnresolvePullRequestCommentsRequest
The request to unresolve multiple pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The pull request in which to resolve the pull request comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
$msg->names()/$msg->names($value)Type:
StringRequired. The names of the pull request comments to unresolve. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` Only comments from the same threads are allowed in the same request.
$msg->auto_fill()/$msg->auto_fill($value)Type:
BoolOptional. If set, at least one comment in a thread is required, rest of the comments in the same thread will be automatically updated to unresolved. If unset, all comments in the same thread need be present.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UnresolvePullRequestCommentsResponse
The response to unresolve multiple pull request comments.
Inherits from Protobuf::Message.
Accessors
$msg->pull_request_comments()/$msg->pull_request_comments($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::PullRequestComment)The list of pull request comments unresolved.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateIssueCommentRequest
The request to create an issue comment.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The issue in which to create the issue comment. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`
$msg->issue_comment()/$msg->issue_comment($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::IssueComment)Required. The issue comment to create.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::GetIssueCommentRequest
The request to get an issue comment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the issue comment to retrieve. The format is `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListIssueCommentsRequest
The request to list issue comments.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The issue in which to list the comments. Format: `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Requested page size. If unspecified, a default size of 30 will be used. The maximum value is 100; values above 100 will be coerced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListIssueCommentsResponse
The response to list issue comments.
Inherits from Protobuf::Message.
Accessors
$msg->issue_comments()/$msg->issue_comments($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::IssueComment)The list of issue comments.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdateIssueCommentRequest
The request to update an issue comment.
Inherits from Protobuf::Message.
Accessors
$msg->issue_comment()/$msg->issue_comment($value)Type:
Message(Google::Cloud::Securesourcemanager::V1::SecureSourceManager::IssueComment)Required. The issue comment to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. Field mask is used to specify the fields to be overwritten in the issue comment resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement.
Google::Cloud::Securesourcemanager::V1::SecureSourceManager::DeleteIssueCommentRequest
The request to delete an issue comment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the issue comment to delete. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.