Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 9, 2023
1 parent b6072d6 commit 161e093
Show file tree
Hide file tree
Showing 36 changed files with 818 additions and 326 deletions.
35 changes: 2 additions & 33 deletions artifactregistry/v1/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@
}
}
},
"revision": "20230809",
"revision": "20230905",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -3069,10 +3069,6 @@
"readOnly": true,
"type": "boolean"
},
"sbomConfig": {
"$ref": "SbomConfig",
"description": "Optional. Config and state for sbom generation for resources within this Repository."
},
"sizeBytes": {
"description": "Output only. The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.",
"format": "int64",
Expand All @@ -3092,33 +3088,6 @@
},
"type": "object"
},
"SbomConfig": {
"description": "Config for whether to generate SBOMs for resources in this repository, as well as output fields describing current state.",
"id": "SbomConfig",
"properties": {
"enablementConfig": {
"description": "Optional. Config for whether this repository has sbom generation disabled.",
"enum": [
"ENABLEMENT_CONFIG_UNSPECIFIED",
"INHERITED",
"DISABLED"
],
"enumDescriptions": [
"Unspecified config was not set. This will be interpreted as DISABLED.",
"Inherited indicates the repository is allowed for SBOM generation, however the actual state will be inherited from the API enablement state.",
"Disabled indicates the repository will not generate SBOMs."
],
"type": "string"
},
"lastEnableTime": {
"description": "Output only. The last time this repository config was set to INHERITED.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SetIamPolicyRequest": {
"description": "Request message for `SetIamPolicy` method.",
"id": "SetIamPolicyRequest",
Expand Down Expand Up @@ -3360,7 +3329,7 @@
"id": "UploadYumArtifactResponse",
"properties": {
"yumArtifacts": {
"description": "The Apt artifacts updated.",
"description": "The Yum artifacts updated.",
"items": {
"$ref": "YumArtifact"
},
Expand Down
50 changes: 1 addition & 49 deletions artifactregistry/v1/artifactregistry-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions artifactregistry/v1beta2/artifactregistry-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@
}
}
},
"revision": "20230803",
"revision": "20230905",
"rootUrl": "https://artifactregistry.googleapis.com/",
"schemas": {
"AptArtifact": {
Expand Down Expand Up @@ -1957,7 +1957,7 @@
"id": "UploadYumArtifactResponse",
"properties": {
"yumArtifacts": {
"description": "The Apt artifacts updated.",
"description": "The Yum artifacts updated.",
"items": {
"$ref": "YumArtifact"
},
Expand Down
2 changes: 1 addition & 1 deletion artifactregistry/v1beta2/artifactregistry-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion composer/v1/composer-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@
}
}
},
"revision": "20230806",
"revision": "20230906",
"rootUrl": "https://composer.googleapis.com/",
"schemas": {
"AllowedIpRange": {
Expand Down Expand Up @@ -781,6 +781,10 @@
],
"type": "string"
},
"storageConfig": {
"$ref": "StorageConfig",
"description": "Optional. Storage configuration for this environment."
},
"updateTime": {
"description": "Output only. The time at which this environment was last modified.",
"format": "google-datetime",
Expand Down Expand Up @@ -1663,6 +1667,12 @@
},
"type": "object"
},
"StorageConfig": {
"description": "The configuration for data storage in the environment.",
"id": "StorageConfig",
"properties": {},
"type": "object"
},
"WebServerConfig": {
"description": "The configuration settings for the Airflow web server App Engine instance. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*",
"id": "WebServerConfig",
Expand Down
7 changes: 7 additions & 0 deletions composer/v1/composer-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions datastore/v1/datastore-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@
}
}
},
"revision": "20230806",
"revision": "20230905",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -2054,7 +2054,7 @@
"id": "PropertyReference",
"properties": {
"name": {
"description": "The name of the property. If name includes \".\"s, it may be interpreted as a property name path.",
"description": "A reference to a property. Requires: * MUST be a dot-delimited (`.`) string of segments, where each segment conforms to entity property name limitations.",
"type": "string"
}
},
Expand Down
5 changes: 3 additions & 2 deletions datastore/v1/datastore-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions datastore/v1beta3/datastore-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
}
}
},
"revision": "20230806",
"revision": "20230905",
"rootUrl": "https://datastore.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -1500,7 +1500,7 @@
"id": "PropertyReference",
"properties": {
"name": {
"description": "The name of the property. If name includes \".\"s, it may be interpreted as a property name path.",
"description": "A reference to a property. Requires: * MUST be a dot-delimited (`.`) string of segments, where each segment conforms to entity property name limitations.",
"type": "string"
}
},
Expand Down
5 changes: 3 additions & 2 deletions datastore/v1beta3/datastore-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions domains/v1/domains-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@
}
}
},
"revision": "20230503",
"revision": "20230904",
"rootUrl": "https://domains.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1495,7 +1495,7 @@
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
"type": "object"
}
},
Expand Down Expand Up @@ -1535,7 +1535,7 @@
"type": "object"
},
"Policy": {
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:[email protected]\", \"group:[email protected]\", \"domain:google.com\", \"serviceAccount:[email protected]\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:[email protected]\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:[email protected]\", \"group:[email protected]\", \"domain:google.com\", \"serviceAccount:[email protected]\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:[email protected]\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
"id": "Policy",
"properties": {
"auditConfigs": {
Expand Down
16 changes: 8 additions & 8 deletions domains/v1/domains-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 161e093

Please sign in to comment.