diff --git a/DiscoveryJson/aiplatform.v1.json b/DiscoveryJson/aiplatform.v1.json index 6431fbcf211..b21f72dac87 100644 --- a/DiscoveryJson/aiplatform.v1.json +++ b/DiscoveryJson/aiplatform.v1.json @@ -15697,6 +15697,35 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "embedContent": { + "description": "Embed content with multimodal inputs.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:embedContent", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.publishers.models.embedContent", + "parameterOrder": [ + "model" + ], + "parameters": { + "model": { + "description": "Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+model}:embedContent", + "request": { + "$ref": "GoogleCloudAiplatformV1EmbedContentRequest" + }, + "response": { + "$ref": "GoogleCloudAiplatformV1EmbedContentResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" + ] + }, "fetchPredictOperation": { "description": "Fetch an asynchronous online prediction operation.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:fetchPredictOperation", @@ -21198,7 +21227,7 @@ } } }, - "revision": "20251003", + "revision": "20251010", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -24271,7 +24300,9 @@ "GETTING_CONTAINER_IMAGE", "STARTING_MODEL_SERVER", "FINISHING_UP", - "DEPLOYMENT_TERMINATED" + "DEPLOYMENT_TERMINATED", + "SUCCESSFULLY_DEPLOYED", + "FAILED_TO_DEPLOY" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -24282,7 +24313,9 @@ "The deployment is getting the container image for the model server.", "The deployment is starting the model server.", "The deployment is performing finalization steps.", - "The deployment has terminated." + "The deployment has terminated.", + "The deployment has succeeded.", + "The deployment has failed." ], "readOnly": true, "type": "string" @@ -25364,7 +25397,9 @@ "GETTING_CONTAINER_IMAGE", "STARTING_MODEL_SERVER", "FINISHING_UP", - "DEPLOYMENT_TERMINATED" + "DEPLOYMENT_TERMINATED", + "SUCCESSFULLY_DEPLOYED", + "FAILED_TO_DEPLOY" ], "enumDescriptions": [ "Default value. This value is unused.", @@ -25375,7 +25410,9 @@ "The deployment is getting the container image for the model server.", "The deployment is starting the model server.", "The deployment is performing finalization steps.", - "The deployment has terminated." + "The deployment has terminated.", + "The deployment has succeeded.", + "The deployment has failed." ], "readOnly": true, "type": "string" @@ -26063,6 +26100,90 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1EmbedContentRequest": { + "description": "Request message for PredictionService.EmbedContent.", + "id": "GoogleCloudAiplatformV1EmbedContentRequest", + "properties": { + "autoTruncate": { + "description": "Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length.", + "type": "boolean" + }, + "content": { + "$ref": "GoogleCloudAiplatformV1Content", + "description": "Required. Input content to be embedded. Required." + }, + "outputDimensionality": { + "description": "Optional. Optional reduced dimension for the output embedding. If set, excessive values in the output embedding are truncated from the end.", + "format": "int32", + "type": "integer" + }, + "taskType": { + "description": "Optional. The task type of the embedding.", + "enum": [ + "UNSPECIFIED", + "RETRIEVAL_QUERY", + "RETRIEVAL_DOCUMENT", + "SEMANTIC_SIMILARITY", + "CLASSIFICATION", + "CLUSTERING", + "QUESTION_ANSWERING", + "FACT_VERIFICATION", + "CODE_RETRIEVAL_QUERY" + ], + "enumDescriptions": [ + "Unset value, which will default to one of the other enum values.", + "Specifies the given text is a query in a search/retrieval setting.", + "Specifies the given text is a document from the corpus being searched.", + "Specifies the given text will be used for STS.", + "Specifies that the given text will be classified.", + "Specifies that the embeddings will be used for clustering.", + "Specifies that the embeddings will be used for question answering.", + "Specifies that the embeddings will be used for fact verification.", + "Specifies that the embeddings will be used for code retrieval." + ], + "type": "string" + }, + "title": { + "description": "Optional. An optional title for the text.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1EmbedContentResponse": { + "description": "Response message for PredictionService.EmbedContent.", + "id": "GoogleCloudAiplatformV1EmbedContentResponse", + "properties": { + "embedding": { + "$ref": "GoogleCloudAiplatformV1EmbedContentResponseEmbedding", + "description": "The embedding generated from the input content." + }, + "truncated": { + "description": "Whether the input content was truncated before generating the embedding.", + "type": "boolean" + }, + "usageMetadata": { + "$ref": "GoogleCloudAiplatformV1UsageMetadata", + "description": "Metadata about the response(s)." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1EmbedContentResponseEmbedding": { + "description": "A list of floats representing an embedding.", + "id": "GoogleCloudAiplatformV1EmbedContentResponseEmbedding", + "properties": { + "values": { + "description": "Embedding vector values.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1EncryptionSpec": { "description": "Represents a customer-managed encryption key spec that can be applied to a top-level resource.", "id": "GoogleCloudAiplatformV1EncryptionSpec", @@ -38080,6 +38201,13 @@ }, "type": "array" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The user labels for Imagen billing usage only. Only Imagen supports labels. For other use cases, it will be ignored.", + "type": "object" + }, "parameters": { "description": "The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's DeployedModels' Model's PredictSchemata's parameters_schema_uri.", "type": "any" @@ -49940,6 +50068,93 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1UsageMetadata": { + "description": "Usage metadata about the content generation request and response. This message provides a detailed breakdown of token usage and other relevant metrics.", + "id": "GoogleCloudAiplatformV1UsageMetadata", + "properties": { + "cacheTokensDetails": { + "description": "Output only. A detailed breakdown of the token count for each modality in the cached content.", + "items": { + "$ref": "GoogleCloudAiplatformV1ModalityTokenCount" + }, + "readOnly": true, + "type": "array" + }, + "cachedContentTokenCount": { + "description": "Output only. The number of tokens in the cached content that was used for this request.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "candidatesTokenCount": { + "description": "The total number of tokens in the generated candidates.", + "format": "int32", + "type": "integer" + }, + "candidatesTokensDetails": { + "description": "Output only. A detailed breakdown of the token count for each modality in the generated candidates.", + "items": { + "$ref": "GoogleCloudAiplatformV1ModalityTokenCount" + }, + "readOnly": true, + "type": "array" + }, + "promptTokenCount": { + "description": "The total number of tokens in the prompt. This includes any text, images, or other media provided in the request. When `cached_content` is set, this also includes the number of tokens in the cached content.", + "format": "int32", + "type": "integer" + }, + "promptTokensDetails": { + "description": "Output only. A detailed breakdown of the token count for each modality in the prompt.", + "items": { + "$ref": "GoogleCloudAiplatformV1ModalityTokenCount" + }, + "readOnly": true, + "type": "array" + }, + "thoughtsTokenCount": { + "description": "Output only. The number of tokens that were part of the model's generated \"thoughts\" output, if applicable.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "toolUsePromptTokenCount": { + "description": "Output only. The number of tokens in the results from tool executions, which are provided back to the model as input, if applicable.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "toolUsePromptTokensDetails": { + "description": "Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.", + "items": { + "$ref": "GoogleCloudAiplatformV1ModalityTokenCount" + }, + "readOnly": true, + "type": "array" + }, + "totalTokenCount": { + "description": "The total number of tokens for the entire request. This is the sum of `prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`.", + "format": "int32", + "type": "integer" + }, + "trafficType": { + "description": "Output only. The traffic type for this request.", + "enum": [ + "TRAFFIC_TYPE_UNSPECIFIED", + "ON_DEMAND", + "PROVISIONED_THROUGHPUT" + ], + "enumDescriptions": [ + "Unspecified request traffic type.", + "Type for Pay-As-You-Go traffic.", + "Type for Provisioned Throughput traffic." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1UserActionReference": { "description": "References an API call. It contains more information about long running operation and Jobs that are triggered by the API call.", "id": "GoogleCloudAiplatformV1UserActionReference", diff --git a/DiscoveryJson/artifactregistry.v1.json b/DiscoveryJson/artifactregistry.v1.json index 9c51a94ed8d..9762e80f8d6 100644 --- a/DiscoveryJson/artifactregistry.v1.json +++ b/DiscoveryJson/artifactregistry.v1.json @@ -2465,7 +2465,7 @@ } } }, - "revision": "20250925", + "revision": "20251007", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { @@ -4115,7 +4115,8 @@ "PYTHON", "KFP", "GO", - "GENERIC" + "GENERIC", + "RUBY" ], "enumDescriptions": [ "Unspecified package format.", @@ -4128,7 +4129,8 @@ "Python package format.", "Kubeflow Pipelines package format.", "Go package format.", - "Generic package format." + "Generic package format.", + "Ruby package format." ], "type": "string" }, @@ -4666,7 +4668,7 @@ "DISABLED" ], "enumDescriptions": [ - "Not set. This will be treated as INHERITED.", + "Not set. This will be treated as INHERITED for Docker repositories and DISABLED for non-Docker repositories.", "Scanning is Enabled, but dependent on API enablement.", "No automatic vulnerability scanning will be performed for this repository." ], diff --git a/DiscoveryJson/bigquery.v2.json b/DiscoveryJson/bigquery.v2.json index d8669469d1a..7c59c782122 100644 --- a/DiscoveryJson/bigquery.v2.json +++ b/DiscoveryJson/bigquery.v2.json @@ -2375,7 +2375,7 @@ } } }, - "revision": "20250928", + "revision": "20251012", "rootUrl": "https://bigquery.googleapis.com/", "schemas": { "AggregateClassificationMetrics": { @@ -5185,6 +5185,10 @@ "$ref": "TableReference", "description": "The base table reference." }, + "indexId": { + "description": "The index id.", + "type": "string" + }, "postIndexPruningParallelInputCount": { "description": "The number of parallel inputs after index pruning.", "format": "int64", diff --git a/DiscoveryJson/bigqueryreservation.v1.json b/DiscoveryJson/bigqueryreservation.v1.json index b611abee2c4..99d5d7a4780 100644 --- a/DiscoveryJson/bigqueryreservation.v1.json +++ b/DiscoveryJson/bigqueryreservation.v1.json @@ -1267,7 +1267,7 @@ } } }, - "revision": "20250907", + "revision": "20251009", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": { @@ -1313,6 +1313,10 @@ "readOnly": true, "type": "string" }, + "schedulingPolicy": { + "$ref": "SchedulingPolicy", + "description": "Optional. The scheduling policy to use for jobs and queries of this assignee when running under the associated reservation. The scheduling policy controls how the reservation's resources are distributed. This overrides the default scheduling policy specified on the reservation. This feature is not yet generally available." + }, "state": { "description": "Output only. State of the assignment.", "enum": [ @@ -1916,6 +1920,10 @@ ], "type": "string" }, + "schedulingPolicy": { + "$ref": "SchedulingPolicy", + "description": "Optional. The scheduling policy to use for jobs and queries running under this reservation. The scheduling policy controls how the reservation's resources are distributed. This feature is not yet generally available." + }, "secondaryLocation": { "description": "Optional. The current location of the reservation's secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).", "type": "string" @@ -1945,6 +1953,23 @@ }, "type": "object" }, + "SchedulingPolicy": { + "description": "The scheduling policy controls how a reservation's resources are distributed.", + "id": "SchedulingPolicy", + "properties": { + "concurrency": { + "description": "Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value. This feature is not yet generally available.", + "format": "int64", + "type": "string" + }, + "maxSlots": { + "description": "Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value. This feature is not yet generally available.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "SearchAllAssignmentsResponse": { "description": "The response for ReservationService.SearchAllAssignments.", "id": "SearchAllAssignmentsResponse", diff --git a/DiscoveryJson/chat.v1.json b/DiscoveryJson/chat.v1.json index 2162f2e8352..d0787c30a81 100644 --- a/DiscoveryJson/chat.v1.json +++ b/DiscoveryJson/chat.v1.json @@ -1535,7 +1535,7 @@ } } }, - "revision": "20251014", + "revision": "20251016", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -4494,12 +4494,14 @@ "enum": [ "MEMBERSHIP_ROLE_UNSPECIFIED", "ROLE_MEMBER", - "ROLE_MANAGER" + "ROLE_MANAGER", + "ROLE_ASSISTANT_MANAGER" ], "enumDescriptions": [ "Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).", "A member of the space. In the Chat UI, this role is called Member. The user has basic permissions, like sending messages to the space. Managers and owners can grant members additional permissions in a space, including: - Add or remove members. - Modify space details. - Turn history on or off. - Mention everyone in the space with `@all`. - Manage Chat apps and webhooks installed in the space. In direct messages and unnamed group conversations, everyone has this role.", - "A space owner. In the Chat UI, this role is called Owner. The user has the complete set of space permissions to manage the space, including: - Change the role of other members in the space to member, manager, or owner. - Delete the space. Only supported in SpaceType.SPACE (named spaces). To learn more, see [Learn more about your role as a space owner or manager](https://support.google.com/chat/answer/11833441)." + "A space owner. In the Chat UI, this role is called Owner. The user has the complete set of space permissions to manage the space, including: - Change the role of other members in the space to member, manager, or owner. - Delete the space. Only supported in SpaceType.SPACE (named spaces). To learn more, see [Learn more about your role as a space owner or manager](https://support.google.com/chat/answer/11833441).", + "A space manager. In the Chat UI, this role is called Manager. The user has all basic permissions of `ROLE_MEMBER`, and can be granted a subset of administrative permissions by an owner. By default, managers have all the permissions of an owner except for the ability to: - Delete the space. - Make another space member an owner. - Change an owner's role. By default, managers permissions include but aren't limited to: - Make another member a manager. - Delete messages in the space. - Manage space permissions. - Receive notifications for requests to join the space if the manager has the \"manage members\" permission in the space settings. - Make a space discoverable. Only supported in SpaceType.SPACE (named spaces). To learn more, see [Manage space settings](https://support.google.com/chat/answer/13340792)." ], "type": "string" }, @@ -4871,6 +4873,10 @@ "description": "Represents a space permission setting.", "id": "PermissionSetting", "properties": { + "assistantManagersAllowed": { + "description": "Optional. Whether space managers `ROLE_ASSISTANT_MANAGER`) have this permission.", + "type": "boolean" + }, "managersAllowed": { "description": "Optional. Whether space owners (`ROLE_MANAGER`) have this permission.", "type": "boolean" @@ -5199,7 +5205,7 @@ "type": "string" }, "customer": { - "description": "Optional. Immutable. The customer id of the domain of the space. Required only when creating a space with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`, otherwise should not be set. In the format `customers/{customer}`, where `customer` is the `id` from the [Admin SDK customer resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). Private apps can also use the `customers/my_customer` alias to create the space in the same Google Workspace organization as the app. For DMs, this field isn't populated.", + "description": "Optional. Immutable. The customer id of the domain of the space. Required only when creating a space with [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and `SpaceType` is `SPACE`, otherwise should not be set. In the format `customers/{customer}`, where `customer` is the `id` from the [Admin SDK customer resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). Private apps can also use the `customers/my_customer` alias to create the space in the same Google Workspace organization as the app. This field isn't populated for direct messages (DMs) or when the space is created by non-Google Workspace users.", "type": "string" }, "displayName": { diff --git a/DiscoveryJson/compute.v1.json b/DiscoveryJson/compute.v1.json index 204eef03ac1..9a1ecbf4b47 100644 --- a/DiscoveryJson/compute.v1.json +++ b/DiscoveryJson/compute.v1.json @@ -31510,6 +31510,63 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", + "httpMethod": "GET", + "id": "compute.reservationBlocks.getIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "list": { "description": "Retrieves a list of reservation blocks under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", @@ -31631,6 +31688,113 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", + "httpMethod": "POST", + "id": "compute.reservationBlocks.setIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", + "request": { + "$ref": "ZoneSetNestedPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.reservationBlocks.testIamPermissions", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -31683,6 +31847,63 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "flatPath": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy", + "httpMethod": "GET", + "id": "compute.reservationSubBlocks.getIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "list": { "description": "Retrieves a list of reservation subBlocks under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks", @@ -31855,6 +32076,113 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", + "flatPath": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy", + "httpMethod": "POST", + "id": "compute.reservationSubBlocks.setIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy", + "request": { + "$ref": "ZoneSetNestedPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.reservationSubBlocks.testIamPermissions", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -42028,7 +42356,7 @@ } } }, - "revision": "20250930", + "revision": "20251015", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -96685,6 +97013,28 @@ }, "type": "object" }, + "ZoneSetNestedPolicyRequest": { + "id": "ZoneSetNestedPolicyRequest", + "properties": { + "bindings": { + "description": "Flatten Policy to create a backwacd compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", + "format": "byte", + "type": "string" + }, + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." + } + }, + "type": "object" + }, "ZoneSetPolicyRequest": { "id": "ZoneSetPolicyRequest", "properties": { diff --git a/DiscoveryJson/dataform.v1.json b/DiscoveryJson/dataform.v1.json new file mode 100644 index 00000000000..b2c072809ea --- /dev/null +++ b/DiscoveryJson/dataform.v1.json @@ -0,0 +1,4918 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/bigquery": { + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://dataform.googleapis.com/", + "batchPath": "batch", + "description": "Service to develop, version control, and operationalize SQL pipelines in BigQuery.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/dataform/docs", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "dataform:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://dataform.mtls.googleapis.com/", + "name": "dataform", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getConfig": { + "description": "Get default config for a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/config", + "httpMethod": "GET", + "id": "dataform.projects.locations.getConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The config name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/config$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Config" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "dataform.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "extraLocationTypes": { + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "location": "query", + "repeated": true, + "type": "string" + }, + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "updateConfig": { + "description": "Update default config for a given project and location. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/config", + "httpMethod": "PATCH", + "id": "dataform.projects.locations.updateConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The config name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/config$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Specifies the fields to be updated in the config.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Config" + }, + "response": { + "$ref": "Config" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "folders": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/folders/{foldersId}:getIamPolicy", + "httpMethod": "GET", + "id": "dataform.projects.locations.folders.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/folders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/folders/{foldersId}:setIamPolicy", + "httpMethod": "POST", + "id": "dataform.projects.locations.folders.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/folders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/folders/{foldersId}:testIamPermissions", + "httpMethod": "POST", + "id": "dataform.projects.locations.folders.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/folders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "dataform.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "dataform.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "dataform.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "repositories": { + "methods": { + "commit": { + "description": "Applies a Git commit to a Repository. The Repository must not have a value for `git_remote_settings.url`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:commit", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.commit", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:commit", + "request": { + "$ref": "CommitRepositoryChangesRequest" + }, + "response": { + "$ref": "CommitRepositoryChangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "computeAccessTokenStatus": { + "description": "Computes a Repository's Git access token status.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:computeAccessTokenStatus", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.computeAccessTokenStatus", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:computeAccessTokenStatus", + "response": { + "$ref": "ComputeRepositoryAccessTokenStatusResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a new Repository in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The location in which to create the repository. Must be in the format `projects/*/locations/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "repositoryId": { + "description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/repositories", + "request": { + "$ref": "Repository" + }, + "response": { + "$ref": "Repository" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", + "httpMethod": "DELETE", + "id": "dataform.projects.locations.repositories.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "force": { + "description": "Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchHistory": { + "description": "Fetches a Repository's history of commits. The Repository must not have a value for `git_remote_settings.url`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchHistory", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.fetchHistory", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of commits to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:fetchHistory", + "response": { + "$ref": "FetchRepositoryHistoryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchRemoteBranches": { + "description": "Fetches a Repository's remote branches.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:fetchRemoteBranches", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.fetchRemoteBranches", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:fetchRemoteBranches", + "response": { + "$ref": "FetchRemoteBranchesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Fetches a single Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Repository" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:getIamPolicy", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Repositories in a given project and location. **Note:** *This method can return repositories not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the returned list.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of repositories to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The location in which to list repositories. Must be in the format `projects/*/locations/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/repositories", + "response": { + "$ref": "ListRepositoriesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a single Repository. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}", + "httpMethod": "PATCH", + "id": "dataform.projects.locations.repositories.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Repository" + }, + "response": { + "$ref": "Repository" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "queryDirectoryContents": { + "description": "Returns the contents of a given Repository directory. The Repository must not have a value for `git_remote_settings.url`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:queryDirectoryContents", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.queryDirectoryContents", + "parameterOrder": [ + "name" + ], + "parameters": { + "commitSha": { + "description": "Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "path": { + "description": "Optional. The directory's full path including directory name, relative to root. If left unset, the root is used.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:queryDirectoryContents", + "response": { + "$ref": "QueryRepositoryDirectoryContentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "readFile": { + "description": "Returns the contents of a file (inside a Repository). The Repository must not have a value for `git_remote_settings.url`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:readFile", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.readFile", + "parameterOrder": [ + "name" + ], + "parameters": { + "commitSha": { + "description": "Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The repository's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "path": { + "description": "Required. Full file path to read including filename, from repository root.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:readFile", + "response": { + "$ref": "ReadRepositoryFileResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:setIamPolicy", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:testIamPermissions", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "compilationResults": { + "methods": { + "create": { + "description": "Creates a new CompilationResult in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.compilationResults.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/compilationResults", + "request": { + "$ref": "CompilationResult" + }, + "response": { + "$ref": "CompilationResult" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Fetches a single CompilationResult.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults/{compilationResultsId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.compilationResults.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The compilation result's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "CompilationResult" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists CompilationResults in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.compilationResults.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the returned list.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `ListCompilationResults` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCompilationResults`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The repository in which to list compilation results. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/compilationResults", + "response": { + "$ref": "ListCompilationResultsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "query": { + "description": "Returns CompilationResultActions in a given CompilationResult.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/compilationResults/{compilationResultsId}:query", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.compilationResults.query", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "Optional. Optional filter for the returned list. Filtering is only currently supported on the `file_path` field.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. The compilation result's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of compilation results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:query", + "response": { + "$ref": "QueryCompilationResultActionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "releaseConfigs": { + "methods": { + "create": { + "description": "Creates a new ReleaseConfig in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.releaseConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The repository in which to create the release config. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "releaseConfigId": { + "description": "Required. The ID to use for the release config, which will become the final component of the release config's resource name.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/releaseConfigs", + "request": { + "$ref": "ReleaseConfig" + }, + "response": { + "$ref": "ReleaseConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single ReleaseConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}", + "httpMethod": "DELETE", + "id": "dataform.projects.locations.repositories.releaseConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The release config's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Fetches a single ReleaseConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.releaseConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The release config's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "ReleaseConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists ReleaseConfigs in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.releaseConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. Maximum number of release configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The repository in which to list release configs. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/releaseConfigs", + "response": { + "$ref": "ListReleaseConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a single ReleaseConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/releaseConfigs/{releaseConfigsId}", + "httpMethod": "PATCH", + "id": "dataform.projects.locations.repositories.releaseConfigs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The release config's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "ReleaseConfig" + }, + "response": { + "$ref": "ReleaseConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "workflowConfigs": { + "methods": { + "create": { + "description": "Creates a new WorkflowConfig in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workflowConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The repository in which to create the workflow config. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "workflowConfigId": { + "description": "Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/workflowConfigs", + "request": { + "$ref": "WorkflowConfig" + }, + "response": { + "$ref": "WorkflowConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single WorkflowConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}", + "httpMethod": "DELETE", + "id": "dataform.projects.locations.repositories.workflowConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workflow config's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Fetches a single WorkflowConfig.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workflowConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workflow config's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "WorkflowConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists WorkflowConfigs in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workflowConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. Maximum number of workflow configs to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The repository in which to list workflow configs. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/workflowConfigs", + "response": { + "$ref": "ListWorkflowConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a single WorkflowConfig. **Note:** *This method does not fully implement [AIP/134](https://google.aip.dev/134). The wildcard entry (\\*) is treated as a bad request, and when the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.*", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowConfigs/{workflowConfigsId}", + "httpMethod": "PATCH", + "id": "dataform.projects.locations.repositories.workflowConfigs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The workflow config's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "WorkflowConfig" + }, + "response": { + "$ref": "WorkflowConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "workflowInvocations": { + "methods": { + "cancel": { + "description": "Requests cancellation of a running WorkflowInvocation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}:cancel", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workflowInvocations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workflow invocation resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelWorkflowInvocationRequest" + }, + "response": { + "$ref": "CancelWorkflowInvocationResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a new WorkflowInvocation in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workflowInvocations.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The repository in which to create the workflow invocation. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/workflowInvocations", + "request": { + "$ref": "WorkflowInvocation" + }, + "response": { + "$ref": "WorkflowInvocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single WorkflowInvocation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}", + "httpMethod": "DELETE", + "id": "dataform.projects.locations.repositories.workflowInvocations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workflow invocation resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Fetches a single WorkflowInvocation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workflowInvocations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workflow invocation resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "WorkflowInvocation" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists WorkflowInvocations in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workflowInvocations.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the returned list.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource of the WorkflowInvocation type. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/workflowInvocations", + "response": { + "$ref": "ListWorkflowInvocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "query": { + "description": "Returns WorkflowInvocationActions in a given WorkflowInvocation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workflowInvocations/{workflowInvocationsId}:query", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workflowInvocations.query", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workflow invocation's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of workflow invocations to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:query", + "response": { + "$ref": "QueryWorkflowInvocationActionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "workspaces": { + "methods": { + "commit": { + "description": "Applies a Git commit for uncommitted files in a Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:commit", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.commit", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:commit", + "request": { + "$ref": "CommitWorkspaceChangesRequest" + }, + "response": { + "$ref": "CommitWorkspaceChangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a new Workspace in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The repository in which to create the workspace. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + }, + "workspaceId": { + "description": "Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/workspaces", + "request": { + "$ref": "Workspace" + }, + "response": { + "$ref": "Workspace" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}", + "httpMethod": "DELETE", + "id": "dataform.projects.locations.repositories.workspaces.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace resource's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchFileDiff": { + "description": "Fetches Git diff for an uncommitted file in a Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchFileDiff", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.fetchFileDiff", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "path": { + "description": "Required. The file's full path including filename, relative to the workspace root.", + "location": "query", + "type": "string" + }, + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:fetchFileDiff", + "response": { + "$ref": "FetchFileDiffResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchFileGitStatuses": { + "description": "Fetches Git statuses for the files in a Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchFileGitStatuses", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.fetchFileGitStatuses", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:fetchFileGitStatuses", + "response": { + "$ref": "FetchFileGitStatusesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchGitAheadBehind": { + "description": "Fetches Git ahead/behind against a remote branch.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:fetchGitAheadBehind", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.fetchGitAheadBehind", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + }, + "remoteBranch": { + "description": "Optional. The name of the branch in the Git remote against which this workspace should be compared. If left unset, the repository's default branch name will be used.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}:fetchGitAheadBehind", + "response": { + "$ref": "FetchGitAheadBehindResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Fetches a single Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Workspace" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:getIamPolicy", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "installNpmPackages": { + "description": "Installs dependency NPM packages (inside a Workspace).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:installNpmPackages", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.installNpmPackages", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:installNpmPackages", + "request": { + "$ref": "InstallNpmPackagesRequest" + }, + "response": { + "$ref": "InstallNpmPackagesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Workspaces in a given Repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter for the returned list.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. This field only supports ordering by `name`. If unspecified, the server will choose the ordering. If specified, the default order is ascending for the `name` field.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of workspaces to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `ListWorkspaces` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The repository in which to list workspaces. Must be in the format `projects/*/locations/*/repositories/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/workspaces", + "response": { + "$ref": "ListWorkspacesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "makeDirectory": { + "description": "Creates a directory inside a Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:makeDirectory", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.makeDirectory", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:makeDirectory", + "request": { + "$ref": "MakeDirectoryRequest" + }, + "response": { + "$ref": "MakeDirectoryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "moveDirectory": { + "description": "Moves a directory (inside a Workspace), and all of its contents, to a new location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:moveDirectory", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.moveDirectory", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:moveDirectory", + "request": { + "$ref": "MoveDirectoryRequest" + }, + "response": { + "$ref": "MoveDirectoryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "moveFile": { + "description": "Moves a file (inside a Workspace) to a new location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:moveFile", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.moveFile", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:moveFile", + "request": { + "$ref": "MoveFileRequest" + }, + "response": { + "$ref": "MoveFileResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "pull": { + "description": "Pulls Git commits from the Repository's remote into a Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:pull", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.pull", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:pull", + "request": { + "$ref": "PullGitCommitsRequest" + }, + "response": { + "$ref": "PullGitCommitsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "push": { + "description": "Pushes Git commits from a Workspace to the Repository's remote.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:push", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.push", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:push", + "request": { + "$ref": "PushGitCommitsRequest" + }, + "response": { + "$ref": "PushGitCommitsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "queryDirectoryContents": { + "description": "Returns the contents of a given Workspace directory.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:queryDirectoryContents", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.queryDirectoryContents", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "pageSize": { + "description": "Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "path": { + "description": "Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.", + "location": "query", + "type": "string" + }, + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:queryDirectoryContents", + "response": { + "$ref": "QueryDirectoryContentsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "readFile": { + "description": "Returns the contents of a file (inside a Workspace).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:readFile", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.readFile", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "path": { + "description": "Required. The file's full path including filename, relative to the workspace root.", + "location": "query", + "type": "string" + }, + "revision": { + "description": "Optional. The Git revision of the file to return. If left empty, the current contents of `path` will be returned.", + "location": "query", + "type": "string" + }, + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:readFile", + "response": { + "$ref": "ReadFileResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "removeDirectory": { + "description": "Deletes a directory (inside a Workspace) and all of its contents.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:removeDirectory", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.removeDirectory", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:removeDirectory", + "request": { + "$ref": "RemoveDirectoryRequest" + }, + "response": { + "$ref": "RemoveDirectoryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "removeFile": { + "description": "Deletes a file (inside a Workspace).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:removeFile", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.removeFile", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:removeFile", + "request": { + "$ref": "RemoveFileRequest" + }, + "response": { + "$ref": "RemoveFileResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reset": { + "description": "Performs a Git reset for uncommitted files in a Workspace.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:reset", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.reset", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:reset", + "request": { + "$ref": "ResetWorkspaceChangesRequest" + }, + "response": { + "$ref": "ResetWorkspaceChangesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "searchFiles": { + "description": "Finds the contents of a given Workspace directory by filter.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:searchFiles", + "httpMethod": "GET", + "id": "dataform.projects.locations.repositories.workspaces.searchFiles", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "filter": { + "description": "Optional. Optional filter for the returned list in filtering format. Filtering is only currently supported on the `path` field. See https://google.aip.dev/160 for details.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Maximum number of search results to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:searchFiles", + "response": { + "$ref": "SearchFilesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:setIamPolicy", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:testIamPermissions", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "writeFile": { + "description": "Writes to a file (inside a Workspace).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/workspaces/{workspacesId}:writeFile", + "httpMethod": "POST", + "id": "dataform.projects.locations.repositories.workspaces.writeFile", + "parameterOrder": [ + "workspace" + ], + "parameters": { + "workspace": { + "description": "Required. The workspace's name.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+workspace}:writeFile", + "request": { + "$ref": "WriteFileRequest" + }, + "response": { + "$ref": "WriteFileResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "teamFolders": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/teamFolders/{teamFoldersId}:getIamPolicy", + "httpMethod": "GET", + "id": "dataform.projects.locations.teamFolders.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/teamFolders/{teamFoldersId}:setIamPolicy", + "httpMethod": "POST", + "id": "dataform.projects.locations.teamFolders.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/teamFolders/{teamFoldersId}:testIamPermissions", + "httpMethod": "POST", + "id": "dataform.projects.locations.teamFolders.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20251007", + "rootUrl": "https://dataform.googleapis.com/", + "schemas": { + "ActionErrorTable": { + "description": "Error table information, used to write error data into a BigQuery table.", + "id": "ActionErrorTable", + "properties": { + "retentionDays": { + "description": "Error table partition expiration in days. Only positive values are allowed.", + "format": "int32", + "type": "integer" + }, + "target": { + "$ref": "Target", + "description": "Error Table target." + } + }, + "type": "object" + }, + "ActionIncrementalLoadMode": { + "description": "Load definition for incremental load modes", + "id": "ActionIncrementalLoadMode", + "properties": { + "column": { + "description": "Column name for incremental load modes", + "type": "string" + } + }, + "type": "object" + }, + "ActionLoadConfig": { + "description": "Simplified load configuration for actions", + "id": "ActionLoadConfig", + "properties": { + "append": { + "$ref": "ActionSimpleLoadMode", + "description": "Append into destination table" + }, + "maximum": { + "$ref": "ActionIncrementalLoadMode", + "description": "Insert records where the value exceeds the previous maximum value for a column in the destination table" + }, + "replace": { + "$ref": "ActionSimpleLoadMode", + "description": "Replace destination table" + }, + "unique": { + "$ref": "ActionIncrementalLoadMode", + "description": "Insert records where the value of a column is not already present in the destination table" + } + }, + "type": "object" + }, + "ActionSimpleLoadMode": { + "description": "Simple load definition", + "id": "ActionSimpleLoadMode", + "properties": {}, + "type": "object" + }, + "ActionSqlDefinition": { + "description": "Definition of a SQL Data Preparation", + "id": "ActionSqlDefinition", + "properties": { + "errorTable": { + "$ref": "ActionErrorTable", + "description": "Error table configuration," + }, + "loadConfig": { + "$ref": "ActionLoadConfig", + "description": "Load configuration." + }, + "query": { + "description": "The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.", + "type": "string" + } + }, + "type": "object" + }, + "Assertion": { + "description": "Represents an assertion upon a SQL query which is required return zero rows.", + "id": "Assertion", + "properties": { + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "parentAction": { + "$ref": "Target", + "description": "The parent action of this assertion. Only set if this assertion was automatically generated." + }, + "relationDescriptor": { + "$ref": "RelationDescriptor", + "description": "Descriptor for the assertion's automatically-generated view and its columns." + }, + "selectQuery": { + "description": "The SELECT query which must return zero rows in order for this assertion to succeed.", + "type": "string" + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "BigQueryAction": { + "description": "Represents a workflow action that will run against BigQuery.", + "id": "BigQueryAction", + "properties": { + "jobId": { + "description": "Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.", + "readOnly": true, + "type": "string" + }, + "sqlScript": { + "description": "Output only. The generated BigQuery SQL script that will be executed.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members`, or principals, with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "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)." + }, + "members": { + "description": "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`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "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).", + "type": "string" + } + }, + "type": "object" + }, + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "CancelWorkflowInvocationRequest": { + "description": "`CancelWorkflowInvocation` request message.", + "id": "CancelWorkflowInvocationRequest", + "properties": {}, + "type": "object" + }, + "CancelWorkflowInvocationResponse": { + "description": "`CancelWorkflowInvocation` response message.", + "id": "CancelWorkflowInvocationResponse", + "properties": {}, + "type": "object" + }, + "CodeCompilationConfig": { + "description": "Configures various aspects of Dataform code compilation.", + "id": "CodeCompilationConfig", + "properties": { + "assertionSchema": { + "description": "Optional. The default schema (BigQuery dataset ID) for assertions.", + "type": "string" + }, + "builtinAssertionNamePrefix": { + "description": "Optional. The prefix to prepend to built-in assertion names.", + "type": "string" + }, + "databaseSuffix": { + "description": "Optional. The suffix that should be appended to all database (Google Cloud project ID) names.", + "type": "string" + }, + "defaultDatabase": { + "description": "Optional. The default database (Google Cloud project ID).", + "type": "string" + }, + "defaultLocation": { + "description": "Optional. The default BigQuery location to use. Defaults to \"US\". See the BigQuery docs for a full list of locations: https://cloud.google.com/bigquery/docs/locations.", + "type": "string" + }, + "defaultNotebookRuntimeOptions": { + "$ref": "NotebookRuntimeOptions", + "description": "Optional. The default notebook runtime options." + }, + "defaultSchema": { + "description": "Optional. The default schema (BigQuery dataset ID).", + "type": "string" + }, + "schemaSuffix": { + "description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.", + "type": "string" + }, + "tablePrefix": { + "description": "Optional. The prefix that should be prepended to all table names.", + "type": "string" + }, + "vars": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. User-defined variables that are made available to project code during compilation.", + "type": "object" + } + }, + "type": "object" + }, + "ColumnDescriptor": { + "description": "Describes a column.", + "id": "ColumnDescriptor", + "properties": { + "bigqueryPolicyTags": { + "description": "A list of BigQuery policy tags that will be applied to the column.", + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "description": "A textual description of the column.", + "type": "string" + }, + "path": { + "description": "The identifier for the column. Each entry in `path` represents one level of nesting.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CommitAuthor": { + "description": "Represents the author of a Git commit.", + "id": "CommitAuthor", + "properties": { + "emailAddress": { + "description": "Required. The commit author's email address.", + "type": "string" + }, + "name": { + "description": "Required. The commit author's name.", + "type": "string" + } + }, + "type": "object" + }, + "CommitLogEntry": { + "description": "Represents a single commit log.", + "id": "CommitLogEntry", + "properties": { + "author": { + "$ref": "CommitAuthor", + "description": "The commit author for this commit log entry." + }, + "commitMessage": { + "description": "The commit message for this commit log entry.", + "type": "string" + }, + "commitSha": { + "description": "The commit SHA for this commit log entry.", + "type": "string" + }, + "commitTime": { + "description": "Commit timestamp.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "CommitMetadata": { + "description": "Represents a Dataform Git commit.", + "id": "CommitMetadata", + "properties": { + "author": { + "$ref": "CommitAuthor", + "description": "Required. The commit's author." + }, + "commitMessage": { + "description": "Optional. The commit's message.", + "type": "string" + } + }, + "type": "object" + }, + "CommitRepositoryChangesRequest": { + "description": "`CommitRepositoryChanges` request message.", + "id": "CommitRepositoryChangesRequest", + "properties": { + "commitMetadata": { + "$ref": "CommitMetadata", + "description": "Required. The changes to commit to the repository." + }, + "fileOperations": { + "additionalProperties": { + "$ref": "FileOperation" + }, + "description": "Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root.", + "type": "object" + }, + "requiredHeadCommitSha": { + "description": "Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.", + "type": "string" + } + }, + "type": "object" + }, + "CommitRepositoryChangesResponse": { + "description": "`CommitRepositoryChanges` response message.", + "id": "CommitRepositoryChangesResponse", + "properties": { + "commitSha": { + "description": "The commit SHA of the current commit.", + "type": "string" + } + }, + "type": "object" + }, + "CommitWorkspaceChangesRequest": { + "description": "`CommitWorkspaceChanges` request message.", + "id": "CommitWorkspaceChangesRequest", + "properties": { + "author": { + "$ref": "CommitAuthor", + "description": "Required. The commit's author." + }, + "commitMessage": { + "description": "Optional. The commit's message.", + "type": "string" + }, + "paths": { + "description": "Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files will be committed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "CommitWorkspaceChangesResponse": { + "description": "`CommitWorkspaceChanges` response message.", + "id": "CommitWorkspaceChangesResponse", + "properties": {}, + "type": "object" + }, + "CompilationError": { + "description": "An error encountered when attempting to compile a Dataform project.", + "id": "CompilationError", + "properties": { + "actionTarget": { + "$ref": "Target", + "description": "Output only. The identifier of the action where this error occurred, if available.", + "readOnly": true + }, + "message": { + "description": "Output only. The error's top level message.", + "readOnly": true, + "type": "string" + }, + "path": { + "description": "Output only. The path of the file where this error occurred, if available, relative to the project root.", + "readOnly": true, + "type": "string" + }, + "stack": { + "description": "Output only. The error's full stack trace.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "CompilationResult": { + "description": "Represents the result of compiling a Dataform project.", + "id": "CompilationResult", + "properties": { + "codeCompilationConfig": { + "$ref": "CodeCompilationConfig", + "description": "Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json." + }, + "compilationErrors": { + "description": "Output only. Errors encountered during project compilation.", + "items": { + "$ref": "CompilationError" + }, + "readOnly": true, + "type": "array" + }, + "createTime": { + "description": "Output only. The timestamp of when the compilation result was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataEncryptionState": { + "$ref": "DataEncryptionState", + "description": "Output only. Only set if the repository has a KMS Key.", + "readOnly": true + }, + "dataformCoreVersion": { + "description": "Output only. The version of `@dataform/core` that was used for compilation.", + "readOnly": true, + "type": "string" + }, + "gitCommitish": { + "description": "Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`", + "type": "string" + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The compilation result's name.", + "readOnly": true, + "type": "string" + }, + "releaseConfig": { + "description": "Immutable. The name of the release config to compile. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.", + "type": "string" + }, + "resolvedGitCommitSha": { + "description": "Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.", + "readOnly": true, + "type": "string" + }, + "workspace": { + "description": "Immutable. The name of the workspace to compile. Must be in the format `projects/*/locations/*/repositories/*/workspaces/*`.", + "type": "string" + } + }, + "type": "object" + }, + "CompilationResultAction": { + "description": "Represents a single Dataform action in a compilation result.", + "id": "CompilationResultAction", + "properties": { + "assertion": { + "$ref": "Assertion", + "description": "The assertion executed by this action." + }, + "canonicalTarget": { + "$ref": "Target", + "description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result." + }, + "dataPreparation": { + "$ref": "DataPreparation", + "description": "The data preparation executed by this action." + }, + "declaration": { + "$ref": "Declaration", + "description": "The declaration declared by this action." + }, + "filePath": { + "description": "The full path including filename in which this action is located, relative to the workspace root.", + "type": "string" + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "notebook": { + "$ref": "Notebook", + "description": "The notebook executed by this action." + }, + "operations": { + "$ref": "Operations", + "description": "The database operations executed by this action." + }, + "relation": { + "$ref": "Relation", + "description": "The database relation created/updated by this action." + }, + "target": { + "$ref": "Target", + "description": "This action's identifier. Unique within the compilation result." + } + }, + "type": "object" + }, + "ComputeRepositoryAccessTokenStatusResponse": { + "description": "`ComputeRepositoryAccessTokenStatus` response message.", + "id": "ComputeRepositoryAccessTokenStatusResponse", + "properties": { + "tokenStatus": { + "description": "Indicates the status of the Git access token.", + "enum": [ + "TOKEN_STATUS_UNSPECIFIED", + "NOT_FOUND", + "INVALID", + "VALID" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).", + "The token could not be used to authenticate against the Git remote.", + "The token was used successfully to authenticate against the Git remote." + ], + "type": "string" + } + }, + "type": "object" + }, + "Config": { + "description": "Config for all repositories in a given project and location.", + "id": "Config", + "properties": { + "defaultKmsKeyName": { + "description": "Optional. The default KMS key that is used if no encryption key is provided when a repository is created.", + "type": "string" + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The config name.", + "type": "string" + } + }, + "type": "object" + }, + "DataEncryptionState": { + "description": "Describes encryption state of a resource.", + "id": "DataEncryptionState", + "properties": { + "kmsKeyVersionName": { + "description": "Required. The KMS key version name with which data of a resource is encrypted.", + "type": "string" + } + }, + "type": "object" + }, + "DataPreparation": { + "description": "Defines a compiled Data Preparation entity", + "id": "DataPreparation", + "properties": { + "contentsSql": { + "$ref": "SqlDefinition", + "description": "SQL definition for a Data Preparation. Contains a SQL query and additional context information." + }, + "contentsYaml": { + "description": "The data preparation definition, stored as a YAML string.", + "type": "string" + }, + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "DataPreparationAction": { + "description": "Represents a workflow action that will run a Data Preparation.", + "id": "DataPreparationAction", + "properties": { + "contentsSql": { + "$ref": "ActionSqlDefinition", + "description": "SQL definition for a Data Preparation. Contains a SQL query and additional context information." + }, + "contentsYaml": { + "description": "Output only. YAML representing the contents of the data preparation. Can be used to show the customer what the input was to their workflow.", + "readOnly": true, + "type": "string" + }, + "generatedSql": { + "description": "Output only. The generated BigQuery SQL script that will be executed. For reference only.", + "readOnly": true, + "type": "string" + }, + "jobId": { + "description": "Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has started to run.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Declaration": { + "description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.", + "id": "Declaration", + "properties": { + "relationDescriptor": { + "$ref": "RelationDescriptor", + "description": "Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no changes to the relation's metadata." + } + }, + "type": "object" + }, + "DeleteFile": { + "description": "Represents the delete file operation.", + "id": "DeleteFile", + "properties": {}, + "type": "object" + }, + "DirectoryEntry": { + "description": "Represents a single entry in a directory.", + "id": "DirectoryEntry", + "properties": { + "directory": { + "description": "A child directory in the directory.", + "type": "string" + }, + "file": { + "description": "A file in the directory.", + "type": "string" + } + }, + "type": "object" + }, + "DirectorySearchResult": { + "description": "Client-facing representation of a directory entry in search results.", + "id": "DirectorySearchResult", + "properties": { + "path": { + "description": "File system path relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "ErrorTable": { + "description": "Error table information, used to write error data into a BigQuery table.", + "id": "ErrorTable", + "properties": { + "retentionDays": { + "description": "Error table partition expiration in days. Only positive values are allowed.", + "format": "int32", + "type": "integer" + }, + "target": { + "$ref": "Target", + "description": "Error Table target." + } + }, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "FetchFileDiffResponse": { + "description": "`FetchFileDiff` response message.", + "id": "FetchFileDiffResponse", + "properties": { + "formattedDiff": { + "description": "The raw formatted Git diff for the file.", + "type": "string" + } + }, + "type": "object" + }, + "FetchFileGitStatusesResponse": { + "description": "`FetchFileGitStatuses` response message.", + "id": "FetchFileGitStatusesResponse", + "properties": { + "uncommittedFileChanges": { + "description": "A list of all files which have uncommitted Git changes. There will only be a single entry for any given file.", + "items": { + "$ref": "UncommittedFileChange" + }, + "type": "array" + } + }, + "type": "object" + }, + "FetchGitAheadBehindResponse": { + "description": "`FetchGitAheadBehind` response message.", + "id": "FetchGitAheadBehindResponse", + "properties": { + "commitsAhead": { + "description": "The number of commits in the remote branch that are not in the workspace.", + "format": "int32", + "type": "integer" + }, + "commitsBehind": { + "description": "The number of commits in the workspace that are not in the remote branch.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "FetchRemoteBranchesResponse": { + "description": "`FetchRemoteBranches` response message.", + "id": "FetchRemoteBranchesResponse", + "properties": { + "branches": { + "description": "The remote repository's branch names.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "FetchRepositoryHistoryResponse": { + "description": "`FetchRepositoryHistory` response message.", + "id": "FetchRepositoryHistoryResponse", + "properties": { + "commits": { + "description": "A list of commit logs, ordered by 'git log' default order.", + "items": { + "$ref": "CommitLogEntry" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "FileOperation": { + "description": "Represents a single file operation to the repository.", + "id": "FileOperation", + "properties": { + "deleteFile": { + "$ref": "DeleteFile", + "description": "Represents the delete operation." + }, + "writeFile": { + "$ref": "WriteFile", + "description": "Represents the write operation." + } + }, + "type": "object" + }, + "FileSearchResult": { + "description": "Client-facing representation of a file entry in search results.", + "id": "FileSearchResult", + "properties": { + "path": { + "description": "File system path relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "GitRemoteSettings": { + "description": "Controls Git remote configuration for a repository.", + "id": "GitRemoteSettings", + "properties": { + "authenticationTokenSecretVersion": { + "description": "Optional. The name of the Secret Manager secret version to use as an authentication token for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.", + "type": "string" + }, + "defaultBranch": { + "description": "Required. The Git remote's default branch name.", + "type": "string" + }, + "sshAuthenticationConfig": { + "$ref": "SshAuthenticationConfig", + "description": "Optional. Authentication fields for remote uris using SSH protocol." + }, + "tokenStatus": { + "deprecated": true, + "description": "Output only. Deprecated: The field does not contain any token status information.", + "enum": [ + "TOKEN_STATUS_UNSPECIFIED", + "NOT_FOUND", + "INVALID", + "VALID" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The token could not be found in Secret Manager (or the Dataform Service Account did not have permission to access it).", + "The token could not be used to authenticate against the Git remote.", + "The token was used successfully to authenticate against the Git remote." + ], + "readOnly": true, + "type": "string" + }, + "url": { + "description": "Required. The Git remote's URL.", + "type": "string" + } + }, + "type": "object" + }, + "IamPolicyOverrideView": { + "description": "Contains metadata about the IAM policy override for a given Dataform resource. If is_active is true, this the policy encoded in iam_policy_name is the source of truth for this resource. Will be provided in internal ESV2 views for: Workspaces, Repositories, Folders, TeamFolders.", + "id": "IamPolicyOverrideView", + "properties": { + "iamPolicyName": { + "$ref": "PolicyName", + "description": "The IAM policy name for the resource." + }, + "isActive": { + "description": "Whether the IAM policy encoded in this view is active.", + "type": "boolean" + } + }, + "type": "object" + }, + "IncrementalLoadMode": { + "description": "Load definition for incremental load modes", + "id": "IncrementalLoadMode", + "properties": { + "column": { + "description": "Column name for incremental load modes", + "type": "string" + } + }, + "type": "object" + }, + "IncrementalTableConfig": { + "description": "Contains settings for relations of type `INCREMENTAL_TABLE`.", + "id": "IncrementalTableConfig", + "properties": { + "incrementalPostOperations": { + "description": "SQL statements to be executed after inserting new rows into the relation.", + "items": { + "type": "string" + }, + "type": "array" + }, + "incrementalPreOperations": { + "description": "SQL statements to be executed before inserting new rows into the relation.", + "items": { + "type": "string" + }, + "type": "array" + }, + "incrementalSelectQuery": { + "description": "The SELECT query which returns rows which should be inserted into the relation if it already exists and is not being refreshed.", + "type": "string" + }, + "refreshDisabled": { + "description": "Whether this table should be protected from being refreshed.", + "type": "boolean" + }, + "uniqueKeyParts": { + "description": "A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will be included in the relation.", + "items": { + "type": "string" + }, + "type": "array" + }, + "updatePartitionFilter": { + "description": "A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see `unique_key_parts` for more information).", + "type": "string" + } + }, + "type": "object" + }, + "InstallNpmPackagesRequest": { + "description": "`InstallNpmPackages` request message.", + "id": "InstallNpmPackagesRequest", + "properties": {}, + "type": "object" + }, + "InstallNpmPackagesResponse": { + "description": "`InstallNpmPackages` response message.", + "id": "InstallNpmPackagesResponse", + "properties": {}, + "type": "object" + }, + "Interval": { + "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", + "id": "Interval", + "properties": { + "endTime": { + "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "InvocationConfig": { + "description": "Includes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` are unset, all actions will be included.", + "id": "InvocationConfig", + "properties": { + "fullyRefreshIncrementalTablesEnabled": { + "description": "Optional. When set to true, any incremental tables will be fully refreshed.", + "type": "boolean" + }, + "includedTags": { + "description": "Optional. The set of tags to include.", + "items": { + "type": "string" + }, + "type": "array" + }, + "includedTargets": { + "description": "Optional. The set of action identifiers to include.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "queryPriority": { + "description": "Optional. Specifies the priority for query execution in BigQuery. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries.", + "enum": [ + "QUERY_PRIORITY_UNSPECIFIED", + "INTERACTIVE", + "BATCH" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "Query will be executed in BigQuery with interactive priority. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#queries.", + "Query will be executed in BigQuery with batch priority. More information can be found at https://cloud.google.com/bigquery/docs/running-queries#batchqueries." + ], + "type": "string" + }, + "serviceAccount": { + "description": "Optional. The service account to run workflow invocations under.", + "type": "string" + }, + "transitiveDependenciesIncluded": { + "description": "Optional. When set to true, transitive dependencies of included actions will be executed.", + "type": "boolean" + }, + "transitiveDependentsIncluded": { + "description": "Optional. When set to true, transitive dependents of included actions will be executed.", + "type": "boolean" + } + }, + "type": "object" + }, + "ListCompilationResultsResponse": { + "description": "`ListCompilationResults` response message.", + "id": "ListCompilationResultsResponse", + "properties": { + "compilationResults": { + "description": "List of compilation results.", + "items": { + "$ref": "CompilationResult" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "unreachable": { + "description": "Locations which could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListReleaseConfigsResponse": { + "description": "`ListReleaseConfigs` response message.", + "id": "ListReleaseConfigsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "releaseConfigs": { + "description": "List of release configs.", + "items": { + "$ref": "ReleaseConfig" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations which could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListRepositoriesResponse": { + "description": "`ListRepositories` response message.", + "id": "ListRepositoriesResponse", + "properties": { + "nextPageToken": { + "description": "A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "repositories": { + "description": "List of repositories.", + "items": { + "$ref": "Repository" + }, + "type": "array" + }, + "unreachable": { + "description": "Locations which could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListWorkflowConfigsResponse": { + "description": "`ListWorkflowConfigs` response message.", + "id": "ListWorkflowConfigsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "unreachable": { + "description": "Locations which could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + }, + "workflowConfigs": { + "description": "List of workflow configs.", + "items": { + "$ref": "WorkflowConfig" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListWorkflowInvocationsResponse": { + "description": "`ListWorkflowInvocations` response message.", + "id": "ListWorkflowInvocationsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "unreachable": { + "description": "Locations which could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + }, + "workflowInvocations": { + "description": "List of workflow invocations.", + "items": { + "$ref": "WorkflowInvocation" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListWorkspacesResponse": { + "description": "`ListWorkspaces` response message.", + "id": "ListWorkspacesResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "unreachable": { + "description": "Locations which could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + }, + "workspaces": { + "description": "List of workspaces.", + "items": { + "$ref": "Workspace" + }, + "type": "array" + } + }, + "type": "object" + }, + "LoadConfig": { + "description": "Simplified load configuration for actions", + "id": "LoadConfig", + "properties": { + "append": { + "$ref": "SimpleLoadMode", + "description": "Append into destination table" + }, + "maximum": { + "$ref": "IncrementalLoadMode", + "description": "Insert records where the value exceeds the previous maximum value for a column in the destination table" + }, + "replace": { + "$ref": "SimpleLoadMode", + "description": "Replace destination table" + }, + "unique": { + "$ref": "IncrementalLoadMode", + "description": "Insert records where the value of a column is not already present in the destination table" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents a Google Cloud location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "MakeDirectoryRequest": { + "description": "`MakeDirectory` request message.", + "id": "MakeDirectoryRequest", + "properties": { + "path": { + "description": "Required. The directory's full path including directory name, relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "MakeDirectoryResponse": { + "description": "`MakeDirectory` response message.", + "id": "MakeDirectoryResponse", + "properties": {}, + "type": "object" + }, + "MoveDirectoryRequest": { + "description": "`MoveDirectory` request message.", + "id": "MoveDirectoryRequest", + "properties": { + "newPath": { + "description": "Required. The new path for the directory including directory name, rooted at workspace root.", + "type": "string" + }, + "path": { + "description": "Required. The directory's full path including directory name, relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "MoveDirectoryResponse": { + "description": "`MoveDirectory` response message.", + "id": "MoveDirectoryResponse", + "properties": {}, + "type": "object" + }, + "MoveFileRequest": { + "description": "`MoveFile` request message.", + "id": "MoveFileRequest", + "properties": { + "newPath": { + "description": "Required. The file's new path including filename, relative to the workspace root.", + "type": "string" + }, + "path": { + "description": "Required. The file's full path including filename, relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "MoveFileResponse": { + "description": "`MoveFile` response message.", + "id": "MoveFileResponse", + "properties": {}, + "type": "object" + }, + "Notebook": { + "description": "Represents a notebook.", + "id": "Notebook", + "properties": { + "contents": { + "description": "The contents of the notebook.", + "type": "string" + }, + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "NotebookAction": { + "description": "Represents a workflow action that will run against a Notebook runtime.", + "id": "NotebookAction", + "properties": { + "contents": { + "description": "Output only. The code contents of a Notebook to be run.", + "readOnly": true, + "type": "string" + }, + "jobId": { + "description": "Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the outputs created in Google Cloud Storage buckets. Only set once the job has started to run.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "NotebookRuntimeOptions": { + "description": "Configures various aspects of Dataform notebook runtime.", + "id": "NotebookRuntimeOptions", + "properties": { + "aiPlatformNotebookRuntimeTemplate": { + "description": "Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's default specifications.", + "type": "string" + }, + "gcsOutputBucket": { + "description": "Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`.", + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "cancelRequested": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "statusDetail": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Operations": { + "description": "Represents a list of arbitrary database operations.", + "id": "Operations", + "properties": { + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "hasOutput": { + "description": "Whether these operations produce an output relation.", + "type": "boolean" + }, + "queries": { + "description": "A list of arbitrary SQL statements that will be executed without alteration.", + "items": { + "type": "string" + }, + "type": "array" + }, + "relationDescriptor": { + "$ref": "RelationDescriptor", + "description": "Descriptor for any output relation and its columns. Only set if `has_output` is true." + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "Policy": { + "description": "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/).", + "id": "Policy", + "properties": { + "bindings": { + "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`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.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "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).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "PolicyName": { + "description": "An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a resource's external full resource name. For more information on this distinction, see go/iam-full-resource-names.", + "id": "PolicyName", + "properties": { + "id": { + "description": "Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service file that defines the type, either in path_mapping or in a comment.", + "type": "string" + }, + "region": { + "description": "For Cloud IAM: The location of the Policy. Must be empty or \"global\" for Policies owned by global IAM. Must name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to \"local\".", + "type": "string" + }, + "type": { + "description": "Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc.", + "type": "string" + } + }, + "type": "object" + }, + "PullGitCommitsRequest": { + "description": "`PullGitCommits` request message.", + "id": "PullGitCommitsRequest", + "properties": { + "author": { + "$ref": "CommitAuthor", + "description": "Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace." + }, + "remoteBranch": { + "description": "Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used.", + "type": "string" + } + }, + "type": "object" + }, + "PullGitCommitsResponse": { + "description": "`PullGitCommits` response message.", + "id": "PullGitCommitsResponse", + "properties": {}, + "type": "object" + }, + "PushGitCommitsRequest": { + "description": "`PushGitCommits` request message.", + "id": "PushGitCommitsRequest", + "properties": { + "remoteBranch": { + "description": "Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the repository's default branch name will be used.", + "type": "string" + } + }, + "type": "object" + }, + "PushGitCommitsResponse": { + "description": "`PushGitCommits` response message.", + "id": "PushGitCommitsResponse", + "properties": {}, + "type": "object" + }, + "QueryCompilationResultActionsResponse": { + "description": "`QueryCompilationResultActions` response message.", + "id": "QueryCompilationResultActionsResponse", + "properties": { + "compilationResultActions": { + "description": "List of compilation result actions.", + "items": { + "$ref": "CompilationResultAction" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "QueryDirectoryContentsResponse": { + "description": "`QueryDirectoryContents` response message.", + "id": "QueryDirectoryContentsResponse", + "properties": { + "directoryEntries": { + "description": "List of entries in the directory.", + "items": { + "$ref": "DirectoryEntry" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "QueryRepositoryDirectoryContentsResponse": { + "description": "`QueryRepositoryDirectoryContents` response message.", + "id": "QueryRepositoryDirectoryContentsResponse", + "properties": { + "directoryEntries": { + "description": "List of entries in the directory.", + "items": { + "$ref": "DirectoryEntry" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "QueryWorkflowInvocationActionsResponse": { + "description": "`QueryWorkflowInvocationActions` response message.", + "id": "QueryWorkflowInvocationActionsResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "workflowInvocationActions": { + "description": "List of workflow invocation actions.", + "items": { + "$ref": "WorkflowInvocationAction" + }, + "type": "array" + } + }, + "type": "object" + }, + "ReadFileResponse": { + "description": "`ReadFile` response message.", + "id": "ReadFileResponse", + "properties": { + "fileContents": { + "description": "The file's contents.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "ReadRepositoryFileResponse": { + "description": "`ReadRepositoryFile` response message.", + "id": "ReadRepositoryFileResponse", + "properties": { + "contents": { + "description": "The file's contents.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "Relation": { + "description": "Represents a database relation.", + "id": "Relation", + "properties": { + "additionalOptions": { + "additionalProperties": { + "type": "string" + }, + "description": "Additional options that will be provided as key/value pairs into the options clause of a create table/view statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for more information on which options are supported.", + "type": "object" + }, + "clusterExpressions": { + "description": "A list of columns or SQL expressions used to cluster the table.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dependencyTargets": { + "description": "A list of actions that this action depends on.", + "items": { + "$ref": "Target" + }, + "type": "array" + }, + "disabled": { + "description": "Whether this action is disabled (i.e. should not be run).", + "type": "boolean" + }, + "incrementalTableConfig": { + "$ref": "IncrementalTableConfig", + "description": "Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`." + }, + "partitionExpirationDays": { + "description": "Sets the partition expiration in days.", + "format": "int32", + "type": "integer" + }, + "partitionExpression": { + "description": "The SQL expression used to partition the relation.", + "type": "string" + }, + "postOperations": { + "description": "SQL statements to be executed after creating the relation.", + "items": { + "type": "string" + }, + "type": "array" + }, + "preOperations": { + "description": "SQL statements to be executed before creating the relation.", + "items": { + "type": "string" + }, + "type": "array" + }, + "relationDescriptor": { + "$ref": "RelationDescriptor", + "description": "Descriptor for the relation and its columns." + }, + "relationType": { + "description": "The type of this relation.", + "enum": [ + "RELATION_TYPE_UNSPECIFIED", + "TABLE", + "VIEW", + "INCREMENTAL_TABLE", + "MATERIALIZED_VIEW" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The relation is a table.", + "The relation is a view.", + "The relation is an incrementalized table.", + "The relation is a materialized view." + ], + "type": "string" + }, + "requirePartitionFilter": { + "description": "Specifies whether queries on this table must include a predicate filter that filters on the partitioning column.", + "type": "boolean" + }, + "selectQuery": { + "description": "The SELECT query which returns rows which this relation should contain.", + "type": "string" + }, + "tags": { + "description": "Arbitrary, user-defined tags on this action.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "RelationDescriptor": { + "description": "Describes a relation and its columns.", + "id": "RelationDescriptor", + "properties": { + "bigqueryLabels": { + "additionalProperties": { + "type": "string" + }, + "description": "A set of BigQuery labels that should be applied to the relation.", + "type": "object" + }, + "columns": { + "description": "A list of descriptions of columns within the relation.", + "items": { + "$ref": "ColumnDescriptor" + }, + "type": "array" + }, + "description": { + "description": "A text description of the relation.", + "type": "string" + } + }, + "type": "object" + }, + "ReleaseConfig": { + "description": "Represents a Dataform release configuration.", + "id": "ReleaseConfig", + "properties": { + "codeCompilationConfig": { + "$ref": "CodeCompilationConfig", + "description": "Optional. If set, fields of `code_compilation_config` override the default compilation settings that are specified in dataform.json." + }, + "cronSchedule": { + "description": "Optional. Optional schedule (in cron format) for automatic creation of compilation results.", + "type": "string" + }, + "disabled": { + "description": "Optional. Disables automatic creation of compilation results.", + "type": "boolean" + }, + "gitCommitish": { + "description": "Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1`", + "type": "string" + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The release config's name.", + "type": "string" + }, + "recentScheduledReleaseRecords": { + "description": "Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.", + "items": { + "$ref": "ScheduledReleaseRecord" + }, + "readOnly": true, + "type": "array" + }, + "releaseCompilationResult": { + "description": "Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is automatically created from this release config (using cron_schedule), or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation result must have been created using this release config. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", + "type": "string" + }, + "timeZone": { + "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.", + "type": "string" + } + }, + "type": "object" + }, + "RemoveDirectoryRequest": { + "description": "`RemoveDirectory` request message.", + "id": "RemoveDirectoryRequest", + "properties": { + "path": { + "description": "Required. The directory's full path including directory name, relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "RemoveDirectoryResponse": { + "description": "`RemoveDirectory` response message.", + "id": "RemoveDirectoryResponse", + "properties": {}, + "type": "object" + }, + "RemoveFileRequest": { + "description": "`RemoveFile` request message.", + "id": "RemoveFileRequest", + "properties": { + "path": { + "description": "Required. The file's full path including filename, relative to the workspace root.", + "type": "string" + } + }, + "type": "object" + }, + "RemoveFileResponse": { + "description": "`RemoveFile` response message.", + "id": "RemoveFileResponse", + "properties": {}, + "type": "object" + }, + "Repository": { + "description": "Represents a Dataform Git repository.", + "id": "Repository", + "properties": { + "createTime": { + "description": "Output only. The timestamp of when the repository was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataEncryptionState": { + "$ref": "DataEncryptionState", + "description": "Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.", + "readOnly": true + }, + "displayName": { + "description": "Optional. The repository's user-friendly name.", + "type": "string" + }, + "gitRemoteSettings": { + "$ref": "GitRemoteSettings", + "description": "Optional. If set, configures this repository to be linked to a Git remote." + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "kmsKeyName": { + "description": "Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the repository and all child resources. It is not possible to add or update the encryption key after the repository is created. Example: `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}`", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Repository user labels.", + "type": "object" + }, + "name": { + "description": "Identifier. The repository's name.", + "type": "string" + }, + "npmrcEnvironmentVariablesSecretVersion": { + "description": "Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.", + "type": "string" + }, + "serviceAccount": { + "description": "Optional. The service account to run workflow invocations under.", + "type": "string" + }, + "setAuthenticatedUserAdmin": { + "description": "Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository.", + "type": "boolean" + }, + "workspaceCompilationOverrides": { + "$ref": "WorkspaceCompilationOverrides", + "description": "Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information." + } + }, + "type": "object" + }, + "ResetWorkspaceChangesRequest": { + "description": "`ResetWorkspaceChanges` request message.", + "id": "ResetWorkspaceChangesRequest", + "properties": { + "clean": { + "description": "Optional. If set to true, untracked files will be deleted.", + "type": "boolean" + }, + "paths": { + "description": "Optional. Full file paths to reset back to their committed state including filename, rooted at workspace root. If left empty, all files will be reset.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ResetWorkspaceChangesResponse": { + "description": "`ResetWorkspaceChanges` response message.", + "id": "ResetWorkspaceChangesResponse", + "properties": {}, + "type": "object" + }, + "ScheduledExecutionRecord": { + "description": "A record of an attempt to create a workflow invocation for this workflow config.", + "id": "ScheduledExecutionRecord", + "properties": { + "errorStatus": { + "$ref": "Status", + "description": "The error status encountered upon this attempt to create the workflow invocation, if the attempt was unsuccessful." + }, + "executionTime": { + "description": "Output only. The timestamp of this execution attempt.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "workflowInvocation": { + "description": "The name of the created workflow invocation, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/workflowInvocations/*`.", + "type": "string" + } + }, + "type": "object" + }, + "ScheduledReleaseRecord": { + "description": "A record of an attempt to create a compilation result for this release config.", + "id": "ScheduledReleaseRecord", + "properties": { + "compilationResult": { + "description": "The name of the created compilation result, if one was successfully created. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", + "type": "string" + }, + "errorStatus": { + "$ref": "Status", + "description": "The error status encountered upon this attempt to create the compilation result, if the attempt was unsuccessful." + }, + "releaseTime": { + "description": "Output only. The timestamp of this release attempt.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "SearchFilesResponse": { + "description": "Client-facing representation of a file search response.", + "id": "SearchFilesResponse", + "properties": { + "nextPageToken": { + "description": "Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "searchResults": { + "description": "List of matched results.", + "items": { + "$ref": "SearchResult" + }, + "type": "array" + } + }, + "type": "object" + }, + "SearchResult": { + "description": "Client-facing representation of a search result entry.", + "id": "SearchResult", + "properties": { + "directory": { + "$ref": "DirectorySearchResult", + "description": "Details when search result is a directory." + }, + "file": { + "$ref": "FileSearchResult", + "description": "Details when search result is a file." + } + }, + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." + } + }, + "type": "object" + }, + "SimpleLoadMode": { + "description": "Simple load definition", + "id": "SimpleLoadMode", + "properties": {}, + "type": "object" + }, + "SqlDefinition": { + "description": "Definition of a SQL Data Preparation", + "id": "SqlDefinition", + "properties": { + "errorTable": { + "$ref": "ErrorTable", + "description": "Error table configuration," + }, + "load": { + "$ref": "LoadConfig", + "description": "Load configuration." + }, + "query": { + "description": "The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement.", + "type": "string" + } + }, + "type": "object" + }, + "SshAuthenticationConfig": { + "description": "Configures fields for performing SSH authentication.", + "id": "SshAuthenticationConfig", + "properties": { + "hostPublicKey": { + "description": "Required. Content of a public SSH key to verify an identity of a remote Git host.", + "type": "string" + }, + "userPrivateKeySecretVersion": { + "description": "Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must be in the format `projects/*/secrets/*/versions/*`.", + "type": "string" + } + }, + "type": "object" + }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, + "Target": { + "description": "Represents an action identifier. If the action writes output, the output will be written to the referenced database object.", + "id": "Target", + "properties": { + "database": { + "description": "Optional. The action's database (Google Cloud project ID) .", + "type": "string" + }, + "name": { + "description": "Optional. The action's name, within `database` and `schema`.", + "type": "string" + }, + "schema": { + "description": "Optional. The action's schema (BigQuery dataset ID), within `database`.", + "type": "string" + } + }, + "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "UncommittedFileChange": { + "description": "Represents the Git state of a file with uncommitted changes.", + "id": "UncommittedFileChange", + "properties": { + "path": { + "description": "The file's full path including filename, relative to the workspace root.", + "type": "string" + }, + "state": { + "description": "Output only. Indicates the status of the file.", + "enum": [ + "STATE_UNSPECIFIED", + "ADDED", + "DELETED", + "MODIFIED", + "HAS_CONFLICTS" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The file has been newly added.", + "The file has been deleted.", + "The file has been modified.", + "The file contains merge conflicts." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "WorkflowConfig": { + "description": "Represents a Dataform workflow configuration.", + "id": "WorkflowConfig", + "properties": { + "createTime": { + "description": "Output only. The timestamp of when the WorkflowConfig was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "cronSchedule": { + "description": "Optional. Optional schedule (in cron format) for automatic execution of this workflow config.", + "type": "string" + }, + "disabled": { + "description": "Optional. Disables automatic creation of workflow invocations.", + "type": "boolean" + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "invocationConfig": { + "$ref": "InvocationConfig", + "description": "Optional. If left unset, a default InvocationConfig will be used." + }, + "name": { + "description": "Identifier. The workflow config's name.", + "type": "string" + }, + "recentScheduledExecutionRecords": { + "description": "Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.", + "items": { + "$ref": "ScheduledExecutionRecord" + }, + "readOnly": true, + "type": "array" + }, + "releaseConfig": { + "description": "Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.", + "type": "string" + }, + "timeZone": { + "description": "Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.", + "type": "string" + }, + "updateTime": { + "description": "Output only. The timestamp of when the WorkflowConfig was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "WorkflowInvocation": { + "description": "Represents a single invocation of a compilation result.", + "id": "WorkflowInvocation", + "properties": { + "compilationResult": { + "description": "Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", + "type": "string" + }, + "dataEncryptionState": { + "$ref": "DataEncryptionState", + "description": "Output only. Only set if the repository has a KMS Key.", + "readOnly": true + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "invocationConfig": { + "$ref": "InvocationConfig", + "description": "Immutable. If left unset, a default InvocationConfig will be used." + }, + "invocationTiming": { + "$ref": "Interval", + "description": "Output only. This workflow invocation's timing details.", + "readOnly": true + }, + "name": { + "description": "Output only. The workflow invocation's name.", + "readOnly": true, + "type": "string" + }, + "resolvedCompilationResult": { + "description": "Output only. The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. This workflow invocation's current state.", + "enum": [ + "STATE_UNSPECIFIED", + "RUNNING", + "SUCCEEDED", + "CANCELLED", + "FAILED", + "CANCELING" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "The workflow invocation is currently running.", + "The workflow invocation succeeded. A terminal state.", + "The workflow invocation was cancelled. A terminal state.", + "The workflow invocation failed. A terminal state.", + "The workflow invocation is being cancelled, but some actions are still running." + ], + "readOnly": true, + "type": "string" + }, + "workflowConfig": { + "description": "Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`.", + "type": "string" + } + }, + "type": "object" + }, + "WorkflowInvocationAction": { + "description": "Represents a single action in a workflow invocation.", + "id": "WorkflowInvocationAction", + "properties": { + "bigqueryAction": { + "$ref": "BigQueryAction", + "description": "Output only. The workflow action's bigquery action details.", + "readOnly": true + }, + "canonicalTarget": { + "$ref": "Target", + "description": "Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.", + "readOnly": true + }, + "dataPreparationAction": { + "$ref": "DataPreparationAction", + "description": "Output only. The workflow action's data preparation action details.", + "readOnly": true + }, + "failureReason": { + "description": "Output only. If and only if action's state is FAILED a failure reason is set.", + "readOnly": true, + "type": "string" + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "invocationTiming": { + "$ref": "Interval", + "description": "Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state.", + "readOnly": true + }, + "notebookAction": { + "$ref": "NotebookAction", + "description": "Output only. The workflow action's notebook action details.", + "readOnly": true + }, + "state": { + "description": "Output only. This action's current state.", + "enum": [ + "PENDING", + "RUNNING", + "SKIPPED", + "DISABLED", + "SUCCEEDED", + "CANCELLED", + "FAILED" + ], + "enumDescriptions": [ + "The action has not yet been considered for invocation.", + "The action is currently running.", + "Execution of the action was skipped because upstream dependencies did not all complete successfully. A terminal state.", + "Execution of the action was disabled as per the configuration of the corresponding compilation result action. A terminal state.", + "The action succeeded. A terminal state.", + "The action was cancelled. A terminal state.", + "The action failed. A terminal state." + ], + "readOnly": true, + "type": "string" + }, + "target": { + "$ref": "Target", + "description": "Output only. This action's identifier. Unique within the workflow invocation.", + "readOnly": true + } + }, + "type": "object" + }, + "Workspace": { + "description": "Represents a Dataform Git workspace.", + "id": "Workspace", + "properties": { + "createTime": { + "description": "Output only. The timestamp of when the workspace was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataEncryptionState": { + "$ref": "DataEncryptionState", + "description": "Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key.", + "readOnly": true + }, + "internalMetadata": { + "description": "Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Identifier. The workspace's name.", + "type": "string" + } + }, + "type": "object" + }, + "WorkspaceCompilationOverrides": { + "description": "Configures workspace compilation overrides for a repository.", + "id": "WorkspaceCompilationOverrides", + "properties": { + "defaultDatabase": { + "description": "Optional. The default database (Google Cloud project ID).", + "type": "string" + }, + "schemaSuffix": { + "description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.", + "type": "string" + }, + "tablePrefix": { + "description": "Optional. The prefix that should be prepended to all table names.", + "type": "string" + } + }, + "type": "object" + }, + "WriteFile": { + "description": "Represents the write file operation (for files added or modified).", + "id": "WriteFile", + "properties": { + "contents": { + "description": "The file's contents.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, + "WriteFileRequest": { + "description": "`WriteFile` request message.", + "id": "WriteFileRequest", + "properties": { + "contents": { + "description": "Required. The file's contents.", + "format": "byte", + "type": "string" + }, + "path": { + "description": "Required. The file.", + "type": "string" + } + }, + "type": "object" + }, + "WriteFileResponse": { + "description": "`WriteFile` response message.", + "id": "WriteFileResponse", + "properties": {}, + "type": "object" + } + }, + "servicePath": "", + "title": "Dataform API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/discoveryengine.v1.json b/DiscoveryJson/discoveryengine.v1.json index bc18dfaf16f..1fe50327a18 100644 --- a/DiscoveryJson/discoveryengine.v1.json +++ b/DiscoveryJson/discoveryengine.v1.json @@ -7795,6 +7795,127 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/discoveryengine.readwrite" ] + }, + "create": { + "description": "Creates a new User Store.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.userStores.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "userStoreId": { + "description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/userStores", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1UserStore" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1UserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "delete": { + "description": "Deletes the User Store.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "DELETE", + "id": "discoveryengine.projects.locations.userStores.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "get": { + "description": "Gets the User Store.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.userStores.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1UserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "patch": { + "description": "Updates the User Store.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "PATCH", + "id": "discoveryengine.projects.locations.userStores.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1UserStore" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1UserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] } }, "resources": { @@ -7957,7 +8078,7 @@ } } }, - "revision": "20251017", + "revision": "20251020", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GdataBlobstore2Info": { @@ -15455,6 +15576,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -18358,6 +18483,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1UserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1UserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1WorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", @@ -21334,6 +21486,23 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": { + "description": "Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user store, return the number of end users successfully deleted or failed to delete in the metadata.", + "id": "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata", + "properties": { + "failureCount": { + "description": "The number of end users under the user store that failed to be deleted.", + "format": "int64", + "type": "string" + }, + "successCount": { + "description": "The number of end users under the user store that were successfully deleted.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaDestinationConfig": { "description": "Defines target endpoints used to connect to third-party sources.", "id": "GoogleCloudDiscoveryengineV1alphaDestinationConfig", @@ -22982,6 +23151,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -27214,6 +27387,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -28753,6 +28930,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaUserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1betaUserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaWorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", diff --git a/DiscoveryJson/discoveryengine.v1alpha.json b/DiscoveryJson/discoveryengine.v1alpha.json index edbe7faad89..b16e0f10207 100644 --- a/DiscoveryJson/discoveryengine.v1alpha.json +++ b/DiscoveryJson/discoveryengine.v1alpha.json @@ -10385,6 +10385,127 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/discoveryengine.readwrite" ] + }, + "create": { + "description": "Creates a new User Store.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.userStores.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "userStoreId": { + "description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+parent}/userStores", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "delete": { + "description": "Deletes the User Store.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "DELETE", + "id": "discoveryengine.projects.locations.userStores.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "get": { + "description": "Gets the User Store.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.userStores.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "patch": { + "description": "Updates the User Store.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "PATCH", + "id": "discoveryengine.projects.locations.userStores.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaUserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] } }, "resources": { @@ -10595,7 +10716,7 @@ } } }, - "revision": "20251017", + "revision": "20251020", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "ApiservingMediaRequestInfo": { @@ -14365,6 +14486,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -15310,6 +15435,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1UserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1UserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1WorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", @@ -20739,6 +20891,23 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": { + "description": "Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user store, return the number of end users successfully deleted or failed to delete in the metadata.", + "id": "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata", + "properties": { + "failureCount": { + "description": "The number of end users under the user store that failed to be deleted.", + "format": "int64", + "type": "string" + }, + "successCount": { + "description": "The number of end users under the user store that were successfully deleted.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaDestinationConfig": { "description": "Defines target endpoints used to connect to third-party sources.", "id": "GoogleCloudDiscoveryengineV1alphaDestinationConfig", @@ -23951,6 +24120,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -28258,6 +28431,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaUserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1alphaUserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaVideoCharacteristics": { "description": "Standard characteristics of a video media view.", "id": "GoogleCloudDiscoveryengineV1alphaVideoCharacteristics", @@ -31262,6 +31462,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -32801,6 +33005,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaUserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1betaUserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaWorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", diff --git a/DiscoveryJson/discoveryengine.v1beta.json b/DiscoveryJson/discoveryengine.v1beta.json index 79bc50083a4..4a4583ed0c1 100644 --- a/DiscoveryJson/discoveryengine.v1beta.json +++ b/DiscoveryJson/discoveryengine.v1beta.json @@ -8548,6 +8548,127 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/discoveryengine.readwrite" ] + }, + "create": { + "description": "Creates a new User Store.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.userStores.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent collection resource name, such as `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "userStoreId": { + "description": "Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters.", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+parent}/userStores", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserStore" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "delete": { + "description": "Deletes the User Store.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "DELETE", + "id": "discoveryengine.projects.locations.userStores.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "get": { + "description": "Gets the User Store.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.userStores.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "patch": { + "description": "Updates the User Store.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/userStores/{userStoresId}", + "httpMethod": "PATCH", + "id": "discoveryengine.projects.locations.userStores.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1beta/{+name}", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserStore" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaUserStore" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] } }, "resources": { @@ -8681,7 +8802,7 @@ } } }, - "revision": "20251017", + "revision": "20251020", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GdataBlobstore2Info": { @@ -12284,6 +12405,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -13229,6 +13354,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1UserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1UserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1WorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1WorkspaceConfig", @@ -16205,6 +16357,23 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": { + "description": "Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user store, return the number of end users successfully deleted or failed to delete in the metadata.", + "id": "GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata", + "properties": { + "failureCount": { + "description": "The number of end users under the user store that failed to be deleted.", + "format": "int64", + "type": "string" + }, + "successCount": { + "description": "The number of end users under the user store that were successfully deleted.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaDestinationConfig": { "description": "Defines target endpoints used to connect to third-party sources.", "id": "GoogleCloudDiscoveryengineV1alphaDestinationConfig", @@ -17853,6 +18022,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -26460,6 +26633,10 @@ "modelArmorConfig": { "$ref": "GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig", "description": "Model Armor configuration to be used for sanitizing user prompts and LLM responses." + }, + "optOutNotebookSharing": { + "description": "Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.", + "type": "boolean" } }, "type": "object" @@ -30141,6 +30318,33 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaUserStore": { + "description": "Configures metadata that is used for End User entities.", + "id": "GoogleCloudDiscoveryengineV1betaUserStore", + "properties": { + "defaultLicenseConfig": { + "description": "Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured.", + "type": "string" + }, + "displayName": { + "description": "The display name of the User Store.", + "type": "string" + }, + "enableExpiredLicenseAutoUpdate": { + "description": "Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "enableLicenseAutoRegister": { + "description": "Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left.", + "type": "boolean" + }, + "name": { + "description": "Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaWorkspaceConfig": { "description": "Config to store data store type configuration for workspace data", "id": "GoogleCloudDiscoveryengineV1betaWorkspaceConfig", diff --git a/DiscoveryJson/firebaseml.v2beta.json b/DiscoveryJson/firebaseml.v2beta.json index e950dc8e373..2ffc2efbc1d 100644 --- a/DiscoveryJson/firebaseml.v2beta.json +++ b/DiscoveryJson/firebaseml.v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20251013", + "revision": "20251019", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -2636,7 +2636,7 @@ "type": "string" }, "excludedPredefinedFunctions": { - "description": "Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.", + "description": "Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.", "items": { "type": "string" }, diff --git a/DiscoveryJson/netapp.v1.json b/DiscoveryJson/netapp.v1.json index 92588517f3d..05782f8a1bf 100644 --- a/DiscoveryJson/netapp.v1.json +++ b/DiscoveryJson/netapp.v1.json @@ -2515,7 +2515,7 @@ } } }, - "revision": "20251009", + "revision": "20251018", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -3323,7 +3323,7 @@ "type": "string" }, "cryptoKeyName": { - "description": "Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.", + "description": "Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.", "type": "string" }, "description": { diff --git a/DiscoveryJson/netapp.v1beta1.json b/DiscoveryJson/netapp.v1beta1.json index 693c00203ad..b1c4e39621e 100644 --- a/DiscoveryJson/netapp.v1beta1.json +++ b/DiscoveryJson/netapp.v1beta1.json @@ -2543,7 +2543,7 @@ } } }, - "revision": "20251009", + "revision": "20251018", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -3377,7 +3377,7 @@ "type": "string" }, "cryptoKeyName": { - "description": "Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.", + "description": "Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.", "type": "string" }, "description": { diff --git a/DiscoveryJson/paymentsresellersubscription.v1.json b/DiscoveryJson/paymentsresellersubscription.v1.json index 5ad788853c7..23b67da27bf 100644 --- a/DiscoveryJson/paymentsresellersubscription.v1.json +++ b/DiscoveryJson/paymentsresellersubscription.v1.json @@ -586,7 +586,7 @@ } } }, - "revision": "20251012", + "revision": "20251019", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "Amount": { @@ -663,6 +663,10 @@ "description": "Intent message for creating a Subscription resource.", "id": "CreateSubscriptionIntent", "properties": { + "cycleOptions": { + "$ref": "CycleOptions", + "description": "Optional. The cycle options for the subscription." + }, "parent": { "description": "Required. The parent resource name, which is the identifier of the partner.", "type": "string" diff --git a/DiscoveryJson/places.v1.json b/DiscoveryJson/places.v1.json index 685d4b505f2..b25d1c4e181 100644 --- a/DiscoveryJson/places.v1.json +++ b/DiscoveryJson/places.v1.json @@ -280,7 +280,7 @@ } } }, - "revision": "20251007", + "revision": "20251019", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -1166,6 +1166,14 @@ "description": "Place has a children's menu.", "type": "boolean" }, + "movedPlace": { + "description": "If this Place is permanently closed and has moved to a new Place, this field contains the new Place's resource name, in `places/{place_id}` format. If this Place moved multiple times, this field will represent the first moved place. This field will not be populated if this Place has not moved.", + "type": "string" + }, + "movedPlaceId": { + "description": "If this Place is permanently closed and has moved to a new Place, this field contains the new Place's place ID. If this Place moved multiple times, this field will represent the first moved Place. This field will not be populated if this Place has not moved.", + "type": "string" + }, "name": { "description": "This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place.", "type": "string" diff --git a/DiscoveryJson/recaptchaenterprise.v1.json b/DiscoveryJson/recaptchaenterprise.v1.json index 2dc800ead7e..5f74d6bf4b3 100644 --- a/DiscoveryJson/recaptchaenterprise.v1.json +++ b/DiscoveryJson/recaptchaenterprise.v1.json @@ -786,7 +786,7 @@ } } }, - "revision": "20251006", + "revision": "20251014", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -1092,7 +1092,7 @@ "id": "GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment", "properties": { "client": { - "description": "Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - \"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager\" - \"cloud.google.com/recaptcha/docs/implement-waf-akamai\" - \"cloud.google.com/recaptcha/docs/implement-waf-cloudflare\" - \"wordpress.org/plugins/recaptcha-something\"", + "description": "Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the client module's project. Examples include: - \"github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager\" - \"wordpress.org/plugins/recaptcha-something\"", "type": "string" }, "version": { @@ -2177,7 +2177,8 @@ "EXPIRED", "DUPE", "MISSING", - "BROWSER_ERROR" + "BROWSER_ERROR", + "UNEXPECTED_ACTION" ], "enumDescriptions": [ "Default unspecified type.", @@ -2186,7 +2187,8 @@ "The user verification token had expired.", "The user verification had already been seen.", "The user verification token was not present.", - "A retriable error (such as network failure) occurred on the browser. Could easily be simulated by an attacker." + "A retriable error (such as network failure) occurred on the browser. Could easily be simulated by an attacker.", + "The action provided at token generation was different than the `expected_action` in the assessment request. The comparison is case-insensitive. This reason can only be returned if all of the following are true: - your `site_key` has the POLICY_BASED_CHALLENGE integration type - you set an action score threshold higher than 0.0 - you provided a non-empty `expected_action`" ], "readOnly": true, "type": "string" diff --git a/EnumStorage/dataform.v1.json b/EnumStorage/dataform.v1.json new file mode 100644 index 00000000000..1beb1637269 --- /dev/null +++ b/EnumStorage/dataform.v1.json @@ -0,0 +1,11 @@ +{ + "Google.Apis.Dataform.v1.DataformBaseServiceRequest<>.AltEnum": [ + "json", + "media", + "proto" + ], + "Google.Apis.Dataform.v1.DataformBaseServiceRequest<>.XgafvEnum": [ + "1", + "2" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 8f5f2aed430..f41aca37b58 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,7 @@ The libraries are shown in the following table. | [Google.Apis.DatabaseMigrationService.v1](https://googleapis.dev/dotnet/Google.Apis.DatabaseMigrationService.v1/latest/api/Google.Apis.DatabaseMigrationService.v1.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.DatabaseMigrationService.v1)](https://www.nuget.org/packages/Google.Apis.DatabaseMigrationService.v1) | [Database Migration API v1](https://cloud.google.com/database-migration/) | | [Google.Apis.DatabaseMigrationService.v1beta1](https://googleapis.dev/dotnet/Google.Apis.DatabaseMigrationService.v1beta1/latest/api/Google.Apis.DatabaseMigrationService.v1beta1.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.DatabaseMigrationService.v1beta1)](https://www.nuget.org/packages/Google.Apis.DatabaseMigrationService.v1beta1) | [Database Migration API v1beta1](https://cloud.google.com/database-migration/) | | [Google.Apis.Dataflow.v1b3](https://googleapis.dev/dotnet/Google.Apis.Dataflow.v1b3/latest/api/Google.Apis.Dataflow.v1b3.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.Dataflow.v1b3)](https://www.nuget.org/packages/Google.Apis.Dataflow.v1b3) | [Dataflow API v1b3](https://cloud.google.com/dataflow) | +| [Google.Apis.Dataform.v1](https://googleapis.dev/dotnet/Google.Apis.Dataform.v1/latest/api/Google.Apis.Dataform.v1.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.Dataform.v1)](https://www.nuget.org/packages/Google.Apis.Dataform.v1) | [Dataform API v1](https://cloud.google.com/dataform/docs) | | [Google.Apis.Dataform.v1beta1](https://googleapis.dev/dotnet/Google.Apis.Dataform.v1beta1/latest/api/Google.Apis.Dataform.v1beta1.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.Dataform.v1beta1)](https://www.nuget.org/packages/Google.Apis.Dataform.v1beta1) | [Dataform API v1beta1](https://cloud.google.com/dataform/docs) | | [Google.Apis.Datapipelines.v1](https://googleapis.dev/dotnet/Google.Apis.Datapipelines.v1/latest/api/Google.Apis.Datapipelines.v1.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.Datapipelines.v1)](https://www.nuget.org/packages/Google.Apis.Datapipelines.v1) | [Data pipelines API v1](https://cloud.google.com/dataflow/docs/guides/data-pipelines) | | [Google.Apis.Dataproc.v1](https://googleapis.dev/dotnet/Google.Apis.Dataproc.v1/latest/api/Google.Apis.Dataproc.v1.html) | [![NuGet](https://img.shields.io/nuget/v/Google.Apis.Dataproc.v1)](https://www.nuget.org/packages/Google.Apis.Dataproc.v1) | [Cloud Dataproc API v1](https://cloud.google.com/dataproc/) | diff --git a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs index 156a1d13c3c..86a5851ef19 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs +++ b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs @@ -35150,6 +35150,65 @@ protected override void InitParameters() } } + /// Embed content with multimodal inputs. + /// The body of the request. + /// + /// Required. The name of the publisher model requested to serve the prediction. Format: + /// `projects/{project}/locations/{location}/publishers/*/models/*` + /// + public virtual EmbedContentRequest EmbedContent(Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1EmbedContentRequest body, string model) + { + return new EmbedContentRequest(this.service, body, model); + } + + /// Embed content with multimodal inputs. + public class EmbedContentRequest : AiplatformBaseServiceRequest + { + /// Constructs a new EmbedContent request. + public EmbedContentRequest(Google.Apis.Services.IClientService service, Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1EmbedContentRequest body, string model) : base(service) + { + Model = model; + Body = body; + InitParameters(); + } + + /// + /// Required. The name of the publisher model requested to serve the prediction. Format: + /// `projects/{project}/locations/{location}/publishers/*/models/*` + /// + [Google.Apis.Util.RequestParameterAttribute("model", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Model { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Aiplatform.v1.Data.GoogleCloudAiplatformV1EmbedContentRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "embedContent"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+model}:embedContent"; + + /// Initializes EmbedContent parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("model", new Google.Apis.Discovery.Parameter + { + Name = "model", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$", + }); + } + } + /// Fetch an asynchronous online prediction operation. /// The body of the request. /// @@ -54707,6 +54766,68 @@ public class GoogleCloudAiplatformV1DynamicRetrievalConfig : Google.Apis.Request public virtual string ETag { get; set; } } + /// Request message for PredictionService.EmbedContent. + public class GoogleCloudAiplatformV1EmbedContentRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Whether to silently truncate the input content if it's longer than the maximum sequence length. + /// + [Newtonsoft.Json.JsonPropertyAttribute("autoTruncate")] + public virtual System.Nullable AutoTruncate { get; set; } + + /// Required. Input content to be embedded. Required. + [Newtonsoft.Json.JsonPropertyAttribute("content")] + public virtual GoogleCloudAiplatformV1Content Content { get; set; } + + /// + /// Optional. Optional reduced dimension for the output embedding. If set, excessive values in the output + /// embedding are truncated from the end. + /// + [Newtonsoft.Json.JsonPropertyAttribute("outputDimensionality")] + public virtual System.Nullable OutputDimensionality { get; set; } + + /// Optional. The task type of the embedding. + [Newtonsoft.Json.JsonPropertyAttribute("taskType")] + public virtual string TaskType { get; set; } + + /// Optional. An optional title for the text. + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for PredictionService.EmbedContent. + public class GoogleCloudAiplatformV1EmbedContentResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The embedding generated from the input content. + [Newtonsoft.Json.JsonPropertyAttribute("embedding")] + public virtual GoogleCloudAiplatformV1EmbedContentResponseEmbedding Embedding { get; set; } + + /// Whether the input content was truncated before generating the embedding. + [Newtonsoft.Json.JsonPropertyAttribute("truncated")] + public virtual System.Nullable Truncated { get; set; } + + /// Metadata about the response(s). + [Newtonsoft.Json.JsonPropertyAttribute("usageMetadata")] + public virtual GoogleCloudAiplatformV1UsageMetadata UsageMetadata { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A list of floats representing an embedding. + public class GoogleCloudAiplatformV1EmbedContentResponseEmbedding : Google.Apis.Requests.IDirectResponseSchema + { + /// Embedding vector values. + [Newtonsoft.Json.JsonPropertyAttribute("values")] + public virtual System.Collections.Generic.IList> Values { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Represents a customer-managed encryption key spec that can be applied to a top-level resource. /// @@ -69656,6 +69777,13 @@ public class GoogleCloudAiplatformV1PredictRequest : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("instances")] public virtual System.Collections.Generic.IList Instances { get; set; } + /// + /// Optional. The user labels for Imagen billing usage only. Only Imagen supports labels. For other use cases, + /// it will be ignored. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + /// /// The parameters that govern the prediction. The schema of the parameters may be specified via Endpoint's /// DeployedModels' Model's PredictSchemata's parameters_schema_uri. @@ -83191,6 +83319,78 @@ public class GoogleCloudAiplatformV1UrlMetadata : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } + /// + /// Usage metadata about the content generation request and response. This message provides a detailed breakdown of + /// token usage and other relevant metrics. + /// + public class GoogleCloudAiplatformV1UsageMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. A detailed breakdown of the token count for each modality in the cached content. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cacheTokensDetails")] + public virtual System.Collections.Generic.IList CacheTokensDetails { get; set; } + + /// Output only. The number of tokens in the cached content that was used for this request. + [Newtonsoft.Json.JsonPropertyAttribute("cachedContentTokenCount")] + public virtual System.Nullable CachedContentTokenCount { get; set; } + + /// The total number of tokens in the generated candidates. + [Newtonsoft.Json.JsonPropertyAttribute("candidatesTokenCount")] + public virtual System.Nullable CandidatesTokenCount { get; set; } + + /// + /// Output only. A detailed breakdown of the token count for each modality in the generated candidates. + /// + [Newtonsoft.Json.JsonPropertyAttribute("candidatesTokensDetails")] + public virtual System.Collections.Generic.IList CandidatesTokensDetails { get; set; } + + /// + /// The total number of tokens in the prompt. This includes any text, images, or other media provided in the + /// request. When `cached_content` is set, this also includes the number of tokens in the cached content. + /// + [Newtonsoft.Json.JsonPropertyAttribute("promptTokenCount")] + public virtual System.Nullable PromptTokenCount { get; set; } + + /// Output only. A detailed breakdown of the token count for each modality in the prompt. + [Newtonsoft.Json.JsonPropertyAttribute("promptTokensDetails")] + public virtual System.Collections.Generic.IList PromptTokensDetails { get; set; } + + /// + /// Output only. The number of tokens that were part of the model's generated "thoughts" output, if applicable. + /// + [Newtonsoft.Json.JsonPropertyAttribute("thoughtsTokenCount")] + public virtual System.Nullable ThoughtsTokenCount { get; set; } + + /// + /// Output only. The number of tokens in the results from tool executions, which are provided back to the model + /// as input, if applicable. + /// + [Newtonsoft.Json.JsonPropertyAttribute("toolUsePromptTokenCount")] + public virtual System.Nullable ToolUsePromptTokenCount { get; set; } + + /// + /// Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which + /// are provided back to the model as input. + /// + [Newtonsoft.Json.JsonPropertyAttribute("toolUsePromptTokensDetails")] + public virtual System.Collections.Generic.IList ToolUsePromptTokensDetails { get; set; } + + /// + /// The total number of tokens for the entire request. This is the sum of `prompt_token_count`, + /// `candidates_token_count`, `tool_use_prompt_token_count`, and `thoughts_token_count`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("totalTokenCount")] + public virtual System.Nullable TotalTokenCount { get; set; } + + /// Output only. The traffic type for this request. + [Newtonsoft.Json.JsonPropertyAttribute("trafficType")] + public virtual string TrafficType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// References an API call. It contains more information about long running operation and Jobs that are triggered by /// the API call. diff --git a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj index de9cbd22add..6daf619819b 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj +++ b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Aiplatform.v1 Client Library - 1.72.0.3928 + 1.72.0.3935 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj index 3d05e52f484..8fe1571aa05 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ArtifactRegistry.v1 Client Library - 1.71.0.3920 + 1.72.0.3932 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.cs b/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.cs index a6a5795d057..2d895e6494a 100644 --- a/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.cs +++ b/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.cs @@ -2780,6 +2780,15 @@ public class Assignment : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Optional. The scheduling policy to use for jobs and queries of this assignee when running under the + /// associated reservation. The scheduling policy controls how the reservation's resources are distributed. This + /// overrides the default scheduling policy specified on the reservation. This feature is not yet generally + /// available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("schedulingPolicy")] + public virtual SchedulingPolicy SchedulingPolicy { get; set; } + /// Output only. State of the assignment. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -3700,6 +3709,14 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("scalingMode")] public virtual string ScalingMode { get; set; } + /// + /// Optional. The scheduling policy to use for jobs and queries running under this reservation. The scheduling + /// policy controls how the reservation's resources are distributed. This feature is not yet generally + /// available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("schedulingPolicy")] + public virtual SchedulingPolicy SchedulingPolicy { get; set; } + /// /// Optional. The current location of the reservation's secondary replica. This field is only set for /// reservations using the managed disaster recovery feature. Users can set this in create reservation calls to @@ -3779,6 +3796,28 @@ public class ReservationGroup : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The scheduling policy controls how a reservation's resources are distributed. + public class SchedulingPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. If present and &gt; 0, the reservation will attempt to limit the concurrency of jobs running + /// for any particular project within it to the given value. This feature is not yet generally available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("concurrency")] + public virtual System.Nullable Concurrency { get; set; } + + /// + /// Optional. If present and &gt; 0, the reservation will attempt to limit the slot consumption of queries + /// running for any particular project within it to the given value. This feature is not yet generally + /// available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxSlots")] + public virtual System.Nullable MaxSlots { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The response for ReservationService.SearchAllAssignments. public class SearchAllAssignmentsResponse : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.csproj b/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.csproj index 5915f5de550..c2e79cda6aa 100644 --- a/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.csproj +++ b/Src/Generated/Google.Apis.BigQueryReservation.v1/Google.Apis.BigQueryReservation.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryReservation.v1 Client Library - 1.71.0.3902 + 1.72.0.3934 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs index 05459538a4a..505af58a25e 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.cs @@ -7984,6 +7984,10 @@ public class IndexPruningStats : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("baseTable")] public virtual TableReference BaseTable { get; set; } + /// The index id. + [Newtonsoft.Json.JsonPropertyAttribute("indexId")] + public virtual string IndexId { get; set; } + /// The number of parallel inputs after index pruning. [Newtonsoft.Json.JsonPropertyAttribute("postIndexPruningParallelInputCount")] public virtual System.Nullable PostIndexPruningParallelInputCount { get; set; } diff --git a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj index 2969ee0a746..96d74efd1ee 100644 --- a/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj +++ b/Src/Generated/Google.Apis.Bigquery.v2/Google.Apis.Bigquery.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Bigquery.v2 Client Library - 1.71.0.3923 + 1.72.0.3937 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs index 61424638972..5cd539cb4cf 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs @@ -71783,6 +71783,109 @@ protected override void InitParameters() } } + /// + /// Gets the access control policy for a resource. May be empty if no such policy or resource exists. + /// + /// Project ID for this request. + /// The name of the zone for this request. + /// Name or id of parent resource of the resource for this request. + /// Name or id of the resource for this request. + public virtual GetIamPolicyRequest GetIamPolicy(string project, string zone, string parentResource, string resource) + { + return new GetIamPolicyRequest(this.service, project, zone, parentResource, resource); + } + + /// + /// Gets the access control policy for a resource. May be empty if no such policy or resource exists. + /// + public class GetIamPolicyRequest : ComputeBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string project, string zone, string parentResource, string resource) : base(service) + { + Project = project; + Zone = zone; + ParentResource = parentResource; + Resource = resource; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// Name or id of parent resource of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("parentResource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ParentResource { get; private set; } + + /// Name or id of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Requested IAM Policy version. + [Google.Apis.Util.RequestParameterAttribute("optionsRequestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("parentResource", new Google.Apis.Discovery.Parameter + { + Name = "parentResource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + }); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + RequestParameters.Add("optionsRequestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "optionsRequestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Retrieves a list of reservation blocks under a single reservation. /// Project ID for this request. /// Name of the zone for this request. Zone name should conform to RFC1035. @@ -72091,6 +72194,196 @@ protected override void InitParameters() }); } } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// The body of the request. + /// Project ID for this request. + /// The name of the zone for this request. + /// Name or id of parent resource of the resource for this request. + /// Name or id of the resource for this request. + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Compute.v1.Data.ZoneSetNestedPolicyRequest body, string project, string zone, string parentResource, string resource) + { + return new SetIamPolicyRequest(this.service, body, project, zone, parentResource, resource); + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + public class SetIamPolicyRequest : ComputeBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.v1.Data.ZoneSetNestedPolicyRequest body, string project, string zone, string parentResource, string resource) : base(service) + { + Project = project; + Zone = zone; + ParentResource = parentResource; + Resource = resource; + Body = body; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// Name or id of parent resource of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("parentResource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ParentResource { get; private set; } + + /// Name or id of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Compute.v1.Data.ZoneSetNestedPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("parentResource", new Google.Apis.Discovery.Parameter + { + Name = "parentResource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + }); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + } + } + + /// Returns permissions that a caller has on the specified resource. + /// The body of the request. + /// Project ID for this request. + /// The name of the zone for this request. + /// Name or id of parent resource of the resource for this request. + /// Name or id of the resource for this request. + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Compute.v1.Data.TestPermissionsRequest body, string project, string zone, string parentResource, string resource) + { + return new TestIamPermissionsRequest(this.service, body, project, zone, parentResource, resource); + } + + /// Returns permissions that a caller has on the specified resource. + public class TestIamPermissionsRequest : ComputeBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.v1.Data.TestPermissionsRequest body, string project, string zone, string parentResource, string resource) : base(service) + { + Project = project; + Zone = zone; + ParentResource = parentResource; + Resource = resource; + Body = body; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// Name or id of parent resource of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("parentResource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ParentResource { get; private set; } + + /// Name or id of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Compute.v1.Data.TestPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("parentResource", new Google.Apis.Discovery.Parameter + { + Name = "parentResource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + }); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + } + } } /// The "reservationSubBlocks" collection of methods. @@ -72204,6 +72497,109 @@ protected override void InitParameters() } } + /// + /// Gets the access control policy for a resource. May be empty if no such policy or resource exists. + /// + /// Project ID for this request. + /// The name of the zone for this request. + /// Name or id of parent resource of the resource for this request. + /// Name or id of the resource for this request. + public virtual GetIamPolicyRequest GetIamPolicy(string project, string zone, string parentResource, string resource) + { + return new GetIamPolicyRequest(this.service, project, zone, parentResource, resource); + } + + /// + /// Gets the access control policy for a resource. May be empty if no such policy or resource exists. + /// + public class GetIamPolicyRequest : ComputeBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string project, string zone, string parentResource, string resource) : base(service) + { + Project = project; + Zone = zone; + ParentResource = parentResource; + Resource = resource; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// Name or id of parent resource of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("parentResource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ParentResource { get; private set; } + + /// Name or id of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Requested IAM Policy version. + [Google.Apis.Util.RequestParameterAttribute("optionsRequestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("parentResource", new Google.Apis.Discovery.Parameter + { + Name = "parentResource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + }); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + RequestParameters.Add("optionsRequestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "optionsRequestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Retrieves a list of reservation subBlocks under a single reservation. /// Project ID for this request. /// Name of the zone for this request. Zone name should conform to RFC1035. @@ -72637,6 +73033,196 @@ protected override void InitParameters() }); } } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + /// The body of the request. + /// Project ID for this request. + /// The name of the zone for this request. + /// Name or id of parent resource of the resource for this request. + /// Name or id of the resource for this request. + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Compute.v1.Data.ZoneSetNestedPolicyRequest body, string project, string zone, string parentResource, string resource) + { + return new SetIamPolicyRequest(this.service, body, project, zone, parentResource, resource); + } + + /// Sets the access control policy on the specified resource. Replaces any existing policy. + public class SetIamPolicyRequest : ComputeBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.v1.Data.ZoneSetNestedPolicyRequest body, string project, string zone, string parentResource, string resource) : base(service) + { + Project = project; + Zone = zone; + ParentResource = parentResource; + Resource = resource; + Body = body; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// Name or id of parent resource of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("parentResource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ParentResource { get; private set; } + + /// Name or id of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Compute.v1.Data.ZoneSetNestedPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("parentResource", new Google.Apis.Discovery.Parameter + { + Name = "parentResource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + }); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + } + } + + /// Returns permissions that a caller has on the specified resource. + /// The body of the request. + /// Project ID for this request. + /// The name of the zone for this request. + /// Name or id of parent resource of the resource for this request. + /// Name or id of the resource for this request. + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Compute.v1.Data.TestPermissionsRequest body, string project, string zone, string parentResource, string resource) + { + return new TestIamPermissionsRequest(this.service, body, project, zone, parentResource, resource); + } + + /// Returns permissions that a caller has on the specified resource. + public class TestIamPermissionsRequest : ComputeBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.v1.Data.TestPermissionsRequest body, string project, string zone, string parentResource, string resource) : base(service) + { + Project = project; + Zone = zone; + ParentResource = parentResource; + Resource = resource; + Body = body; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// Name or id of parent resource of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("parentResource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ParentResource { get; private set; } + + /// Name or id of the resource for this request. + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Compute.v1.Data.TestPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("parentResource", new Google.Apis.Discovery.Parameter + { + Name = "parentResource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + }); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + }); + } + } } /// The "reservations" collection of methods. @@ -136497,6 +137083,29 @@ public class ZoneSetLabelsRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + public class ZoneSetNestedPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. + /// + [Newtonsoft.Json.JsonPropertyAttribute("bindings")] + public virtual System.Collections.Generic.IList Bindings { get; set; } + + /// + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// + /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few + /// 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject + /// them. + /// + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual Policy Policy { get; set; } + } + public class ZoneSetPolicyRequest : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj index 317c3f5fea0..904cabd92a2 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.v1 Client Library - 1.72.0.3925 + 1.72.0.3940 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs new file mode 100644 index 00000000000..b47a428a7bd --- /dev/null +++ b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs @@ -0,0 +1,8290 @@ +// Copyright 2025 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace Google.Apis.Dataform.v1 +{ + /// The Dataform Service. + public class DataformService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v1"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public DataformService() : this(new Google.Apis.Services.BaseClientService.Initializer()) + { + } + + /// Constructs a new service. + /// The service initializer. + public DataformService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) + { + Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dataform.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dataform.googleapis.com/batch"); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features => new string[0]; + + /// Gets the service name. + public override string Name => "dataform"; + + /// Gets the service base URI. + public override string BaseUri { get; } + + /// Gets the service base path. + public override string BasePath => ""; + + /// Gets the batch base URI; null if unspecified. + public override string BatchUri { get; } + + /// Gets the batch base path; null if unspecified. + public override string BatchPath => "batch"; + + /// Available OAuth 2.0 scopes for use with the Dataform API. + public class Scope + { + /// + /// View and manage your data in Google BigQuery and see the email address for your Google Account + /// + public static string Bigquery = "https://www.googleapis.com/auth/bigquery"; + + /// + /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google + /// Account. + /// + public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + } + + /// Available OAuth 2.0 scope constants for use with the Dataform API. + public static class ScopeConstants + { + /// + /// View and manage your data in Google BigQuery and see the email address for your Google Account + /// + public const string Bigquery = "https://www.googleapis.com/auth/bigquery"; + + /// + /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google + /// Account. + /// + public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + } + + /// Gets the Projects resource. + public virtual ProjectsResource Projects { get; } + } + + /// A base abstract class for Dataform requests. + public abstract class DataformBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + /// Constructs a new DataformBaseServiceRequest instance. + protected DataformBaseServiceRequest(Google.Apis.Services.IClientService service) : base(service) + { + } + + /// V1 error format. + [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Xgafv { get; set; } + + /// V1 error format. + public enum XgafvEnum + { + /// v1 error format + [Google.Apis.Util.StringValueAttribute("1")] + Value1 = 0, + + /// v2 error format + [Google.Apis.Util.StringValueAttribute("2")] + Value2 = 1, + } + + /// OAuth access token. + [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AccessToken { get; set; } + + /// Data format for response. + [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Alt { get; set; } + + /// Data format for response. + public enum AltEnum + { + /// Responses with Content-Type of application/json + [Google.Apis.Util.StringValueAttribute("json")] + Json = 0, + + /// Media download with context-dependent Content-Type + [Google.Apis.Util.StringValueAttribute("media")] + Media = 1, + + /// Responses with Content-Type of application/x-protobuf + [Google.Apis.Util.StringValueAttribute("proto")] + Proto = 2, + } + + /// JSONP + [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Callback { get; set; } + + /// Selector specifying which fields to include in a partial response. + [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Fields { get; set; } + + /// + /// API key. Your API key identifies your project and provides you with API access, quota, and reports. Required + /// unless you provide an OAuth 2.0 token. + /// + [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Key { get; set; } + + /// OAuth 2.0 token for the current user. + [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OauthToken { get; set; } + + /// Returns response with indentations and line breaks. + [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PrettyPrint { get; set; } + + /// + /// Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a + /// user, but should not exceed 40 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] + public virtual string QuotaUser { get; set; } + + /// Legacy upload protocol for media (e.g. "media", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadType { get; set; } + + /// Upload protocol for media (e.g. "raw", "multipart"). + [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UploadProtocol { get; set; } + + /// Initializes Dataform parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add("callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add("quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "projects" collection of methods. + public class ProjectsResource + { + private const string Resource = "projects"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProjectsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Locations = new LocationsResource(service); + } + + /// Gets the Locations resource. + public virtual LocationsResource Locations { get; } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Folders = new FoldersResource(service); + Operations = new OperationsResource(service); + Repositories = new RepositoriesResource(service); + TeamFolders = new TeamFoldersResource(service); + } + + /// Gets the Folders resource. + public virtual FoldersResource Folders { get; } + + /// The "folders" collection of methods. + public class FoldersResource + { + private const string Resource = "folders"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public FoldersResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(this.service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + public class GetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/folders/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/folders/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(this.service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : DataformBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/folders/[^/]+$", + }); + } + } + } + + /// Gets the Operations resource. + public virtual OperationsResource Operations { get; } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to + /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it + /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to + /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On + /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + /// + /// The body of the request. + /// The name of the operation resource to be cancelled. + public virtual CancelRequest Cancel(Google.Apis.Dataform.v1.Data.CancelOperationRequest body, string name) + { + return new CancelRequest(this.service, body, name); + } + + /// + /// Starts asynchronous cancellation on a long-running operation. The server makes a best effort to + /// cancel the operation, but success is not guaranteed. If the server doesn't support this method, it + /// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to + /// check whether the cancellation succeeded or whether the operation completed despite cancellation. On + /// successful cancellation, the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. + /// + public class CancelRequest : DataformBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.CancelOperationRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// The name of the operation resource to be cancelled. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.CancelOperationRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "cancel"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:cancel"; + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + } + + /// + /// Deletes a long-running operation. This method indicates that the client is no longer interested in + /// the operation result. It does not cancel the operation. If the server doesn't support this method, + /// it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + /// The name of the operation resource to be deleted. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// + /// Deletes a long-running operation. This method indicates that the client is no longer interested in + /// the operation result. It does not cancel the operation. If the server doesn't support this method, + /// it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + public class DeleteRequest : DataformBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource to be deleted. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation + /// result at intervals as recommended by the API service. + /// + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation + /// result at intervals as recommended by the API service. + /// + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + }); + } + } + + /// + /// Lists operations that match the specified filter in the request. If the server doesn't support this + /// method, it returns `UNIMPLEMENTED`. + /// + /// The name of the operation's parent resource. + public virtual ListRequest List(string name) + { + return new ListRequest(this.service, name); + } + + /// + /// Lists operations that match the specified filter in the request. If the server doesn't support this + /// method, it returns `UNIMPLEMENTED`. + /// + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation's parent resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// The standard list filter. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// The standard list page size. + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// The standard list page token. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// When set to `true`, operations that are reachable are returned as normal, and those that are + /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be + /// `true` when reading across collections e.g. when `parent` is set to + /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product + /// specific documentation. + /// + [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable ReturnPartialSuccess { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}/operations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter + { + Name = "returnPartialSuccess", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets the Repositories resource. + public virtual RepositoriesResource Repositories { get; } + + /// The "repositories" collection of methods. + public class RepositoriesResource + { + private const string Resource = "repositories"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public RepositoriesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + CompilationResults = new CompilationResultsResource(service); + ReleaseConfigs = new ReleaseConfigsResource(service); + WorkflowConfigs = new WorkflowConfigsResource(service); + WorkflowInvocations = new WorkflowInvocationsResource(service); + Workspaces = new WorkspacesResource(service); + } + + /// Gets the CompilationResults resource. + public virtual CompilationResultsResource CompilationResults { get; } + + /// The "compilationResults" collection of methods. + public class CompilationResultsResource + { + private const string Resource = "compilationResults"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public CompilationResultsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Creates a new CompilationResult in a given project and location. + /// The body of the request. + /// + /// Required. The repository in which to create the compilation result. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual CreateRequest Create(Google.Apis.Dataform.v1.Data.CompilationResult body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new CompilationResult in a given project and location. + public class CreateRequest : DataformBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.CompilationResult body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The repository in which to create the compilation result. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.CompilationResult Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/compilationResults"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// Fetches a single CompilationResult. + /// Required. The compilation result's name. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Fetches a single CompilationResult. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The compilation result's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$", + }); + } + } + + /// Lists CompilationResults in a given Repository. + /// + /// Required. The repository in which to list compilation results. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists CompilationResults in a given Repository. + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The repository in which to list compilation results. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. Filter for the returned list. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. This field only supports ordering by `name` and `create_time`. If unspecified, the + /// server will choose the ordering. If specified, the default order is ascending for the `name` + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. Maximum number of compilation results to return. The server may return fewer items + /// than requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `ListCompilationResults` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `ListCompilationResults`, with the exception of `page_size`, must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/compilationResults"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Returns CompilationResultActions in a given CompilationResult. + /// Required. The compilation result's name. + public virtual QueryRequest Query(string name) + { + return new QueryRequest(this.service, name); + } + + /// Returns CompilationResultActions in a given CompilationResult. + public class QueryRequest : DataformBaseServiceRequest + { + /// Constructs a new Query request. + public QueryRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The compilation result's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Optional filter for the returned list. Filtering is only currently supported on + /// the `file_path` field. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. Maximum number of compilation results to return. The server may return fewer items + /// than requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `QueryCompilationResultActions` call. Provide + /// this to retrieve the subsequent page. When paginating, all other parameters provided to + /// `QueryCompilationResultActions`, with the exception of `page_size`, must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "query"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:query"; + + /// Initializes Query parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/compilationResults/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets the ReleaseConfigs resource. + public virtual ReleaseConfigsResource ReleaseConfigs { get; } + + /// The "releaseConfigs" collection of methods. + public class ReleaseConfigsResource + { + private const string Resource = "releaseConfigs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ReleaseConfigsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Creates a new ReleaseConfig in a given Repository. + /// The body of the request. + /// + /// Required. The repository in which to create the release config. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual CreateRequest Create(Google.Apis.Dataform.v1.Data.ReleaseConfig body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new ReleaseConfig in a given Repository. + public class CreateRequest : DataformBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.ReleaseConfig body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The repository in which to create the release config. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the release config, which will become the final component of the + /// release config's resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("releaseConfigId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string ReleaseConfigId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.ReleaseConfig Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/releaseConfigs"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("releaseConfigId", new Google.Apis.Discovery.Parameter + { + Name = "releaseConfigId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes a single ReleaseConfig. + /// Required. The release config's name. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes a single ReleaseConfig. + public class DeleteRequest : DataformBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The release config's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", + }); + } + } + + /// Fetches a single ReleaseConfig. + /// Required. The release config's name. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Fetches a single ReleaseConfig. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The release config's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", + }); + } + } + + /// Lists ReleaseConfigs in a given Repository. + /// + /// Required. The repository in which to list release configs. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists ReleaseConfigs in a given Repository. + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The repository in which to list release configs. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Optional. Maximum number of release configs to return. The server may return fewer items + /// than requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `ListReleaseConfigs` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `ListReleaseConfigs`, with the exception of `page_size`, must match the call that provided + /// the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/releaseConfigs"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Updates a single ReleaseConfig. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and + /// when the `field_mask` is omitted, the request is treated as a full update on all modifiable + /// fields.* + /// + /// The body of the request. + /// Identifier. The release config's name. + public virtual PatchRequest Patch(Google.Apis.Dataform.v1.Data.ReleaseConfig body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// + /// Updates a single ReleaseConfig. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and + /// when the `field_mask` is omitted, the request is treated as a full update on all modifiable + /// fields.* + /// + public class PatchRequest : DataformBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.ReleaseConfig body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Identifier. The release config's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Specifies the fields to be updated in the release config. If left unset, all + /// fields will be updated. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.ReleaseConfig Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets the WorkflowConfigs resource. + public virtual WorkflowConfigsResource WorkflowConfigs { get; } + + /// The "workflowConfigs" collection of methods. + public class WorkflowConfigsResource + { + private const string Resource = "workflowConfigs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public WorkflowConfigsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Creates a new WorkflowConfig in a given Repository. + /// The body of the request. + /// + /// Required. The repository in which to create the workflow config. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual CreateRequest Create(Google.Apis.Dataform.v1.Data.WorkflowConfig body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new WorkflowConfig in a given Repository. + public class CreateRequest : DataformBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.WorkflowConfig body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The repository in which to create the workflow config. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the workflow config, which will become the final component of + /// the workflow config's resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("workflowConfigId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WorkflowConfigId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.WorkflowConfig Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/workflowConfigs"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("workflowConfigId", new Google.Apis.Discovery.Parameter + { + Name = "workflowConfigId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes a single WorkflowConfig. + /// Required. The workflow config's name. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes a single WorkflowConfig. + public class DeleteRequest : DataformBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workflow config's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", + }); + } + } + + /// Fetches a single WorkflowConfig. + /// Required. The workflow config's name. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Fetches a single WorkflowConfig. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workflow config's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", + }); + } + } + + /// Lists WorkflowConfigs in a given Repository. + /// + /// Required. The repository in which to list workflow configs. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists WorkflowConfigs in a given Repository. + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The repository in which to list workflow configs. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Optional. Maximum number of workflow configs to return. The server may return fewer items + /// than requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `ListWorkflowConfigs` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `ListWorkflowConfigs`, with the exception of `page_size`, must match the call that provided + /// the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/workflowConfigs"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Updates a single WorkflowConfig. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and + /// when the `field_mask` is omitted, the request is treated as a full update on all modifiable + /// fields.* + /// + /// The body of the request. + /// Identifier. The workflow config's name. + public virtual PatchRequest Patch(Google.Apis.Dataform.v1.Data.WorkflowConfig body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// + /// Updates a single WorkflowConfig. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and + /// when the `field_mask` is omitted, the request is treated as a full update on all modifiable + /// fields.* + /// + public class PatchRequest : DataformBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.WorkflowConfig body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Identifier. The workflow config's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Specifies the fields to be updated in the workflow config. If left unset, all + /// fields will be updated. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.WorkflowConfig Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets the WorkflowInvocations resource. + public virtual WorkflowInvocationsResource WorkflowInvocations { get; } + + /// The "workflowInvocations" collection of methods. + public class WorkflowInvocationsResource + { + private const string Resource = "workflowInvocations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public WorkflowInvocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Requests cancellation of a running WorkflowInvocation. + /// The body of the request. + /// Required. The workflow invocation resource's name. + public virtual CancelRequest Cancel(Google.Apis.Dataform.v1.Data.CancelWorkflowInvocationRequest body, string name) + { + return new CancelRequest(this.service, body, name); + } + + /// Requests cancellation of a running WorkflowInvocation. + public class CancelRequest : DataformBaseServiceRequest + { + /// Constructs a new Cancel request. + public CancelRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.CancelWorkflowInvocationRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The workflow invocation resource's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.CancelWorkflowInvocationRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "cancel"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:cancel"; + + /// Initializes Cancel parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + }); + } + } + + /// Creates a new WorkflowInvocation in a given Repository. + /// The body of the request. + /// + /// Required. The repository in which to create the workflow invocation. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual CreateRequest Create(Google.Apis.Dataform.v1.Data.WorkflowInvocation body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new WorkflowInvocation in a given Repository. + public class CreateRequest : DataformBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.WorkflowInvocation body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The repository in which to create the workflow invocation. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.WorkflowInvocation Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/workflowInvocations"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// Deletes a single WorkflowInvocation. + /// Required. The workflow invocation resource's name. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes a single WorkflowInvocation. + public class DeleteRequest : DataformBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workflow invocation resource's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + }); + } + } + + /// Fetches a single WorkflowInvocation. + /// Required. The workflow invocation resource's name. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Fetches a single WorkflowInvocation. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workflow invocation resource's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + }); + } + } + + /// Lists WorkflowInvocations in a given Repository. + /// + /// Required. The parent resource of the WorkflowInvocation type. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists WorkflowInvocations in a given Repository. + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent resource of the WorkflowInvocation type. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. Filter for the returned list. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. This field only supports ordering by `name`. If unspecified, the server will + /// choose the ordering. If specified, the default order is ascending for the `name` field. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. Maximum number of workflow invocations to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `ListWorkflowInvocations` call. Provide this + /// to retrieve the subsequent page. When paginating, all other parameters provided to + /// `ListWorkflowInvocations`, with the exception of `page_size`, must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/workflowInvocations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Returns WorkflowInvocationActions in a given WorkflowInvocation. + /// Required. The workflow invocation's name. + public virtual QueryRequest Query(string name) + { + return new QueryRequest(this.service, name); + } + + /// Returns WorkflowInvocationActions in a given WorkflowInvocation. + public class QueryRequest : DataformBaseServiceRequest + { + /// Constructs a new Query request. + public QueryRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workflow invocation's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Maximum number of workflow invocations to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. Provide + /// this to retrieve the subsequent page. When paginating, all other parameters provided to + /// `QueryWorkflowInvocationActions`, with the exception of `page_size`, must match the call + /// that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "query"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:query"; + + /// Initializes Query parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowInvocations/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Gets the Workspaces resource. + public virtual WorkspacesResource Workspaces { get; } + + /// The "workspaces" collection of methods. + public class WorkspacesResource + { + private const string Resource = "workspaces"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public WorkspacesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Applies a Git commit for uncommitted files in a Workspace. + /// The body of the request. + /// Required. The workspace's name. + public virtual CommitRequest Commit(Google.Apis.Dataform.v1.Data.CommitWorkspaceChangesRequest body, string name) + { + return new CommitRequest(this.service, body, name); + } + + /// Applies a Git commit for uncommitted files in a Workspace. + public class CommitRequest : DataformBaseServiceRequest + { + /// Constructs a new Commit request. + public CommitRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.CommitWorkspaceChangesRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.CommitWorkspaceChangesRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "commit"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:commit"; + + /// Initializes Commit parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Creates a new Workspace in a given Repository. + /// The body of the request. + /// + /// Required. The repository in which to create the workspace. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual CreateRequest Create(Google.Apis.Dataform.v1.Data.Workspace body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new Workspace in a given Repository. + public class CreateRequest : DataformBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.Workspace body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The repository in which to create the workspace. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the workspace, which will become the final component of the + /// workspace's resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("workspaceId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string WorkspaceId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.Workspace Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/workspaces"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("workspaceId", new Google.Apis.Discovery.Parameter + { + Name = "workspaceId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes a single Workspace. + /// Required. The workspace resource's name. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes a single Workspace. + public class DeleteRequest : DataformBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workspace resource's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Fetches Git diff for an uncommitted file in a Workspace. + /// Required. The workspace's name. + public virtual FetchFileDiffRequest FetchFileDiff(string workspace) + { + return new FetchFileDiffRequest(this.service, workspace); + } + + /// Fetches Git diff for an uncommitted file in a Workspace. + public class FetchFileDiffRequest : DataformBaseServiceRequest + { + /// Constructs a new FetchFileDiff request. + public FetchFileDiffRequest(Google.Apis.Services.IClientService service, string workspace) : base(service) + { + Workspace = workspace; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// + /// Required. The file's full path including filename, relative to the workspace root. + /// + [Google.Apis.Util.RequestParameterAttribute("path", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Path { get; set; } + + /// Gets the method name. + public override string MethodName => "fetchFileDiff"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:fetchFileDiff"; + + /// Initializes FetchFileDiff parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + RequestParameters.Add("path", new Google.Apis.Discovery.Parameter + { + Name = "path", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Fetches Git statuses for the files in a Workspace. + /// Required. The workspace's name. + public virtual FetchFileGitStatusesRequest FetchFileGitStatuses(string name) + { + return new FetchFileGitStatusesRequest(this.service, name); + } + + /// Fetches Git statuses for the files in a Workspace. + public class FetchFileGitStatusesRequest : DataformBaseServiceRequest + { + /// Constructs a new FetchFileGitStatuses request. + public FetchFileGitStatusesRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "fetchFileGitStatuses"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:fetchFileGitStatuses"; + + /// Initializes FetchFileGitStatuses parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Fetches Git ahead/behind against a remote branch. + /// Required. The workspace's name. + public virtual FetchGitAheadBehindRequest FetchGitAheadBehind(string name) + { + return new FetchGitAheadBehindRequest(this.service, name); + } + + /// Fetches Git ahead/behind against a remote branch. + public class FetchGitAheadBehindRequest : DataformBaseServiceRequest + { + /// Constructs a new FetchGitAheadBehind request. + public FetchGitAheadBehindRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. The name of the branch in the Git remote against which this workspace should be + /// compared. If left unset, the repository's default branch name will be used. + /// + [Google.Apis.Util.RequestParameterAttribute("remoteBranch", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RemoteBranch { get; set; } + + /// Gets the method name. + public override string MethodName => "fetchGitAheadBehind"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:fetchGitAheadBehind"; + + /// Initializes FetchGitAheadBehind parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + RequestParameters.Add("remoteBranch", new Google.Apis.Discovery.Parameter + { + Name = "remoteBranch", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Fetches a single Workspace. + /// Required. The workspace's name. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Fetches a single Workspace. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists + /// and does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(this.service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists + /// and does not have a policy set. + /// + public class GetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values + /// are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for + /// policies with any conditional role bindings must specify version 3. Policies with no + /// conditional role bindings may specify any valid value or leave the field unset. The policy + /// in the response might use the policy version that you specified, or it might use a lower + /// policy version. For example, if you specify version 3, but the policy has no conditional + /// role bindings, the response uses version 1. To learn which resources support conditions in + /// their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Installs dependency NPM packages (inside a Workspace). + /// The body of the request. + /// Required. The workspace's name. + public virtual InstallNpmPackagesRequest InstallNpmPackages(Google.Apis.Dataform.v1.Data.InstallNpmPackagesRequest body, string workspace) + { + return new InstallNpmPackagesRequest(this.service, body, workspace); + } + + /// Installs dependency NPM packages (inside a Workspace). + public class InstallNpmPackagesRequest : DataformBaseServiceRequest + { + /// Constructs a new InstallNpmPackages request. + public InstallNpmPackagesRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.InstallNpmPackagesRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.InstallNpmPackagesRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "installNpmPackages"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:installNpmPackages"; + + /// Initializes InstallNpmPackages parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Lists Workspaces in a given Repository. + /// + /// Required. The repository in which to list workspaces. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists Workspaces in a given Repository. + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The repository in which to list workspaces. Must be in the format + /// `projects/*/locations/*/repositories/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. Filter for the returned list. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. This field only supports ordering by `name`. If unspecified, the server will + /// choose the ordering. If specified, the default order is ascending for the `name` field. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. Maximum number of workspaces to return. The server may return fewer items than + /// requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `ListWorkspaces` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `ListWorkspaces`, with the exception of `page_size`, must match the call that provided the + /// page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/workspaces"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Creates a directory inside a Workspace. + /// The body of the request. + /// Required. The workspace's name. + public virtual MakeDirectoryRequest MakeDirectory(Google.Apis.Dataform.v1.Data.MakeDirectoryRequest body, string workspace) + { + return new MakeDirectoryRequest(this.service, body, workspace); + } + + /// Creates a directory inside a Workspace. + public class MakeDirectoryRequest : DataformBaseServiceRequest + { + /// Constructs a new MakeDirectory request. + public MakeDirectoryRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.MakeDirectoryRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.MakeDirectoryRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "makeDirectory"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:makeDirectory"; + + /// Initializes MakeDirectory parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// + /// Moves a directory (inside a Workspace), and all of its contents, to a new location. + /// + /// The body of the request. + /// Required. The workspace's name. + public virtual MoveDirectoryRequest MoveDirectory(Google.Apis.Dataform.v1.Data.MoveDirectoryRequest body, string workspace) + { + return new MoveDirectoryRequest(this.service, body, workspace); + } + + /// + /// Moves a directory (inside a Workspace), and all of its contents, to a new location. + /// + public class MoveDirectoryRequest : DataformBaseServiceRequest + { + /// Constructs a new MoveDirectory request. + public MoveDirectoryRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.MoveDirectoryRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.MoveDirectoryRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "moveDirectory"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:moveDirectory"; + + /// Initializes MoveDirectory parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Moves a file (inside a Workspace) to a new location. + /// The body of the request. + /// Required. The workspace's name. + public virtual MoveFileRequest MoveFile(Google.Apis.Dataform.v1.Data.MoveFileRequest body, string workspace) + { + return new MoveFileRequest(this.service, body, workspace); + } + + /// Moves a file (inside a Workspace) to a new location. + public class MoveFileRequest : DataformBaseServiceRequest + { + /// Constructs a new MoveFile request. + public MoveFileRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.MoveFileRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.MoveFileRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "moveFile"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:moveFile"; + + /// Initializes MoveFile parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Pulls Git commits from the Repository's remote into a Workspace. + /// The body of the request. + /// Required. The workspace's name. + public virtual PullRequest Pull(Google.Apis.Dataform.v1.Data.PullGitCommitsRequest body, string name) + { + return new PullRequest(this.service, body, name); + } + + /// Pulls Git commits from the Repository's remote into a Workspace. + public class PullRequest : DataformBaseServiceRequest + { + /// Constructs a new Pull request. + public PullRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.PullGitCommitsRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.PullGitCommitsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "pull"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:pull"; + + /// Initializes Pull parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Pushes Git commits from a Workspace to the Repository's remote. + /// The body of the request. + /// Required. The workspace's name. + public virtual PushRequest Push(Google.Apis.Dataform.v1.Data.PushGitCommitsRequest body, string name) + { + return new PushRequest(this.service, body, name); + } + + /// Pushes Git commits from a Workspace to the Repository's remote. + public class PushRequest : DataformBaseServiceRequest + { + /// Constructs a new Push request. + public PushRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.PushGitCommitsRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.PushGitCommitsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "push"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:push"; + + /// Initializes Push parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Returns the contents of a given Workspace directory. + /// Required. The workspace's name. + public virtual QueryDirectoryContentsRequest QueryDirectoryContents(string workspace) + { + return new QueryDirectoryContentsRequest(this.service, workspace); + } + + /// Returns the contents of a given Workspace directory. + public class QueryDirectoryContentsRequest : DataformBaseServiceRequest + { + /// Constructs a new QueryDirectoryContents request. + public QueryDirectoryContentsRequest(Google.Apis.Services.IClientService service, string workspace) : base(service) + { + Workspace = workspace; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// + /// Optional. Maximum number of paths to return. The server may return fewer items than + /// requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `QueryDirectoryContents` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `QueryDirectoryContents`, with the exception of `page_size`, must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// Optional. The directory's full path including directory name, relative to the workspace + /// root. If left unset, the workspace root is used. + /// + [Google.Apis.Util.RequestParameterAttribute("path", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Path { get; set; } + + /// Gets the method name. + public override string MethodName => "queryDirectoryContents"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:queryDirectoryContents"; + + /// Initializes QueryDirectoryContents parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("path", new Google.Apis.Discovery.Parameter + { + Name = "path", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Returns the contents of a file (inside a Workspace). + /// Required. The workspace's name. + public virtual ReadFileRequest ReadFile(string workspace) + { + return new ReadFileRequest(this.service, workspace); + } + + /// Returns the contents of a file (inside a Workspace). + public class ReadFileRequest : DataformBaseServiceRequest + { + /// Constructs a new ReadFile request. + public ReadFileRequest(Google.Apis.Services.IClientService service, string workspace) : base(service) + { + Workspace = workspace; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// + /// Required. The file's full path including filename, relative to the workspace root. + /// + [Google.Apis.Util.RequestParameterAttribute("path", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Path { get; set; } + + /// + /// Optional. The Git revision of the file to return. If left empty, the current contents of + /// `path` will be returned. + /// + [Google.Apis.Util.RequestParameterAttribute("revision", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Revision { get; set; } + + /// Gets the method name. + public override string MethodName => "readFile"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:readFile"; + + /// Initializes ReadFile parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + RequestParameters.Add("path", new Google.Apis.Discovery.Parameter + { + Name = "path", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("revision", new Google.Apis.Discovery.Parameter + { + Name = "revision", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes a directory (inside a Workspace) and all of its contents. + /// The body of the request. + /// Required. The workspace's name. + public virtual RemoveDirectoryRequest RemoveDirectory(Google.Apis.Dataform.v1.Data.RemoveDirectoryRequest body, string workspace) + { + return new RemoveDirectoryRequest(this.service, body, workspace); + } + + /// Deletes a directory (inside a Workspace) and all of its contents. + public class RemoveDirectoryRequest : DataformBaseServiceRequest + { + /// Constructs a new RemoveDirectory request. + public RemoveDirectoryRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.RemoveDirectoryRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.RemoveDirectoryRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "removeDirectory"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:removeDirectory"; + + /// Initializes RemoveDirectory parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Deletes a file (inside a Workspace). + /// The body of the request. + /// Required. The workspace's name. + public virtual RemoveFileRequest RemoveFile(Google.Apis.Dataform.v1.Data.RemoveFileRequest body, string workspace) + { + return new RemoveFileRequest(this.service, body, workspace); + } + + /// Deletes a file (inside a Workspace). + public class RemoveFileRequest : DataformBaseServiceRequest + { + /// Constructs a new RemoveFile request. + public RemoveFileRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.RemoveFileRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.RemoveFileRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "removeFile"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:removeFile"; + + /// Initializes RemoveFile parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Performs a Git reset for uncommitted files in a Workspace. + /// The body of the request. + /// Required. The workspace's name. + public virtual ResetRequest Reset(Google.Apis.Dataform.v1.Data.ResetWorkspaceChangesRequest body, string name) + { + return new ResetRequest(this.service, body, name); + } + + /// Performs a Git reset for uncommitted files in a Workspace. + public class ResetRequest : DataformBaseServiceRequest + { + /// Constructs a new Reset request. + public ResetRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.ResetWorkspaceChangesRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.ResetWorkspaceChangesRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "reset"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:reset"; + + /// Initializes Reset parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Finds the contents of a given Workspace directory by filter. + /// Required. The workspace's name. + public virtual SearchFilesRequest SearchFiles(string workspace) + { + return new SearchFilesRequest(this.service, workspace); + } + + /// Finds the contents of a given Workspace directory by filter. + public class SearchFilesRequest : DataformBaseServiceRequest + { + /// Constructs a new SearchFiles request. + public SearchFilesRequest(Google.Apis.Services.IClientService service, string workspace) : base(service) + { + Workspace = workspace; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// + /// Optional. Optional filter for the returned list in filtering format. Filtering is only + /// currently supported on the `path` field. See https://google.aip.dev/160 for details. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. Maximum number of search results to return. The server may return fewer items than + /// requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `SearchFilesRequest` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `SearchFilesRequest`, with the exception of `page_size`, must match the call that provided + /// the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "searchFiles"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:searchFiles"; + + /// Initializes SearchFiles parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can + /// return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can + /// return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(this.service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for + /// authorization checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : DataformBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for + /// this field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + + /// Writes to a file (inside a Workspace). + /// The body of the request. + /// Required. The workspace's name. + public virtual WriteFileRequest WriteFile(Google.Apis.Dataform.v1.Data.WriteFileRequest body, string workspace) + { + return new WriteFileRequest(this.service, body, workspace); + } + + /// Writes to a file (inside a Workspace). + public class WriteFileRequest : DataformBaseServiceRequest + { + /// Constructs a new WriteFile request. + public WriteFileRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.WriteFileRequest body, string workspace) : base(service) + { + Workspace = workspace; + Body = body; + InitParameters(); + } + + /// Required. The workspace's name. + [Google.Apis.Util.RequestParameterAttribute("workspace", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Workspace { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.WriteFileRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "writeFile"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+workspace}:writeFile"; + + /// Initializes WriteFile parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("workspace", new Google.Apis.Discovery.Parameter + { + Name = "workspace", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+$", + }); + } + } + } + + /// + /// Applies a Git commit to a Repository. The Repository must not have a value for + /// `git_remote_settings.url`. + /// + /// The body of the request. + /// Required. The repository's name. + public virtual CommitRequest Commit(Google.Apis.Dataform.v1.Data.CommitRepositoryChangesRequest body, string name) + { + return new CommitRequest(this.service, body, name); + } + + /// + /// Applies a Git commit to a Repository. The Repository must not have a value for + /// `git_remote_settings.url`. + /// + public class CommitRequest : DataformBaseServiceRequest + { + /// Constructs a new Commit request. + public CommitRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.CommitRepositoryChangesRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.CommitRepositoryChangesRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "commit"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:commit"; + + /// Initializes Commit parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// Computes a Repository's Git access token status. + /// Required. The repository's name. + public virtual ComputeAccessTokenStatusRequest ComputeAccessTokenStatus(string name) + { + return new ComputeAccessTokenStatusRequest(this.service, name); + } + + /// Computes a Repository's Git access token status. + public class ComputeAccessTokenStatusRequest : DataformBaseServiceRequest + { + /// Constructs a new ComputeAccessTokenStatus request. + public ComputeAccessTokenStatusRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "computeAccessTokenStatus"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:computeAccessTokenStatus"; + + /// Initializes ComputeAccessTokenStatus parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// Creates a new Repository in a given project and location. + /// The body of the request. + /// + /// Required. The location in which to create the repository. Must be in the format + /// `projects/*/locations/*`. + /// + public virtual CreateRequest Create(Google.Apis.Dataform.v1.Data.Repository body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new Repository in a given project and location. + public class CreateRequest : DataformBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.Repository body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The location in which to create the repository. Must be in the format + /// `projects/*/locations/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the repository, which will become the final component of the + /// repository's resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("repositoryId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RepositoryId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.Repository Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/repositories"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("repositoryId", new Google.Apis.Discovery.Parameter + { + Name = "repositoryId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes a single Repository. + /// Required. The repository's name. + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes a single Repository. + public class DeleteRequest : DataformBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. If set to true, child resources of this repository (compilation results and workflow + /// invocations) will also be deleted. Otherwise, the request will only succeed if the repository + /// has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release + /// configs or workflow configs. If any of such resources exists in the repository, the request will + /// fail.*. + /// + [Google.Apis.Util.RequestParameterAttribute("force", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable Force { get; set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("force", new Google.Apis.Discovery.Parameter + { + Name = "force", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Fetches a Repository's history of commits. The Repository must not have a value for + /// `git_remote_settings.url`. + /// + /// Required. The repository's name. + public virtual FetchHistoryRequest FetchHistory(string name) + { + return new FetchHistoryRequest(this.service, name); + } + + /// + /// Fetches a Repository's history of commits. The Repository must not have a value for + /// `git_remote_settings.url`. + /// + public class FetchHistoryRequest : DataformBaseServiceRequest + { + /// Constructs a new FetchHistory request. + public FetchHistoryRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Maximum number of commits to return. The server may return fewer items than requested. + /// If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `FetchRepositoryHistory` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters provided to + /// `FetchRepositoryHistory`, with the exception of `page_size`, must match the call that provided + /// the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "fetchHistory"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:fetchHistory"; + + /// Initializes FetchHistory parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Fetches a Repository's remote branches. + /// Required. The repository's name. + public virtual FetchRemoteBranchesRequest FetchRemoteBranches(string name) + { + return new FetchRemoteBranchesRequest(this.service, name); + } + + /// Fetches a Repository's remote branches. + public class FetchRemoteBranchesRequest : DataformBaseServiceRequest + { + /// Constructs a new FetchRemoteBranches request. + public FetchRemoteBranchesRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "fetchRemoteBranches"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:fetchRemoteBranches"; + + /// Initializes FetchRemoteBranches parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// Fetches a single Repository. + /// Required. The repository's name. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Fetches a single Repository. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(this.service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + public class GetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Lists Repositories in a given project and location. **Note:** *This method can return repositories + /// not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*. + /// + /// + /// Required. The location in which to list repositories. Must be in the format + /// `projects/*/locations/*`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// + /// Lists Repositories in a given project and location. **Note:** *This method can return repositories + /// not shown in the [Dataform UI](https://console.cloud.google.com/bigquery/dataform)*. + /// + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The location in which to list repositories. Must be in the format + /// `projects/*/locations/*`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Optional. Filter for the returned list. + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. This field only supports ordering by `name`. If unspecified, the server will choose + /// the ordering. If specified, the default order is ascending for the `name` field. + /// + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } + + /// + /// Optional. Maximum number of repositories to return. The server may return fewer items than + /// requested. If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `ListRepositories` call. Provide this to retrieve + /// the subsequent page. When paginating, all other parameters provided to `ListRepositories`, with + /// the exception of `page_size`, must match the call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/repositories"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter + { + Name = "orderBy", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Updates a single Repository. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when + /// the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* + /// + /// The body of the request. + /// Identifier. The repository's name. + public virtual PatchRequest Patch(Google.Apis.Dataform.v1.Data.Repository body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// + /// Updates a single Repository. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when + /// the `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* + /// + public class PatchRequest : DataformBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.Repository body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Identifier. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Specifies the fields to be updated in the repository. If left unset, all fields will + /// be updated. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.Repository Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Returns the contents of a given Repository directory. The Repository must not have a value for + /// `git_remote_settings.url`. + /// + /// Required. The repository's name. + public virtual QueryDirectoryContentsRequest QueryDirectoryContents(string name) + { + return new QueryDirectoryContentsRequest(this.service, name); + } + + /// + /// Returns the contents of a given Repository directory. The Repository must not have a value for + /// `git_remote_settings.url`. + /// + public class QueryDirectoryContentsRequest : DataformBaseServiceRequest + { + /// Constructs a new QueryDirectoryContents request. + public QueryDirectoryContentsRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried + /// from HEAD. + /// + [Google.Apis.Util.RequestParameterAttribute("commitSha", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CommitSha { get; set; } + + /// + /// Optional. Maximum number of paths to return. The server may return fewer items than requested. + /// If unspecified, the server will pick an appropriate default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide + /// this to retrieve the subsequent page. When paginating, all other parameters provided to + /// `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// + /// Optional. The directory's full path including directory name, relative to root. If left unset, + /// the root is used. + /// + [Google.Apis.Util.RequestParameterAttribute("path", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Path { get; set; } + + /// Gets the method name. + public override string MethodName => "queryDirectoryContents"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:queryDirectoryContents"; + + /// Initializes QueryDirectoryContents parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("commitSha", new Google.Apis.Discovery.Parameter + { + Name = "commitSha", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("path", new Google.Apis.Discovery.Parameter + { + Name = "path", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Returns the contents of a file (inside a Repository). The Repository must not have a value for + /// `git_remote_settings.url`. + /// + /// Required. The repository's name. + public virtual ReadFileRequest ReadFile(string name) + { + return new ReadFileRequest(this.service, name); + } + + /// + /// Returns the contents of a file (inside a Repository). The Repository must not have a value for + /// `git_remote_settings.url`. + /// + public class ReadFileRequest : DataformBaseServiceRequest + { + /// Constructs a new ReadFile request. + public ReadFileRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The repository's name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD. + /// + [Google.Apis.Util.RequestParameterAttribute("commitSha", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CommitSha { get; set; } + + /// Required. Full file path to read including filename, from repository root. + [Google.Apis.Util.RequestParameterAttribute("path", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Path { get; set; } + + /// Gets the method name. + public override string MethodName => "readFile"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:readFile"; + + /// Initializes ReadFile parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + RequestParameters.Add("commitSha", new Google.Apis.Discovery.Parameter + { + Name = "commitSha", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("path", new Google.Apis.Discovery.Parameter + { + Name = "path", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(this.service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : DataformBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/repositories/[^/]+$", + }); + } + } + } + + /// Gets the TeamFolders resource. + public virtual TeamFoldersResource TeamFolders { get; } + + /// The "teamFolders" collection of methods. + public class TeamFoldersResource + { + private const string Resource = "teamFolders"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public TeamFoldersResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual GetIamPolicyRequest GetIamPolicy(string resource) + { + return new GetIamPolicyRequest(this.service, resource); + } + + /// + /// Gets the access control policy for a resource. Returns an empty policy if the resource exists and + /// does not have a policy set. + /// + public class GetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new GetIamPolicy request. + public GetIamPolicyRequest(Google.Apis.Services.IClientService service, string resource) : base(service) + { + Resource = resource; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// + /// Optional. The maximum policy version that will be used to format the policy. Valid values are 0, + /// 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any + /// conditional role bindings must specify version 3. Policies with no conditional role bindings may + /// specify any valid value or leave the field unset. The policy in the response might use the + /// policy version that you specified, or it might use a lower policy version. For example, if you + /// specify version 3, but the policy has no conditional role bindings, the response uses version 1. + /// To learn which resources support conditions in their IAM policies, see the [IAM + /// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + /// + [Google.Apis.Util.RequestParameterAttribute("options.requestedPolicyVersion", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable OptionsRequestedPolicyVersion { get; set; } + + /// Gets the method name. + public override string MethodName => "getIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:getIamPolicy"; + + /// Initializes GetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", + }); + RequestParameters.Add("options.requestedPolicyVersion", new Google.Apis.Discovery.Parameter + { + Name = "options.requestedPolicyVersion", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) + { + return new SetIamPolicyRequest(this.service, body, resource); + } + + /// + /// Sets the access control policy on the specified resource. Replaces any existing policy. Can return + /// `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + /// + public class SetIamPolicyRequest : DataformBaseServiceRequest + { + /// Constructs a new SetIamPolicy request. + public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.SetIamPolicyRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy is being specified. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.SetIamPolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setIamPolicy"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:setIamPolicy"; + + /// Initializes SetIamPolicy parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", + }); + } + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + /// The body of the request. + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + public virtual TestIamPermissionsRequest TestIamPermissions(Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) + { + return new TestIamPermissionsRequest(this.service, body, resource); + } + + /// + /// Returns permissions that a caller has on the specified resource. If the resource does not exist, + /// this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is + /// designed to be used for building permission-aware UIs and command-line tools, not for authorization + /// checking. This operation may "fail open" without warning. + /// + public class TestIamPermissionsRequest : DataformBaseServiceRequest + { + /// Constructs a new TestIamPermissions request. + public TestIamPermissionsRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest body, string resource) : base(service) + { + Resource = resource; + Body = body; + InitParameters(); + } + + /// + /// REQUIRED: The resource for which the policy detail is being requested. See [Resource + /// names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this + /// field. + /// + [Google.Apis.Util.RequestParameterAttribute("resource", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Resource { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.TestIamPermissionsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "testIamPermissions"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+resource}:testIamPermissions"; + + /// Initializes TestIamPermissions parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("resource", new Google.Apis.Discovery.Parameter + { + Name = "resource", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+$", + }); + } + } + } + + /// Gets information about a location. + /// Resource name for the location. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets information about a location. + public class GetRequest : DataformBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Resource name for the location. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } + + /// Get default config for a given project and location. + /// Required. The config name. + public virtual GetConfigRequest GetConfig(string name) + { + return new GetConfigRequest(this.service, name); + } + + /// Get default config for a given project and location. + public class GetConfigRequest : DataformBaseServiceRequest + { + /// Constructs a new GetConfig request. + public GetConfigRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// Required. The config name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "getConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes GetConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/config$", + }); + } + } + + /// Lists information about the supported locations for this service. + /// The resource that owns the locations collection, if applicable. + public virtual ListRequest List(string name) + { + return new ListRequest(this.service, name); + } + + /// Lists information about the supported locations for this service. + public class ListRequest : DataformBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The resource that owns the locations collection, if applicable. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is + /// primarily intended for internal usage. + /// + [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } + + /// + /// A filter to narrow down results to a preferred subset. The filtering language accepts strings like + /// `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// The maximum number of results to return. If not set, the service selects a default. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token received from the `next_page_token` field in the response. Send that page token to + /// receive the subsequent page. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}/locations"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add("extraLocationTypes", new Google.Apis.Discovery.Parameter + { + Name = "extraLocationTypes", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Update default config for a given project and location. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the + /// `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* + /// + /// The body of the request. + /// Identifier. The config name. + public virtual UpdateConfigRequest UpdateConfig(Google.Apis.Dataform.v1.Data.Config body, string name) + { + return new UpdateConfigRequest(this.service, body, name); + } + + /// + /// Update default config for a given project and location. **Note:** *This method does not fully implement + /// [AIP/134](https://google.aip.dev/134). The wildcard entry (\*) is treated as a bad request, and when the + /// `field_mask` is omitted, the request is treated as a full update on all modifiable fields.* + /// + public class UpdateConfigRequest : DataformBaseServiceRequest + { + /// Constructs a new UpdateConfig request. + public UpdateConfigRequest(Google.Apis.Services.IClientService service, Google.Apis.Dataform.v1.Data.Config body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// Identifier. The config name. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. Specifies the fields to be updated in the config. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Dataform.v1.Data.Config Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "updateConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes UpdateConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/config$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + } +} +namespace Google.Apis.Dataform.v1.Data +{ + /// Error table information, used to write error data into a BigQuery table. + public class ActionErrorTable : Google.Apis.Requests.IDirectResponseSchema + { + /// Error table partition expiration in days. Only positive values are allowed. + [Newtonsoft.Json.JsonPropertyAttribute("retentionDays")] + public virtual System.Nullable RetentionDays { get; set; } + + /// Error Table target. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual Target Target { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Load definition for incremental load modes + public class ActionIncrementalLoadMode : Google.Apis.Requests.IDirectResponseSchema + { + /// Column name for incremental load modes + [Newtonsoft.Json.JsonPropertyAttribute("column")] + public virtual string Column { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Simplified load configuration for actions + public class ActionLoadConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Append into destination table + [Newtonsoft.Json.JsonPropertyAttribute("append")] + public virtual ActionSimpleLoadMode Append { get; set; } + + /// + /// Insert records where the value exceeds the previous maximum value for a column in the destination table + /// + [Newtonsoft.Json.JsonPropertyAttribute("maximum")] + public virtual ActionIncrementalLoadMode Maximum { get; set; } + + /// Replace destination table + [Newtonsoft.Json.JsonPropertyAttribute("replace")] + public virtual ActionSimpleLoadMode Replace { get; set; } + + /// + /// Insert records where the value of a column is not already present in the destination table + /// + [Newtonsoft.Json.JsonPropertyAttribute("unique")] + public virtual ActionIncrementalLoadMode Unique { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Simple load definition + public class ActionSimpleLoadMode : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Definition of a SQL Data Preparation + public class ActionSqlDefinition : Google.Apis.Requests.IDirectResponseSchema + { + /// Error table configuration, + [Newtonsoft.Json.JsonPropertyAttribute("errorTable")] + public virtual ActionErrorTable ErrorTable { get; set; } + + /// Load configuration. + [Newtonsoft.Json.JsonPropertyAttribute("loadConfig")] + public virtual ActionLoadConfig LoadConfig { get; set; } + + /// + /// The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement. + /// + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents an assertion upon a SQL query which is required return zero rows. + public class Assertion : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of actions that this action depends on. + [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] + public virtual System.Collections.Generic.IList DependencyTargets { get; set; } + + /// Whether this action is disabled (i.e. should not be run). + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// + /// The parent action of this assertion. Only set if this assertion was automatically generated. + /// + [Newtonsoft.Json.JsonPropertyAttribute("parentAction")] + public virtual Target ParentAction { get; set; } + + /// Descriptor for the assertion's automatically-generated view and its columns. + [Newtonsoft.Json.JsonPropertyAttribute("relationDescriptor")] + public virtual RelationDescriptor RelationDescriptor { get; set; } + + /// The SELECT query which must return zero rows in order for this assertion to succeed. + [Newtonsoft.Json.JsonPropertyAttribute("selectQuery")] + public virtual string SelectQuery { get; set; } + + /// Arbitrary, user-defined tags on this action. + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IList Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a workflow action that will run against BigQuery. + public class BigQueryAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has + /// started to run. + /// + [Newtonsoft.Json.JsonPropertyAttribute("jobId")] + public virtual string JobId { get; set; } + + /// Output only. The generated BigQuery SQL script that will be executed. + [Newtonsoft.Json.JsonPropertyAttribute("sqlScript")] + public virtual string SqlScript { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Associates `members`, or principals, with a `role`. + public class Binding : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// 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). + /// + [Newtonsoft.Json.JsonPropertyAttribute("condition")] + public virtual Expr Condition { get; set; } + + /// + /// 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`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("members")] + public virtual System.Collections.Generic.IList Members { get; set; } + + /// + /// 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). + /// + [Newtonsoft.Json.JsonPropertyAttribute("role")] + public virtual string Role { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request message for Operations.CancelOperation. + public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `CancelWorkflowInvocation` request message. + public class CancelWorkflowInvocationRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `CancelWorkflowInvocation` response message. + public class CancelWorkflowInvocationResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configures various aspects of Dataform code compilation. + public class CodeCompilationConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The default schema (BigQuery dataset ID) for assertions. + [Newtonsoft.Json.JsonPropertyAttribute("assertionSchema")] + public virtual string AssertionSchema { get; set; } + + /// Optional. The prefix to prepend to built-in assertion names. + [Newtonsoft.Json.JsonPropertyAttribute("builtinAssertionNamePrefix")] + public virtual string BuiltinAssertionNamePrefix { get; set; } + + /// + /// Optional. The suffix that should be appended to all database (Google Cloud project ID) names. + /// + [Newtonsoft.Json.JsonPropertyAttribute("databaseSuffix")] + public virtual string DatabaseSuffix { get; set; } + + /// Optional. The default database (Google Cloud project ID). + [Newtonsoft.Json.JsonPropertyAttribute("defaultDatabase")] + public virtual string DefaultDatabase { get; set; } + + /// + /// Optional. The default BigQuery location to use. Defaults to "US". See the BigQuery docs for a full list of + /// locations: https://cloud.google.com/bigquery/docs/locations. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLocation")] + public virtual string DefaultLocation { get; set; } + + /// Optional. The default notebook runtime options. + [Newtonsoft.Json.JsonPropertyAttribute("defaultNotebookRuntimeOptions")] + public virtual NotebookRuntimeOptions DefaultNotebookRuntimeOptions { get; set; } + + /// Optional. The default schema (BigQuery dataset ID). + [Newtonsoft.Json.JsonPropertyAttribute("defaultSchema")] + public virtual string DefaultSchema { get; set; } + + /// Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. + [Newtonsoft.Json.JsonPropertyAttribute("schemaSuffix")] + public virtual string SchemaSuffix { get; set; } + + /// Optional. The prefix that should be prepended to all table names. + [Newtonsoft.Json.JsonPropertyAttribute("tablePrefix")] + public virtual string TablePrefix { get; set; } + + /// + /// Optional. User-defined variables that are made available to project code during compilation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("vars")] + public virtual System.Collections.Generic.IDictionary Vars { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes a column. + public class ColumnDescriptor : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of BigQuery policy tags that will be applied to the column. + [Newtonsoft.Json.JsonPropertyAttribute("bigqueryPolicyTags")] + public virtual System.Collections.Generic.IList BigqueryPolicyTags { get; set; } + + /// A textual description of the column. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The identifier for the column. Each entry in `path` represents one level of nesting. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual System.Collections.Generic.IList Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the author of a Git commit. + public class CommitAuthor : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The commit author's email address. + [Newtonsoft.Json.JsonPropertyAttribute("emailAddress")] + public virtual string EmailAddress { get; set; } + + /// Required. The commit author's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single commit log. + public class CommitLogEntry : Google.Apis.Requests.IDirectResponseSchema + { + /// The commit author for this commit log entry. + [Newtonsoft.Json.JsonPropertyAttribute("author")] + public virtual CommitAuthor Author { get; set; } + + /// The commit message for this commit log entry. + [Newtonsoft.Json.JsonPropertyAttribute("commitMessage")] + public virtual string CommitMessage { get; set; } + + /// The commit SHA for this commit log entry. + [Newtonsoft.Json.JsonPropertyAttribute("commitSha")] + public virtual string CommitSha { get; set; } + + private string _commitTimeRaw; + + private object _commitTime; + + /// Commit timestamp. + [Newtonsoft.Json.JsonPropertyAttribute("commitTime")] + public virtual string CommitTimeRaw + { + get => _commitTimeRaw; + set + { + _commitTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _commitTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CommitTimeDateTimeOffset instead.")] + public virtual object CommitTime + { + get => _commitTime; + set + { + _commitTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _commitTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CommitTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CommitTimeRaw); + set => CommitTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a Dataform Git commit. + public class CommitMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The commit's author. + [Newtonsoft.Json.JsonPropertyAttribute("author")] + public virtual CommitAuthor Author { get; set; } + + /// Optional. The commit's message. + [Newtonsoft.Json.JsonPropertyAttribute("commitMessage")] + public virtual string CommitMessage { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `CommitRepositoryChanges` request message. + public class CommitRepositoryChangesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The changes to commit to the repository. + [Newtonsoft.Json.JsonPropertyAttribute("commitMetadata")] + public virtual CommitMetadata CommitMetadata { get; set; } + + /// + /// Optional. A map to the path of the file to the operation. The path is the full file path including filename, + /// from repository root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("fileOperations")] + public virtual System.Collections.Generic.IDictionary FileOperations { get; set; } + + /// + /// Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise + /// this request will fail. If unset, no validation on the current HEAD commit SHA is performed. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requiredHeadCommitSha")] + public virtual string RequiredHeadCommitSha { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `CommitRepositoryChanges` response message. + public class CommitRepositoryChangesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The commit SHA of the current commit. + [Newtonsoft.Json.JsonPropertyAttribute("commitSha")] + public virtual string CommitSha { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `CommitWorkspaceChanges` request message. + public class CommitWorkspaceChangesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The commit's author. + [Newtonsoft.Json.JsonPropertyAttribute("author")] + public virtual CommitAuthor Author { get; set; } + + /// Optional. The commit's message. + [Newtonsoft.Json.JsonPropertyAttribute("commitMessage")] + public virtual string CommitMessage { get; set; } + + /// + /// Optional. Full file paths to commit including filename, rooted at workspace root. If left empty, all files + /// will be committed. + /// + [Newtonsoft.Json.JsonPropertyAttribute("paths")] + public virtual System.Collections.Generic.IList Paths { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `CommitWorkspaceChanges` response message. + public class CommitWorkspaceChangesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// An error encountered when attempting to compile a Dataform project. + public class CompilationError : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The identifier of the action where this error occurred, if available. + [Newtonsoft.Json.JsonPropertyAttribute("actionTarget")] + public virtual Target ActionTarget { get; set; } + + /// Output only. The error's top level message. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// + /// Output only. The path of the file where this error occurred, if available, relative to the project root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// Output only. The error's full stack trace. + [Newtonsoft.Json.JsonPropertyAttribute("stack")] + public virtual string Stack { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the result of compiling a Dataform project. + public class CompilationResult : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Immutable. If set, fields of `code_compilation_config` override the default compilation settings that are + /// specified in dataform.json. + /// + [Newtonsoft.Json.JsonPropertyAttribute("codeCompilationConfig")] + public virtual CodeCompilationConfig CodeCompilationConfig { get; set; } + + /// Output only. Errors encountered during project compilation. + [Newtonsoft.Json.JsonPropertyAttribute("compilationErrors")] + public virtual System.Collections.Generic.IList CompilationErrors { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp of when the compilation result was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Output only. Only set if the repository has a KMS Key. + [Newtonsoft.Json.JsonPropertyAttribute("dataEncryptionState")] + public virtual DataEncryptionState DataEncryptionState { get; set; } + + /// Output only. The version of `@dataform/core` that was used for compilation. + [Newtonsoft.Json.JsonPropertyAttribute("dataformCoreVersion")] + public virtual string DataformCoreVersion { get; set; } + + /// + /// Immutable. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote + /// repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1` + /// + [Newtonsoft.Json.JsonPropertyAttribute("gitCommitish")] + public virtual string GitCommitish { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// Output only. The compilation result's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Immutable. The name of the release config to compile. Must be in the format + /// `projects/*/locations/*/repositories/*/releaseConfigs/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("releaseConfig")] + public virtual string ReleaseConfig { get; set; } + + /// + /// Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation + /// results whose source is a workspace. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resolvedGitCommitSha")] + public virtual string ResolvedGitCommitSha { get; set; } + + /// + /// Immutable. The name of the workspace to compile. Must be in the format + /// `projects/*/locations/*/repositories/*/workspaces/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("workspace")] + public virtual string Workspace { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single Dataform action in a compilation result. + public class CompilationResultAction : Google.Apis.Requests.IDirectResponseSchema + { + /// The assertion executed by this action. + [Newtonsoft.Json.JsonPropertyAttribute("assertion")] + public virtual Assertion Assertion { get; set; } + + /// + /// The action's identifier if the project had been compiled without any overrides configured. Unique within the + /// compilation result. + /// + [Newtonsoft.Json.JsonPropertyAttribute("canonicalTarget")] + public virtual Target CanonicalTarget { get; set; } + + /// The data preparation executed by this action. + [Newtonsoft.Json.JsonPropertyAttribute("dataPreparation")] + public virtual DataPreparation DataPreparation { get; set; } + + /// The declaration declared by this action. + [Newtonsoft.Json.JsonPropertyAttribute("declaration")] + public virtual Declaration Declaration { get; set; } + + /// + /// The full path including filename in which this action is located, relative to the workspace root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("filePath")] + public virtual string FilePath { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// The notebook executed by this action. + [Newtonsoft.Json.JsonPropertyAttribute("notebook")] + public virtual Notebook Notebook { get; set; } + + /// The database operations executed by this action. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual Operations Operations { get; set; } + + /// The database relation created/updated by this action. + [Newtonsoft.Json.JsonPropertyAttribute("relation")] + public virtual Relation Relation { get; set; } + + /// This action's identifier. Unique within the compilation result. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual Target Target { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ComputeRepositoryAccessTokenStatus` response message. + public class ComputeRepositoryAccessTokenStatusResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Indicates the status of the Git access token. + [Newtonsoft.Json.JsonPropertyAttribute("tokenStatus")] + public virtual string TokenStatus { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Config for all repositories in a given project and location. + public class Config : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default KMS key that is used if no encryption key is provided when a repository is created. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultKmsKeyName")] + public virtual string DefaultKmsKeyName { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// Identifier. The config name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes encryption state of a resource. + public class DataEncryptionState : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The KMS key version name with which data of a resource is encrypted. + [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyVersionName")] + public virtual string KmsKeyVersionName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Defines a compiled Data Preparation entity + public class DataPreparation : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// SQL definition for a Data Preparation. Contains a SQL query and additional context information. + /// + [Newtonsoft.Json.JsonPropertyAttribute("contentsSql")] + public virtual SqlDefinition ContentsSql { get; set; } + + /// The data preparation definition, stored as a YAML string. + [Newtonsoft.Json.JsonPropertyAttribute("contentsYaml")] + public virtual string ContentsYaml { get; set; } + + /// A list of actions that this action depends on. + [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] + public virtual System.Collections.Generic.IList DependencyTargets { get; set; } + + /// Whether this action is disabled (i.e. should not be run). + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// Arbitrary, user-defined tags on this action. + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IList Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a workflow action that will run a Data Preparation. + public class DataPreparationAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// SQL definition for a Data Preparation. Contains a SQL query and additional context information. + /// + [Newtonsoft.Json.JsonPropertyAttribute("contentsSql")] + public virtual ActionSqlDefinition ContentsSql { get; set; } + + /// + /// Output only. YAML representing the contents of the data preparation. Can be used to show the customer what + /// the input was to their workflow. + /// + [Newtonsoft.Json.JsonPropertyAttribute("contentsYaml")] + public virtual string ContentsYaml { get; set; } + + /// Output only. The generated BigQuery SQL script that will be executed. For reference only. + [Newtonsoft.Json.JsonPropertyAttribute("generatedSql")] + public virtual string GeneratedSql { get; set; } + + /// + /// Output only. The ID of the BigQuery job that executed the SQL in sql_script. Only set once the job has + /// started to run. + /// + [Newtonsoft.Json.JsonPropertyAttribute("jobId")] + public virtual string JobId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions. + /// + public class Declaration : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Descriptor for the relation and its columns. Used as documentation only, i.e. values here will result in no + /// changes to the relation's metadata. + /// + [Newtonsoft.Json.JsonPropertyAttribute("relationDescriptor")] + public virtual RelationDescriptor RelationDescriptor { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the delete file operation. + public class DeleteFile : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single entry in a directory. + public class DirectoryEntry : Google.Apis.Requests.IDirectResponseSchema + { + /// A child directory in the directory. + [Newtonsoft.Json.JsonPropertyAttribute("directory")] + public virtual string Directory { get; set; } + + /// A file in the directory. + [Newtonsoft.Json.JsonPropertyAttribute("file")] + public virtual string File { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Client-facing representation of a directory entry in search results. + public class DirectorySearchResult : Google.Apis.Requests.IDirectResponseSchema + { + /// File system path relative to the workspace root. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical + /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc + /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + /// + public class Empty : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Error table information, used to write error data into a BigQuery table. + public class ErrorTable : Google.Apis.Requests.IDirectResponseSchema + { + /// Error table partition expiration in days. Only positive values are allowed. + [Newtonsoft.Json.JsonPropertyAttribute("retentionDays")] + public virtual System.Nullable RetentionDays { get; set; } + + /// Error Table target. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual Target Target { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression + /// language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example + /// (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" + /// expression: "document.summary.size() &lt; 100" Example (Equality): title: "Requestor is owner" description: + /// "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" + /// Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly + /// visible" expression: "document.type != 'private' &amp;&amp; document.type != 'internal'" Example (Data + /// Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." + /// expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that + /// may be referenced within an expression are determined by the service that evaluates it. See the service + /// documentation for additional information. + /// + public class Expr : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when + /// hovered over it in a UI. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Textual representation of an expression in Common Expression Language syntax. + [Newtonsoft.Json.JsonPropertyAttribute("expression")] + public virtual string Expression { get; set; } + + /// + /// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a + /// position in the file. + /// + [Newtonsoft.Json.JsonPropertyAttribute("location")] + public virtual string Location { get; set; } + + /// + /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs + /// which allow to enter the expression. + /// + [Newtonsoft.Json.JsonPropertyAttribute("title")] + public virtual string Title { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `FetchFileDiff` response message. + public class FetchFileDiffResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The raw formatted Git diff for the file. + [Newtonsoft.Json.JsonPropertyAttribute("formattedDiff")] + public virtual string FormattedDiff { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `FetchFileGitStatuses` response message. + public class FetchFileGitStatusesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A list of all files which have uncommitted Git changes. There will only be a single entry for any given + /// file. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uncommittedFileChanges")] + public virtual System.Collections.Generic.IList UncommittedFileChanges { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `FetchGitAheadBehind` response message. + public class FetchGitAheadBehindResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The number of commits in the remote branch that are not in the workspace. + [Newtonsoft.Json.JsonPropertyAttribute("commitsAhead")] + public virtual System.Nullable CommitsAhead { get; set; } + + /// The number of commits in the workspace that are not in the remote branch. + [Newtonsoft.Json.JsonPropertyAttribute("commitsBehind")] + public virtual System.Nullable CommitsBehind { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `FetchRemoteBranches` response message. + public class FetchRemoteBranchesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The remote repository's branch names. + [Newtonsoft.Json.JsonPropertyAttribute("branches")] + public virtual System.Collections.Generic.IList Branches { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `FetchRepositoryHistory` response message. + public class FetchRepositoryHistoryResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of commit logs, ordered by 'git log' default order. + [Newtonsoft.Json.JsonPropertyAttribute("commits")] + public virtual System.Collections.Generic.IList Commits { get; set; } + + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single file operation to the repository. + public class FileOperation : Google.Apis.Requests.IDirectResponseSchema + { + /// Represents the delete operation. + [Newtonsoft.Json.JsonPropertyAttribute("deleteFile")] + public virtual DeleteFile DeleteFile { get; set; } + + /// Represents the write operation. + [Newtonsoft.Json.JsonPropertyAttribute("writeFile")] + public virtual WriteFile WriteFile { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Client-facing representation of a file entry in search results. + public class FileSearchResult : Google.Apis.Requests.IDirectResponseSchema + { + /// File system path relative to the workspace root. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Controls Git remote configuration for a repository. + public class GitRemoteSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The name of the Secret Manager secret version to use as an authentication token for Git + /// operations. Must be in the format `projects/*/secrets/*/versions/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("authenticationTokenSecretVersion")] + public virtual string AuthenticationTokenSecretVersion { get; set; } + + /// Required. The Git remote's default branch name. + [Newtonsoft.Json.JsonPropertyAttribute("defaultBranch")] + public virtual string DefaultBranch { get; set; } + + /// Optional. Authentication fields for remote uris using SSH protocol. + [Newtonsoft.Json.JsonPropertyAttribute("sshAuthenticationConfig")] + public virtual SshAuthenticationConfig SshAuthenticationConfig { get; set; } + + /// Output only. Deprecated: The field does not contain any token status information. + [Newtonsoft.Json.JsonPropertyAttribute("tokenStatus")] + public virtual string TokenStatus { get; set; } + + /// Required. The Git remote's URL. + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Contains metadata about the IAM policy override for a given Dataform resource. If is_active is true, this the + /// policy encoded in iam_policy_name is the source of truth for this resource. Will be provided in internal ESV2 + /// views for: Workspaces, Repositories, Folders, TeamFolders. + /// + public class IamPolicyOverrideView : Google.Apis.Requests.IDirectResponseSchema + { + /// The IAM policy name for the resource. + [Newtonsoft.Json.JsonPropertyAttribute("iamPolicyName")] + public virtual PolicyName IamPolicyName { get; set; } + + /// Whether the IAM policy encoded in this view is active. + [Newtonsoft.Json.JsonPropertyAttribute("isActive")] + public virtual System.Nullable IsActive { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Load definition for incremental load modes + public class IncrementalLoadMode : Google.Apis.Requests.IDirectResponseSchema + { + /// Column name for incremental load modes + [Newtonsoft.Json.JsonPropertyAttribute("column")] + public virtual string Column { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Contains settings for relations of type `INCREMENTAL_TABLE`. + public class IncrementalTableConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// SQL statements to be executed after inserting new rows into the relation. + [Newtonsoft.Json.JsonPropertyAttribute("incrementalPostOperations")] + public virtual System.Collections.Generic.IList IncrementalPostOperations { get; set; } + + /// SQL statements to be executed before inserting new rows into the relation. + [Newtonsoft.Json.JsonPropertyAttribute("incrementalPreOperations")] + public virtual System.Collections.Generic.IList IncrementalPreOperations { get; set; } + + /// + /// The SELECT query which returns rows which should be inserted into the relation if it already exists and is + /// not being refreshed. + /// + [Newtonsoft.Json.JsonPropertyAttribute("incrementalSelectQuery")] + public virtual string IncrementalSelectQuery { get; set; } + + /// Whether this table should be protected from being refreshed. + [Newtonsoft.Json.JsonPropertyAttribute("refreshDisabled")] + public virtual System.Nullable RefreshDisabled { get; set; } + + /// + /// A set of columns or SQL expressions used to define row uniqueness. If any duplicates are discovered (as + /// defined by `unique_key_parts`), only the newly selected rows (as defined by `incremental_select_query`) will + /// be included in the relation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uniqueKeyParts")] + public virtual System.Collections.Generic.IList UniqueKeyParts { get; set; } + + /// + /// A SQL expression conditional used to limit the set of existing rows considered for a merge operation (see + /// `unique_key_parts` for more information). + /// + [Newtonsoft.Json.JsonPropertyAttribute("updatePartitionFilter")] + public virtual string UpdatePartitionFilter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `InstallNpmPackages` request message. + public class InstallNpmPackagesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `InstallNpmPackages` response message. + public class InstallNpmPackagesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start + /// must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). + /// When both start and end are unspecified, the interval matches any time. + /// + public class Interval : Google.Apis.Requests.IDirectResponseSchema + { + private string _endTimeRaw; + + private object _endTime; + + /// + /// Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be + /// before the end. + /// + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + private string _startTimeRaw; + + private object _startTime; + + /// + /// Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be + /// the same or after the start. + /// + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual string StartTimeRaw + { + get => _startTimeRaw; + set + { + _startTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _startTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")] + public virtual object StartTime + { + get => _startTime; + set + { + _startTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _startTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? StartTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(StartTimeRaw); + set => StartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Includes various configuration options for a workflow invocation. If both `included_targets` and `included_tags` + /// are unset, all actions will be included. + /// + public class InvocationConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. When set to true, any incremental tables will be fully refreshed. + [Newtonsoft.Json.JsonPropertyAttribute("fullyRefreshIncrementalTablesEnabled")] + public virtual System.Nullable FullyRefreshIncrementalTablesEnabled { get; set; } + + /// Optional. The set of tags to include. + [Newtonsoft.Json.JsonPropertyAttribute("includedTags")] + public virtual System.Collections.Generic.IList IncludedTags { get; set; } + + /// Optional. The set of action identifiers to include. + [Newtonsoft.Json.JsonPropertyAttribute("includedTargets")] + public virtual System.Collections.Generic.IList IncludedTargets { get; set; } + + /// + /// Optional. Specifies the priority for query execution in BigQuery. More information can be found at + /// https://cloud.google.com/bigquery/docs/running-queries#queries. + /// + [Newtonsoft.Json.JsonPropertyAttribute("queryPriority")] + public virtual string QueryPriority { get; set; } + + /// Optional. The service account to run workflow invocations under. + [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] + public virtual string ServiceAccount { get; set; } + + /// Optional. When set to true, transitive dependencies of included actions will be executed. + [Newtonsoft.Json.JsonPropertyAttribute("transitiveDependenciesIncluded")] + public virtual System.Nullable TransitiveDependenciesIncluded { get; set; } + + /// Optional. When set to true, transitive dependents of included actions will be executed. + [Newtonsoft.Json.JsonPropertyAttribute("transitiveDependentsIncluded")] + public virtual System.Nullable TransitiveDependentsIncluded { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ListCompilationResults` response message. + public class ListCompilationResultsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// List of compilation results. + [Newtonsoft.Json.JsonPropertyAttribute("compilationResults")] + public virtual System.Collections.Generic.IList CompilationResults { get; set; } + + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations which could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Locations.ListLocations. + public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of locations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IList Locations { get; set; } + + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The response message for Operations.ListOperations. + public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The standard List next-page token. + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// A list of operations that matches the specified filter in the request. + [Newtonsoft.Json.JsonPropertyAttribute("operations")] + public virtual System.Collections.Generic.IList Operations { get; set; } + + /// + /// Unordered list. Unreachable resources. Populated when the request sets + /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all + /// resources across all supported locations. + /// + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ListReleaseConfigs` response message. + public class ListReleaseConfigsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// List of release configs. + [Newtonsoft.Json.JsonPropertyAttribute("releaseConfigs")] + public virtual System.Collections.Generic.IList ReleaseConfigs { get; set; } + + /// Locations which could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ListRepositories` response message. + public class ListRepositoriesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// List of repositories. + [Newtonsoft.Json.JsonPropertyAttribute("repositories")] + public virtual System.Collections.Generic.IList Repositories { get; set; } + + /// Locations which could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ListWorkflowConfigs` response message. + public class ListWorkflowConfigsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations which could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// List of workflow configs. + [Newtonsoft.Json.JsonPropertyAttribute("workflowConfigs")] + public virtual System.Collections.Generic.IList WorkflowConfigs { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ListWorkflowInvocations` response message. + public class ListWorkflowInvocationsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations which could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// List of workflow invocations. + [Newtonsoft.Json.JsonPropertyAttribute("workflowInvocations")] + public virtual System.Collections.Generic.IList WorkflowInvocations { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ListWorkspaces` response message. + public class ListWorkspacesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// Locations which could not be reached. + [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] + public virtual System.Collections.Generic.IList Unreachable { get; set; } + + /// List of workspaces. + [Newtonsoft.Json.JsonPropertyAttribute("workspaces")] + public virtual System.Collections.Generic.IList Workspaces { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Simplified load configuration for actions + public class LoadConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Append into destination table + [Newtonsoft.Json.JsonPropertyAttribute("append")] + public virtual SimpleLoadMode Append { get; set; } + + /// + /// Insert records where the value exceeds the previous maximum value for a column in the destination table + /// + [Newtonsoft.Json.JsonPropertyAttribute("maximum")] + public virtual IncrementalLoadMode Maximum { get; set; } + + /// Replace destination table + [Newtonsoft.Json.JsonPropertyAttribute("replace")] + public virtual SimpleLoadMode Replace { get; set; } + + /// + /// Insert records where the value of a column is not already present in the destination table + /// + [Newtonsoft.Json.JsonPropertyAttribute("unique")] + public virtual IncrementalLoadMode Unique { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A resource that represents a Google Cloud location. + public class Location : Google.Apis.Requests.IDirectResponseSchema + { + /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} + /// + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// The canonical id for this location. For example: `"us-east1"`. + [Newtonsoft.Json.JsonPropertyAttribute("locationId")] + public virtual string LocationId { get; set; } + + /// Service-specific metadata. For example the available capacity at the given location. + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// Resource name for the location, which may vary between implementations. For example: + /// `"projects/example-project/locations/us-east1"` + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `MakeDirectory` request message. + public class MakeDirectoryRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The directory's full path including directory name, relative to the workspace root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `MakeDirectory` response message. + public class MakeDirectoryResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `MoveDirectory` request message. + public class MoveDirectoryRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The new path for the directory including directory name, rooted at workspace root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("newPath")] + public virtual string NewPath { get; set; } + + /// + /// Required. The directory's full path including directory name, relative to the workspace root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `MoveDirectory` response message. + public class MoveDirectoryResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `MoveFile` request message. + public class MoveFileRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The file's new path including filename, relative to the workspace root. + [Newtonsoft.Json.JsonPropertyAttribute("newPath")] + public virtual string NewPath { get; set; } + + /// Required. The file's full path including filename, relative to the workspace root. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `MoveFile` response message. + public class MoveFileResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a notebook. + public class Notebook : Google.Apis.Requests.IDirectResponseSchema + { + /// The contents of the notebook. + [Newtonsoft.Json.JsonPropertyAttribute("contents")] + public virtual string Contents { get; set; } + + /// A list of actions that this action depends on. + [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] + public virtual System.Collections.Generic.IList DependencyTargets { get; set; } + + /// Whether this action is disabled (i.e. should not be run). + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// Arbitrary, user-defined tags on this action. + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IList Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a workflow action that will run against a Notebook runtime. + public class NotebookAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The code contents of a Notebook to be run. + [Newtonsoft.Json.JsonPropertyAttribute("contents")] + public virtual string Contents { get; set; } + + /// + /// Output only. The ID of the Vertex job that executed the notebook in contents and also the ID used for the + /// outputs created in Google Cloud Storage buckets. Only set once the job has started to run. + /// + [Newtonsoft.Json.JsonPropertyAttribute("jobId")] + public virtual string JobId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configures various aspects of Dataform notebook runtime. + public class NotebookRuntimeOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The resource name of the [Colab runtime template] (https://cloud.google.com/colab/docs/runtimes), + /// from which a runtime is created for notebook executions. If not specified, a runtime is created with Colab's + /// default specifications. + /// + [Newtonsoft.Json.JsonPropertyAttribute("aiPlatformNotebookRuntimeTemplate")] + public virtual string AiPlatformNotebookRuntimeTemplate { get; set; } + + /// + /// Optional. The Google Cloud Storage location to upload the result to. Format: `gs://bucket-name`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("gcsOutputBucket")] + public virtual string GcsOutputBucket { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// This resource represents a long-running operation that is the result of a network API call. + public class Operation : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, + /// and either `error` or `response` is available. + /// + [Newtonsoft.Json.JsonPropertyAttribute("done")] + public virtual System.Nullable Done { get; set; } + + /// The error result of the operation in case of failure or cancellation. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// + /// Service-specific metadata associated with the operation. It typically contains progress information and + /// common metadata such as create time. Some services might not provide such metadata. Any method that returns + /// a long-running operation should document the metadata type, if any. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metadata")] + public virtual System.Collections.Generic.IDictionary Metadata { get; set; } + + /// + /// The server-assigned name, which is only unique within the same service that originally returns it. If you + /// use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// The normal, successful response of the operation. If the original method returns no data on success, such as + /// `Delete`, the response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have + /// the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("response")] + public virtual System.Collections.Generic.IDictionary Response { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the metadata of the long-running operation. + public class OperationMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. API version used to start the operation. + [Newtonsoft.Json.JsonPropertyAttribute("apiVersion")] + public virtual string ApiVersion { get; set; } + + /// + /// Output only. Identifies whether the user has requested cancellation of the operation. Operations that have + /// been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of + /// `1`, corresponding to `Code.CANCELLED`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cancelRequested")] + public virtual System.Nullable CancelRequested { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The time the operation was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + private string _endTimeRaw; + + private object _endTime; + + /// Output only. The time the operation finished running. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Output only. Human-readable status of the operation, if any. + [Newtonsoft.Json.JsonPropertyAttribute("statusDetail")] + public virtual string StatusDetail { get; set; } + + /// Output only. Server-defined resource path for the target of the operation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual string Target { get; set; } + + /// Output only. Name of the verb executed by the operation. + [Newtonsoft.Json.JsonPropertyAttribute("verb")] + public virtual string Verb { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a list of arbitrary database operations. + public class Operations : Google.Apis.Requests.IDirectResponseSchema + { + /// A list of actions that this action depends on. + [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] + public virtual System.Collections.Generic.IList DependencyTargets { get; set; } + + /// Whether this action is disabled (i.e. should not be run). + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// Whether these operations produce an output relation. + [Newtonsoft.Json.JsonPropertyAttribute("hasOutput")] + public virtual System.Nullable HasOutput { get; set; } + + /// A list of arbitrary SQL statements that will be executed without alteration. + [Newtonsoft.Json.JsonPropertyAttribute("queries")] + public virtual System.Collections.Generic.IList Queries { get; set; } + + /// Descriptor for any output relation and its columns. Only set if `has_output` is true. + [Newtonsoft.Json.JsonPropertyAttribute("relationDescriptor")] + public virtual RelationDescriptor RelationDescriptor { get; set; } + + /// Arbitrary, user-defined tags on this action. + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IList Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// 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 + /// &lt; 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 &lt; + /// 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/). + /// + public class Policy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that + /// determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one + /// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals + /// can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the + /// `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you + /// can add another 1,450 principals to the `bindings` in the `Policy`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("bindings")] + public virtual System.Collections.Generic.IList Bindings { get; set; } + + /// + /// `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. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + /// + /// 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). + /// + [Newtonsoft.Json.JsonPropertyAttribute("version")] + public virtual System.Nullable Version { get; set; } + } + + /// + /// An internal name for an IAM policy, based on the resource to which the policy applies. Not to be confused with a + /// resource's external full resource name. For more information on this distinction, see + /// go/iam-full-resource-names. + /// + public class PolicyName : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Identifies an instance of the type. ID format varies by type. The ID format is defined in the IAM .service + /// file that defines the type, either in path_mapping or in a comment. + /// + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// + /// For Cloud IAM: The location of the Policy. Must be empty or "global" for Policies owned by global IAM. Must + /// name a region from prodspec/cloud-iam-cloudspec for Regional IAM Policies, see + /// go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should be set to "local". + /// + [Newtonsoft.Json.JsonPropertyAttribute("region")] + public virtual string Region { get; set; } + + /// + /// Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', + /// 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc. + /// + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `PullGitCommits` request message. + public class PullGitCommitsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The author of any merge commit which may be created as a result of merging fetched Git commits + /// into this workspace. + /// + [Newtonsoft.Json.JsonPropertyAttribute("author")] + public virtual CommitAuthor Author { get; set; } + + /// + /// Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the + /// repository's default branch name will be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("remoteBranch")] + public virtual string RemoteBranch { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `PullGitCommits` response message. + public class PullGitCommitsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `PushGitCommits` request message. + public class PushGitCommitsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The name of the branch in the Git remote to which commits should be pushed. If left unset, the + /// repository's default branch name will be used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("remoteBranch")] + public virtual string RemoteBranch { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `PushGitCommits` response message. + public class PushGitCommitsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `QueryCompilationResultActions` response message. + public class QueryCompilationResultActionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// List of compilation result actions. + [Newtonsoft.Json.JsonPropertyAttribute("compilationResultActions")] + public virtual System.Collections.Generic.IList CompilationResultActions { get; set; } + + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `QueryDirectoryContents` response message. + public class QueryDirectoryContentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// List of entries in the directory. + [Newtonsoft.Json.JsonPropertyAttribute("directoryEntries")] + public virtual System.Collections.Generic.IList DirectoryEntries { get; set; } + + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `QueryRepositoryDirectoryContents` response message. + public class QueryRepositoryDirectoryContentsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// List of entries in the directory. + [Newtonsoft.Json.JsonPropertyAttribute("directoryEntries")] + public virtual System.Collections.Generic.IList DirectoryEntries { get; set; } + + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `QueryWorkflowInvocationActions` response message. + public class QueryWorkflowInvocationActionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// List of workflow invocation actions. + [Newtonsoft.Json.JsonPropertyAttribute("workflowInvocationActions")] + public virtual System.Collections.Generic.IList WorkflowInvocationActions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ReadFile` response message. + public class ReadFileResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The file's contents. + [Newtonsoft.Json.JsonPropertyAttribute("fileContents")] + public virtual string FileContents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ReadRepositoryFile` response message. + public class ReadRepositoryFileResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The file's contents. + [Newtonsoft.Json.JsonPropertyAttribute("contents")] + public virtual string Contents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a database relation. + public class Relation : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Additional options that will be provided as key/value pairs into the options clause of a create table/view + /// statement. See https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language for + /// more information on which options are supported. + /// + [Newtonsoft.Json.JsonPropertyAttribute("additionalOptions")] + public virtual System.Collections.Generic.IDictionary AdditionalOptions { get; set; } + + /// A list of columns or SQL expressions used to cluster the table. + [Newtonsoft.Json.JsonPropertyAttribute("clusterExpressions")] + public virtual System.Collections.Generic.IList ClusterExpressions { get; set; } + + /// A list of actions that this action depends on. + [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] + public virtual System.Collections.Generic.IList DependencyTargets { get; set; } + + /// Whether this action is disabled (i.e. should not be run). + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// + /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is + /// `INCREMENTAL_TABLE`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("incrementalTableConfig")] + public virtual IncrementalTableConfig IncrementalTableConfig { get; set; } + + /// Sets the partition expiration in days. + [Newtonsoft.Json.JsonPropertyAttribute("partitionExpirationDays")] + public virtual System.Nullable PartitionExpirationDays { get; set; } + + /// The SQL expression used to partition the relation. + [Newtonsoft.Json.JsonPropertyAttribute("partitionExpression")] + public virtual string PartitionExpression { get; set; } + + /// SQL statements to be executed after creating the relation. + [Newtonsoft.Json.JsonPropertyAttribute("postOperations")] + public virtual System.Collections.Generic.IList PostOperations { get; set; } + + /// SQL statements to be executed before creating the relation. + [Newtonsoft.Json.JsonPropertyAttribute("preOperations")] + public virtual System.Collections.Generic.IList PreOperations { get; set; } + + /// Descriptor for the relation and its columns. + [Newtonsoft.Json.JsonPropertyAttribute("relationDescriptor")] + public virtual RelationDescriptor RelationDescriptor { get; set; } + + /// The type of this relation. + [Newtonsoft.Json.JsonPropertyAttribute("relationType")] + public virtual string RelationType { get; set; } + + /// + /// Specifies whether queries on this table must include a predicate filter that filters on the partitioning + /// column. + /// + [Newtonsoft.Json.JsonPropertyAttribute("requirePartitionFilter")] + public virtual System.Nullable RequirePartitionFilter { get; set; } + + /// The SELECT query which returns rows which this relation should contain. + [Newtonsoft.Json.JsonPropertyAttribute("selectQuery")] + public virtual string SelectQuery { get; set; } + + /// Arbitrary, user-defined tags on this action. + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IList Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Describes a relation and its columns. + public class RelationDescriptor : Google.Apis.Requests.IDirectResponseSchema + { + /// A set of BigQuery labels that should be applied to the relation. + [Newtonsoft.Json.JsonPropertyAttribute("bigqueryLabels")] + public virtual System.Collections.Generic.IDictionary BigqueryLabels { get; set; } + + /// A list of descriptions of columns within the relation. + [Newtonsoft.Json.JsonPropertyAttribute("columns")] + public virtual System.Collections.Generic.IList Columns { get; set; } + + /// A text description of the relation. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a Dataform release configuration. + public class ReleaseConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. If set, fields of `code_compilation_config` override the default compilation settings that are + /// specified in dataform.json. + /// + [Newtonsoft.Json.JsonPropertyAttribute("codeCompilationConfig")] + public virtual CodeCompilationConfig CodeCompilationConfig { get; set; } + + /// + /// Optional. Optional schedule (in cron format) for automatic creation of compilation results. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cronSchedule")] + public virtual string CronSchedule { get; set; } + + /// Optional. Disables automatic creation of compilation results. + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// + /// Required. Git commit/tag/branch name at which the repository should be compiled. Must exist in the remote + /// repository. Examples: - a commit SHA: `12ade345` - a tag: `tag1` - a branch name: `branch1` + /// + [Newtonsoft.Json.JsonPropertyAttribute("gitCommitish")] + public virtual string GitCommitish { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// Identifier. The release config's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. Records of the 10 most recent scheduled release attempts, ordered in descending order of + /// `release_time`. Updated whenever automatic creation of a compilation result is triggered by cron_schedule. + /// + [Newtonsoft.Json.JsonPropertyAttribute("recentScheduledReleaseRecords")] + public virtual System.Collections.Generic.IList RecentScheduledReleaseRecords { get; set; } + + /// + /// Optional. The name of the currently released compilation result for this release config. This value is + /// updated when a compilation result is automatically created from this release config (using cron_schedule), + /// or when this resource is updated by API call (perhaps to roll back to an earlier release). The compilation + /// result must have been created using this release config. Must be in the format + /// `projects/*/locations/*/repositories/*/compilationResults/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("releaseCompilationResult")] + public virtual string ReleaseCompilationResult { get; set; } + + /// + /// Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from + /// the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + /// the default is UTC. + /// + [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] + public virtual string TimeZone { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `RemoveDirectory` request message. + public class RemoveDirectoryRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The directory's full path including directory name, relative to the workspace root. + /// + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `RemoveDirectory` response message. + public class RemoveDirectoryResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `RemoveFile` request message. + public class RemoveFileRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The file's full path including filename, relative to the workspace root. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `RemoveFile` response message. + public class RemoveFileResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a Dataform Git repository. + public class Repository : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp of when the repository was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataEncryptionState")] + public virtual DataEncryptionState DataEncryptionState { get; set; } + + /// Optional. The repository's user-friendly name. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Optional. If set, configures this repository to be linked to a Git remote. + [Newtonsoft.Json.JsonPropertyAttribute("gitRemoteSettings")] + public virtual GitRemoteSettings GitRemoteSettings { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// + /// Optional. The reference to a KMS encryption key. If provided, it will be used to encrypt user data in the + /// repository and all child resources. It is not possible to add or update the encryption key after the + /// repository is created. Example: + /// `projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyName")] + public virtual string KmsKeyName { get; set; } + + /// Optional. Repository user labels. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + + /// Identifier. The repository's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc + /// file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file + /// itself must be in a JSON format. + /// + [Newtonsoft.Json.JsonPropertyAttribute("npmrcEnvironmentVariablesSecretVersion")] + public virtual string NpmrcEnvironmentVariablesSecretVersion { get; set; } + + /// Optional. The service account to run workflow invocations under. + [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] + public virtual string ServiceAccount { get; set; } + + /// + /// Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role + /// on the created repository. + /// + [Newtonsoft.Json.JsonPropertyAttribute("setAuthenticatedUserAdmin")] + public virtual System.Nullable SetAuthenticatedUserAdmin { get; set; } + + /// + /// Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that + /// are specified in dataform.json when creating workspace-scoped compilation results. See documentation for + /// `WorkspaceCompilationOverrides` for more information. + /// + [Newtonsoft.Json.JsonPropertyAttribute("workspaceCompilationOverrides")] + public virtual WorkspaceCompilationOverrides WorkspaceCompilationOverrides { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ResetWorkspaceChanges` request message. + public class ResetWorkspaceChangesRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. If set to true, untracked files will be deleted. + [Newtonsoft.Json.JsonPropertyAttribute("clean")] + public virtual System.Nullable Clean { get; set; } + + /// + /// Optional. Full file paths to reset back to their committed state including filename, rooted at workspace + /// root. If left empty, all files will be reset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("paths")] + public virtual System.Collections.Generic.IList Paths { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `ResetWorkspaceChanges` response message. + public class ResetWorkspaceChangesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A record of an attempt to create a workflow invocation for this workflow config. + public class ScheduledExecutionRecord : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The error status encountered upon this attempt to create the workflow invocation, if the attempt was + /// unsuccessful. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorStatus")] + public virtual Status ErrorStatus { get; set; } + + private string _executionTimeRaw; + + private object _executionTime; + + /// Output only. The timestamp of this execution attempt. + [Newtonsoft.Json.JsonPropertyAttribute("executionTime")] + public virtual string ExecutionTimeRaw + { + get => _executionTimeRaw; + set + { + _executionTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _executionTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExecutionTimeDateTimeOffset instead.")] + public virtual object ExecutionTime + { + get => _executionTime; + set + { + _executionTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _executionTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExecutionTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExecutionTimeRaw); + set => ExecutionTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// The name of the created workflow invocation, if one was successfully created. Must be in the format + /// `projects/*/locations/*/repositories/*/workflowInvocations/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("workflowInvocation")] + public virtual string WorkflowInvocation { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A record of an attempt to create a compilation result for this release config. + public class ScheduledReleaseRecord : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The name of the created compilation result, if one was successfully created. Must be in the format + /// `projects/*/locations/*/repositories/*/compilationResults/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("compilationResult")] + public virtual string CompilationResult { get; set; } + + /// + /// The error status encountered upon this attempt to create the compilation result, if the attempt was + /// unsuccessful. + /// + [Newtonsoft.Json.JsonPropertyAttribute("errorStatus")] + public virtual Status ErrorStatus { get; set; } + + private string _releaseTimeRaw; + + private object _releaseTime; + + /// Output only. The timestamp of this release attempt. + [Newtonsoft.Json.JsonPropertyAttribute("releaseTime")] + public virtual string ReleaseTimeRaw + { + get => _releaseTimeRaw; + set + { + _releaseTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _releaseTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ReleaseTimeDateTimeOffset instead.")] + public virtual object ReleaseTime + { + get => _releaseTime; + set + { + _releaseTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _releaseTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ReleaseTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ReleaseTimeRaw); + set => ReleaseTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Client-facing representation of a file search response. + public class SearchFilesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, + /// there are no subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// List of matched results. + [Newtonsoft.Json.JsonPropertyAttribute("searchResults")] + public virtual System.Collections.Generic.IList SearchResults { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Client-facing representation of a search result entry. + public class SearchResult : Google.Apis.Requests.IDirectResponseSchema + { + /// Details when search result is a directory. + [Newtonsoft.Json.JsonPropertyAttribute("directory")] + public virtual DirectorySearchResult Directory { get; set; } + + /// Details when search result is a file. + [Newtonsoft.Json.JsonPropertyAttribute("file")] + public virtual FileSearchResult File { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `SetIamPolicy` method. + public class SetIamPolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few + /// 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might + /// reject them. + /// + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual Policy Policy { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Simple load definition + public class SimpleLoadMode : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Definition of a SQL Data Preparation + public class SqlDefinition : Google.Apis.Requests.IDirectResponseSchema + { + /// Error table configuration, + [Newtonsoft.Json.JsonPropertyAttribute("errorTable")] + public virtual ErrorTable ErrorTable { get; set; } + + /// Load configuration. + [Newtonsoft.Json.JsonPropertyAttribute("load")] + public virtual LoadConfig Load { get; set; } + + /// + /// The SQL query representing the data preparation steps. Formatted as a Pipe SQL query statement. + /// + [Newtonsoft.Json.JsonPropertyAttribute("query")] + public virtual string Query { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configures fields for performing SSH authentication. + public class SshAuthenticationConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Content of a public SSH key to verify an identity of a remote Git host. + [Newtonsoft.Json.JsonPropertyAttribute("hostPublicKey")] + public virtual string HostPublicKey { get; set; } + + /// + /// Required. The name of the Secret Manager secret version to use as a ssh private key for Git operations. Must + /// be in the format `projects/*/secrets/*/versions/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("userPrivateKeySecretVersion")] + public virtual string UserPrivateKeySecretVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// The `Status` type defines a logical error model that is suitable for different programming environments, + /// including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains + /// three pieces of data: error code, error message, and error details. You can find out more about this error model + /// and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). + /// + public class Status : Google.Apis.Requests.IDirectResponseSchema + { + /// The status code, which should be an enum value of google.rpc.Code. + [Newtonsoft.Json.JsonPropertyAttribute("code")] + public virtual System.Nullable Code { get; set; } + + /// + /// A list of messages that carry the error details. There is a common set of message types for APIs to use. + /// + [Newtonsoft.Json.JsonPropertyAttribute("details")] + public virtual System.Collections.Generic.IList> Details { get; set; } + + /// + /// A developer-facing error message, which should be in English. Any user-facing error message should be + /// localized and sent in the google.rpc.Status.details field, or localized by the client. + /// + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Represents an action identifier. If the action writes output, the output will be written to the referenced + /// database object. + /// + public class Target : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The action's database (Google Cloud project ID) . + [Newtonsoft.Json.JsonPropertyAttribute("database")] + public virtual string Database { get; set; } + + /// Optional. The action's name, within `database` and `schema`. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Optional. The action's schema (BigQuery dataset ID), within `database`. + [Newtonsoft.Json.JsonPropertyAttribute("schema")] + public virtual string Schema { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for `TestIamPermissions` method. + public class TestIamPermissionsRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) + /// are not allowed. For more information see [IAM + /// Overview](https://cloud.google.com/iam/docs/overview#permissions). + /// + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for `TestIamPermissions` method. + public class TestIamPermissionsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + [Newtonsoft.Json.JsonPropertyAttribute("permissions")] + public virtual System.Collections.Generic.IList Permissions { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the Git state of a file with uncommitted changes. + public class UncommittedFileChange : Google.Apis.Requests.IDirectResponseSchema + { + /// The file's full path including filename, relative to the workspace root. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// Output only. Indicates the status of the file. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a Dataform workflow configuration. + public class WorkflowConfig : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp of when the WorkflowConfig was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. Optional schedule (in cron format) for automatic execution of this workflow config. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cronSchedule")] + public virtual string CronSchedule { get; set; } + + /// Optional. Disables automatic creation of workflow invocations. + [Newtonsoft.Json.JsonPropertyAttribute("disabled")] + public virtual System.Nullable Disabled { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// Optional. If left unset, a default InvocationConfig will be used. + [Newtonsoft.Json.JsonPropertyAttribute("invocationConfig")] + public virtual InvocationConfig InvocationConfig { get; set; } + + /// Identifier. The workflow config's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of + /// `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by + /// cron_schedule. + /// + [Newtonsoft.Json.JsonPropertyAttribute("recentScheduledExecutionRecords")] + public virtual System.Collections.Generic.IList RecentScheduledExecutionRecords { get; set; } + + /// + /// Required. The name of the release config whose release_compilation_result should be executed. Must be in the + /// format `projects/*/locations/*/repositories/*/releaseConfigs/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("releaseConfig")] + public virtual string ReleaseConfig { get; set; } + + /// + /// Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from + /// the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, + /// the default is UTC. + /// + [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] + public virtual string TimeZone { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The timestamp of when the WorkflowConfig was last updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single invocation of a compilation result. + public class WorkflowInvocation : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Immutable. The name of the compilation result to use for this invocation. Must be in the format + /// `projects/*/locations/*/repositories/*/compilationResults/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("compilationResult")] + public virtual string CompilationResult { get; set; } + + /// Output only. Only set if the repository has a KMS Key. + [Newtonsoft.Json.JsonPropertyAttribute("dataEncryptionState")] + public virtual DataEncryptionState DataEncryptionState { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// Immutable. If left unset, a default InvocationConfig will be used. + [Newtonsoft.Json.JsonPropertyAttribute("invocationConfig")] + public virtual InvocationConfig InvocationConfig { get; set; } + + /// Output only. This workflow invocation's timing details. + [Newtonsoft.Json.JsonPropertyAttribute("invocationTiming")] + public virtual Interval InvocationTiming { get; set; } + + /// Output only. The workflow invocation's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// + /// Output only. The resolved compilation result that was used to create this invocation. Will be in the format + /// `projects/*/locations/*/repositories/*/compilationResults/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resolvedCompilationResult")] + public virtual string ResolvedCompilationResult { get; set; } + + /// Output only. This workflow invocation's current state. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// + /// Immutable. The name of the workflow config to invoke. Must be in the format + /// `projects/*/locations/*/repositories/*/workflowConfigs/*`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("workflowConfig")] + public virtual string WorkflowConfig { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a single action in a workflow invocation. + public class WorkflowInvocationAction : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The workflow action's bigquery action details. + [Newtonsoft.Json.JsonPropertyAttribute("bigqueryAction")] + public virtual BigQueryAction BigqueryAction { get; set; } + + /// + /// Output only. The action's identifier if the project had been compiled without any overrides configured. + /// Unique within the compilation result. + /// + [Newtonsoft.Json.JsonPropertyAttribute("canonicalTarget")] + public virtual Target CanonicalTarget { get; set; } + + /// Output only. The workflow action's data preparation action details. + [Newtonsoft.Json.JsonPropertyAttribute("dataPreparationAction")] + public virtual DataPreparationAction DataPreparationAction { get; set; } + + /// Output only. If and only if action's state is FAILED a failure reason is set. + [Newtonsoft.Json.JsonPropertyAttribute("failureReason")] + public virtual string FailureReason { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// + /// Output only. This action's timing details. `start_time` will be set if the action is in [RUNNING, SUCCEEDED, + /// CANCELLED, FAILED] state. `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] state. + /// + [Newtonsoft.Json.JsonPropertyAttribute("invocationTiming")] + public virtual Interval InvocationTiming { get; set; } + + /// Output only. The workflow action's notebook action details. + [Newtonsoft.Json.JsonPropertyAttribute("notebookAction")] + public virtual NotebookAction NotebookAction { get; set; } + + /// Output only. This action's current state. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Output only. This action's identifier. Unique within the workflow invocation. + [Newtonsoft.Json.JsonPropertyAttribute("target")] + public virtual Target Target { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a Dataform Git workspace. + public class Workspace : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The timestamp of when the workspace was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Output only. A data encryption state of a Git repository if this Workspace is protected by a KMS key. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataEncryptionState")] + public virtual DataEncryptionState DataEncryptionState { get; set; } + + /// + /// Output only. All the metadata information that is used internally to serve the resource. For example: + /// timestamps, flags, status fields, etc. The format of this field is a JSON string. + /// + [Newtonsoft.Json.JsonPropertyAttribute("internalMetadata")] + public virtual string InternalMetadata { get; set; } + + /// Identifier. The workspace's name. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configures workspace compilation overrides for a repository. + public class WorkspaceCompilationOverrides : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The default database (Google Cloud project ID). + [Newtonsoft.Json.JsonPropertyAttribute("defaultDatabase")] + public virtual string DefaultDatabase { get; set; } + + /// Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names. + [Newtonsoft.Json.JsonPropertyAttribute("schemaSuffix")] + public virtual string SchemaSuffix { get; set; } + + /// Optional. The prefix that should be prepended to all table names. + [Newtonsoft.Json.JsonPropertyAttribute("tablePrefix")] + public virtual string TablePrefix { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents the write file operation (for files added or modified). + public class WriteFile : Google.Apis.Requests.IDirectResponseSchema + { + /// The file's contents. + [Newtonsoft.Json.JsonPropertyAttribute("contents")] + public virtual string Contents { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `WriteFile` request message. + public class WriteFileRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The file's contents. + [Newtonsoft.Json.JsonPropertyAttribute("contents")] + public virtual string Contents { get; set; } + + /// Required. The file. + [Newtonsoft.Json.JsonPropertyAttribute("path")] + public virtual string Path { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// `WriteFile` response message. + public class WriteFileResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } +} diff --git a/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj new file mode 100644 index 00000000000..4bf4adb4659 --- /dev/null +++ b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj @@ -0,0 +1,66 @@ + + + + + Google.Apis.Dataform.v1 Client Library + 1.72.0.3932 + Google LLC + Copyright 2025 Google LLC + Google + https://github.com/google/google-api-dotnet-client + Apache-2.0 + git + https://github.com/google/google-api-dotnet-client + https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png + NuGetIcon.png + + Google APIs Client Library for working with Dataform v1. + + Product documentation is available at: + https://cloud.google.com/dataform/docs + + API reference documentation for this package is available at: + https://googleapis.dev/dotnet/Google.Apis.Dataform.v1/latest/api/Google.Apis.Dataform.v1.html + + The source code for this package is available at: + https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated/Google.Apis.Dataform.v1 + + Supported Platforms: + - .NET Framework 4.6.2+ + - .NET Standard 2.0 + - .NET 6.0+ + + Incompatible platforms: + - .NET Framework < 4.6.2 + - Silverlight + - UWP (will build, but is known not to work at runtime) + - Xamarin/MAUI + - Windows 8 Apps + - Windows Phone 8.1 + - Windows Phone Silverlight 8.0 + + + + + + + + + + + netstandard2.0;net462;net6.0 + true + ..\..\..\google.apis.snk + portable + true + 1570,1587,1591 + + + + + + + + + + diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs index c88c063dfe1..c4385648f75 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs @@ -17670,6 +17670,254 @@ protected override void InitParameters() }); } } + + /// Creates a new User Store. + /// The body of the request. + /// + /// Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. + /// + public virtual CreateRequest Create(Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1UserStore body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new User Store. + public class CreateRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1UserStore body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), + /// numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("userStoreId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UserStoreId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1UserStore Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/userStores"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("userStoreId", new Google.Apis.Discovery.Parameter + { + Name = "userStoreId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes the User Store. + /// + /// Required. The name of the User Store to delete. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes the User Store. + public class DeleteRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the User Store to delete. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + } + } + + /// Gets the User Store. + /// + /// Required. The name of the User Store to get. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets the User Store. + public class GetRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the User Store to get. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + } + } + + /// Updates the User Store. + /// The body of the request. + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 + /// encoded string with a length limit of 1024 characters. + /// + public virtual PatchRequest Patch(Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1UserStore body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Updates the User Store. + public class PatchRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1UserStore body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 + /// encoded string with a length limit of 1024 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The list of fields to update. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1UserStore Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// Gets the AclConfig. @@ -28123,6 +28371,13 @@ public class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklm [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -32392,6 +32647,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1UserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config to store data store type configuration for workspace data public class GoogleCloudDiscoveryengineV1WorkspaceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -36560,6 +36860,25 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the + /// google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user + /// store, return the number of end users successfully deleted or failed to delete in the metadata. + /// + public class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// The number of end users under the user store that failed to be deleted. + [Newtonsoft.Json.JsonPropertyAttribute("failureCount")] + public virtual System.Nullable FailureCount { get; set; } + + /// The number of end users under the user store that were successfully deleted. + [Newtonsoft.Json.JsonPropertyAttribute("successCount")] + public virtual System.Nullable SuccessCount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Defines target endpoints used to connect to third-party sources. public class GoogleCloudDiscoveryengineV1alphaDestinationConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -38970,6 +39289,13 @@ public class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNoteb [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -46195,6 +46521,13 @@ public class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebo [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -48692,6 +49025,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1betaUserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config to store data store type configuration for workspace data public class GoogleCloudDiscoveryengineV1betaWorkspaceConfig : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj index 3d9e0a1052f..0816bac06e0 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DiscoveryEngine.v1 Client Library - 1.72.0.3942 + 1.72.0.3945 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs index 4dd5a43a1f9..056839782c8 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs @@ -23012,6 +23012,254 @@ protected override void InitParameters() }); } } + + /// Creates a new User Store. + /// The body of the request. + /// + /// Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. + /// + public virtual CreateRequest Create(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUserStore body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new User Store. + public class CreateRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUserStore body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), + /// numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("userStoreId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UserStoreId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUserStore Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+parent}/userStores"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("userStoreId", new Google.Apis.Discovery.Parameter + { + Name = "userStoreId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes the User Store. + /// + /// Required. The name of the User Store to delete. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes the User Store. + public class DeleteRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the User Store to delete. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + } + } + + /// Gets the User Store. + /// + /// Required. The name of the User Store to get. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets the User Store. + public class GetRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the User Store to get. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + } + } + + /// Updates the User Store. + /// The body of the request. + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 + /// encoded string with a length limit of 1024 characters. + /// + public virtual PatchRequest Patch(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUserStore body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Updates the User Store. + public class PatchRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUserStore body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 + /// encoded string with a length limit of 1024 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The list of fields to update. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUserStore Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// Estimates the data size to be used by a customer. @@ -29968,6 +30216,13 @@ public class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklm [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -31797,6 +32052,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1UserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config to store data store type configuration for workspace data public class GoogleCloudDiscoveryengineV1WorkspaceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -38740,6 +39040,25 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the + /// google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user + /// store, return the number of end users successfully deleted or failed to delete in the metadata. + /// + public class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// The number of end users under the user store that failed to be deleted. + [Newtonsoft.Json.JsonPropertyAttribute("failureCount")] + public virtual System.Nullable FailureCount { get; set; } + + /// The number of end users under the user store that were successfully deleted. + [Newtonsoft.Json.JsonPropertyAttribute("successCount")] + public virtual System.Nullable SuccessCount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Defines target endpoints used to connect to third-party sources. public class GoogleCloudDiscoveryengineV1alphaDestinationConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -42958,6 +43277,13 @@ public class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNoteb [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -49153,6 +49479,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1alphaUserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Standard characteristics of a video media view. public class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics : Google.Apis.Requests.IDirectResponseSchema { @@ -53708,6 +54079,13 @@ public class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebo [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -56205,6 +56583,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1betaUserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config to store data store type configuration for workspace data public class GoogleCloudDiscoveryengineV1betaWorkspaceConfig : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj index 353678530cd..438e8e9c773 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.DiscoveryEngine.v1alpha Client Library - 1.72.0.3942 + 1.72.0.3945 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs index c288681b25b..cd678498121 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs @@ -19351,6 +19351,254 @@ protected override void InitParameters() }); } } + + /// Creates a new User Store. + /// The body of the request. + /// + /// Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. + /// + public virtual CreateRequest Create(Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaUserStore body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates a new User Store. + public class CreateRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaUserStore body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent collection resource name, such as + /// `projects/{project}/locations/{location}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), + /// numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("userStoreId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string UserStoreId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaUserStore Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+parent}/userStores"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("userStoreId", new Google.Apis.Discovery.Parameter + { + Name = "userStoreId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes the User Store. + /// + /// Required. The name of the User Store to delete. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes the User Store. + public class DeleteRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the User Store to delete. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + } + } + + /// Gets the User Store. + /// + /// Required. The name of the User Store to get. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Gets the User Store. + public class GetRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the User Store to get. Format: + /// `projects/{project}/locations/{location}/userStores/{user_store_id}` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + } + } + + /// Updates the User Store. + /// The body of the request. + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 + /// encoded string with a length limit of 1024 characters. + /// + public virtual PatchRequest Patch(Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaUserStore body, string name) + { + return new PatchRequest(this.service, body, name); + } + + /// Updates the User Store. + public class PatchRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaUserStore body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 + /// encoded string with a length limit of 1024 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Optional. The list of fields to update. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaUserStore Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "patch"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// Gets the AclConfig. @@ -25555,6 +25803,13 @@ public class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklm [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -27384,6 +27639,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1UserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config to store data store type configuration for workspace data public class GoogleCloudDiscoveryengineV1WorkspaceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -31552,6 +31852,25 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// Metadata related to the progress of the UserStoreService.DeleteUserStore operation. This will be returned by the + /// google.longrunning.Operation.metadata field. Delete UserStore will delete all the end users under the user + /// store, return the number of end users successfully deleted or failed to delete in the metadata. + /// + public class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// The number of end users under the user store that failed to be deleted. + [Newtonsoft.Json.JsonPropertyAttribute("failureCount")] + public virtual System.Nullable FailureCount { get; set; } + + /// The number of end users under the user store that were successfully deleted. + [Newtonsoft.Json.JsonPropertyAttribute("successCount")] + public virtual System.Nullable SuccessCount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Defines target endpoints used to connect to third-party sources. public class GoogleCloudDiscoveryengineV1alphaDestinationConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -33962,6 +34281,13 @@ public class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNoteb [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -45854,6 +46180,13 @@ public class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebo [Newtonsoft.Json.JsonPropertyAttribute("modelArmorConfig")] public virtual GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig ModelArmorConfig { get; set; } + /// + /// Optional. Whether to disable the notebook sharing feature for the project. Default to false if not + /// specified. + /// + [Newtonsoft.Json.JsonPropertyAttribute("optOutNotebookSharing")] + public virtual System.Nullable OptOutNotebookSharing { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -50966,6 +51299,51 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configures metadata that is used for End User entities. + public class GoogleCloudDiscoveryengineV1betaUserStore : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The default subscription LicenseConfig for the UserStore, if + /// UserStore.enable_license_auto_register is true, new users will automatically register under the default + /// subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be + /// assigned with license and will be blocked for Vertex AI Search features. This is used if + /// `license_assignment_tier_rules` is not configured. + /// + [Newtonsoft.Json.JsonPropertyAttribute("defaultLicenseConfig")] + public virtual string DefaultLicenseConfig { get; set; } + + /// The display name of the User Store. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Optional. Whether to enable license auto update for users in this User Store. If true, users with expired + /// licenses will automatically be updated to use the default license config as long as the default license + /// config has seats left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableExpiredLicenseAutoUpdate")] + public virtual System.Nullable EnableExpiredLicenseAutoUpdate { get; set; } + + /// + /// Optional. Whether to enable license auto register for users in this User Store. If true, new users will + /// automatically register under the default license config as long as the default license config has seats + /// left. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enableLicenseAutoRegister")] + public virtual System.Nullable EnableLicenseAutoRegister { get; set; } + + /// + /// Immutable. The full resource name of the User Store, in the format of + /// `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string + /// with a length limit of 1024 characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config to store data store type configuration for workspace data public class GoogleCloudDiscoveryengineV1betaWorkspaceConfig : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj index 837df5e0490..f8d8f1369f9 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.DiscoveryEngine.v1beta Client Library - 1.72.0.3942 + 1.72.0.3945 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs index 6d01ac51913..2cd7425a54b 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs @@ -2728,9 +2728,11 @@ public class GoogleCloudAiplatformV1beta1ToolComputerUse : Google.Apis.Requests. public virtual string Environment { get; set; } /// - /// Optional. By default, predefined functions are included in the final model call. Some of them can be - /// explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more - /// restricted / different action space. 2. Improving the definitions / instructions of predefined functions. + /// Optional. By default, [predefined + /// functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are + /// included in the final model call. Some of them can be explicitly excluded from being automatically included. + /// This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the + /// definitions / instructions of predefined functions. /// [Newtonsoft.Json.JsonPropertyAttribute("excludedPredefinedFunctions")] public virtual System.Collections.Generic.IList ExcludedPredefinedFunctions { get; set; } diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj index bfc0cff3d8b..99215837db4 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v2beta Client Library - 1.72.0.3938 + 1.72.0.3944 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs index 6e5af73387c..acefc30481f 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs @@ -8925,6 +8925,10 @@ public class OpenLink : Google.Apis.Requests.IDirectResponseSchema /// Represents a space permission setting. public class PermissionSetting : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. Whether space managers `ROLE_ASSISTANT_MANAGER`) have this permission. + [Newtonsoft.Json.JsonPropertyAttribute("assistantManagersAllowed")] + public virtual System.Nullable AssistantManagersAllowed { get; set; } + /// Optional. Whether space owners (`ROLE_MANAGER`) have this permission. [Newtonsoft.Json.JsonPropertyAttribute("managersAllowed")] public virtual System.Nullable ManagersAllowed { get; set; } @@ -9365,7 +9369,8 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// is the `id` from the [Admin SDK customer /// resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). Private apps can /// also use the `customers/my_customer` alias to create the space in the same Google Workspace organization as - /// the app. For DMs, this field isn't populated. + /// the app. This field isn't populated for direct messages (DMs) or when the space is created by non-Google + /// Workspace users. /// [Newtonsoft.Json.JsonPropertyAttribute("customer")] public virtual string Customer { get; set; } diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj index b8967d2e4bf..e06167b1701 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.HangoutsChat.v1 Client Library - 1.72.0.3939 + 1.72.0.3941 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs index de4e9ba2f22..7e5d2d5d274 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs @@ -1680,6 +1680,22 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("menuForChildren")] public virtual System.Nullable MenuForChildren { get; set; } + /// + /// If this Place is permanently closed and has moved to a new Place, this field contains the new Place's + /// resource name, in `places/{place_id}` format. If this Place moved multiple times, this field will represent + /// the first moved place. This field will not be populated if this Place has not moved. + /// + [Newtonsoft.Json.JsonPropertyAttribute("movedPlace")] + public virtual string MovedPlace { get; set; } + + /// + /// If this Place is permanently closed and has moved to a new Place, this field contains the new Place's place + /// ID. If this Place moved multiple times, this field will represent the first moved Place. This field will not + /// be populated if this Place has not moved. + /// + [Newtonsoft.Json.JsonPropertyAttribute("movedPlaceId")] + public virtual string MovedPlaceId { get; set; } + /// /// This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place. /// diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj index 91ae888b692..630f0e6a77d 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MapsPlaces.v1 Client Library - 1.72.0.3932 + 1.72.0.3944 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs index d110e8ac3a3..902684ef1a6 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs +++ b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.cs @@ -6006,7 +6006,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// /// Required. Customer managed crypto key resource full name. Format: - /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}. + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] public virtual string CryptoKeyName { get; set; } diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj index 247732255dc..687f9cc49d5 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj +++ b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetAppFiles.v1 Client Library - 1.72.0.3934 + 1.72.0.3943 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs index 7ec1ece9d15..53005b86e62 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.cs @@ -6102,7 +6102,7 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// /// Required. Customer managed crypto key resource full name. Format: - /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}. + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. /// [Newtonsoft.Json.JsonPropertyAttribute("cryptoKeyName")] public virtual string CryptoKeyName { get; set; } diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj index 9e543d6b08d..076139c4909 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetAppFiles.v1beta1 Client Library - 1.72.0.3934 + 1.72.0.3943 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs index f6f66415ac8..80c9ecec2e9 100644 --- a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs +++ b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs @@ -1502,6 +1502,10 @@ public class CancelSubscriptionResponse : Google.Apis.Requests.IDirectResponseSc /// Intent message for creating a Subscription resource. public class CreateSubscriptionIntent : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. The cycle options for the subscription. + [Newtonsoft.Json.JsonPropertyAttribute("cycleOptions")] + public virtual CycleOptions CycleOptions { get; set; } + /// Required. The parent resource name, which is the identifier of the partner. [Newtonsoft.Json.JsonPropertyAttribute("parent")] public virtual string Parent { get; set; } diff --git a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj index d1792af7e3e..c813f7f29bd 100644 --- a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj +++ b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PaymentsResellerSubscription.v1 Client Library - 1.72.0.3937 + 1.72.0.3944 Google LLC Copyright 2025 Google LLC Google diff --git a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs index 65b407ea5f5..3fc44f07e96 100644 --- a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs +++ b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs @@ -2053,8 +2053,7 @@ public class GoogleCloudRecaptchaenterpriseV1AssessmentEnvironment : Google.Apis /// Optional. Identifies the client module initiating the CreateAssessment request. This can be the link to the /// client module's project. Examples include: - /// "github.com/GoogleCloudPlatform/recaptcha-enterprise-google-tag-manager" - - /// "cloud.google.com/recaptcha/docs/implement-waf-akamai" - - /// "cloud.google.com/recaptcha/docs/implement-waf-cloudflare" - "wordpress.org/plugins/recaptcha-something" + /// "wordpress.org/plugins/recaptcha-something" /// [Newtonsoft.Json.JsonPropertyAttribute("client")] public virtual string Client { get; set; } diff --git a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj index 9ee4968a86e..959e0a30f03 100644 --- a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj +++ b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.RecaptchaEnterprise.v1 Client Library - 1.72.0.3931 + 1.72.0.3939 Google LLC Copyright 2025 Google LLC Google