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: String

    Identifier. 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: String

    Optional. 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: Bool

    Output only. Reserved for future use.

  • $msg->satisfies_pzs() / $msg->satisfies_pzs($value)

    Type: Bool

    Output only. Reserved for future use.

Enum: Instance::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • PAUSED => 4

  • UNKNOWN => 6

Enum: Instance::StateNote

  • STATE_NOTE_UNSPECIFIED => 0

  • PAUSED_CMEK_UNAVAILABLE => 1

  • INSTANCE_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: String

    Identifier. 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: String

    Optional. Description of the repository, which cannot exceed 500 characters.

  • $msg->instance() / $msg->instance($value)

    Type: String

    Optional. 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: String

    Output 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: String

    Optional. 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: String

    Optional. 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: 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}`

  • $msg->target_uri() / $msg->target_uri($value)

    Type: String

    Required. The target URI to which the payloads will be delivered.

  • $msg->disabled() / $msg->disabled($value)

    Type: Bool

    Optional. 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: String

    Output 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: String

    Optional. The sensitive query string to be appended to the target URI.

Enum: Hook::HookEventType

  • UNSPECIFIED => 0

  • PUSH => 1

  • PULL_REQUEST => 2

  • PULL_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: String

    Identifier. 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: String

    Output 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: String

    Optional. 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: String

    Optional. 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: Bool

    Optional. Determines if the branch rule is disabled or not.

  • $msg->require_pull_request() / $msg->require_pull_request($value)

    Type: Bool

    Optional. Determines if the branch rule requires a pull request or not.

  • $msg->minimum_reviews_count() / $msg->minimum_reviews_count($value)

    Type: Int32

    Optional. The minimum number of reviews required for the branch rule to be matched.

  • $msg->minimum_approvals_count() / $msg->minimum_approvals_count($value)

    Type: Int32

    Optional. 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: Bool

    Optional. Determines if code owners must approve before merging to the branch.

  • $msg->require_comments_resolved() / $msg->require_comments_resolved($value)

    Type: Bool

    Optional. Determines if require comments resolved before merging to the branch.

  • $msg->allow_stale_reviews() / $msg->allow_stale_reviews($value)

    Type: Bool

    Optional. Determines if allow stale reviews or approvals before merging to the branch.

  • $msg->require_linear_history() / $msg->require_linear_history($value)

    Type: Bool

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

Enum: PullRequest::State

  • STATE_UNSPECIFIED => 0

  • OPEN => 1

  • CLOSED => 2

  • MERGED => 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: String

    Output 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: String

    Output only. The commit pointing to the file changes.

  • $msg->patch() / $msg->patch($value)

    Type: String

    Output only. The git patch containing the file changes.

Enum: FileDiff::Action

  • ACTION_UNSPECIFIED => 0

  • ADDED => 1

  • MODIFIED => 2

  • DELETED => 3

Google::Cloud::Securesourcemanager::V1::SecureSourceManager::Issue

Metadata of an Issue.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. 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: String

    Required. Issue title.

  • $msg->body() / $msg->body($value)

    Type: String

    Optional. 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: String

    Optional. 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 => 0

  • OPEN => 1

  • CLOSED => 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: String

    Identifier. 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: String

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

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: String

    Identifier. Name of the git reference (e.g., 'refs/heads/foo' or 'refs/tags/v1.0').

  • $msg->target() / $msg->target($value)

    Type: String

    Output 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 => 0

  • REF_TYPE_BRANCH => 1

  • REF_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: String

    Required. Parent value for ListInstancesRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. 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: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter for filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. 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: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations 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: String

    Required. 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: String

    Required. Value for parent.

  • $msg->instance_id() / $msg->instance_id($value)

    Type: String

    Required. 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: String

    Optional. 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: String

    Required. Name of the resource.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. 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: Bool

    Optional. 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: String

    Output only. Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Output only. Name of the verb executed by the operation.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Output only. Human-readable status of the operation, if any.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    Output 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: String

    Output 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: String

    Required. Parent value for ListRepositoriesRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. 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: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter results.

  • $msg->instance() / $msg->instance($value)

    Type: String

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

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: String

    Required. 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: String

    Required. 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: String

    Required. 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: Bool

    Optional. 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: String

    Required. 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: Bool

    Optional. 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: String

    Required. Parent value for ListHooksRequest.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. 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: String

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

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: String

    Required. 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: String

    Required. 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: 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.

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: String

    Required. 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: String

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

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: Int32

    Optional. 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: String

    Optional. 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: Bool

    Optional. 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: Bool

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

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: String

    Required. 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: String

    Required. 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: String

    Required. 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: Int32

    Optional. 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: String

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

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: String

    Required. 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: String

    Required. 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: String

    Required. 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: String

    Required. 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: Int32

    Optional. 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: String

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

Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateIssueRequest

The request to create an issue.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: String

    Required. 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: String

    Required. 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: Int32

    Optional. 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: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Used to filter the resulting issues list.

Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListIssuesResponse

The response to list issues.

Inherits from Protobuf::Message.

Accessors

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: String

    Required. 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: String

    Optional. 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: String

    Required. 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: String

    Optional. 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: String

    Required. 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: String

    Optional. 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: String

    Output only. The SHA-1 hash of the object (unique identifier). Output-only.

  • $msg->path() / $msg->path($value)

    Type: String

    Output 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: String

    Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.

  • $msg->size() / $msg->size($value)

    Type: Int64

    Output only. The size of the object in bytes (only for blobs). Output-only.

Enum: TreeEntry::ObjectType

  • OBJECT_TYPE_UNSPECIFIED => 0

  • TREE => 1

  • BLOB => 2

  • COMMIT => 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: String

    Required. 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: String

    Optional. `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: Bool

    Optional. 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: Int32

    Optional. 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: String

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

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: String

    Required. The format is `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. Specifies the repository containing the blob.

  • $msg->sha() / $msg->sha($value)

    Type: String

    Required. 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: String

    The SHA-1 hash of the blob.

  • $msg->content() / $msg->content($value)

    Type: String

    The 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: String

    Required. 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: Int32

    Optional. 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: String

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

Google::Cloud::Securesourcemanager::V1::SecureSourceManager::ListPullRequestCommentsRequest

The request to list pull request comments.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: Int32

    Optional. 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: String

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

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: String

    Required. 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: String

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

Google::Cloud::Securesourcemanager::V1::SecureSourceManager::UpdatePullRequestCommentRequest

The request to update a pull request comment.

Inherits from Protobuf::Message.

Accessors

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: String

    Required. 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: String

    Required. 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: String

    Required. 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: String

    Required. 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: Bool

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

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: String

    Required. 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: String

    Required. 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: Bool

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

Google::Cloud::Securesourcemanager::V1::SecureSourceManager::CreateIssueCommentRequest

The request to create an issue comment.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. 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: String

    Required. 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: String

    Required. 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: Int32

    Optional. 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: String

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

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: String

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