Clean and regen docs (#401)
diff --git a/docs/dyn/sourcerepo_v1.projects.repos.html b/docs/dyn/sourcerepo_v1.projects.repos.html
index 38bcb97..45b3b7c 100644
--- a/docs/dyn/sourcerepo_v1.projects.repos.html
+++ b/docs/dyn/sourcerepo_v1.projects.repos.html
@@ -76,7 +76,7 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#create">create(parent, body, x__xgafv=None)</a></code></p>
-<p class="firstline">Creates a repo in the given project with the given name..</p>
+<p class="firstline">Creates a repo in the given project with the given name.</p>
<p class="toc_element">
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes a repo.</p>
@@ -87,8 +87,11 @@
<code><a href="#getIamPolicy">getIamPolicy(resource, x__xgafv=None)</a></code></p>
<p class="firstline">Gets the access control policy for a resource.</p>
<p class="toc_element">
- <code><a href="#list">list(name, x__xgafv=None)</a></code></p>
-<p class="firstline">Returns all repos belonging to a project.</p>
+ <code><a href="#list">list(name, pageToken=None, x__xgafv=None, pageSize=None)</a></code></p>
+<p class="firstline">Returns all repos belonging to a project. The sizes of the repos are</p>
+<p class="toc_element">
+ <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
+<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#setIamPolicy">setIamPolicy(resource, body, x__xgafv=None)</a></code></p>
<p class="firstline">Sets the access control policy on the specified resource. Replaces any</p>
@@ -98,7 +101,7 @@
<h3>Method Details</h3>
<div class="method">
<code class="details" id="create">create(parent, body, x__xgafv=None)</code>
- <pre>Creates a repo in the given project with the given name..
+ <pre>Creates a repo in the given project with the given name.
If the named repository already exists, `CreateRepo` returns
`ALREADY_EXISTS`.
@@ -111,9 +114,11 @@
{ # A repository (or repo) is a Git repository storing versioned source content.
"url": "A String", # URL to clone the repository from Google Cloud Source Repositories.
- "size": "A String", # The size in bytes of the repo.
+ "size": "A String", # The disk usage of the repo, in bytes.
+ # Only returned by GetRepo.
"name": "A String", # Resource name of the repository, of the form
- # `projects/<project>/repos/<repo>`.
+ # `projects/<project>/repos/<repo>`. The repo name may contain slashes.
+ # eg, `projects/myproject/repos/name/with/slash`
"mirrorConfig": { # Configuration to automatically mirror a repository from another # How this repository mirrors a repository managed by another service.
# hosting service, for example GitHub or BitBucket.
"url": "A String", # URL of the main repository at the other hosting service.
@@ -137,9 +142,11 @@
{ # A repository (or repo) is a Git repository storing versioned source content.
"url": "A String", # URL to clone the repository from Google Cloud Source Repositories.
- "size": "A String", # The size in bytes of the repo.
+ "size": "A String", # The disk usage of the repo, in bytes.
+ # Only returned by GetRepo.
"name": "A String", # Resource name of the repository, of the form
- # `projects/<project>/repos/<repo>`.
+ # `projects/<project>/repos/<repo>`. The repo name may contain slashes.
+ # eg, `projects/myproject/repos/name/with/slash`
"mirrorConfig": { # Configuration to automatically mirror a repository from another # How this repository mirrors a repository managed by another service.
# hosting service, for example GitHub or BitBucket.
"url": "A String", # URL of the main repository at the other hosting service.
@@ -198,9 +205,11 @@
{ # A repository (or repo) is a Git repository storing versioned source content.
"url": "A String", # URL to clone the repository from Google Cloud Source Repositories.
- "size": "A String", # The size in bytes of the repo.
+ "size": "A String", # The disk usage of the repo, in bytes.
+ # Only returned by GetRepo.
"name": "A String", # Resource name of the repository, of the form
- # `projects/<project>/repos/<repo>`.
+ # `projects/<project>/repos/<repo>`. The repo name may contain slashes.
+ # eg, `projects/myproject/repos/name/with/slash`
"mirrorConfig": { # Configuration to automatically mirror a repository from another # How this repository mirrors a repository managed by another service.
# hosting service, for example GitHub or BitBucket.
"url": "A String", # URL of the main repository at the other hosting service.
@@ -267,48 +276,51 @@
{ # Specifies the audit configuration for a service.
# The configuration determines which permission types are logged, and what
# identities, if any, are exempted from logging.
- # An AuditConifg must have one or more AuditLogConfigs.
+ # An AuditConfig must have one or more AuditLogConfigs.
#
# If there are AuditConfigs for both `allServices` and a specific service,
# the union of the two AuditConfigs is used for that service: the log_types
# specified in each AuditConfig are enabled, and the exempted_members in each
# AuditConfig are exempted.
+ #
# Example Policy with multiple AuditConfigs:
- # {
- # "audit_configs": [
+ #
# {
- # "service": "allServices"
- # "audit_log_configs": [
+ # "audit_configs": [
# {
- # "log_type": "DATA_READ",
- # "exempted_members": [
- # "user:foo@gmail.com"
+ # "service": "allServices"
+ # "audit_log_configs": [
+ # {
+ # "log_type": "DATA_READ",
+ # "exempted_members": [
+ # "user:foo@gmail.com"
+ # ]
+ # },
+ # {
+ # "log_type": "DATA_WRITE",
+ # },
+ # {
+ # "log_type": "ADMIN_READ",
+ # }
# ]
# },
# {
- # "log_type": "DATA_WRITE",
- # },
- # {
- # "log_type": "ADMIN_READ",
- # }
- # ]
- # },
- # {
- # "service": "fooservice@googleapis.com"
- # "audit_log_configs": [
- # {
- # "log_type": "DATA_READ",
- # },
- # {
- # "log_type": "DATA_WRITE",
- # "exempted_members": [
- # "user:bar@gmail.com"
+ # "service": "fooservice.googleapis.com"
+ # "audit_log_configs": [
+ # {
+ # "log_type": "DATA_READ",
+ # },
+ # {
+ # "log_type": "DATA_WRITE",
+ # "exempted_members": [
+ # "user:bar@gmail.com"
+ # ]
+ # }
# ]
# }
# ]
# }
- # ]
- # }
+ #
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
@@ -349,6 +361,7 @@
# `allServices` is a special value that covers all services.
},
],
+ "version": 42, # Version of the `Policy`. The default version is 0.
"rules": [ # If more than one rule is specified, the rules are applied in the following
# manner:
# - All matching LOG rules are always applied.
@@ -394,6 +407,7 @@
"dataAccess": { # Write a Data Access (Gin) log # Data access options.
},
"cloudAudit": { # Write a Cloud Audit log # Cloud audit options.
+ "logName": "A String", # The log_name to populate in the Cloud Audit Record.
},
},
],
@@ -404,7 +418,6 @@
],
},
],
- "version": 42, # Version of the `Policy`. The default version is 0.
"etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a policy from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
@@ -441,6 +454,7 @@
# * `group:{emailid}`: An email address that represents a Google group.
# For example, `admins@example.com`.
#
+ #
# * `domain:{domain}`: A Google Apps domain name that represents all the
# users of that domain. For example, `google.com` or `example.com`.
#
@@ -453,27 +467,38 @@
</div>
<div class="method">
- <code class="details" id="list">list(name, x__xgafv=None)</code>
- <pre>Returns all repos belonging to a project.
+ <code class="details" id="list">list(name, pageToken=None, x__xgafv=None, pageSize=None)</code>
+ <pre>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.
Args:
name: string, The project ID whose repos should be listed. Values are of the form
`projects/<project>`. (required)
+ pageToken: string, 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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
+ pageSize: integer, Maximum number of repositories to return; between 1 and 500.
+If not set or zero, defaults to 100 at the server.
Returns:
An object of the form:
- { # Response for ListRepos.
+ { # Response for ListRepos. The size is not set in the returned repositories.
+ "nextPageToken": "A String", # If non-empty, additional repositories exist within the project. These
+ # can be retrieved by including this value in the next ListReposRequest's
+ # page_token field.
"repos": [ # The listed repos.
{ # A repository (or repo) is a Git repository storing versioned source content.
"url": "A String", # URL to clone the repository from Google Cloud Source Repositories.
- "size": "A String", # The size in bytes of the repo.
+ "size": "A String", # The disk usage of the repo, in bytes.
+ # Only returned by GetRepo.
"name": "A String", # Resource name of the repository, of the form
- # `projects/<project>/repos/<repo>`.
+ # `projects/<project>/repos/<repo>`. The repo name may contain slashes.
+ # eg, `projects/myproject/repos/name/with/slash`
"mirrorConfig": { # Configuration to automatically mirror a repository from another # How this repository mirrors a repository managed by another service.
# hosting service, for example GitHub or BitBucket.
"url": "A String", # URL of the main repository at the other hosting service.
@@ -491,6 +516,20 @@
</div>
<div class="method">
+ <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
+ <pre>Retrieves the next page of results.
+
+Args:
+ previous_request: The request for the previous page. (required)
+ previous_response: The response from the request for the previous page. (required)
+
+Returns:
+ A request object that you can call 'execute()' on to request the next
+ page. Returns None if there are no more items in the collection.
+ </pre>
+</div>
+
+<div class="method">
<code class="details" id="setIamPolicy">setIamPolicy(resource, body, x__xgafv=None)</code>
<pre>Sets the access control policy on the specified resource. Replaces any
existing policy.
@@ -540,48 +579,51 @@
{ # Specifies the audit configuration for a service.
# The configuration determines which permission types are logged, and what
# identities, if any, are exempted from logging.
- # An AuditConifg must have one or more AuditLogConfigs.
+ # An AuditConfig must have one or more AuditLogConfigs.
#
# If there are AuditConfigs for both `allServices` and a specific service,
# the union of the two AuditConfigs is used for that service: the log_types
# specified in each AuditConfig are enabled, and the exempted_members in each
# AuditConfig are exempted.
+ #
# Example Policy with multiple AuditConfigs:
- # {
- # "audit_configs": [
+ #
# {
- # "service": "allServices"
- # "audit_log_configs": [
+ # "audit_configs": [
# {
- # "log_type": "DATA_READ",
- # "exempted_members": [
- # "user:foo@gmail.com"
+ # "service": "allServices"
+ # "audit_log_configs": [
+ # {
+ # "log_type": "DATA_READ",
+ # "exempted_members": [
+ # "user:foo@gmail.com"
+ # ]
+ # },
+ # {
+ # "log_type": "DATA_WRITE",
+ # },
+ # {
+ # "log_type": "ADMIN_READ",
+ # }
# ]
# },
# {
- # "log_type": "DATA_WRITE",
- # },
- # {
- # "log_type": "ADMIN_READ",
- # }
- # ]
- # },
- # {
- # "service": "fooservice@googleapis.com"
- # "audit_log_configs": [
- # {
- # "log_type": "DATA_READ",
- # },
- # {
- # "log_type": "DATA_WRITE",
- # "exempted_members": [
- # "user:bar@gmail.com"
+ # "service": "fooservice.googleapis.com"
+ # "audit_log_configs": [
+ # {
+ # "log_type": "DATA_READ",
+ # },
+ # {
+ # "log_type": "DATA_WRITE",
+ # "exempted_members": [
+ # "user:bar@gmail.com"
+ # ]
+ # }
# ]
# }
# ]
# }
- # ]
- # }
+ #
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
@@ -622,6 +664,7 @@
# `allServices` is a special value that covers all services.
},
],
+ "version": 42, # Version of the `Policy`. The default version is 0.
"rules": [ # If more than one rule is specified, the rules are applied in the following
# manner:
# - All matching LOG rules are always applied.
@@ -667,6 +710,7 @@
"dataAccess": { # Write a Data Access (Gin) log # Data access options.
},
"cloudAudit": { # Write a Cloud Audit log # Cloud audit options.
+ "logName": "A String", # The log_name to populate in the Cloud Audit Record.
},
},
],
@@ -677,7 +721,6 @@
],
},
],
- "version": 42, # Version of the `Policy`. The default version is 0.
"etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a policy from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
@@ -714,6 +757,7 @@
# * `group:{emailid}`: An email address that represents a Google group.
# For example, `admins@example.com`.
#
+ #
# * `domain:{domain}`: A Google Apps domain name that represents all the
# users of that domain. For example, `google.com` or `example.com`.
#
@@ -773,48 +817,51 @@
{ # Specifies the audit configuration for a service.
# The configuration determines which permission types are logged, and what
# identities, if any, are exempted from logging.
- # An AuditConifg must have one or more AuditLogConfigs.
+ # An AuditConfig must have one or more AuditLogConfigs.
#
# If there are AuditConfigs for both `allServices` and a specific service,
# the union of the two AuditConfigs is used for that service: the log_types
# specified in each AuditConfig are enabled, and the exempted_members in each
# AuditConfig are exempted.
+ #
# Example Policy with multiple AuditConfigs:
- # {
- # "audit_configs": [
+ #
# {
- # "service": "allServices"
- # "audit_log_configs": [
+ # "audit_configs": [
# {
- # "log_type": "DATA_READ",
- # "exempted_members": [
- # "user:foo@gmail.com"
+ # "service": "allServices"
+ # "audit_log_configs": [
+ # {
+ # "log_type": "DATA_READ",
+ # "exempted_members": [
+ # "user:foo@gmail.com"
+ # ]
+ # },
+ # {
+ # "log_type": "DATA_WRITE",
+ # },
+ # {
+ # "log_type": "ADMIN_READ",
+ # }
# ]
# },
# {
- # "log_type": "DATA_WRITE",
- # },
- # {
- # "log_type": "ADMIN_READ",
- # }
- # ]
- # },
- # {
- # "service": "fooservice@googleapis.com"
- # "audit_log_configs": [
- # {
- # "log_type": "DATA_READ",
- # },
- # {
- # "log_type": "DATA_WRITE",
- # "exempted_members": [
- # "user:bar@gmail.com"
+ # "service": "fooservice.googleapis.com"
+ # "audit_log_configs": [
+ # {
+ # "log_type": "DATA_READ",
+ # },
+ # {
+ # "log_type": "DATA_WRITE",
+ # "exempted_members": [
+ # "user:bar@gmail.com"
+ # ]
+ # }
# ]
# }
# ]
# }
- # ]
- # }
+ #
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
@@ -855,6 +902,7 @@
# `allServices` is a special value that covers all services.
},
],
+ "version": 42, # Version of the `Policy`. The default version is 0.
"rules": [ # If more than one rule is specified, the rules are applied in the following
# manner:
# - All matching LOG rules are always applied.
@@ -900,6 +948,7 @@
"dataAccess": { # Write a Data Access (Gin) log # Data access options.
},
"cloudAudit": { # Write a Cloud Audit log # Cloud audit options.
+ "logName": "A String", # The log_name to populate in the Cloud Audit Record.
},
},
],
@@ -910,7 +959,6 @@
],
},
],
- "version": 42, # Version of the `Policy`. The default version is 0.
"etag": "A String", # `etag` is used for optimistic concurrency control as a way to help
# prevent simultaneous updates of a policy from overwriting each other.
# It is strongly suggested that systems make use of the `etag` in the
@@ -947,6 +995,7 @@
# * `group:{emailid}`: An email address that represents a Google group.
# For example, `admins@example.com`.
#
+ #
# * `domain:{domain}`: A Google Apps domain name that represents all the
# users of that domain. For example, `google.com` or `example.com`.
#