google-apis-sourcerepo_v1 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/sourcerepo_v1/classes.rb +62 -57
- data/lib/google/apis/sourcerepo_v1/gem_version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55cac5290a2ef84e30db826dc1414e869f5a7488ce28823293dc48039b985cbe
|
4
|
+
data.tar.gz: 27299a8eabe49c2d18d284f363a910db179ef1033378e926a9e49e61af62cbb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e23c8439ae77d397802c7f092822b89d5518c81be9f00b230bbbe9dd2e95a6eb64fece398eee9b2752641fe97094e109bc63d8b1eb3835bd5eac16d1ba0ab856
|
7
|
+
data.tar.gz: 24a44608ae7b8e170b02b2a4360bbe7e05542f3eecf093b68977553f5d16603d508555d75e99aeb4af519dbafccf2e47d15eac04adc95a30bf59f818555ac37a
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Sourcerepo service in particular.)
|
67
67
|
|
@@ -93,7 +93,7 @@ module Google
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
-
# Associates `members
|
96
|
+
# Associates `members`, or principals, with a `role`.
|
97
97
|
class Binding
|
98
98
|
include Google::Apis::Core::Hashable
|
99
99
|
|
@@ -116,7 +116,7 @@ module Google
|
|
116
116
|
# @return [Google::Apis::SourcerepoV1::Expr]
|
117
117
|
attr_accessor :condition
|
118
118
|
|
119
|
-
# Specifies the
|
119
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
120
120
|
# members` can have the following values: * `allUsers`: A special identifier
|
121
121
|
# that represents anyone who is on the internet; with or without a Google
|
122
122
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -146,8 +146,8 @@ module Google
|
|
146
146
|
# @return [Array<String>]
|
147
147
|
attr_accessor :members
|
148
148
|
|
149
|
-
# Role that is assigned to `members
|
150
|
-
#
|
149
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
150
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
151
151
|
# Corresponds to the JSON property `role`
|
152
152
|
# @return [String]
|
153
153
|
attr_accessor :role
|
@@ -362,31 +362,31 @@ module Google
|
|
362
362
|
|
363
363
|
# An Identity and Access Management (IAM) policy, which specifies access
|
364
364
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
365
|
-
# A `binding` binds one or more `members
|
366
|
-
# user accounts, service accounts, Google groups, and domains (
|
367
|
-
# A `role` is a named list of permissions; each `role` can be
|
368
|
-
# role or a user-created custom role. For some types of Google
|
369
|
-
# a `binding` can also specify a `condition`, which is a
|
370
|
-
# allows access to a resource only if the expression
|
371
|
-
# condition can add constraints based on attributes of
|
372
|
-
# or both. To learn which resources support
|
373
|
-
# see the [IAM documentation](https://cloud.
|
374
|
-
# resource-policies). **JSON example:** ` "
|
375
|
-
# resourcemanager.organizationAdmin", "members": [
|
376
|
-
# group:admins@example.com", "domain:google.com", "
|
377
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
378
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
379
|
-
# title": "expirable access", "description": "Does not grant
|
380
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
381
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
382
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
383
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
384
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
385
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
386
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
387
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
388
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
389
|
-
# google.com/iam/docs/).
|
365
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
366
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
367
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
368
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
369
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
370
|
+
# logical expression that allows access to a resource only if the expression
|
371
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
372
|
+
# the request, the resource, or both. To learn which resources support
|
373
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
374
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
375
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
376
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
377
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
378
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
379
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
380
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
381
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
382
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
383
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
384
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
385
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
386
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
387
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
388
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
389
|
+
# cloud.google.com/iam/docs/).
|
390
390
|
class Policy
|
391
391
|
include Google::Apis::Core::Hashable
|
392
392
|
|
@@ -395,9 +395,14 @@ module Google
|
|
395
395
|
# @return [Array<Google::Apis::SourcerepoV1::AuditConfig>]
|
396
396
|
attr_accessor :audit_configs
|
397
397
|
|
398
|
-
# Associates a list of `members
|
399
|
-
# condition` that determines how and when the `bindings` are applied.
|
400
|
-
# the `bindings` must contain at least one
|
398
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
399
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
400
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
401
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
402
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
403
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
404
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
405
|
+
# principals to the `bindings` in the `Policy`.
|
401
406
|
# Corresponds to the JSON property `bindings`
|
402
407
|
# @return [Array<Google::Apis::SourcerepoV1::Binding>]
|
403
408
|
attr_accessor :bindings
|
@@ -573,31 +578,31 @@ module Google
|
|
573
578
|
|
574
579
|
# An Identity and Access Management (IAM) policy, which specifies access
|
575
580
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
576
|
-
# A `binding` binds one or more `members
|
577
|
-
# user accounts, service accounts, Google groups, and domains (
|
578
|
-
# A `role` is a named list of permissions; each `role` can be
|
579
|
-
# role or a user-created custom role. For some types of Google
|
580
|
-
# a `binding` can also specify a `condition`, which is a
|
581
|
-
# allows access to a resource only if the expression
|
582
|
-
# condition can add constraints based on attributes of
|
583
|
-
# or both. To learn which resources support
|
584
|
-
# see the [IAM documentation](https://cloud.
|
585
|
-
# resource-policies). **JSON example:** ` "
|
586
|
-
# resourcemanager.organizationAdmin", "members": [
|
587
|
-
# group:admins@example.com", "domain:google.com", "
|
588
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
589
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
590
|
-
# title": "expirable access", "description": "Does not grant
|
591
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
592
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
593
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
594
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
595
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
596
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
597
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
598
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
599
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
600
|
-
# google.com/iam/docs/).
|
581
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
582
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
583
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
584
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
585
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
586
|
+
# logical expression that allows access to a resource only if the expression
|
587
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
588
|
+
# the request, the resource, or both. To learn which resources support
|
589
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
590
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
591
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
592
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
593
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
594
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
595
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
596
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
597
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
598
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
599
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
600
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
601
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
602
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
603
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
604
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
605
|
+
# cloud.google.com/iam/docs/).
|
601
606
|
# Corresponds to the JSON property `policy`
|
602
607
|
# @return [Google::Apis::SourcerepoV1::Policy]
|
603
608
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SourcerepoV1
|
18
18
|
# Version of the google-apis-sourcerepo_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211012"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sourcerepo_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sourcerepo_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sourcerepo_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sourcerepo_v1/v0.8.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sourcerepo_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|