Skip to content

Commit

Permalink
docs: small documentation updates
Browse files Browse the repository at this point in the history
chore: add enums for additional platform logs

PiperOrigin-RevId: 549453285

Source-Link: googleapis/googleapis@b9fb22c

Source-Link: googleapis/googleapis-gen@ea3ae98
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGVwbG95LlYxLy5Pd2xCb3QueWFtbCIsImgiOiJlYTNhZTk4MDMwYjVlMDRlNzI4OGEyYTliZDNlY2E4MTY2MzQ5MWJlIn0=
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Jul 20, 2023
1 parent 5543e86 commit 36b0942
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 38 deletions.
60 changes: 27 additions & 33 deletions apis/Google.Cloud.Deploy.V1/Google.Cloud.Deploy.V1/CloudDeploy.g.cs
Expand Up @@ -744,7 +744,7 @@ public enum SkaffoldSupportState {

#region Messages
/// <summary>
/// A `DeliveryPipeline` resource in the Google Cloud Deploy API.
/// A `DeliveryPipeline` resource in the Cloud Deploy API.
///
/// A `DeliveryPipeline` defines a pipeline through which a Skaffold
/// configuration can progress.
Expand Down Expand Up @@ -861,7 +861,7 @@ public sealed partial class DeliveryPipeline : pb::IMessage<DeliveryPipeline>
private readonly pbc::MapField<string, string> annotations_ = new pbc::MapField<string, string>();
/// <summary>
/// User annotations. These attributes can only be set and used by the
/// user, and not by Google Cloud Deploy.
/// user, and not by Cloud Deploy.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand All @@ -876,8 +876,7 @@ public sealed partial class DeliveryPipeline : pb::IMessage<DeliveryPipeline>
private readonly pbc::MapField<string, string> labels_ = new pbc::MapField<string, string>();
/// <summary>
/// Labels are attributes that can be set and used by both the
/// user and by Google Cloud Deploy. Labels must meet the following
/// constraints:
/// user and by Cloud Deploy. Labels must meet the following constraints:
///
/// * Keys and values can contain only lowercase letters, numeric characters,
/// underscores, and dashes.
Expand Down Expand Up @@ -8148,7 +8147,7 @@ public sealed partial class DeleteDeliveryPipelineRequest : pb::IMessage<DeleteD
}

/// <summary>
/// A `Target` resource in the Google Cloud Deploy API.
/// A `Target` resource in the Cloud Deploy API.
///
/// A `Target` defines a location to which a Skaffold configuration
/// can be deployed.
Expand Down Expand Up @@ -8291,7 +8290,7 @@ public sealed partial class Target : pb::IMessage<Target>
private readonly pbc::MapField<string, string> annotations_ = new pbc::MapField<string, string>();
/// <summary>
/// Optional. User annotations. These attributes can only be set and used by
/// the user, and not by Google Cloud Deploy. See
/// the user, and not by Cloud Deploy. See
/// https://google.aip.dev/128#annotations for more details such as format and
/// size limitations.
/// </summary>
Expand All @@ -8308,8 +8307,7 @@ public sealed partial class Target : pb::IMessage<Target>
private readonly pbc::MapField<string, string> labels_ = new pbc::MapField<string, string>();
/// <summary>
/// Optional. Labels are attributes that can be set and used by both the
/// user and by Google Cloud Deploy. Labels must meet the following
/// constraints:
/// user and by Cloud Deploy. Labels must meet the following constraints:
///
/// * Keys and values can contain only lowercase letters, numeric characters,
/// underscores, and dashes.
Expand Down Expand Up @@ -12866,7 +12864,7 @@ public sealed partial class DeleteTargetRequest : pb::IMessage<DeleteTargetReque
}

