diff --git a/artifactregistry/v1/artifactregistry-api.json b/artifactregistry/v1/artifactregistry-api.json index 481d85e8848..5068f79060d 100644 --- a/artifactregistry/v1/artifactregistry-api.json +++ b/artifactregistry/v1/artifactregistry-api.json @@ -1713,7 +1713,7 @@ } } }, - "revision": "20231002", + "revision": "20231018", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -3013,6 +3013,10 @@ "$ref": "PythonRepository", "description": "Specific settings for a Python remote repository." }, + "upstreamCredentials": { + "$ref": "UpstreamCredentials", + "description": "Optional. The credentials used to access the remote repository." + }, "yumRepository": { "$ref": "YumRepository", "description": "Specific settings for a Yum remote repository." @@ -3390,6 +3394,17 @@ }, "type": "object" }, + "UpstreamCredentials": { + "description": "The credentials to access the remote repository.", + "id": "UpstreamCredentials", + "properties": { + "usernamePasswordCredentials": { + "$ref": "UsernamePasswordCredentials", + "description": "Use username and password to access the remote repository." + } + }, + "type": "object" + }, "UpstreamPolicy": { "description": "Artifact policy configuration for the repository contents.", "id": "UpstreamPolicy", @@ -3410,6 +3425,21 @@ }, "type": "object" }, + "UsernamePasswordCredentials": { + "description": "Username and password credentials.", + "id": "UsernamePasswordCredentials", + "properties": { + "passwordSecretVersion": { + "description": "The Secret Manager key version that holds the password to access the remote repository. Must be in the format of `projects/{project}/secrets/{secret}/versions/{version}`.", + "type": "string" + }, + "username": { + "description": "The username to access the remote repository.", + "type": "string" + } + }, + "type": "object" + }, "VPCSCConfig": { "description": "The Artifact Registry VPC SC config that apply to a Project.", "id": "VPCSCConfig", diff --git a/artifactregistry/v1/artifactregistry-gen.go b/artifactregistry/v1/artifactregistry-gen.go index fc98e76c1fa..b6576b3dfbd 100644 --- a/artifactregistry/v1/artifactregistry-gen.go +++ b/artifactregistry/v1/artifactregistry-gen.go @@ -2625,6 +2625,10 @@ type RemoteRepositoryConfig struct { // PythonRepository: Specific settings for a Python remote repository. PythonRepository *PythonRepository `json:"pythonRepository,omitempty"` + // UpstreamCredentials: Optional. The credentials used to access the + // remote repository. + UpstreamCredentials *UpstreamCredentials `json:"upstreamCredentials,omitempty"` + // YumRepository: Specific settings for a Yum remote repository. YumRepository *YumRepository `json:"yumRepository,omitempty"` @@ -3282,6 +3286,37 @@ func (s *UploadYumArtifactResponse) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// UpstreamCredentials: The credentials to access the remote repository. +type UpstreamCredentials struct { + // UsernamePasswordCredentials: Use username and password to access the + // remote repository. + UsernamePasswordCredentials *UsernamePasswordCredentials `json:"usernamePasswordCredentials,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "UsernamePasswordCredentials") to unconditionally include in API + // requests. By default, fields with empty or default values are omitted + // from API requests. However, any non-pointer, non-interface field + // appearing in ForceSendFields will be sent to the server regardless of + // whether the field is empty or not. This may be used to include empty + // fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. + // "UsernamePasswordCredentials") to include in API requests with the + // JSON null value. By default, fields with empty values are omitted + // from API requests. However, any field with an empty value appearing + // in NullFields will be sent to the server as null. It is an error if a + // field in this list has a non-empty value. This may be used to include + // null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *UpstreamCredentials) MarshalJSON() ([]byte, error) { + type NoMethod UpstreamCredentials + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // UpstreamPolicy: Artifact policy configuration for the repository // contents. type UpstreamPolicy struct { @@ -3319,6 +3354,41 @@ func (s *UpstreamPolicy) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// UsernamePasswordCredentials: Username and password credentials. +type UsernamePasswordCredentials struct { + // PasswordSecretVersion: The Secret Manager key version that holds the + // password to access the remote repository. Must be in the format of + // `projects/{project}/secrets/{secret}/versions/{version}`. + PasswordSecretVersion string `json:"passwordSecretVersion,omitempty"` + + // Username: The username to access the remote repository. + Username string `json:"username,omitempty"` + + // ForceSendFields is a list of field names (e.g. + // "PasswordSecretVersion") to unconditionally include in API requests. + // By default, fields with empty or default values are omitted from API + // requests. However, any non-pointer, non-interface field appearing in + // ForceSendFields will be sent to the server regardless of whether the + // field is empty or not. This may be used to include empty fields in + // Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "PasswordSecretVersion") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *UsernamePasswordCredentials) MarshalJSON() ([]byte, error) { + type NoMethod UsernamePasswordCredentials + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // VPCSCConfig: The Artifact Registry VPC SC config that apply to a // Project. type VPCSCConfig struct { diff --git a/batch/v1/batch-api.json b/batch/v1/batch-api.json index 0f95fa26e45..0de4d032afb 100644 --- a/batch/v1/batch-api.json +++ b/batch/v1/batch-api.json @@ -561,7 +561,7 @@ } } }, - "revision": "20230929", + "revision": "20231009", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -2033,7 +2033,7 @@ "type": "string" }, "parallelism": { - "description": "Max number of tasks that can run in parallel. Default to min(task_count, 1000). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.", + "description": "Max number of tasks that can run in parallel. Default to min(task_count, parallel tasks per job limit). See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). Field parallelism must be 1 if the scheduling_policy is IN_ORDER.", "format": "int64", "type": "string" }, diff --git a/batch/v1/batch-gen.go b/batch/v1/batch-gen.go index 4a19c8c777b..d25d28defe5 100644 --- a/batch/v1/batch-gen.go +++ b/batch/v1/batch-gen.go @@ -2637,8 +2637,9 @@ type TaskGroup struct { Name string `json:"name,omitempty"` // Parallelism: Max number of tasks that can run in parallel. Default to - // min(task_count, 1000). Field parallelism must be 1 if the - // scheduling_policy is IN_ORDER. + // min(task_count, parallel tasks per job limit). See: Job Limits + // (https://cloud.google.com/batch/quotas#job_limits). Field parallelism + // must be 1 if the scheduling_policy is IN_ORDER. Parallelism int64 `json:"parallelism,omitempty,string"` // PermissiveSsh: When true, Batch will configure SSH to allow diff --git a/workflowexecutions/v1/workflowexecutions-api.json b/workflowexecutions/v1/workflowexecutions-api.json index d451caa2a2b..a01d0423694 100644 --- a/workflowexecutions/v1/workflowexecutions-api.json +++ b/workflowexecutions/v1/workflowexecutions-api.json @@ -274,12 +274,12 @@ ], "parameters": { "filter": { - "description": "Optional. Filters applied to the [Executions.ListExecutions] results. The following fields are supported for filtering: executionID, state, startTime, endTime, duration, workflowRevisionID, stepName, and label.", + "description": "Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `startTime\u003e\"2023-08-01\" AND state=\"FAILED\"`", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. The ordering applied to the [Executions.ListExecutions] results. By default the ordering is based on descending start time. The following fields are supported for order by: executionID, startTime, endTime, duration, state, and workflowRevisionID.", + "description": "Optional. Comma-separated list of fields that specify the ordering applied to the `[Executions.ListExecutions]` results. By default the ordering is based on descending `startTime`. The following fields are supported for ordering: `executionId`, `state`, `startTime`, `endTime`, `duration`, and `workflowRevisionId`. For details, see AIP-132.", "location": "query", "type": "string" }, @@ -376,7 +376,7 @@ } } }, - "revision": "20230912", + "revision": "20231016", "rootUrl": "https://workflowexecutions.googleapis.com/", "schemas": { "Callback": { diff --git a/workflowexecutions/v1/workflowexecutions-gen.go b/workflowexecutions/v1/workflowexecutions-gen.go index 596a6150fda..b6c84f26770 100644 --- a/workflowexecutions/v1/workflowexecutions-gen.go +++ b/workflowexecutions/v1/workflowexecutions-gen.go @@ -1612,19 +1612,23 @@ func (r *ProjectsLocationsWorkflowsExecutionsService) List(parent string) *Proje } // Filter sets the optional parameter "filter": Filters applied to the -// [Executions.ListExecutions] results. The following fields are -// supported for filtering: executionID, state, startTime, endTime, -// duration, workflowRevisionID, stepName, and label. +// `[Executions.ListExecutions]` results. The following fields are +// supported for filtering: `executionId`, `state`, `startTime`, +// `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. +// For details, see AIP-160. For example, if you are using the Google +// APIs Explorer: `state="SUCCEEDED" or `startTime>"2023-08-01" AND +// state="FAILED" func (c *ProjectsLocationsWorkflowsExecutionsListCall) Filter(filter string) *ProjectsLocationsWorkflowsExecutionsListCall { c.urlParams_.Set("filter", filter) return c } -// OrderBy sets the optional parameter "orderBy": The ordering applied -// to the [Executions.ListExecutions] results. By default the ordering -// is based on descending start time. The following fields are supported -// for order by: executionID, startTime, endTime, duration, state, and -// workflowRevisionID. +// OrderBy sets the optional parameter "orderBy": Comma-separated list +// of fields that specify the ordering applied to the +// `[Executions.ListExecutions]` results. By default the ordering is +// based on descending `startTime`. The following fields are supported +// for ordering: `executionId`, `state`, `startTime`, `endTime`, +// `duration`, and `workflowRevisionId`. For details, see AIP-132. func (c *ProjectsLocationsWorkflowsExecutionsListCall) OrderBy(orderBy string) *ProjectsLocationsWorkflowsExecutionsListCall { c.urlParams_.Set("orderBy", orderBy) return c @@ -1778,12 +1782,12 @@ func (c *ProjectsLocationsWorkflowsExecutionsListCall) Do(opts ...googleapi.Call // ], // "parameters": { // "filter": { - // "description": "Optional. Filters applied to the [Executions.ListExecutions] results. The following fields are supported for filtering: executionID, state, startTime, endTime, duration, workflowRevisionID, stepName, and label.", + // "description": "Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `startTime\u003e\"2023-08-01\" AND state=\"FAILED\"`", // "location": "query", // "type": "string" // }, // "orderBy": { - // "description": "Optional. The ordering applied to the [Executions.ListExecutions] results. By default the ordering is based on descending start time. The following fields are supported for order by: executionID, startTime, endTime, duration, state, and workflowRevisionID.", + // "description": "Optional. Comma-separated list of fields that specify the ordering applied to the `[Executions.ListExecutions]` results. By default the ordering is based on descending `startTime`. The following fields are supported for ordering: `executionId`, `state`, `startTime`, `endTime`, `duration`, and `workflowRevisionId`. For details, see AIP-132.", // "location": "query", // "type": "string" // },