mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
regen all APIs
This commit is contained in:
@@ -23,7 +23,7 @@ use crate::{client, client::GetToken, client::serde_with};
|
||||
/// Identifies the an OAuth2 authorization scope.
|
||||
/// A scope is needed when requesting an
|
||||
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
|
||||
#[derive(PartialEq, Eq, Hash)]
|
||||
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
|
||||
pub enum Scope {
|
||||
/// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
||||
CloudPlatform,
|
||||
@@ -474,10 +474,10 @@ pub struct GoogleIamV1Binding {
|
||||
/// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
|
||||
pub condition: Option<Expr>,
|
||||
/// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
|
||||
/// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
||||
|
||||
pub members: Option<Vec<String>>,
|
||||
/// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
||||
/// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
|
||||
|
||||
pub role: Option<String>,
|
||||
}
|
||||
@@ -520,7 +520,7 @@ pub struct GoogleIamV1GetPolicyOptions {
|
||||
impl client::Part for GoogleIamV1GetPolicyOptions {}
|
||||
|
||||
|
||||
/// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { “bindings”: \[ { “role”: “roles/resourcemanager.organizationAdmin”, “members”: \[ “user:mike@example.com”, “group:admins@example.com”, “domain:google.com”, “serviceAccount:my-project-id@appspot.gserviceaccount.com” \] }, { “role”: “roles/resourcemanager.organizationViewer”, “members”: \[ “user:eve@example.com” \], “condition”: { “title”: “expirable access”, “description”: “Does not grant access after Sep 2020”, “expression”: “request.time \< timestamp(‘2020-10-01T00:00:00.000Z’)”, } } \], “etag”: “BwWWja0YfJA=”, “version”: 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \< timestamp(‘2020-10-01T00:00:00.000Z’) etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||
/// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** `{ "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }` **YAML example:** `bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||
///
|
||||
/// # Activities
|
||||
///
|
||||
@@ -541,7 +541,7 @@ pub struct GoogleIamV1Policy {
|
||||
pub bindings: Option<Vec<GoogleIamV1Binding>>,
|
||||
/// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
|
||||
|
||||
#[serde_as(as = "Option<::client::serde::urlsafe_base64::Wrapper>")]
|
||||
#[serde_as(as = "Option<::client::serde::standard_base64::Wrapper>")]
|
||||
pub etag: Option<Vec<u8>>,
|
||||
/// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
|
||||
@@ -1353,6 +1353,10 @@ pub struct Quota {
|
||||
#[serde(rename="managedZonesPerNetwork")]
|
||||
|
||||
pub managed_zones_per_network: Option<i32>,
|
||||
/// Maximum number of nameservers per delegation, meant to prevent abuse
|
||||
#[serde(rename="nameserversPerDelegation")]
|
||||
|
||||
pub nameservers_per_delegation: Option<i32>,
|
||||
/// Maximum allowed number of networks to which a privately scoped zone can be attached.
|
||||
#[serde(rename="networksPerManagedZone")]
|
||||
|
||||
@@ -1427,6 +1431,10 @@ pub struct RRSetRoutingPolicy {
|
||||
/// no description provided
|
||||
|
||||
pub geo: Option<RRSetRoutingPolicyGeoPolicy>,
|
||||
/// The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
|
||||
#[serde(rename="healthCheck")]
|
||||
|
||||
pub health_check: Option<String>,
|
||||
/// no description provided
|
||||
|
||||
pub kind: Option<String>,
|
||||
@@ -1449,7 +1457,7 @@ impl client::Part for RRSetRoutingPolicy {}
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct RRSetRoutingPolicyGeoPolicy {
|
||||
/// Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy.
|
||||
/// Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
|
||||
#[serde(rename="enableFencing")]
|
||||
|
||||
pub enable_fencing: Option<bool>,
|
||||
@@ -1484,7 +1492,7 @@ pub struct RRSetRoutingPolicyGeoPolicyGeoPolicyItem {
|
||||
/// no description provided
|
||||
|
||||
pub rrdatas: Option<Vec<String>>,
|
||||
/// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
|
||||
/// DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.
|
||||
#[serde(rename="signatureRrdatas")]
|
||||
|
||||
pub signature_rrdatas: Option<Vec<String>>,
|
||||
@@ -1493,14 +1501,18 @@ pub struct RRSetRoutingPolicyGeoPolicyGeoPolicyItem {
|
||||
impl client::Part for RRSetRoutingPolicyGeoPolicyGeoPolicyItem {}
|
||||
|
||||
|
||||
/// HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response.
|
||||
/// HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Only one of internal_load_balancer and external_endpoints should be set.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct RRSetRoutingPolicyHealthCheckTargets {
|
||||
/// no description provided
|
||||
/// The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
|
||||
#[serde(rename="externalEndpoints")]
|
||||
|
||||
pub external_endpoints: Option<Vec<String>>,
|
||||
/// Configuration for internal load balancers to be health checked.
|
||||
#[serde(rename="internalLoadBalancers")]
|
||||
|
||||
pub internal_load_balancers: Option<Vec<RRSetRoutingPolicyLoadBalancerTarget>>,
|
||||
@@ -1509,39 +1521,39 @@ pub struct RRSetRoutingPolicyHealthCheckTargets {
|
||||
impl client::Part for RRSetRoutingPolicyHealthCheckTargets {}
|
||||
|
||||
|
||||
/// There is no detailed description.
|
||||
/// The configuration for an individual load balancer to health check.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct RRSetRoutingPolicyLoadBalancerTarget {
|
||||
/// The frontend IP address of the
|
||||
/// The frontend IP address of the load balancer to health check.
|
||||
#[serde(rename="ipAddress")]
|
||||
|
||||
pub ip_address: Option<String>,
|
||||
/// no description provided
|
||||
/// The protocol of the load balancer to health check.
|
||||
#[serde(rename="ipProtocol")]
|
||||
|
||||
pub ip_protocol: Option<String>,
|
||||
/// no description provided
|
||||
|
||||
pub kind: Option<String>,
|
||||
/// no description provided
|
||||
/// The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer.
|
||||
#[serde(rename="loadBalancerType")]
|
||||
|
||||
pub load_balancer_type: Option<String>,
|
||||
/// The fully qualified url of the network on which the ILB is
|
||||
/// The fully qualified URL of the network that the load balancer is attached to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} .
|
||||
#[serde(rename="networkUrl")]
|
||||
|
||||
pub network_url: Option<String>,
|
||||
/// Load Balancer to health check. The configured port of the Load Balancer.
|
||||
/// The configured port of the load balancer.
|
||||
|
||||
pub port: Option<String>,
|
||||
/// present. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} The project ID in which the ILB exists.
|
||||
/// The project ID in which the load balancer is located.
|
||||
|
||||
pub project: Option<String>,
|
||||
/// The region for regional ILBs.
|
||||
/// The region in which the load balancer is located.
|
||||
|
||||
pub region: Option<String>,
|
||||
}
|
||||
@@ -1563,7 +1575,7 @@ pub struct RRSetRoutingPolicyPrimaryBackupPolicy {
|
||||
/// no description provided
|
||||
|
||||
pub kind: Option<String>,
|
||||
/// no description provided
|
||||
/// Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets.
|
||||
#[serde(rename="primaryTargets")]
|
||||
|
||||
pub primary_targets: Option<RRSetRoutingPolicyHealthCheckTargets>,
|
||||
@@ -1601,7 +1613,7 @@ impl client::Part for RRSetRoutingPolicyWrrPolicy {}
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct RRSetRoutingPolicyWrrPolicyWrrPolicyItem {
|
||||
/// endpoints that need to be health checked before making the routing decision. The unhealthy endpoints will be omitted from the result. If all endpoints within a buckete are unhealthy, we'll choose a different bucket (sampled w.r.t. its weight) for responding. Note that if DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set.
|
||||
/// Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set.
|
||||
#[serde(rename="healthCheckedTargets")]
|
||||
|
||||
pub health_checked_targets: Option<RRSetRoutingPolicyHealthCheckTargets>,
|
||||
@@ -1611,11 +1623,11 @@ pub struct RRSetRoutingPolicyWrrPolicyWrrPolicyItem {
|
||||
/// no description provided
|
||||
|
||||
pub rrdatas: Option<Vec<String>>,
|
||||
/// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .
|
||||
/// DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.
|
||||
#[serde(rename="signatureRrdatas")]
|
||||
|
||||
pub signature_rrdatas: Option<Vec<String>>,
|
||||
/// The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.
|
||||
/// The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.
|
||||
|
||||
pub weight: Option<f64>,
|
||||
}
|
||||
@@ -1644,7 +1656,7 @@ pub struct ResourceRecordSet {
|
||||
/// For example, www.example.com.
|
||||
|
||||
pub name: Option<String>,
|
||||
/// Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.
|
||||
/// Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution).
|
||||
#[serde(rename="routingPolicy")]
|
||||
|
||||
pub routing_policy: Option<RRSetRoutingPolicy>,
|
||||
@@ -1686,7 +1698,7 @@ pub struct ResourceRecordSetsListResponse {
|
||||
/// Type of resource.
|
||||
|
||||
pub kind: Option<String>,
|
||||
/// The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve complete contents of even larger collections, one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
|
||||
/// The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even larger collections, one page at a time. However, if the collection changes between paginated list requests, the set of elements returned is an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
|
||||
#[serde(rename="nextPageToken")]
|
||||
|
||||
pub next_page_token: Option<String>,
|
||||
@@ -2814,7 +2826,7 @@ impl<'a, S> ResourceRecordSetMethods<'a, S> {
|
||||
///
|
||||
/// * `request` - No description provided.
|
||||
/// * `project` - Identifies the project addressed by this request.
|
||||
/// * `location` - Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// * `location` - Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
/// * `managedZone` - Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
||||
pub fn create(&self, request: ResourceRecordSet, project: &str, location: &str, managed_zone: &str) -> ResourceRecordSetCreateCall<'a, S> {
|
||||
ResourceRecordSetCreateCall {
|
||||
@@ -2837,7 +2849,7 @@ impl<'a, S> ResourceRecordSetMethods<'a, S> {
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `project` - Identifies the project addressed by this request.
|
||||
/// * `location` - Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// * `location` - Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
/// * `managedZone` - Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
||||
/// * `name` - Fully qualified domain name.
|
||||
/// * `type` - RRSet type.
|
||||
@@ -2863,7 +2875,7 @@ impl<'a, S> ResourceRecordSetMethods<'a, S> {
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `project` - Identifies the project addressed by this request.
|
||||
/// * `location` - Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// * `location` - Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
/// * `managedZone` - Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
||||
/// * `name` - Fully qualified domain name.
|
||||
/// * `type` - RRSet type.
|
||||
@@ -2889,7 +2901,7 @@ impl<'a, S> ResourceRecordSetMethods<'a, S> {
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `project` - Identifies the project addressed by this request.
|
||||
/// * `location` - Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// * `location` - Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
/// * `managedZone` - Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
|
||||
pub fn list(&self, project: &str, location: &str, managed_zone: &str) -> ResourceRecordSetListCall<'a, S> {
|
||||
ResourceRecordSetListCall {
|
||||
@@ -10661,7 +10673,7 @@ where
|
||||
self._project = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
///
|
||||
/// Sets the *location* path property to the given value.
|
||||
///
|
||||
@@ -10952,7 +10964,7 @@ where
|
||||
self._project = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
///
|
||||
/// Sets the *location* path property to the given value.
|
||||
///
|
||||
@@ -11274,7 +11286,7 @@ where
|
||||
self._project = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
///
|
||||
/// Sets the *location* path property to the given value.
|
||||
///
|
||||
@@ -11607,7 +11619,7 @@ where
|
||||
self._project = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Specifies the location of the resource. This information will be used for routing and will be part of the resource name.
|
||||
/// Specifies the location of the resource. This information is used for routing and is part of the resource name.
|
||||
///
|
||||
/// Sets the *location* path property to the given value.
|
||||
///
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *Dns* crate version *5.0.3+20230119*, where *20230119* is the exact revision of the *dns:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
|
||||
//! This documentation was generated from *Dns* crate version *5.0.3+20240229*, where *20240229* is the exact revision of the *dns:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
|
||||
//!
|
||||
//! Everything else about the *Dns* *v2* API can be found at the
|
||||
//! [official documentation site](https://cloud.google.com/dns/docs).
|
||||
|
||||
Reference in New Issue
Block a user