/// <summary>
/// A `Release` resource in the Google Cloud Deploy API.
/// A `Release` resource in the Cloud Deploy API.
///
/// A `Release` defines a specific Skaffold configuration instance
/// that can be deployed.
Expand Down Expand Up @@ -12989,9 +12987,8 @@ public sealed partial class Release : pb::IMessage<Release>
private readonly pbc::MapField<string, string> annotations_ = new pbc::MapField<string, string>();
/// <summary>
/// User annotations. These attributes can only be set and used by the
/// user, and not by Google Cloud Deploy. See
/// https://google.aip.dev/128#annotations for more details such as format and
/// size limitations.
/// user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
/// for more details such as format and size limitations.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand All @@ -13006,8 +13003,7 @@ public sealed partial class Release : pb::IMessage<Release>
private readonly pbc::MapField<string, string> labels_ = new pbc::MapField<string, string>();
/// <summary>
/// Labels are attributes that can be set and used by both the
/// user and by Google Cloud Deploy. Labels must meet the following
/// constraints:
/// user and by Cloud Deploy. Labels must meet the following constraints:
///
/// * Keys and values can contain only lowercase letters, numeric characters,
/// underscores, and dashes.
Expand Down Expand Up @@ -13195,8 +13191,8 @@ public sealed partial class Release : pb::IMessage<Release>
private string skaffoldVersion_ = "";
/// <summary>
/// The Skaffold version to use when operating on this release, such as
/// "1.20.0". Not all versions are valid; Google Cloud Deploy supports a
/// specific set of versions.
/// "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set
/// of versions.
///
/// If unset, the most recent supported Skaffold version will be used.
/// </summary>
Expand Down Expand Up @@ -14284,7 +14280,7 @@ public enum FailureCause {
[pbr::OriginalName("FAILURE_CAUSE_UNSPECIFIED")] Unspecified = 0,
/// <summary>
/// Cloud Build is not available, either because it is not enabled or
/// because Google Cloud Deploy has insufficient permissions. See [required
/// because Cloud Deploy has insufficient permissions. See [required
/// permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_UNAVAILABLE")] CloudBuildUnavailable = 1,
Expand All @@ -14294,7 +14290,7 @@ public enum FailureCause {
/// </summary>
[pbr::OriginalName("EXECUTION_FAILED")] ExecutionFailed = 2,
/// <summary>
/// Cloud Build failed to fulfill Google Cloud Deploy's request. See
/// Cloud Build failed to fulfill Cloud Deploy's request. See
/// failure_message for additional details.
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_REQUEST_FAILED")] CloudBuildRequestFailed = 3,
Expand Down Expand Up @@ -17795,7 +17791,7 @@ public sealed partial class CreateReleaseRequest : pb::IMessage<CreateReleaseReq
}

/// <summary>
/// A `Rollout` resource in the Google Cloud Deploy API.
/// A `Rollout` resource in the Cloud Deploy API.
///
/// A `Rollout` contains information around a specific deployment to a `Target`.
/// </summary>
Expand Down Expand Up @@ -17917,9 +17913,8 @@ public sealed partial class Rollout : pb::IMessage<Rollout>
private readonly pbc::MapField<string, string> annotations_ = new pbc::MapField<string, string>();
/// <summary>
/// User annotations. These attributes can only be set and used by the
/// user, and not by Google Cloud Deploy. See
/// https://google.aip.dev/128#annotations for more details such as format and
/// size limitations.
/// user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations
/// for more details such as format and size limitations.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand All @@ -17934,8 +17929,7 @@ public sealed partial class Rollout : pb::IMessage<Rollout>
private readonly pbc::MapField<string, string> labels_ = new pbc::MapField<string, string>();
/// <summary>
/// Labels are attributes that can be set and used by both the
/// user and by Google Cloud Deploy. Labels must meet the following
/// constraints:
/// user and by Cloud Deploy. Labels must meet the following constraints:
///
/// * Keys and values can contain only lowercase letters, numeric characters,
/// underscores, and dashes.
Expand Down Expand Up @@ -18913,8 +18907,8 @@ public enum FailureCause {
/// </summary>
[pbr::OriginalName("VERIFICATION_CONFIG_NOT_FOUND")] VerificationConfigNotFound = 6,
/// <summary>
/// Cloud Build failed to fulfill Google Cloud Deploy's request. See
/// failure_message for additional details.
/// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
/// for additional details.
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_REQUEST_FAILED")] CloudBuildRequestFailed = 7,
}
Expand Down Expand Up @@ -25808,7 +25802,7 @@ public sealed partial class AbandonReleaseResponse : pb::IMessage<AbandonRelease
}

/// <summary>
/// A `JobRun` resource in the Google Cloud Deploy API.
/// A `JobRun` resource in the Cloud Deploy API.
///
/// A `JobRun` contains information of a single `Rollout` job evaluation.
/// </summary>
Expand Down Expand Up @@ -27034,7 +27028,7 @@ public enum FailureCause {
[pbr::OriginalName("FAILURE_CAUSE_UNSPECIFIED")] Unspecified = 0,
/// <summary>
/// Cloud Build is not available, either because it is not enabled or because
/// Google Cloud Deploy has insufficient permissions. See [Required
/// Cloud Deploy has insufficient permissions. See [Required
/// permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_UNAVAILABLE")] CloudBuildUnavailable = 1,
Expand All @@ -27053,8 +27047,8 @@ public enum FailureCause {
/// </summary>
[pbr::OriginalName("MISSING_RESOURCES_FOR_CANARY")] MissingResourcesForCanary = 4,
/// <summary>
/// Cloud Build failed to fulfill Google Cloud Deploy's request. See
/// failure_message for additional details.
/// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
/// for additional details.
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_REQUEST_FAILED")] CloudBuildRequestFailed = 5,
}
Expand Down Expand Up @@ -27437,7 +27431,7 @@ public enum FailureCause {
[pbr::OriginalName("FAILURE_CAUSE_UNSPECIFIED")] Unspecified = 0,
/// <summary>
/// Cloud Build is not available, either because it is not enabled or because
/// Google Cloud Deploy has insufficient permissions. See [required
/// Cloud Deploy has insufficient permissions. See [required
/// permission](/deploy/docs/cloud-deploy-service-account#required_permissions).
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_UNAVAILABLE")] CloudBuildUnavailable = 1,
Expand All @@ -27455,8 +27449,8 @@ public enum FailureCause {
/// </summary>
[pbr::OriginalName("VERIFICATION_CONFIG_NOT_FOUND")] VerificationConfigNotFound = 4,
/// <summary>
/// Cloud Build failed to fulfill Google Cloud Deploy's request. See
/// failure_message for additional details.
/// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
/// for additional details.
/// </summary>
[pbr::OriginalName("CLOUD_BUILD_REQUEST_FAILED")] CloudBuildRequestFailed = 5,
}
Expand Down
19 changes: 14 additions & 5 deletions apis/Google.Cloud.Deploy.V1/Google.Cloud.Deploy.V1/LogEnums.g.cs
Expand Up @@ -25,13 +25,14 @@ public static partial class LogEnumsReflection {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiZnb29nbGUvY2xvdWQvZGVwbG95L3YxL2xvZ19lbnVtcy5wcm90bxIWZ29v",
"Z2xlLmNsb3VkLmRlcGxveS52MSqgAQoEVHlwZRIUChBUWVBFX1VOU1BFQ0lG",
"Z2xlLmNsb3VkLmRlcGxveS52MSraAQoEVHlwZRIUChBUWVBFX1VOU1BFQ0lG",
"SUVEEAASJAogVFlQRV9QVUJTVUJfTk9USUZJQ0FUSU9OX0ZBSUxVUkUQARIe",
"ChpUWVBFX1JFU09VUkNFX1NUQVRFX0NIQU5HRRADEhgKFFRZUEVfUFJPQ0VT",
"U19BQk9SVEVEEAQSIgoaVFlQRV9SRU5ERVJfU1RBVFVFU19DSEFOR0UQAhoC",
"CAFCYQoaY29tLmdvb2dsZS5jbG91ZC5kZXBsb3kudjFCDUxvZ0VudW1zUHJv",
"dG9QAVoyY2xvdWQuZ29vZ2xlLmNvbS9nby9kZXBsb3kvYXBpdjEvZGVwbG95",
"cGI7ZGVwbG95cGJiBnByb3RvMw=="));
"U19BQk9SVEVEEAQSHQoZVFlQRV9SRVNUUklDVElPTl9WSU9MQVRFRBAFEhkK",
"FVRZUEVfUkVTT1VSQ0VfREVMRVRFRBAGEiIKGlRZUEVfUkVOREVSX1NUQVRV",
"RVNfQ0hBTkdFEAIaAggBQmEKGmNvbS5nb29nbGUuY2xvdWQuZGVwbG95LnYx",
"Qg1Mb2dFbnVtc1Byb3RvUAFaMmNsb3VkLmdvb2dsZS5jb20vZ28vZGVwbG95",
"L2FwaXYxL2RlcGxveXBiO2RlcGxveXBiYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Cloud.Deploy.V1.Type), }, null, null));
Expand Down Expand Up @@ -61,6 +62,14 @@ public enum Type {
/// </summary>
[pbr::OriginalName("TYPE_PROCESS_ABORTED")] ProcessAborted = 4,
/// <summary>
/// Restriction check failed.
/// </summary>
[pbr::OriginalName("TYPE_RESTRICTION_VIOLATED")] RestrictionViolated = 5,
/// <summary>
/// Resource deleted.
/// </summary>
[pbr::OriginalName("TYPE_RESOURCE_DELETED")] ResourceDeleted = 6,
/// <summary>
/// Deprecated: This field is never used. Use release_render log type instead.
/// </summary>
[global::System.ObsoleteAttribute]
Expand Down

0 comments on commit 36b0942

Please sign in to comment.