Skip to content

Commit

Permalink
feat: Generate Google.Apis.CloudRun.v1 version 1.69.0.3690
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa authored and jskeet committed Feb 17, 2025
1 parent b5945ab commit ec6236e
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 8 deletions.
69 changes: 67 additions & 2 deletions DiscoveryJson/run.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2614,7 +2614,7 @@
}
}
},
"revision": "20250131",
"revision": "20250207",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"Addressable": {
Expand Down Expand Up @@ -3276,7 +3276,7 @@
"id": "ExecutionSpec",
"properties": {
"parallelism": {
"description": "Optional. Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism.",
"description": "Optional. Specifies the maximum desired number of tasks the execution should run at given time. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism.",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -3584,6 +3584,13 @@
"readOnly": true,
"type": "string"
},
"dependencies": {
"description": "Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.",
"items": {
"$ref": "GoogleDevtoolsCloudbuildV1Dependency"
},
"type": "array"
},
"failureInfo": {
"$ref": "GoogleDevtoolsCloudbuildV1FailureInfo",
"description": "Output only. Contains information about the build when status=FAILURE.",
Expand Down Expand Up @@ -4150,6 +4157,21 @@
},
"type": "object"
},
"GoogleDevtoolsCloudbuildV1Dependency": {
"description": "A dependency that the Cloud Build worker will fetch before executing user steps.",
"id": "GoogleDevtoolsCloudbuildV1Dependency",
"properties": {
"empty": {
"description": "If set to true disable all dependency fetching (ignoring the default source as well).",
"type": "boolean"
},
"gitSource": {
"$ref": "GoogleDevtoolsCloudbuildV1GitSourceDependency",
"description": "Represents a git repository as a build dependency."
}
},
"type": "object"
},
"GoogleDevtoolsCloudbuildV1DeveloperConnectConfig": {
"description": "This config defines the location of a source through Developer Connect.",
"id": "GoogleDevtoolsCloudbuildV1DeveloperConnectConfig",
Expand Down Expand Up @@ -4246,6 +4268,49 @@
},
"type": "object"
},
"GoogleDevtoolsCloudbuildV1GitSourceDependency": {
"description": "Represents a git repository as a build dependency.",
"id": "GoogleDevtoolsCloudbuildV1GitSourceDependency",
"properties": {
"depth": {
"description": "Optional. How much history should be fetched for the build (default 1, -1 for all history).",
"format": "int64",
"type": "string"
},
"destPath": {
"description": "Required. Where should the files be placed on the worker.",
"type": "string"
},
"recurseSubmodules": {
"description": "Optional. True if submodules should be fetched too (default false).",
"type": "boolean"
},
"repository": {
"$ref": "GoogleDevtoolsCloudbuildV1GitSourceRepository",
"description": "Required. The kind of repo (url or dev connect)."
},
"revision": {
"description": "Required. The revision that we will fetch the repo at.",
"type": "string"
}
},
"type": "object"
},
"GoogleDevtoolsCloudbuildV1GitSourceRepository": {
"description": "A repository for a git source.",
"id": "GoogleDevtoolsCloudbuildV1GitSourceRepository",
"properties": {
"developerConnect": {
"description": "The Developer Connect Git repository link or the url that matches a repository link in the current project, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`",
"type": "string"
},
"url": {
"description": "Location of the Git repository.",
"type": "string"
}
},
"type": "object"
},
"GoogleDevtoolsCloudbuildV1GoModule": {
"description": "Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all dependencies in a go.mod file.",
"id": "GoogleDevtoolsCloudbuildV1GoModule",
Expand Down
77 changes: 72 additions & 5 deletions Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6686,11 +6686,10 @@ public virtual System.DateTimeOffset? DeletionTimestampDateTimeOffset
public class ExecutionSpec : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>
/// Optional. Specifies the maximum desired number of tasks the execution should run at given time. Must be
/// &amp;lt;= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be
/// used for that execution. The actual number of tasks running in steady state will be less than this number
/// when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max
/// parallelism.
/// Optional. Specifies the maximum desired number of tasks the execution should run at given time. When the job
/// is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual
/// number of tasks running in steady state will be less than this number when there are fewer tasks waiting to
/// be completed, i.e. when the work left to do is less than max parallelism.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("parallelism")]
public virtual System.Nullable<int> Parallelism { get; set; }
Expand Down Expand Up @@ -7240,6 +7239,12 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset
set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value);
}

