Skip to content

Commit

Permalink
feat: Generate Google.Apis.CloudRedis.v1beta1 version 1.68.0.3554
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa authored and jskeet committed Sep 30, 2024
1 parent 812aa31 commit 88ef608
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 7 deletions.
33 changes: 29 additions & 4 deletions DiscoveryJson/redis.v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@
}
}
},
"revision": "20240918",
"revision": "20240924",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
Expand Down Expand Up @@ -1884,7 +1884,7 @@
"type": "object"
},
"DatabaseResourceMetadata": {
"description": "Common model for database resource instance metadata. Next ID: 21",
"description": "Common model for database resource instance metadata. Next ID: 23",
"id": "DatabaseResourceMetadata",
"properties": {
"availabilityConfiguration": {
Expand Down Expand Up @@ -1928,6 +1928,20 @@
"$ref": "CustomMetadataData",
"description": "Any custom metadata associated with the resource"
},
"edition": {
"description": "Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core to Cloud SQL only and is used to identify the edition of the instance.",
"enum": [
"EDITION_UNSPECIFIED",
"EDITION_ENTERPRISE",
"EDITION_ENTERPRISE_PLUS"
],
"enumDescriptions": [
"Default, to make it consistent with instance edition enum.",
"Represents the enterprise edition.",
"Represents the enterprise plus edition."
],
"type": "string"
},
"entitlements": {
"description": "Entitlements associated with the resource",
"items": {
Expand Down Expand Up @@ -2011,6 +2025,10 @@
"$ref": "DatabaseResourceId",
"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional."
},
"primaryResourceLocation": {
"description": "Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional.",
"type": "string"
},
"product": {
"$ref": "Product",
"description": "The product this resource represents."
Expand Down Expand Up @@ -3691,7 +3709,7 @@
"type": "string"
},
"pscConnectionId": {
"description": "Optional. The PSC connection id of the forwarding rule connected to the service attachment.",
"description": "Required. The PSC connection id of the forwarding rule connected to the service attachment.",
"type": "string"
},
"serviceAttachment": {
Expand Down Expand Up @@ -3892,6 +3910,11 @@
"RetentionSettings": {
"id": "RetentionSettings",
"properties": {
"durationBasedRetention": {
"description": "Duration based retention period i.e. 172800 seconds (2 days)",
"format": "google-duration",
"type": "string"
},
"quantityBasedRetention": {
"format": "int32",
"type": "integer"
Expand All @@ -3902,12 +3925,14 @@
"RETENTION_UNIT_UNSPECIFIED",
"COUNT",
"TIME",
"DURATION",
"RETENTION_UNIT_OTHER"
],
"enumDescriptions": [
"Backup retention unit is unspecified, will be treated as COUNT.",
"Retention will be by count, eg. \"retain the most recent 7 backups\".",
"Retention will be by Time, eg. \"retain the last 7 days backups\".",
"Retention will be by Time, eg. \"retain backups till a specific time\" i.e. till 2024-05-01T00:00:00Z.",
"Retention will be by duration, eg. \"retain the backups for 172800 seconds (2 days)\".",
"For rest of the other category"
],
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2969,7 +2969,7 @@ public class DatabaseResourceId : Google.Apis.Requests.IDirectResponseSchema
public virtual string ETag { get; set; }
}

/// <summary>Common model for database resource instance metadata. Next ID: 21</summary>
/// <summary>Common model for database resource instance metadata. Next ID: 23</summary>
public class DatabaseResourceMetadata : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>Availability configuration for this instance</summary>
Expand Down Expand Up @@ -3031,6 +3031,13 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset
[Newtonsoft.Json.JsonPropertyAttribute("customMetadata")]
public virtual CustomMetadataData CustomMetadata { get; set; }

/// <summary>
/// Optional. Edition represents whether the instance is ENTERPRISE or ENTERPRISE_PLUS. This information is core
/// to Cloud SQL only and is used to identify the edition of the instance.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("edition")]
public virtual string Edition { get; set; }

/// <summary>Entitlements associated with the resource</summary>
[Newtonsoft.Json.JsonPropertyAttribute("entitlements")]
public virtual System.Collections.Generic.IList<Entitlement> Entitlements { get; set; }
Expand Down Expand Up @@ -3066,6 +3073,13 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset
[Newtonsoft.Json.JsonPropertyAttribute("primaryResourceId")]
public virtual DatabaseResourceId PrimaryResourceId { get; set; }

/// <summary>
/// Primary resource location. REQUIRED if the immediate parent exists when first time resource is getting
/// ingested, otherwise optional.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("primaryResourceLocation")]
public virtual string PrimaryResourceLocation { get; set; }

/// <summary>The product this resource represents.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("product")]
public virtual Product Product { get; set; }
Expand Down Expand Up @@ -4712,7 +4726,7 @@ public class PscConnection : Google.Apis.Requests.IDirectResponseSchema
public virtual string ProjectId { get; set; }

/// <summary>
/// Optional. The PSC connection id of the forwarding rule connected to the service attachment.
/// Required. The PSC connection id of the forwarding rule connected to the service attachment.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("pscConnectionId")]
public virtual string PscConnectionId { get; set; }
Expand Down Expand Up @@ -4951,6 +4965,10 @@ public virtual System.DateTimeOffset? ScheduleTimeDateTimeOffset

public class RetentionSettings : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>Duration based retention period i.e. 172800 seconds (2 days)</summary>
[Newtonsoft.Json.JsonPropertyAttribute("durationBasedRetention")]
public virtual object DurationBasedRetention { get; set; }

[Newtonsoft.Json.JsonPropertyAttribute("quantityBasedRetention")]
public virtual System.Nullable<int> QuantityBasedRetention { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- nupkg information -->
<PropertyGroup>
<Title>Google.Apis.CloudRedis.v1beta1 Client Library</Title>
<Version>1.68.0.3548</Version>
<Version>1.68.0.3554</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2024 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit 88ef608

Please sign in to comment.