Reference documentation and code samples for the Secure Source Manager V1 API class Google::Cloud::SecureSourceManager::V1::FetchRefsRequest.
Request message for fetching git references from a repository.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#page_size
def page_size() -> ::Integer
Returns
- (::Integer) — 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.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#page_token
def page_token() -> ::String
Returns
- (::String) — Optional. A token identifying a page of results the server should return.
#page_token=
def page_token=(value) -> ::String
Parameter
- value (::String) — Optional. A token identifying a page of results the server should return.
Returns
- (::String) — Optional. A token identifying a page of results the server should return.
#repository
def repository() -> ::String
Returns
-
(::String) — Required. The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the repository to fetch the references from.
#repository=
def repository=(value) -> ::String
Parameter
-
value (::String) — Required. The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the repository to fetch the references from.
Returns
-
(::String) — Required. The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the repository to fetch the references from.
#type
def type() -> ::Google::Cloud::SecureSourceManager::V1::Ref::RefType
Returns
- (::Google::Cloud::SecureSourceManager::V1::Ref::RefType) — Optional. The type of reference to fetch (eg. branch, tag). By default, all references are returned.
#type=
def type=(value) -> ::Google::Cloud::SecureSourceManager::V1::Ref::RefType
Parameter
- value (::Google::Cloud::SecureSourceManager::V1::Ref::RefType) — Optional. The type of reference to fetch (eg. branch, tag). By default, all references are returned.
Returns
- (::Google::Cloud::SecureSourceManager::V1::Ref::RefType) — Optional. The type of reference to fetch (eg. branch, tag). By default, all references are returned.