Skip to content

Commit

Permalink
feat: Generate Google.Apis.CloudRedis.v1 version 1.69.0.3689
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 0200b32 commit fe4751a
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 17 deletions.
115 changes: 104 additions & 11 deletions DiscoveryJson/redis.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@
}
}
},
"revision": "20250123",
"revision": "20250206",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
Expand Down Expand Up @@ -2113,7 +2113,13 @@
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM",
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY",
"SIGNAL_TYPE_HOT_NODE",
"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY",
"SIGNAL_TYPE_RESOURCE_SUSPENDED",
"SIGNAL_TYPE_EXPENSIVE_COMMANDS",
"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED",
"SIGNAL_TYPE_NO_DELETION_PROTECTION"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -2196,6 +2202,12 @@
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -2279,7 +2291,13 @@
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.",
"Detects if a database instance is using a weak password hash algorithm.",
"Detects if a database instance has no user password policy set."
"Detects if a database instance has no user password policy set.",
"Detects if a database instance/cluster has a hot node.",
"Detects if a database instance has no point in time recovery enabled.",
"Detects if a database instance/cluster is suspended.",
"Detects that expensive commands are being run on a database instance impacting overall performance.",
"Indicates that the instance does not have a maintenance policy configured.",
"Deletion Protection Disabled for the resource"
],
"type": "string"
},
Expand Down Expand Up @@ -2343,7 +2361,7 @@
"type": "object"
},
"DatabaseResourceMetadata": {
"description": "Common model for database resource instance metadata. Next ID: 23",
"description": "Common model for database resource instance metadata. Next ID: 24",
"id": "DatabaseResourceMetadata",
"properties": {
"availabilityConfiguration": {
Expand Down Expand Up @@ -2444,6 +2462,7 @@
"SUB_RESOURCE_TYPE_PRIMARY",
"SUB_RESOURCE_TYPE_SECONDARY",
"SUB_RESOURCE_TYPE_READ_REPLICA",
"SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY",
"SUB_RESOURCE_TYPE_OTHER"
],
"enumDeprecated": [
Expand All @@ -2456,10 +2475,11 @@
false,
false,
false,
false,
false
],
"enumDescriptions": [
"",
"Unspecified.",
"For rest of the other categories.",
"A regular primary database instance.",
"A cluster or an instance acting as a secondary.",
Expand All @@ -2468,6 +2488,7 @@
"A regular primary database instance.",
"A cluster or an instance acting as a secondary.",
"An instance acting as a read-replica.",
"An instance acting as an external primary.",
"For rest of the other categories."
],
"type": "string"
Expand Down Expand Up @@ -2500,6 +2521,28 @@
"description": "Required. Different from DatabaseResourceId.unique_id, a resource name can be reused over time. That is, after a resource named \"ABC\" is deleted, the name \"ABC\" can be used to to create a new resource within the same source. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
"type": "string"
},
"suspensionReason": {
"description": "Suspension reason for the resource.",
"enum": [
"SUSPENSION_REASON_UNSPECIFIED",
"WIPEOUT_HIDE_EVENT",
"WIPEOUT_PURGE_EVENT",
"BILLING_DISABLED",
"ABUSER_DETECTED",
"ENCRYPTION_KEY_INACCESSIBLE",
"REPLICATED_CLUSTER_ENCRYPTION_KEY_INACCESSIBLE"
],
"enumDescriptions": [
"Suspension reason is unspecified.",
"Wipeout hide event.",
"Wipeout purge event.",
"Billing disabled for project",
"Abuse detected for resource",
"Encryption key inaccessible.",
"Replicated cluster encryption key inaccessible."
],
"type": "string"
},
"tagsSet": {
"$ref": "Tags",
"description": "Optional. Tags associated with this resources."
Expand Down Expand Up @@ -2652,7 +2695,13 @@
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_WEAK_PASSWORD_HASH_ALGORITHM",
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"
"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY",
"SIGNAL_TYPE_HOT_NODE",
"SIGNAL_TYPE_NO_POINT_IN_TIME_RECOVERY",
"SIGNAL_TYPE_RESOURCE_SUSPENDED",
"SIGNAL_TYPE_EXPENSIVE_COMMANDS",
"SIGNAL_TYPE_NO_MAINTENANCE_POLICY_CONFIGURED",
"SIGNAL_TYPE_NO_DELETION_PROTECTION"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -2735,6 +2784,12 @@
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -2818,7 +2873,13 @@
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible.",
"Detects if a database instance is using a weak password hash algorithm.",
"Detects if a database instance has no user password policy set."
"Detects if a database instance has no user password policy set.",
"Detects if a database instance/cluster has a hot node.",
"Detects if a database instance has no point in time recovery enabled.",
"Detects if a database instance/cluster is suspended.",
"Detects that expensive commands are being run on a database instance impacting overall performance.",
"Indicates that the instance does not have a maintenance policy configured.",
"Deletion Protection Disabled for the resource"
],
"type": "string"
}
Expand Down Expand Up @@ -2939,11 +3000,21 @@
"description": "An enum that represents the type of this entitlement.",
"enum": [
"ENTITLEMENT_TYPE_UNSPECIFIED",
"GEMINI"
"GEMINI",
"NATIVE",
"GCA_STANDARD"
],
"enumDeprecated": [
false,
true,
false,
false
],
"enumDescriptions": [
"",
"The root entitlement representing Gemini package ownership."
"The entitlement type is unspecified.",
"The root entitlement representing Gemini package ownership.This will no longer be supported in the future.",
"The entitlement representing Native Tier, This will be the default Entitlement going forward with GCA Enablement.",
"The entitlement representing GCA-Standard Tier."
],
"type": "string"
}
Expand Down Expand Up @@ -3270,7 +3341,7 @@
"type": "object"
},
"redisVersion": {
"description": "Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility",
"description": "Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility",
"type": "string"
},
"replicaCount": {
Expand Down Expand Up @@ -3405,6 +3476,10 @@
"$ref": "BackupRun",
"description": "Information about the last backup attempt for this database"
},
"isDeletionProtectionEnabled": {
"description": "Whether deletion protection is enabled for this internal resource.",
"type": "boolean"
},
"product": {
"$ref": "Product"
},
Expand Down Expand Up @@ -4573,6 +4648,24 @@
"description": "Represents information about an updating cluster.",
"id": "UpdateInfo",
"properties": {
"targetNodeType": {
"description": "Target node type for redis cluster.",
"enum": [
"NODE_TYPE_UNSPECIFIED",
"REDIS_SHARED_CORE_NANO",
"REDIS_HIGHMEM_MEDIUM",
"REDIS_HIGHMEM_XLARGE",
"REDIS_STANDARD_SMALL"
],
"enumDescriptions": [
"Node type unspecified",
"Redis shared core nano node_type.",
"Redis highmem medium node_type.",
"Redis highmem xlarge node_type.",
"Redis standard small node_type."
],
"type": "string"
},
"targetReplicaCount": {
"description": "Target number of replica nodes per shard.",
"format": "int32",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3796,7 +3796,7 @@ public class DatabaseResourceId : Google.Apis.Requests.IDirectResponseSchema
public virtual string ETag { get; set; }
}

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

/// <summary>Suspension reason for the resource.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("suspensionReason")]
public virtual string SuspensionReason { get; set; }

/// <summary>Optional. Tags associated with this resources.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("tagsSet")]
public virtual Tags TagsSet { get; set; }
Expand Down Expand Up @@ -4606,10 +4610,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset
public virtual System.Collections.Generic.IDictionary<string, string> RedisConfigs { get; set; }

/// <summary>
/// Optional. The version of Redis software. If not provided, latest supported version will be used. Currently,
/// the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0
/// compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility
/// * `REDIS_7_0` for Redis 7.0 compatibility
/// Optional. The version of Redis software. If not provided, the default version will be used. Currently, the
/// supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility *
/// `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis
/// 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("redisVersion")]
public virtual string RedisVersion { get; set; }
Expand Down Expand Up @@ -4706,6 +4710,10 @@ public class InternalResourceMetadata : Google.Apis.Requests.IDirectResponseSche
[Newtonsoft.Json.JsonPropertyAttribute("backupRun")]
public virtual BackupRun BackupRun { get; set; }

/// <summary>Whether deletion protection is enabled for this internal resource.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("isDeletionProtectionEnabled")]
public virtual System.Nullable<bool> IsDeletionProtectionEnabled { get; set; }

[Newtonsoft.Json.JsonPropertyAttribute("product")]
public virtual Product Product { get; set; }

Expand Down Expand Up @@ -6178,6 +6186,10 @@ public class TypedValue : Google.Apis.Requests.IDirectResponseSchema
/// <summary>Represents information about an updating cluster.</summary>
public class UpdateInfo : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>Target node type for redis cluster.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("targetNodeType")]
public virtual string TargetNodeType { get; set; }

/// <summary>Target number of replica nodes per shard.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("targetReplicaCount")]
public virtual System.Nullable<int> TargetReplicaCount { 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.v1 Client Library</Title>
<Version>1.69.0.3675</Version>
<Version>1.69.0.3689</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2025 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit fe4751a

Please sign in to comment.