/// <summary>
/// Optional. Dependencies that the Cloud Build worker will fetch before executing user steps.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("dependencies")]
public virtual System.Collections.Generic.IList<GoogleDevtoolsCloudbuildV1Dependency> Dependencies { get; set; }

/// <summary>Output only. Contains information about the build when status=FAILURE.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("failureInfo")]
public virtual GoogleDevtoolsCloudbuildV1FailureInfo FailureInfo { get; set; }
Expand Down Expand Up @@ -7764,6 +7769,21 @@ public class GoogleDevtoolsCloudbuildV1ConnectedRepository : Google.Apis.Request
public virtual string ETag { get; set; }
}

/// <summary>A dependency that the Cloud Build worker will fetch before executing user steps.</summary>
public class GoogleDevtoolsCloudbuildV1Dependency : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>If set to true disable all dependency fetching (ignoring the default source as well).</summary>
[Newtonsoft.Json.JsonPropertyAttribute("empty")]
public virtual System.Nullable<bool> Empty { get; set; }

/// <summary>Represents a git repository as a build dependency.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("gitSource")]
public virtual GoogleDevtoolsCloudbuildV1GitSourceDependency GitSource { get; set; }

/// <summary>The ETag of the item.</summary>
public virtual string ETag { get; set; }
}

/// <summary>This config defines the location of a source through Developer Connect.</summary>
public class GoogleDevtoolsCloudbuildV1DeveloperConnectConfig : Google.Apis.Requests.IDirectResponseSchema
{
Expand Down Expand Up @@ -7860,6 +7880,53 @@ public class GoogleDevtoolsCloudbuildV1GitSource : Google.Apis.Requests.IDirectR
public virtual string ETag { get; set; }
}

/// <summary>Represents a git repository as a build dependency.</summary>
public class GoogleDevtoolsCloudbuildV1GitSourceDependency : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>
/// Optional. How much history should be fetched for the build (default 1, -1 for all history).
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("depth")]
public virtual System.Nullable<long> Depth { get; set; }

/// <summary>Required. Where should the files be placed on the worker.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("destPath")]
public virtual string DestPath { get; set; }

/// <summary>Optional. True if submodules should be fetched too (default false).</summary>
[Newtonsoft.Json.JsonPropertyAttribute("recurseSubmodules")]
public virtual System.Nullable<bool> RecurseSubmodules { get; set; }

/// <summary>Required. The kind of repo (url or dev connect).</summary>
[Newtonsoft.Json.JsonPropertyAttribute("repository")]
public virtual GoogleDevtoolsCloudbuildV1GitSourceRepository Repository { get; set; }

/// <summary>Required. The revision that we will fetch the repo at.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("revision")]
public virtual string Revision { get; set; }

/// <summary>The ETag of the item.</summary>
public virtual string ETag { get; set; }
}

/// <summary>A repository for a git source.</summary>
public class GoogleDevtoolsCloudbuildV1GitSourceRepository : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>
/// The Developer Connect Git repository link or the url that matches a repository link in the current project,
/// formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("developerConnect")]
public virtual string DeveloperConnect { get; set; }

/// <summary>Location of the Git repository.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("url")]
public virtual string Url { get; set; }

/// <summary>The ETag of the item.</summary>
public virtual string ETag { get; set; }
}

/// <summary>
/// Go module to upload to Artifact Registry upon successful completion of all build steps. A module refers to all
/// dependencies in a go.mod file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- nupkg information -->
<PropertyGroup>
<Title>Google.Apis.CloudRun.v1 Client Library</Title>
<Version>1.69.0.3683</Version>
<Version>1.69.0.3690</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2025 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit ec6236e

Please sign in to comment.