google-apis-sourcerepo_v1 0.5.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f118068169ff2f8c603fb36b0d635ded69e7859fc7f9c5dcacc243b51a890f84
4
- data.tar.gz: 55448a481cb41053ec846b61e016f8dd03782e131741b4ced1302e146491d7ed
3
+ metadata.gz: 3fe5eb99222b91c6cf92a983d9932db17b13a5fce5d5f849fd74045d4b30db60
4
+ data.tar.gz: 561cccb270ab31456163cdcf9c71641bdde9fcc64ca316cea8feec2fe87c6d40
5
5
  SHA512:
6
- metadata.gz: b72afd2fcecb78c0e8278165617ac6b183b0a42deee0aace6ae063f0f5cb6c86d30cb0c80e9608cb1b037560e8b1aa6800fb3a9b51de8fbd2ca0c2a0556503be
7
- data.tar.gz: 276aa77976239aeeda0fb5c060329713f051d79272364e4940e7e24d80f55a0b3d2c04d5a7422cd2f4ecffa5d9113be20716145b74d20a66940283310e38e9b3
6
+ metadata.gz: c80a77b20696812dbc453cbf6ddc9bfa9c51525e8053638a1b72c903d1bfd3ac1f71b275b257d4833709c73435ea5849c6130ab035970a3d125cbea7e0bad354
7
+ data.tar.gz: 8ea12e904c108d40167dec9d738ecee4a88f09ee8027f752c11d9f5d4b29457c89c2f506440a6d27686f388e975de315b3c84000732f66f3da2e6b94c614cf75
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-sourcerepo_v1
2
2
 
3
+ ### v0.9.0 (2021-12-16)
4
+
5
+ * Regenerated from discovery document revision 20211206
6
+
7
+ ### v0.8.0 (2021-10-22)
8
+
9
+ * Regenerated from discovery document revision 20211012
10
+ * Unspecified changes
11
+
12
+ ### v0.7.0 (2021-10-07)
13
+
14
+ * Regenerated from discovery document revision 20210928
15
+
16
+ ### v0.6.0 (2021-06-29)
17
+
18
+ * Regenerated using generator version 0.4.0
19
+
3
20
  ### v0.5.0 (2021-06-24)
4
21
 
5
22
  * Regenerated using generator version 0.3.0
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.authentication = # ... use the googleauth gem to create credentials
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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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` with a `role`.
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 identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
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` to a single `role`. Members can be
366
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
367
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
368
- # role or a user-created custom role. For some types of Google Cloud resources,
369
- # a `binding` can also specify a `condition`, which is a logical expression that
370
- # allows access to a resource only if the expression evaluates to `true`. A
371
- # condition can add constraints based on attributes of the request, the resource,
372
- # or both. To learn which resources support conditions in their IAM policies,
373
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
374
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
375
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
376
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
377
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
378
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
379
- # title": "expirable access", "description": "Does not grant access after Sep
380
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
381
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
382
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
383
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
384
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
385
- # roles/resourcemanager.organizationViewer condition: title: expirable access
386
- # description: Does not grant access after Sep 2020 expression: request.time <
387
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
388
- # description of IAM and its features, see the [IAM documentation](https://cloud.
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` to a `role`. Optionally, may specify a `
399
- # condition` that determines how and when the `bindings` are applied. Each of
400
- # the `bindings` must contain at least one member.
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` to a single `role`. Members can be
577
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
578
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
579
- # role or a user-created custom role. For some types of Google Cloud resources,
580
- # a `binding` can also specify a `condition`, which is a logical expression that
581
- # allows access to a resource only if the expression evaluates to `true`. A
582
- # condition can add constraints based on attributes of the request, the resource,
583
- # or both. To learn which resources support conditions in their IAM policies,
584
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
585
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
586
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
587
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
588
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
589
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
590
- # title": "expirable access", "description": "Does not grant access after Sep
591
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
592
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
593
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
594
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
595
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
596
- # roles/resourcemanager.organizationViewer condition: title: expirable access
597
- # description: Does not grant access after Sep 2020 expression: request.time <
598
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
599
- # description of IAM and its features, see the [IAM documentation](https://cloud.
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.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210428"
25
+ REVISION = "20211206"
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 format version to be returned. Valid values are 0, 1, and
217
- # 3. Requests specifying an invalid value will be rejected. Requests for
218
- # policies with any conditional bindings must specify version 3. Policies
219
- # without any conditional bindings may specify any valid value or leave the
220
- # field unset. To learn which resources support conditions in their IAM policies,
221
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
222
- # resource-policies).
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
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # Manage your source code repositories
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.5.0
4
+ version: 0.9.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-06-28 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/master/generated/google-apis-sourcerepo_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sourcerepo_v1/v0.5.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sourcerepo_v1
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.9.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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Source Repositories API V1