google-apis-sourcerepo_v1 0.7.0 → 0.10.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 +14 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/sourcerepo_v1/classes.rb +63 -59
- data/lib/google/apis/sourcerepo_v1/gem_version.rb +3 -3
- data/lib/google/apis/sourcerepo_v1/service.rb +10 -7
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5247d051be6c578f1844e6441eb35d7b00bc189fa1a5ffb797b33a156974e8d0
|
4
|
+
data.tar.gz: ff30517460bd02304a2cb7183e27107ff96011a940c6216feedfd1e0a47c025c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88e9d0e6ab8254712e70b4a7506c9c2ef99e16354c2dd0f83afa95a66e4de034044e56354ba3d811d1fdfc95ed051c3cf48a00ff4b24f987d5dfe3a774d76657
|
7
|
+
data.tar.gz: 4f7f3198413e0f14507c9247e1174df178f7f1f15891a0f43bcfd671f49f68014f33cd67f3a77d61d8054b28a8c7230e7c4fe59c318e6da5837d4782e99b7026
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-sourcerepo_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2022-03-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220319
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.9.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211206
|
11
|
+
|
12
|
+
### v0.8.0 (2021-10-22)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211012
|
15
|
+
* Unspecified changes
|
16
|
+
|
3
17
|
### v0.7.0 (2021-10-07)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20210928
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/sourcerepo_v1"
|
|
51
51
|
client = Google::Apis::SourcerepoV1::CloudSourceRepositoriesService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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
|
@@ -167,8 +167,7 @@ module Google
|
|
167
167
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
168
168
|
# messages in your APIs. A typical example is to use it as the request or the
|
169
169
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
170
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
171
|
-
# `Empty` is empty JSON object ````.
|
170
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
172
171
|
class Empty
|
173
172
|
include Google::Apis::Core::Hashable
|
174
173
|
|
@@ -362,31 +361,31 @@ module Google
|
|
362
361
|
|
363
362
|
# An Identity and Access Management (IAM) policy, which specifies access
|
364
363
|
# 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/).
|
364
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
365
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
366
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
367
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
368
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
369
|
+
# logical expression that allows access to a resource only if the expression
|
370
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
371
|
+
# the request, the resource, or both. To learn which resources support
|
372
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
373
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
374
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
375
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
376
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
377
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
378
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
379
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
380
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
381
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
382
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
383
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
384
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
385
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
386
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
387
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
388
|
+
# cloud.google.com/iam/docs/).
|
390
389
|
class Policy
|
391
390
|
include Google::Apis::Core::Hashable
|
392
391
|
|
@@ -395,9 +394,14 @@ module Google
|
|
395
394
|
# @return [Array<Google::Apis::SourcerepoV1::AuditConfig>]
|
396
395
|
attr_accessor :audit_configs
|
397
396
|
|
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
|
397
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
398
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
399
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
400
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
401
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
402
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
403
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
404
|
+
# principals to the `bindings` in the `Policy`.
|
401
405
|
# Corresponds to the JSON property `bindings`
|
402
406
|
# @return [Array<Google::Apis::SourcerepoV1::Binding>]
|
403
407
|
attr_accessor :bindings
|
@@ -573,31 +577,31 @@ module Google
|
|
573
577
|
|
574
578
|
# An Identity and Access Management (IAM) policy, which specifies access
|
575
579
|
# 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/).
|
580
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
581
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
582
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
583
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
584
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
585
|
+
# logical expression that allows access to a resource only if the expression
|
586
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
587
|
+
# the request, the resource, or both. To learn which resources support
|
588
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
589
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
590
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
591
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
592
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
593
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
594
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
595
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
596
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
597
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
598
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
599
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
600
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
601
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
602
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
603
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
604
|
+
# cloud.google.com/iam/docs/).
|
601
605
|
# Corresponds to the JSON property `policy`
|
602
606
|
# @return [Google::Apis::SourcerepoV1::Policy]
|
603
607
|
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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220319"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -213,13 +213,16 @@ module Google
|
|
213
213
|
# REQUIRED: The resource for which the policy is being requested. See the
|
214
214
|
# operation documentation for the appropriate value for this field.
|
215
215
|
# @param [Fixnum] options_requested_policy_version
|
216
|
-
# Optional. The policy
|
217
|
-
# 3. Requests specifying an invalid value will be
|
218
|
-
# policies with any conditional bindings must
|
219
|
-
#
|
220
|
-
# field unset.
|
221
|
-
#
|
222
|
-
#
|
216
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
217
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
218
|
+
# rejected. Requests for policies with any conditional role bindings must
|
219
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
220
|
+
# valid value or leave the field unset. The policy in the response might use the
|
221
|
+
# policy version that you specified, or it might use a lower policy version. For
|
222
|
+
# example, if you specify version 3, but the policy has no conditional role
|
223
|
+
# bindings, the response uses version 1. To learn which resources support
|
224
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
225
|
+
# google.com/iam/help/conditions/resource-policies).
|
223
226
|
# @param [String] fields
|
224
227
|
# Selector specifying which fields to include in a partial response.
|
225
228
|
# @param [String] quota_user
|
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.10.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:
|
11
|
+
date: 2022-03-28 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.10.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:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Source Repositories API V1
|