@googleapis/sourcerepo 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ### [0.3.5](https://github.com/googleapis/google-api-nodejs-client/compare/sourcerepo-v0.3.4...sourcerepo-v0.3.5) (2022-04-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **sourcerepo:** update the API ([13c4e9b](https://github.com/googleapis/google-api-nodejs-client/commit/13c4e9b27676fcf93e1a14d6916dccb5481bd53a))
9
+
3
10
  ### [0.3.4](https://github.com/googleapis/google-api-nodejs-client/compare/sourcerepo-v0.3.3...sourcerepo-v0.3.4) (2022-03-23)
4
11
 
5
12
 
package/build/v1.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare namespace sourcerepo_v1 {
72
72
  constructor(options: GlobalOptions, google?: GoogleConfigurable);
73
73
  }
74
74
  /**
75
- * 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 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 AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
75
+ * 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 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 AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
76
76
  */
77
77
  export interface Schema$AuditConfig {
78
78
  /**
@@ -106,7 +106,7 @@ export declare namespace sourcerepo_v1 {
106
106
  */
107
107
  condition?: Schema$Expr;
108
108
  /**
109
- * Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
109
+ * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
110
110
  */
111
111
  members?: string[] | null;
112
112
  /**
@@ -288,7 +288,7 @@ export declare namespace sourcerepo_v1 {
288
288
  */
289
289
  export interface Schema$SetIamPolicyRequest {
290
290
  /**
291
- * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
291
+ * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
292
292
  */
293
293
  policy?: Schema$Policy;
294
294
  /**
@@ -346,7 +346,7 @@ export declare namespace sourcerepo_v1 {
346
346
  */
347
347
  export interface Schema$TestIamPermissionsRequest {
348
348
  /**
349
- * The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
349
+ * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
350
350
  */
351
351
  permissions?: string[] | null;
352
352
  }
@@ -765,7 +765,7 @@ export declare namespace sourcerepo_v1 {
765
765
  * const res = await sourcerepo.projects.repos.getIamPolicy({
766
766
  * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
767
767
  * 'options.requestedPolicyVersion': 'placeholder-value',
768
- * // REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
768
+ * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
769
769
  * resource: 'projects/my-project/repos/.*',
770
770
  * });
771
771
  * console.log(res.data);
@@ -962,7 +962,7 @@ export declare namespace sourcerepo_v1 {
962
962
  *
963
963
  * // Do the magic
964
964
  * const res = await sourcerepo.projects.repos.setIamPolicy({
965
- * // REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
965
+ * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
966
966
  * resource: 'projects/my-project/repos/.*',
967
967
  *
968
968
  * // Request body metadata
@@ -1101,7 +1101,7 @@ export declare namespace sourcerepo_v1 {
1101
1101
  *
1102
1102
  * // Do the magic
1103
1103
  * const res = await sourcerepo.projects.repos.testIamPermissions({
1104
- * // REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
1104
+ * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1105
1105
  * resource: 'projects/my-project/repos/.*',
1106
1106
  *
1107
1107
  * // Request body metadata
@@ -1167,7 +1167,7 @@ export declare namespace sourcerepo_v1 {
1167
1167
  */
1168
1168
  'options.requestedPolicyVersion'?: number;
1169
1169
  /**
1170
- * REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
1170
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1171
1171
  */
1172
1172
  resource?: string;
1173
1173
  }
@@ -1197,7 +1197,7 @@ export declare namespace sourcerepo_v1 {
1197
1197
  }
1198
1198
  export interface Params$Resource$Projects$Repos$Setiampolicy extends StandardParameters {
1199
1199
  /**
1200
- * REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
1200
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1201
1201
  */
1202
1202
  resource?: string;
1203
1203
  /**
@@ -1217,7 +1217,7 @@ export declare namespace sourcerepo_v1 {
1217
1217
  }
1218
1218
  export interface Params$Resource$Projects$Repos$Testiampermissions extends StandardParameters {
1219
1219
  /**
1220
- * REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
1220
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1221
1221
  */
1222
1222
  resource?: string;
1223
1223
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/sourcerepo",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "sourcerepo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -126,7 +126,7 @@ export namespace sourcerepo_v1 {
126
126
  }
127
127
 
128
128
  /**
129
- * 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 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 AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
129
+ * 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 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 AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
130
130
  */
131
131
  export interface Schema$AuditConfig {
132
132
  /**
@@ -160,7 +160,7 @@ export namespace sourcerepo_v1 {
160
160
  */
161
161
  condition?: Schema$Expr;
162
162
  /**
163
- * Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
163
+ * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
164
164
  */
165
165
  members?: string[] | null;
166
166
  /**
@@ -333,7 +333,7 @@ export namespace sourcerepo_v1 {
333
333
  */
334
334
  export interface Schema$SetIamPolicyRequest {
335
335
  /**
336
- * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
336
+ * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
337
337
  */
338
338
  policy?: Schema$Policy;
339
339
  /**
@@ -388,7 +388,7 @@ export namespace sourcerepo_v1 {
388
388
  */
389
389
  export interface Schema$TestIamPermissionsRequest {
390
390
  /**
391
- * The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
391
+ * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
392
392
  */
393
393
  permissions?: string[] | null;
394
394
  }
@@ -1172,7 +1172,7 @@ export namespace sourcerepo_v1 {
1172
1172
  * const res = await sourcerepo.projects.repos.getIamPolicy({
1173
1173
  * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1174
1174
  * 'options.requestedPolicyVersion': 'placeholder-value',
1175
- * // REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
1175
+ * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1176
1176
  * resource: 'projects/my-project/repos/.*',
1177
1177
  * });
1178
1178
  * console.log(res.data);
@@ -1585,7 +1585,7 @@ export namespace sourcerepo_v1 {
1585
1585
  *
1586
1586
  * // Do the magic
1587
1587
  * const res = await sourcerepo.projects.repos.setIamPolicy({
1588
- * // REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
1588
+ * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1589
1589
  * resource: 'projects/my-project/repos/.*',
1590
1590
  *
1591
1591
  * // Request body metadata
@@ -1867,7 +1867,7 @@ export namespace sourcerepo_v1 {
1867
1867
  *
1868
1868
  * // Do the magic
1869
1869
  * const res = await sourcerepo.projects.repos.testIamPermissions({
1870
- * // REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
1870
+ * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
1871
1871
  * resource: 'projects/my-project/repos/.*',
1872
1872
  *
1873
1873
  * // Request body metadata
@@ -2018,7 +2018,7 @@ export namespace sourcerepo_v1 {
2018
2018
  */
2019
2019
  'options.requestedPolicyVersion'?: number;
2020
2020
  /**
2021
- * REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
2021
+ * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2022
2022
  */
2023
2023
  resource?: string;
2024
2024
  }
@@ -2052,7 +2052,7 @@ export namespace sourcerepo_v1 {
2052
2052
  export interface Params$Resource$Projects$Repos$Setiampolicy
2053
2053
  extends StandardParameters {
2054
2054
  /**
2055
- * REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
2055
+ * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2056
2056
  */
2057
2057
  resource?: string;
2058
2058
 
@@ -2076,7 +2076,7 @@ export namespace sourcerepo_v1 {
2076
2076
  export interface Params$Resource$Projects$Repos$Testiampermissions
2077
2077
  extends StandardParameters {
2078
2078
  /**
2079
- * REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
2079
+ * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
2080
2080
  */
2081
2081
  resource?: string;
2082
2082