-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add new kokoro config for coverage and release-please (#102)
* build: add new kokoro config for release-please and coverage * build: actually commit the config * fix: do not fail test if nyc did not run
- Loading branch information
1 parent
81fb400
commit e424ecd
Showing
7 changed files
with
78 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ | |
* specify access control policies for Cloud Platform resources. | ||
* | ||
* | ||
* A `Policy` consists of a list of `bindings`. A `Binding` binds a list of | ||
* A `Policy` consists of a list of `bindings`. A `binding` binds a list of | ||
* `members` to a `role`, where the members can be user accounts, Google groups, | ||
* Google domains, and service accounts. A `role` is a named list of permissions | ||
* defined by IAM. | ||
* | ||
* **Example** | ||
* **JSON Example** | ||
* | ||
* { | ||
* "bindings": [ | ||
|
@@ -35,7 +35,7 @@ | |
* "user:[email protected]", | ||
* "group:[email protected]", | ||
* "domain:google.com", | ||
* "serviceAccount:[email protected]", | ||
* "serviceAccount:[email protected]" | ||
* ] | ||
* }, | ||
* { | ||
|
@@ -45,15 +45,28 @@ | |
* ] | ||
* } | ||
* | ||
* **YAML Example** | ||
* | ||
* bindings: | ||
* - members: | ||
* - user:[email protected] | ||
* - group:[email protected] | ||
* - domain:google.com | ||
* - serviceAccount:[email protected] | ||
* role: roles/owner | ||
* - members: | ||
* - user:[email protected] | ||
* role: roles/viewer | ||
* | ||
* | ||
* For a description of IAM and its features, see the | ||
* [IAM developer's guide](https://cloud.google.com/iam). | ||
* [IAM developer's guide](https://cloud.google.com/iam/docs). | ||
* | ||
* @property {number} version | ||
* Version of the `Policy`. The default version is 0. | ||
* Deprecated. | ||
* | ||
* @property {Object[]} bindings | ||
* Associates a list of `members` to a `role`. | ||
* Multiple `bindings` must not be specified for the same `role`. | ||
* `bindings` with no members will result in an error. | ||
* | ||
* This object should have the same structure as [Binding]{@link google.iam.v1.Binding} | ||
|
@@ -84,7 +97,6 @@ const Policy = { | |
* @property {string} role | ||
* Role that is assigned to `members`. | ||
* For example, `roles/viewer`, `roles/editor`, or `roles/owner`. | ||
* Required | ||
* | ||
* @property {string[]} members | ||
* Specifies the identities requesting access for a Cloud Platform resource. | ||
|
@@ -97,7 +109,7 @@ const Policy = { | |
* who is authenticated with a Google account or a service account. | ||
* | ||
* * `user:{emailid}`: An email address that represents a specific Google | ||
* account. For example, `[email protected]` or `[email protected]`. | ||
* account. For example, `[email protected]` . | ||
* | ||
* | ||
* * `serviceAccount:{emailid}`: An email address that represents a service | ||
|
@@ -106,9 +118,18 @@ const Policy = { | |
* * `group:{emailid}`: An email address that represents a Google group. | ||
* For example, `[email protected]`. | ||
* | ||
* * `domain:{domain}`: A Google Apps domain name that represents all the | ||
* | ||
* * `domain:{domain}`: The G Suite domain (primary) that represents all the | ||
* users of that domain. For example, `google.com` or `example.com`. | ||
* | ||
* @property {Object} condition | ||
* The condition that is associated with this binding. | ||
* NOTE: An unsatisfied condition will not allow user access via current | ||
* binding. Different bindings, including their conditions, are examined | ||
* independently. | ||
* | ||
* This object should have the same structure as [Expr]{@link google.type.Expr} | ||
* | ||
* @typedef Binding | ||
* @memberof google.iam.v1 | ||
* @see [google.iam.v1.Binding definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/iam/v1/policy.proto} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ | |
* specify access control policies for Cloud Platform resources. | ||
* | ||
* | ||
* A `Policy` consists of a list of `bindings`. A `Binding` binds a list of | ||
* A `Policy` consists of a list of `bindings`. A `binding` binds a list of | ||
* `members` to a `role`, where the members can be user accounts, Google groups, | ||
* Google domains, and service accounts. A `role` is a named list of permissions | ||
* defined by IAM. | ||
* | ||
* **Example** | ||
* **JSON Example** | ||
* | ||
* { | ||
* "bindings": [ | ||
|
@@ -35,7 +35,7 @@ | |
* "user:[email protected]", | ||
* "group:[email protected]", | ||
* "domain:google.com", | ||
* "serviceAccount:[email protected]", | ||
* "serviceAccount:[email protected]" | ||
* ] | ||
* }, | ||
* { | ||
|
@@ -45,15 +45,28 @@ | |
* ] | ||
* } | ||
* | ||
* **YAML Example** | ||
* | ||
* bindings: | ||
* - members: | ||
* - user:[email protected] | ||
* - group:[email protected] | ||
* - domain:google.com | ||
* - serviceAccount:[email protected] | ||
* role: roles/owner | ||
* - members: | ||
* - user:[email protected] | ||
* role: roles/viewer | ||
* | ||
* | ||
* For a description of IAM and its features, see the | ||
* [IAM developer's guide](https://cloud.google.com/iam). | ||
* [IAM developer's guide](https://cloud.google.com/iam/docs). | ||
* | ||
* @property {number} version | ||
* Version of the `Policy`. The default version is 0. | ||
* Deprecated. | ||
* | ||
* @property {Object[]} bindings | ||
* Associates a list of `members` to a `role`. | ||
* Multiple `bindings` must not be specified for the same `role`. | ||
* `bindings` with no members will result in an error. | ||
* | ||
* This object should have the same structure as [Binding]{@link google.iam.v1.Binding} | ||
|
@@ -84,7 +97,6 @@ const Policy = { | |
* @property {string} role | ||
* Role that is assigned to `members`. | ||
* For example, `roles/viewer`, `roles/editor`, or `roles/owner`. | ||
* Required | ||
* | ||
* @property {string[]} members | ||
* Specifies the identities requesting access for a Cloud Platform resource. | ||
|
@@ -97,7 +109,7 @@ const Policy = { | |
* who is authenticated with a Google account or a service account. | ||
* | ||
* * `user:{emailid}`: An email address that represents a specific Google | ||
* account. For example, `[email protected]` or `[email protected]`. | ||
* account. For example, `[email protected]` . | ||
* | ||
* | ||
* * `serviceAccount:{emailid}`: An email address that represents a service | ||
|
@@ -106,9 +118,18 @@ const Policy = { | |
* * `group:{emailid}`: An email address that represents a Google group. | ||
* For example, `[email protected]`. | ||
* | ||
* * `domain:{domain}`: A Google Apps domain name that represents all the | ||
* | ||
* * `domain:{domain}`: The G Suite domain (primary) that represents all the | ||
* users of that domain. For example, `google.com` or `example.com`. | ||
* | ||
* @property {Object} condition | ||
* The condition that is associated with this binding. | ||
* NOTE: An unsatisfied condition will not allow user access via current | ||
* binding. Different bindings, including their conditions, are examined | ||
* independently. | ||
* | ||
* This object should have the same structure as [Expr]{@link google.type.Expr} | ||
* | ||
* @typedef Binding | ||
* @memberof google.iam.v1 | ||
* @see [google.iam.v1.Binding definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/iam/v1/policy.proto} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters