Skip to content

Commit

Permalink
Update Google Compute Engine API to the latest ver
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed May 2, 2024
1 parent 21edabc commit c7ef61f
Show file tree
Hide file tree
Showing 157 changed files with 7,647 additions and 1,323 deletions.
3,959 changes: 2,919 additions & 1,040 deletions gcloud-protos-generator/openapi/google/compute-v1/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ pub struct ComputePeriodAcceleratorTypesPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -131,7 +132,7 @@ pub struct ComputePeriodAcceleratorTypesPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand All @@ -156,7 +157,7 @@ pub enum ComputePeriodAcceleratorTypesPeriodListError {
UnknownValue(serde_json::Value),
}

/// Retrieves an aggregated list of accelerator types.
/// Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_accelerator_types_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodAcceleratorTypesPeriodAggregatedListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ pub struct ComputePeriodAddressesPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -204,7 +205,7 @@ pub struct ComputePeriodAddressesPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -335,7 +336,7 @@ pub enum ComputePeriodAddressesPeriodSetLabelsError {
UnknownValue(serde_json::Value),
}

/// Retrieves an aggregated list of addresses.
/// Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_addresses_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodAddressesPeriodAggregatedListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ pub struct ComputePeriodAutoscalersPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -204,7 +205,7 @@ pub struct ComputePeriodAutoscalersPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -333,7 +334,7 @@ pub enum ComputePeriodAutoscalersPeriodUpdateError {
UnknownValue(serde_json::Value),
}

/// Retrieves an aggregated list of autoscalers.
/// Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_autoscalers_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodAutoscalersPeriodAggregatedListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ pub struct ComputePeriodBackendBucketsPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -305,7 +305,7 @@ pub struct ComputePeriodBackendBucketsPeriodPatchParams {
pub struct ComputePeriodBackendBucketsPeriodSetEdgeSecurityPolicyParams {
/// Project ID for this request.
pub project: String,
/// Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.
/// Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035.
pub backend_bucket: String,
/// V1 error format.
pub dollar_xgafv: Option<String>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ pub struct ComputePeriodBackendServicesPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -338,7 +339,7 @@ pub struct ComputePeriodBackendServicesPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -379,7 +380,7 @@ pub struct ComputePeriodBackendServicesPeriodListUsableParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -832,7 +833,7 @@ pub async fn compute_backend_services_add_signed_url_key(
}
}

/// Retrieves the list of all BackendService resources, regional and global, available to the specified project.
/// Retrieves the list of all BackendService resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_backend_services_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodBackendServicesPeriodAggregatedListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ pub struct ComputePeriodDiskTypesPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -131,7 +132,7 @@ pub struct ComputePeriodDiskTypesPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand All @@ -156,7 +157,7 @@ pub enum ComputePeriodDiskTypesPeriodListError {
UnknownValue(serde_json::Value),
}

/// Retrieves an aggregated list of disk types.
/// Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_disk_types_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodDiskTypesPeriodAggregatedListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ pub struct ComputePeriodDisksPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -359,7 +360,7 @@ pub struct ComputePeriodDisksPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -957,7 +958,7 @@ pub async fn compute_disks_add_resource_policies(
}
}

/// Retrieves an aggregated list of persistent disks.
/// Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_disks_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodDisksPeriodAggregatedListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ pub struct ComputePeriodExternalVpnGatewaysPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ pub struct ComputePeriodFirewallPoliciesPeriodListParams {
pub page_token: Option<String>,
/// Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.
pub parent_id: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub struct ComputePeriodFirewallsPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ pub struct ComputePeriodForwardingRulesPeriodAggregatedListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
/// The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.
pub service_project_number: Option<String>,
}

Expand Down Expand Up @@ -204,7 +205,7 @@ pub struct ComputePeriodForwardingRulesPeriodListParams {
pub order_by: Option<String>,
/// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
pub page_token: Option<String>,
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
/// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
pub return_partial_success: Option<bool>,
}

Expand Down Expand Up @@ -379,7 +380,7 @@ pub enum ComputePeriodForwardingRulesPeriodSetTargetError {
UnknownValue(serde_json::Value),
}

/// Retrieves an aggregated list of forwarding rules.
/// Retrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.
pub async fn compute_forwarding_rules_aggregated_list(
configuration: &configuration::Configuration,
params: ComputePeriodForwardingRulesPeriodAggregatedListParams,
Expand Down
Loading

0 comments on commit c7ef61f

Please sign in to comment.