Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2791

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions admin/directory/v1/admin-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@
"type": "string"
},
"userKey": {
"description": "Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object.",
"description": "Email or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object. Cannot be used with the `customer` parameter.",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -4671,7 +4671,7 @@
}
}
},
"revision": "20240903",
"revision": "20240917",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down
3 changes: 2 additions & 1 deletion admin/directory/v1/admin-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 batch/v1/batch-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
}
}
},
"revision": "20240821",
"revision": "20240911",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1287,7 +1287,7 @@
"type": "boolean"
},
"instanceTemplate": {
"description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid c++ keyword conflict.",
"description": "Name of an instance template used to create VMs. Named the field as 'instance_template' instead of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates. You can specify the global instance template as a full or partial URL.",
"type": "string"
},
"policy": {
Expand Down
5 changes: 3 additions & 2 deletions batch/v1/batch-gen.go

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

68 changes: 67 additions & 1 deletion bigquerydatatransfer/v1/bigquerydatatransfer-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@
}
}
},
"revision": "20240806",
"revision": "20240914",
"rootUrl": "https://bigquerydatatransfer.googleapis.com/",
"schemas": {
"CheckValidCredsRequest": {
Expand Down Expand Up @@ -1691,6 +1691,17 @@
},
"type": "object"
},
"EventDrivenSchedule": {
"description": "Options customizing EventDriven transfers schedule.",
"id": "EventDrivenSchedule",
"properties": {
"pubsubSubscription": {
"description": "Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}",
"type": "string"
}
},
"type": "object"
},
"ListDataSourcesResponse": {
"description": "Returns list of supported data sources and their metadata.",
"id": "ListDataSourcesResponse",
Expand Down Expand Up @@ -1822,6 +1833,12 @@
},
"type": "object"
},
"ManualSchedule": {
"description": "Options customizing manual transfers schedule.",
"id": "ManualSchedule",
"properties": {},
"type": "object"
},
"ScheduleOptions": {
"description": "Options customizing the data transfer schedule.",
"id": "ScheduleOptions",
Expand All @@ -1843,6 +1860,25 @@
},
"type": "object"
},
"ScheduleOptionsV2": {
"description": "V2 options customizing different types of data transfer schedule. This field supports existing time-based and manual transfer schedule. Also supports Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.",
"id": "ScheduleOptionsV2",
"properties": {
"eventDrivenSchedule": {
"$ref": "EventDrivenSchedule",
"description": "Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial."
},
"manualSchedule": {
"$ref": "ManualSchedule",
"description": "Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true."
},
"timeBasedSchedule": {
"$ref": "TimeBasedSchedule",
"description": "Time based transfer schedule options. This is the default schedule option."
}
},
"type": "object"
},
"ScheduleTransferRunsRequest": {
"description": "A request to schedule transfer runs for a time range.",
"id": "ScheduleTransferRunsRequest",
Expand Down Expand Up @@ -1931,6 +1967,27 @@
},
"type": "object"
},
"TimeBasedSchedule": {
"description": "Options customizing the time based transfer schedule. Options are migrated from the original ScheduleOptions message.",
"id": "TimeBasedSchedule",
"properties": {
"endTime": {
"description": "Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment.",
"format": "google-datetime",
"type": "string"
},
"schedule": {
"description": "Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.",
"type": "string"
},
"startTime": {
"description": "Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"TimeRange": {
"description": "A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive).",
"id": "TimeRange",
Expand Down Expand Up @@ -1986,6 +2043,11 @@
"$ref": "EncryptionConfiguration",
"description": "The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent."
},
"error": {
"$ref": "Status",
"description": "Output only. Error code with detailed information about reason of the latest config failure.",
"readOnly": true
},
"name": {
"description": "Identifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.",
"type": "string"
Expand Down Expand Up @@ -2021,6 +2083,10 @@
"$ref": "ScheduleOptions",
"description": "Options customizing the data transfer schedule."
},
"scheduleOptionsV2": {
"$ref": "ScheduleOptionsV2",
"description": "Options customizing different types of data transfer schedule. This field replaces \"schedule\" and \"schedule_options\" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule."
},
"state": {
"description": "Output only. State of the most recently updated transfer run.",
"enum": [
Expand Down
109 changes: 109 additions & 0 deletions bigquerydatatransfer/v1/bigquerydatatransfer-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 drive/v2/drive-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1758,7 +1758,7 @@
"type": "integer"
},
"orderBy": {
"description": "A comma-separated list of sort keys. Valid keys are `createdDate`, `folder`, `lastViewedByMeDate`, `modifiedByMeDate`, `modifiedDate`, `quotaBytesUsed`, `recency`, `sharedWithMeDate`, `starred`, `title`, and `title_natural`. Each key sorts ascending by default, but may be reversed with the `desc` modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.",
"description": "A comma-separated list of sort keys. Valid keys are: * `createdDate`: When the file was created. * `folder`: The folder ID. This field is sorted using alphabetical ordering. * `lastViewedByMeDate`: The last time the file was viewed by the user. * `modifiedByMeDate`: The last time the file was modified by the user. * `modifiedDate`: The last time the file was modified by anyone. * `quotaBytesUsed`: The number of storage quota bytes used by the file. * `recency`: The most recent timestamp from the file's date-time fields. * `sharedWithMeDate`: When the file was shared with the user, if applicable. * `starred`: Whether the user has starred the file. * `title`: The title of the file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22. * `title_natural`: The title of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22. Each key sorts ascending by default, but can be reversed with the 'desc' modifier. Example usage: `?orderBy=folder,modifiedDate desc,title`. Note that there's a current limitation for users with approximately one million files in which the requested sort order is ignored.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -3869,7 +3869,7 @@
}
}
},
"revision": "20240809",
"revision": "20240914",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down
Loading