generated/google/apis/sourcerepo_v1/service.rb in google-api-client-0.45.0 vs generated/google/apis/sourcerepo_v1/service.rb in google-api-client-0.45.1

- old
+ new

@@ -47,12 +47,11 @@ @batch_path = 'batch' end # Returns the Cloud Source Repositories configuration of the project. # @param [String] name - # The name of the requested project. Values are of the form - # `projects/<project>`. + # The name of the requested project. Values are of the form `projects/`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -78,12 +77,11 @@ execute_or_queue_command(command, &block) end # Updates the Cloud Source Repositories configuration of the project. # @param [String] name - # The name of the requested project. Values are of the form - # `projects/<project>`. + # The name of the requested project. Values are of the form `projects/`. # @param [Google::Apis::SourcerepoV1::UpdateProjectConfigRequest] update_project_config_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -110,16 +108,14 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates a repo in the given project with the given name. - # If the named repository already exists, `CreateRepo` returns - # `ALREADY_EXISTS`. + # Creates a repo in the given project with the given name. If the named + # repository already exists, `CreateRepo` returns `ALREADY_EXISTS`. # @param [String] parent - # The project in which to create the repo. Values are of the form - # `projects/<project>`. + # The project in which to create the repo. Values are of the form `projects/`. # @param [Google::Apis::SourcerepoV1::Repo] repo_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -148,12 +144,11 @@ execute_or_queue_command(command, &block) end # Deletes a repo. # @param [String] name - # The name of the repo to delete. Values are of the form - # `projects/<project>/repos/<repo>`. + # The name of the repo to delete. Values are of the form `projects//repos/`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -179,12 +174,12 @@ execute_or_queue_command(command, &block) end # Returns information about a repo. # @param [String] name - # The name of the requested repository. Values are of the form - # `projects/<project>/repos/<repo>`. + # The name of the requested repository. Values are of the form `projects//repos/` + # . # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -208,26 +203,23 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets the access control policy for a resource. - # Returns an empty policy if the resource exists and does not have a policy - # set. + # Gets the access control policy for a resource. Returns an empty policy if the + # resource exists and does not have a policy set. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Fixnum] options_requested_policy_version - # Optional. The policy format version to be returned. - # Valid values are 0, 1, and 3. Requests specifying an invalid value will be - # rejected. - # Requests for policies with any conditional bindings must specify version 3. - # Policies without any conditional bindings may specify any valid value or - # leave the field unset. - # To learn which resources support conditions in their IAM policies, see the - # [IAM - # documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + # Optional. The policy format version to be returned. Valid values are 0, 1, and + # 3. Requests specifying an invalid value will be rejected. Requests for + # policies with any conditional bindings must specify version 3. Policies + # without any conditional bindings may specify any valid value or leave the + # field unset. To learn which resources support conditions in their IAM policies, + # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/ + # resource-policies). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -252,22 +244,22 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns all repos belonging to a project. The sizes of the repos are - # not set by ListRepos. To get the size of a repo, use GetRepo. + # Returns all repos belonging to a project. The sizes of the repos are not set + # by ListRepos. To get the size of a repo, use GetRepo. # @param [String] name - # The project ID whose repos should be listed. Values are of the form - # `projects/<project>`. + # The project ID whose repos should be listed. Values are of the form `projects/` + # . # @param [Fixnum] page_size - # Maximum number of repositories to return; between 1 and 500. - # If not set or zero, defaults to 100 at the server. + # Maximum number of repositories to return; between 1 and 500. If not set or + # zero, defaults to 100 at the server. # @param [String] page_token - # Resume listing repositories where a prior ListReposResponse - # left off. This is an opaque token that must be obtained from - # a recent, prior ListReposResponse's next_page_token field. + # Resume listing repositories where a prior ListReposResponse left off. This is + # an opaque token that must be obtained from a recent, prior ListReposResponse's + # next_page_token field. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -295,12 +287,12 @@ execute_or_queue_command(command, &block) end # Updates information about a repo. # @param [String] name - # The name of the requested repository. Values are of the form - # `projects/<project>/repos/<repo>`. + # The name of the requested repository. Values are of the form `projects//repos/` + # . # @param [Google::Apis::SourcerepoV1::UpdateRepoRequest] update_repo_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -330,12 +322,12 @@ end # Sets the access control policy on the specified resource. Replaces any # existing policy. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy is being specified. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -362,15 +354,14 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Synchronize a connected repo. - # The response contains SyncRepoMetadata in the metadata field. + # Synchronize a connected repo. The response contains SyncRepoMetadata in the + # metadata field. # @param [String] name - # The name of the repo to synchronize. Values are of the form - # `projects/<project>/repos/<repo>`. + # The name of the repo to synchronize. Values are of the form `projects//repos/`. # @param [Google::Apis::SourcerepoV1::SyncRepoRequest] sync_repo_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -397,15 +388,15 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. - # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. + # Returns permissions that a caller has on the specified resource. If the + # resource does not exist, this will return an empty set of permissions, not a + # NOT_FOUND error. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. - # See the operation documentation for the appropriate value for this field. + # REQUIRED: The resource for which the policy detail is being requested. See the + # operation documentation for the appropriate value for this field. # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any