mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
make regen-apis
This commit is contained in:
@@ -77,7 +77,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -363,8 +363,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("indexId", self._index_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
params.push("indexId", &self._index_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -637,8 +637,8 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("indexId", self._index_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
params.push("indexId", &self._index_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -916,7 +916,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -1207,7 +1207,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1469,7 +1469,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1731,7 +1731,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -1999,7 +1999,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(6 + self._additional_params.len());
|
||||
params.push("name", self._name);
|
||||
params.push("name", &self._name);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
@@ -2298,7 +2298,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2590,7 +2590,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -2882,7 +2882,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3174,7 +3174,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3466,7 +3466,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -3758,7 +3758,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4050,7 +4050,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4342,7 +4342,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4634,7 +4634,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -4926,7 +4926,7 @@ where
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("projectId", self._project_id);
|
||||
params.push("projectId", &self._project_id);
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
|
||||
@@ -30,3 +30,6 @@ pub use method_builders::*;
|
||||
|
||||
mod call_builders;
|
||||
pub use call_builders::*;
|
||||
|
||||
mod enums;
|
||||
pub use enums::*;
|
||||
|
||||
@@ -66,7 +66,7 @@ pub struct AggregationResultBatch {
|
||||
/// The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`.
|
||||
#[serde(rename="moreResults")]
|
||||
|
||||
pub more_results: Option<String>,
|
||||
pub more_results: Option<AggregationResultBatchMoreResultsEnum>,
|
||||
/// Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches.
|
||||
#[serde(rename="readTime")]
|
||||
|
||||
@@ -194,7 +194,7 @@ pub struct CommitRequest {
|
||||
pub database_id: Option<String>,
|
||||
/// The type of commit to perform. Defaults to `TRANSACTIONAL`.
|
||||
|
||||
pub mode: Option<String>,
|
||||
pub mode: Option<CommitRequestModeEnum>,
|
||||
/// The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
|
||||
|
||||
pub mutations: Option<Vec<Mutation>>,
|
||||
@@ -251,7 +251,7 @@ pub struct CompositeFilter {
|
||||
pub filters: Option<Vec<Filter>>,
|
||||
/// The operator for combining multiple filters.
|
||||
|
||||
pub op: Option<String>,
|
||||
pub op: Option<CompositeFilterOpEnum>,
|
||||
}
|
||||
|
||||
impl client::Part for CompositeFilter {}
|
||||
@@ -446,7 +446,7 @@ impl client::RequestValue for GoogleDatastoreAdminV1ImportEntitiesRequest {}
|
||||
pub struct GoogleDatastoreAdminV1Index {
|
||||
/// Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
|
||||
|
||||
pub ancestor: Option<String>,
|
||||
pub ancestor: Option<GoogleDatastoreAdminV1IndexAncestorEnum>,
|
||||
/// Output only. The resource ID of the index.
|
||||
#[serde(rename="indexId")]
|
||||
|
||||
@@ -463,7 +463,7 @@ pub struct GoogleDatastoreAdminV1Index {
|
||||
pub properties: Option<Vec<GoogleDatastoreAdminV1IndexedProperty>>,
|
||||
/// Output only. The state of the index.
|
||||
|
||||
pub state: Option<String>,
|
||||
pub state: Option<GoogleDatastoreAdminV1IndexStateEnum>,
|
||||
}
|
||||
|
||||
impl client::RequestValue for GoogleDatastoreAdminV1Index {}
|
||||
@@ -479,7 +479,7 @@ impl client::ResponseResult for GoogleDatastoreAdminV1Index {}
|
||||
pub struct GoogleDatastoreAdminV1IndexedProperty {
|
||||
/// Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
|
||||
|
||||
pub direction: Option<String>,
|
||||
pub direction: Option<GoogleDatastoreAdminV1IndexedPropertyDirectionEnum>,
|
||||
/// Required. The property name to index.
|
||||
|
||||
pub name: Option<String>,
|
||||
@@ -862,7 +862,7 @@ impl client::Part for Projection {}
|
||||
pub struct PropertyFilter {
|
||||
/// The operator to filter by.
|
||||
|
||||
pub op: Option<String>,
|
||||
pub op: Option<PropertyFilterOpEnum>,
|
||||
/// The property to filter by.
|
||||
|
||||
pub property: Option<PropertyReference>,
|
||||
@@ -883,7 +883,7 @@ impl client::Part for PropertyFilter {}
|
||||
pub struct PropertyOrder {
|
||||
/// The direction to order by. Defaults to `ASCENDING`.
|
||||
|
||||
pub direction: Option<String>,
|
||||
pub direction: Option<PropertyOrderDirectionEnum>,
|
||||
/// The property to order by.
|
||||
|
||||
pub property: Option<PropertyReference>,
|
||||
@@ -966,7 +966,7 @@ pub struct QueryResultBatch {
|
||||
/// The result type for every entity in `entity_results`.
|
||||
#[serde(rename="entityResultType")]
|
||||
|
||||
pub entity_result_type: Option<String>,
|
||||
pub entity_result_type: Option<QueryResultBatchEntityResultTypeEnum>,
|
||||
/// The results for this batch.
|
||||
#[serde(rename="entityResults")]
|
||||
|
||||
@@ -974,7 +974,7 @@ pub struct QueryResultBatch {
|
||||
/// The state of the query after the current batch.
|
||||
#[serde(rename="moreResults")]
|
||||
|
||||
pub more_results: Option<String>,
|
||||
pub more_results: Option<QueryResultBatchMoreResultsEnum>,
|
||||
/// Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
|
||||
#[serde(rename="readTime")]
|
||||
|
||||
@@ -1028,7 +1028,7 @@ pub struct ReadOptions {
|
||||
/// The non-transactional read consistency to use.
|
||||
#[serde(rename="readConsistency")]
|
||||
|
||||
pub read_consistency: Option<String>,
|
||||
pub read_consistency: Option<ReadOptionReadConsistencyEnum>,
|
||||
/// Reads entities as they were at the given time. This may not be older than 270 seconds. This value is only supported for Cloud Firestore in Datastore mode.
|
||||
#[serde(rename="readTime")]
|
||||
|
||||
@@ -1351,7 +1351,7 @@ pub struct Value {
|
||||
/// A null value.
|
||||
#[serde(rename="nullValue")]
|
||||
|
||||
pub null_value: Option<String>,
|
||||
pub null_value: Option<ValueNullValueEnum>,
|
||||
/// A UTF-8 encoded string value. When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes.
|
||||
#[serde(rename="stringValue")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user