diff --git a/DiscoveryJson/androidpublisher_v3.json b/DiscoveryJson/androidpublisher_v3.json index 6c6673dc4a..c85687e443 100644 --- a/DiscoveryJson/androidpublisher_v3.json +++ b/DiscoveryJson/androidpublisher_v3.json @@ -4726,7 +4726,7 @@ } } }, - "revision": "20240221", + "revision": "20240222", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -5133,13 +5133,17 @@ "RECOVERY_STATUS_UNSPECIFIED", "RECOVERY_STATUS_ACTIVE", "RECOVERY_STATUS_CANCELED", - "RECOVERY_STATUS_DRAFT" + "RECOVERY_STATUS_DRAFT", + "RECOVERY_STATUS_GENERATION_IN_PROGRESS", + "RECOVERY_STATUS_GENERATION_FAILED" ], "enumDescriptions": [ "RecoveryStatus is unspecified.", "The app recovery action has not been canceled since it has been created.", "The recovery action has been canceled. The action cannot be resumed.", - "The recovery action is in the draft state and has not yet been deployed to users." + "The recovery action is in the draft state and has not yet been deployed to users.", + "The recovery action is generating recovery apks.", + "The app recovery action generation has failed." ], "type": "string" }, @@ -5151,7 +5155,7 @@ "type": "object" }, "AppVersionList": { - "description": "Data format for a list of app versions. Only one app version is supported for now.", + "description": "Data format for a list of app versions.", "id": "AppVersionList", "properties": { "versionCodes": { @@ -6526,13 +6530,17 @@ "RECOVERY_STATUS_UNSPECIFIED", "RECOVERY_STATUS_ACTIVE", "RECOVERY_STATUS_CANCELED", - "RECOVERY_STATUS_DRAFT" + "RECOVERY_STATUS_DRAFT", + "RECOVERY_STATUS_GENERATION_IN_PROGRESS", + "RECOVERY_STATUS_GENERATION_FAILED" ], "enumDescriptions": [ "RecoveryStatus is unspecified.", "The app recovery action has not been canceled since it has been created.", "The recovery action has been canceled. The action cannot be resumed.", - "The recovery action is in the draft state and has not yet been deployed to users." + "The recovery action is in the draft state and has not yet been deployed to users.", + "The recovery action is generating recovery apks.", + "The app recovery action generation has failed." ], "type": "string" } diff --git a/DiscoveryJson/bigqueryreservation_v1.json b/DiscoveryJson/bigqueryreservation_v1.json index ad1417b47f..a0e8679eda 100644 --- a/DiscoveryJson/bigqueryreservation_v1.json +++ b/DiscoveryJson/bigqueryreservation_v1.json @@ -23,6 +23,26 @@ "description": "Regional Endpoint", "endpointUrl": "https://bigqueryreservation.me-central2.rep.googleapis.com/", "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigqueryreservation.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigqueryreservation.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigqueryreservation.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://bigqueryreservation.us-west1.rep.googleapis.com/", + "location": "us-west1" } ], "fullyEncodeReservedExpansion": true, @@ -831,7 +851,7 @@ } } }, - "revision": "20230928", + "revision": "20240217", "rootUrl": "https://bigqueryreservation.googleapis.com/", "schemas": { "Assignment": { diff --git a/DiscoveryJson/binaryauthorization_v1.json b/DiscoveryJson/binaryauthorization_v1.json index a7f6e0f6d3..fbdb36b47b 100644 --- a/DiscoveryJson/binaryauthorization_v1.json +++ b/DiscoveryJson/binaryauthorization_v1.json @@ -430,6 +430,42 @@ }, "platforms": { "resources": { + "gke": { + "resources": { + "policies": { + "methods": { + "evaluate": { + "description": "Evaluates a Kubernetes object versus a GKE platform policy. Returns `NOT_FOUND` if the policy doesn't exist, `INVALID_ARGUMENT` if the policy or request is malformed and `PERMISSION_DENIED` if the client does not have sufficient permissions.", + "flatPath": "v1/projects/{projectsId}/platforms/gke/policies/{policiesId}:evaluate", + "httpMethod": "POST", + "id": "binaryauthorization.projects.platforms.gke.policies.evaluate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the platform policy to evaluate in the format `projects/*/platforms/*/policies/*`.", + "location": "path", + "pattern": "^projects/[^/]+/platforms/gke/policies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:evaluate", + "request": { + "$ref": "EvaluateGkePolicyRequest" + }, + "response": { + "$ref": "EvaluateGkePolicyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "policies": { "methods": { "create": { @@ -706,7 +742,7 @@ } } }, - "revision": "20240209", + "revision": "20240220", "rootUrl": "https://binaryauthorization.googleapis.com/", "schemas": { "AdmissionRule": { @@ -764,6 +800,17 @@ }, "type": "object" }, + "AllowlistResult": { + "description": "Result of evaluating an image name allowlist.", + "id": "AllowlistResult", + "properties": { + "matchedPattern": { + "description": "The allowlist pattern that the image matched.", + "type": "string" + } + }, + "type": "object" + }, "AttestationAuthenticator": { "description": "An attestation authenticator that will be used to verify attestations. Typically this is just a set of public keys. Conceptually, an authenticator can be treated as always returning either \"authenticated\" or \"not authenticated\" when presented with a signed attestation (almost always assumed to be a [DSSE](https://github.com/secure-systems-lab/dsse) attestation). The details of how an authenticator makes this decision are specific to the type of 'authenticator' that this message wraps.", "id": "AttestationAuthenticator", @@ -936,6 +983,52 @@ }, "type": "object" }, + "CheckResult": { + "description": "Result of evaluating one check.", + "id": "CheckResult", + "properties": { + "allowlistResult": { + "$ref": "AllowlistResult", + "description": "If the image was exempted by an allow_pattern in the check, contains the pattern that the image name matched." + }, + "displayName": { + "description": "The name of the check.", + "type": "string" + }, + "evaluationResult": { + "$ref": "EvaluationResult", + "description": "If a check was evaluated, contains the result of the check." + }, + "explanation": { + "description": "Explanation of this check result.", + "type": "string" + }, + "index": { + "description": "The index of the check.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "The type of the check.", + "type": "string" + } + }, + "type": "object" + }, + "CheckResults": { + "description": "Result of evaluating one or more checks.", + "id": "CheckResults", + "properties": { + "results": { + "description": "Per-check details.", + "items": { + "$ref": "CheckResult" + }, + "type": "array" + } + }, + "type": "object" + }, "CheckSet": { "description": "A conjunction of policy checks, scoped to a particular namespace or Kubernetes service account. In order for evaluation of a `CheckSet` to return \"allowed\" for a given image in a given Pod, one of the following conditions must be satisfied: * The image is explicitly exempted by an entry in `image_allowlist`, OR * ALL of the `checks` evaluate to \"allowed\".", "id": "CheckSet", @@ -962,12 +1055,112 @@ }, "type": "object" }, + "CheckSetResult": { + "description": "Result of evaluating one check set.", + "id": "CheckSetResult", + "properties": { + "allowlistResult": { + "$ref": "AllowlistResult", + "description": "If the image was exempted by an allow_pattern in the check set, contains the pattern that the image name matched." + }, + "checkResults": { + "$ref": "CheckResults", + "description": "If checks were evaluated, contains the results of evaluating each check." + }, + "displayName": { + "description": "The name of the check set.", + "type": "string" + }, + "explanation": { + "description": "Explanation of this check set result. Only populated if no checks were evaluated.", + "type": "string" + }, + "index": { + "description": "The index of the check set.", + "format": "int64", + "type": "string" + }, + "scope": { + "$ref": "Scope", + "description": "The scope of the check set." + } + }, + "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" }, + "EvaluateGkePolicyRequest": { + "description": "Request message for PlatformPolicyEvaluationService.EvaluateGkePolicy.", + "id": "EvaluateGkePolicyRequest", + "properties": { + "resource": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Required. JSON or YAML blob representing a Kubernetes resource.", + "type": "object" + } + }, + "type": "object" + }, + "EvaluateGkePolicyResponse": { + "description": "Response message for PlatformPolicyEvaluationService.EvaluateGkePolicy.", + "id": "EvaluateGkePolicyResponse", + "properties": { + "results": { + "description": "Evaluation result for each Pod contained in the request.", + "items": { + "$ref": "PodResult" + }, + "type": "array" + }, + "verdict": { + "description": "The result of evaluating all Pods in the request.", + "enum": [ + "VERDICT_UNSPECIFIED", + "CONFORMANT", + "NON_CONFORMANT", + "ERROR" + ], + "enumDescriptions": [ + "Not specified. This should never be used.", + "All Pods in the request conform to the policy.", + "At least one Pod does not conform to the policy.", + "Encountered at least one error evaluating a Pod and all other Pods conform to the policy. Non-conformance has precedence over errors." + ], + "type": "string" + } + }, + "type": "object" + }, + "EvaluationResult": { + "description": "Result of evaluating one check.", + "id": "EvaluationResult", + "properties": { + "verdict": { + "description": "The result of evaluating this check.", + "enum": [ + "CHECK_VERDICT_UNSPECIFIED", + "CONFORMANT", + "NON_CONFORMANT", + "ERROR" + ], + "enumDescriptions": [ + "Not specified. This should never be used.", + "The check was successfully evaluated and the image satisfied the check.", + "The check was successfully evaluated and the image did not satisfy the check.", + "The check was not successfully evaluated." + ], + "type": "string" + } + }, + "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", @@ -1059,6 +1252,45 @@ }, "type": "object" }, + "ImageResult": { + "description": "Result of evaluating one image.", + "id": "ImageResult", + "properties": { + "allowlistResult": { + "$ref": "AllowlistResult", + "description": "If the image was exempted by a top-level allow_pattern, contains the allowlist pattern that the image name matched." + }, + "checkSetResult": { + "$ref": "CheckSetResult", + "description": "If a check set was evaluated, contains the result of the check set. Empty if there were no check sets." + }, + "explanation": { + "description": "Explanation of this image result. Only populated if no check sets were evaluated.", + "type": "string" + }, + "imageUri": { + "description": "Image URI from the request.", + "type": "string" + }, + "verdict": { + "description": "The result of evaluating this image.", + "enum": [ + "IMAGE_VERDICT_UNSPECIFIED", + "CONFORMANT", + "NON_CONFORMANT", + "ERROR" + ], + "enumDescriptions": [ + "Not specified. This should never be used.", + "Image conforms to the policy.", + "Image does not conform to the policy.", + "Error evaluating the image. Non-conformance has precedence over errors." + ], + "type": "string" + } + }, + "type": "object" + }, "Jwt": { "id": "Jwt", "properties": { @@ -1206,6 +1438,48 @@ }, "type": "object" }, + "PodResult": { + "description": "Result of evaluating the whole GKE policy for one Pod.", + "id": "PodResult", + "properties": { + "imageResults": { + "description": "Per-image details.", + "items": { + "$ref": "ImageResult" + }, + "type": "array" + }, + "kubernetesNamespace": { + "description": "The Kubernetes namespace of the Pod.", + "type": "string" + }, + "kubernetesServiceAccount": { + "description": "The Kubernetes service account of the Pod.", + "type": "string" + }, + "podName": { + "description": "The name of the Pod.", + "type": "string" + }, + "verdict": { + "description": "The result of evaluating this Pod.", + "enum": [ + "POD_VERDICT_UNSPECIFIED", + "CONFORMANT", + "NON_CONFORMANT", + "ERROR" + ], + "enumDescriptions": [ + "Not specified. This should never be used.", + "All images conform to the policy.", + "At least one image does not conform to the policy.", + "Encountered at least one error evaluating an image and all other images with non-error verdicts conform to the policy. Non-conformance has precedence over errors." + ], + "type": "string" + } + }, + "type": "object" + }, "Policy": { "description": "A policy for container image binary authorization.", "id": "Policy", diff --git a/DiscoveryJson/chromemanagement_v1.json b/DiscoveryJson/chromemanagement_v1.json index 2d668f0a32..0bcceb6c5e 100644 --- a/DiscoveryJson/chromemanagement_v1.json +++ b/DiscoveryJson/chromemanagement_v1.json @@ -1040,7 +1040,7 @@ } } }, - "revision": "20240220", + "revision": "20240221", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -1341,8 +1341,8 @@ "enumDescriptions": [ "Health unknown.", "Battery is healthy, full charge capacity / design capacity > 80%", - "Battery is moderately unhealthy and should be replaced soon, full charge capacity / design capacity 75% - 80%", - "Battery is unhealthy and should be replaced, full charge capacity / design capacity < 75%" + "Battery is moderately unhealthy and suggested to be replaced soon, full charge capacity / design capacity 75% - 80%", + "Battery is unhealthy and suggested to be replaced, full charge capacity / design capacity < 75%" ], "readOnly": true, "type": "string" diff --git a/DiscoveryJson/compute_beta.json b/DiscoveryJson/compute_beta.json index 997c2b7b1a..f06da6eb36 100644 --- a/DiscoveryJson/compute_beta.json +++ b/DiscoveryJson/compute_beta.json @@ -126,7 +126,7 @@ "acceleratorTypes": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of accelerator types.", + "description": "Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/acceleratorTypes", "httpMethod": "GET", "id": "compute.acceleratorTypes.aggregatedList", @@ -170,7 +170,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -275,7 +275,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -302,7 +302,7 @@ "addresses": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of addresses.", + "description": "Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/addresses", "httpMethod": "GET", "id": "compute.addresses.aggregatedList", @@ -346,7 +346,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -547,7 +547,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -713,7 +713,7 @@ "autoscalers": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of autoscalers.", + "description": "Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/autoscalers", "httpMethod": "GET", "id": "compute.autoscalers.aggregatedList", @@ -757,7 +757,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -951,7 +951,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -1394,7 +1394,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -1655,7 +1655,7 @@ ] }, "aggregatedList": { - "description": "Retrieves the list of all BackendService resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all BackendService resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/backendServices", "httpMethod": "GET", "id": "compute.backendServices.aggregatedList", @@ -1699,7 +1699,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -1991,7 +1991,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -2046,7 +2046,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -2307,7 +2307,7 @@ "diskTypes": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of disk types.", + "description": "Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/diskTypes", "httpMethod": "GET", "id": "compute.diskTypes.aggregatedList", @@ -2351,7 +2351,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -2456,7 +2456,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -2533,7 +2533,7 @@ ] }, "aggregatedList": { - "description": "Retrieves an aggregated list of persistent disks.", + "description": "Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/disks", "httpMethod": "GET", "id": "compute.disks.aggregatedList", @@ -2577,7 +2577,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -2921,7 +2921,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -3536,7 +3536,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -3959,7 +3959,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -4390,7 +4390,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -4532,7 +4532,7 @@ "forwardingRules": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of forwarding rules.", + "description": "Retrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/forwardingRules", "httpMethod": "GET", "id": "compute.forwardingRules.aggregatedList", @@ -4576,7 +4576,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -4777,7 +4777,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -4993,7 +4993,7 @@ "futureReservations": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of future reservations.", + "description": "Retrieves an aggregated list of future reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/futureReservations", "httpMethod": "GET", "id": "compute.futureReservations.aggregatedList", @@ -5037,7 +5037,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -5271,7 +5271,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -5503,7 +5503,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -5787,7 +5787,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -6193,7 +6193,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -6255,7 +6255,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -6275,7 +6275,7 @@ "globalOperations": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of all operations.", + "description": "Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/operations", "httpMethod": "GET", "id": "compute.globalOperations.aggregatedList", @@ -6319,7 +6319,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -6446,7 +6446,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -6595,7 +6595,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -6762,7 +6762,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -6824,7 +6824,7 @@ "healthChecks": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/healthChecks", "httpMethod": "GET", "id": "compute.healthChecks.aggregatedList", @@ -6868,7 +6868,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -7037,7 +7037,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -7326,7 +7326,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -7615,7 +7615,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -8077,7 +8077,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -8498,7 +8498,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -8572,7 +8572,7 @@ ] }, "aggregatedList": { - "description": "Retrieves the list of managed instance groups and groups them by zone.", + "description": "Retrieves the list of managed instance groups and groups them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instanceGroupManagers", "httpMethod": "GET", "id": "compute.instanceGroupManagers.aggregatedList", @@ -8616,7 +8616,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -8987,7 +8987,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -9056,7 +9056,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -9125,7 +9125,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -9194,7 +9194,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -9992,7 +9992,7 @@ ] }, "aggregatedList": { - "description": "Retrieves the list of instance groups and sorts them by zone.", + "description": "Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instanceGroups", "httpMethod": "GET", "id": "compute.instanceGroups.aggregatedList", @@ -10036,7 +10036,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -10225,7 +10225,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -10294,7 +10294,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -10551,7 +10551,7 @@ "instanceTemplates": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instanceTemplates", "httpMethod": "GET", "id": "compute.instanceTemplates.aggregatedList", @@ -10595,7 +10595,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -10805,7 +10805,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -11007,7 +11007,7 @@ ] }, "aggregatedList": { - "description": "Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances.", + "description": "Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instances", "httpMethod": "GET", "id": "compute.instances.aggregatedList", @@ -11051,7 +11051,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -11806,7 +11806,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -11877,7 +11877,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -13543,7 +13543,7 @@ "instantSnapshots": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of instantSnapshots.", + "description": "Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/instantSnapshots", "httpMethod": "GET", "id": "compute.instantSnapshots.aggregatedList", @@ -13587,7 +13587,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -13830,7 +13830,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -13998,7 +13998,7 @@ "interconnectAttachments": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of interconnect attachments.", + "description": "Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/interconnectAttachments", "httpMethod": "GET", "id": "compute.interconnectAttachments.aggregatedList", @@ -14042,7 +14042,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -14248,7 +14248,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -14488,7 +14488,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -14582,7 +14582,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -14819,7 +14819,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -15224,7 +15224,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -15512,7 +15512,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -15607,7 +15607,7 @@ "machineTypes": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of machine types.", + "description": "Retrieves an aggregated list of machine types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/machineTypes", "httpMethod": "GET", "id": "compute.machineTypes.aggregatedList", @@ -15651,7 +15651,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -15756,7 +15756,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -15783,7 +15783,7 @@ "networkAttachments": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/networkAttachments", "httpMethod": "GET", "id": "compute.networkAttachments.aggregatedList", @@ -15827,7 +15827,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -16077,7 +16077,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -16238,7 +16238,7 @@ "networkEdgeSecurityServices": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.", + "description": "Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/networkEdgeSecurityServices", "httpMethod": "GET", "id": "compute.networkEdgeSecurityServices.aggregatedList", @@ -16282,7 +16282,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -16506,7 +16506,7 @@ "networkEndpointGroups": { "methods": { "aggregatedList": { - "description": "Retrieves the list of network endpoint groups and sorts them by zone.", + "description": "Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/networkEndpointGroups", "httpMethod": "GET", "id": "compute.networkEndpointGroups.aggregatedList", @@ -16550,7 +16550,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -16835,7 +16835,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -16904,7 +16904,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -17393,7 +17393,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -17891,7 +17891,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -17977,7 +17977,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -18250,7 +18250,7 @@ ] }, "aggregatedList": { - "description": "Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.", + "description": "Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/nodeGroups", "httpMethod": "GET", "id": "compute.nodeGroups.aggregatedList", @@ -18294,7 +18294,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -18595,7 +18595,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -18666,7 +18666,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -18984,7 +18984,7 @@ "nodeTemplates": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of node templates.", + "description": "Retrieves an aggregated list of node templates. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/nodeTemplates", "httpMethod": "GET", "id": "compute.nodeTemplates.aggregatedList", @@ -19028,7 +19028,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -19278,7 +19278,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -19389,7 +19389,7 @@ "nodeTypes": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of node types.", + "description": "Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/nodeTypes", "httpMethod": "GET", "id": "compute.nodeTypes.aggregatedList", @@ -19433,7 +19433,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -19538,7 +19538,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -19860,7 +19860,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -20085,7 +20085,7 @@ "packetMirrorings": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of packetMirrorings.", + "description": "Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/packetMirrorings", "httpMethod": "GET", "id": "compute.packetMirrorings.aggregatedList", @@ -20129,7 +20129,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -20330,7 +20330,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -20668,7 +20668,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -20722,7 +20722,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -20808,6 +20808,40 @@ "https://www.googleapis.com/auth/compute" ] }, + "setCloudArmorTier": { + "description": "Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the billing account of the project must be subscribed to Cloud Armor Enterprise. See Subscribing to Cloud Armor Enterprise for more information.", + "flatPath": "projects/{project}/setCloudArmorTier", + "httpMethod": "POST", + "id": "compute.projects.setCloudArmorTier", + "parameterOrder": [ + "project" + ], + "parameters": { + "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" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/setCloudArmorTier", + "request": { + "$ref": "ProjectsSetCloudArmorTierRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "setCommonInstanceMetadata": { "description": "Sets metadata common to all instances within the specified project using the data included in the request.", "flatPath": "projects/{project}/setCommonInstanceMetadata", @@ -21137,7 +21171,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -21237,7 +21271,7 @@ "publicDelegatedPrefixes": { "methods": { "aggregatedList": { - "description": "Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.", + "description": "Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/publicDelegatedPrefixes", "httpMethod": "GET", "id": "compute.publicDelegatedPrefixes.aggregatedList", @@ -21281,7 +21315,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -21527,7 +21561,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -21821,7 +21855,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -22256,7 +22290,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -22318,7 +22352,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -22578,7 +22612,7 @@ "regionCommitments": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of commitments by region.", + "description": "Retrieves an aggregated list of commitments by region. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/commitments", "httpMethod": "GET", "id": "compute.regionCommitments.aggregatedList", @@ -22622,7 +22656,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -22776,7 +22810,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -23043,7 +23077,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -23437,7 +23471,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -24075,7 +24109,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -24369,7 +24403,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -24938,7 +24972,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -25007,7 +25041,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -25076,7 +25110,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -25145,7 +25179,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -25977,7 +26011,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -26046,7 +26080,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -26342,7 +26376,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -26636,7 +26670,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -27066,7 +27100,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -27135,7 +27169,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -27691,7 +27725,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -28192,7 +28226,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -28387,7 +28421,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -28733,7 +28767,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -29098,7 +29132,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -29341,7 +29375,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -29404,7 +29438,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -29698,7 +29732,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -29993,7 +30027,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -30388,7 +30422,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -30683,7 +30717,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -30941,7 +30975,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -31035,7 +31069,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -31055,7 +31089,7 @@ "reservations": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of reservations.", + "description": "Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/reservations", "httpMethod": "GET", "id": "compute.reservations.aggregatedList", @@ -31099,7 +31133,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -31342,7 +31376,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -31571,7 +31605,7 @@ "resourcePolicies": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of resource policies.", + "description": "Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/resourcePolicies", "httpMethod": "GET", "id": "compute.resourcePolicies.aggregatedList", @@ -31615,7 +31649,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -31865,7 +31899,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -32032,7 +32066,7 @@ "routers": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of routers.", + "description": "Retrieves an aggregated list of routers. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/routers", "httpMethod": "GET", "id": "compute.routers.aggregatedList", @@ -32076,7 +32110,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -32288,7 +32322,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -32443,7 +32477,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -32802,7 +32836,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -32902,7 +32936,7 @@ ] }, "aggregatedList": { - "description": "Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/securityPolicies", "httpMethod": "GET", "id": "compute.securityPolicies.aggregatedList", @@ -32946,7 +32980,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -33161,7 +33195,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -33216,7 +33250,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -33453,7 +33487,7 @@ "serviceAttachments": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/serviceAttachments", "httpMethod": "GET", "id": "compute.serviceAttachments.aggregatedList", @@ -33497,7 +33531,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -33747,7 +33781,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -34165,7 +34199,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -34297,7 +34331,7 @@ "sslCertificates": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/sslCertificates", "httpMethod": "GET", "id": "compute.sslCertificates.aggregatedList", @@ -34341,7 +34375,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -34510,7 +34544,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -34568,7 +34602,7 @@ "sslPolicies": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all SslPolicy resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/sslPolicies", "httpMethod": "GET", "id": "compute.sslPolicies.aggregatedList", @@ -34612,7 +34646,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -34779,7 +34813,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -34834,7 +34868,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -34933,7 +34967,7 @@ "subnetworks": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of subnetworks.", + "description": "Retrieves an aggregated list of subnetworks. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/subnetworks", "httpMethod": "GET", "id": "compute.subnetworks.aggregatedList", @@ -34977,7 +35011,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -35277,7 +35311,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -35332,7 +35366,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -35701,7 +35735,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -35801,7 +35835,7 @@ "targetHttpProxies": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetHttpProxies", "httpMethod": "GET", "id": "compute.targetHttpProxies.aggregatedList", @@ -35845,7 +35879,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -36014,7 +36048,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -36156,7 +36190,7 @@ "targetHttpsProxies": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetHttpsProxies", "httpMethod": "GET", "id": "compute.targetHttpsProxies.aggregatedList", @@ -36200,7 +36234,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -36369,7 +36403,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -36676,7 +36710,7 @@ "targetInstances": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of target instances.", + "description": "Retrieves an aggregated list of target instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetInstances", "httpMethod": "GET", "id": "compute.targetInstances.aggregatedList", @@ -36720,7 +36754,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -36914,7 +36948,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -37136,7 +37170,7 @@ ] }, "aggregatedList": { - "description": "Retrieves an aggregated list of target pools.", + "description": "Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetPools", "httpMethod": "GET", "id": "compute.targetPools.aggregatedList", @@ -37180,7 +37214,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -37427,7 +37461,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -37845,7 +37879,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -38111,7 +38145,7 @@ "targetTcpProxies": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetTcpProxies", "httpMethod": "GET", "id": "compute.targetTcpProxies.aggregatedList", @@ -38155,7 +38189,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -38324,7 +38358,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -38466,7 +38500,7 @@ "targetVpnGateways": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of target VPN gateways.", + "description": "Retrieves an aggregated list of target VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/targetVpnGateways", "httpMethod": "GET", "id": "compute.targetVpnGateways.aggregatedList", @@ -38510,7 +38544,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -38711,7 +38745,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -38827,7 +38861,7 @@ "urlMaps": { "methods": { "aggregatedList": { - "description": "Retrieves the list of all UrlMap resources, regional and global, available to the specified project.", + "description": "Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/urlMaps", "httpMethod": "GET", "id": "compute.urlMaps.aggregatedList", @@ -38871,7 +38905,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -39082,7 +39116,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -39261,7 +39295,7 @@ "vpnGateways": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of VPN gateways.", + "description": "Retrieves an aggregated list of VPN gateways. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/vpnGateways", "httpMethod": "GET", "id": "compute.vpnGateways.aggregatedList", @@ -39305,7 +39339,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -39549,7 +39583,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -39665,7 +39699,7 @@ "vpnTunnels": { "methods": { "aggregatedList": { - "description": "Retrieves an aggregated list of VPN tunnels.", + "description": "Retrieves an aggregated list of VPN tunnels. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.", "flatPath": "projects/{project}/aggregated/vpnTunnels", "httpMethod": "GET", "id": "compute.vpnTunnels.aggregatedList", @@ -39709,7 +39743,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -39910,7 +39944,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -40148,7 +40182,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" }, @@ -40292,7 +40326,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.", "location": "query", "type": "boolean" } @@ -40310,7 +40344,7 @@ } } }, - "revision": "20240130", + "revision": "20240218", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -41997,7 +42031,7 @@ "type": "string" }, "provisionedThroughput": { - "description": "Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.", + "description": "Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must greater than or equal to 1.", "format": "int64", "type": "string" }, @@ -46209,7 +46243,7 @@ "type": "string" }, "provisionedThroughput": { - "description": "Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.", + "description": "Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1.", "format": "int64", "type": "string" }, @@ -63188,6 +63222,11 @@ "description": "Metadata defined as annotations on the network endpoint.", "type": "object" }, + "clientPort": { + "description": "Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups created with CLIENT_PORT_PER_ENDPOINT mapping mode.", + "format": "int32", + "type": "integer" + }, "fqdn": { "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.", "type": "string" @@ -63227,6 +63266,18 @@ "$ref": "NetworkEndpointGroupAppEngine", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." }, + "clientPortMappingMode": { + "description": "Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional.", + "enum": [ + "CLIENT_PORT_PER_ENDPOINT", + "PORT_MAPPING_DISABLED" + ], + "enumDescriptions": [ + "For each endpoint there is exactly one client port.", + "NEG should not be used for mapping client port to destination." + ], + "type": "string" + }, "cloudFunction": { "$ref": "NetworkEndpointGroupCloudFunction", "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set." @@ -68634,6 +68685,20 @@ "description": "Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.", "id": "Project", "properties": { + "cloudArmorTier": { + "description": "[Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD, CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to be CA_STANDARD.", + "enum": [ + "CA_ENTERPRISE_ANNUAL", + "CA_ENTERPRISE_PAYGO", + "CA_STANDARD" + ], + "enumDescriptions": [ + "Enterprise tier protection billed annually.", + "Enterprise tier protection billed monthly.", + "Standard protection." + ], + "type": "string" + }, "commonInstanceMetadata": { "$ref": "Metadata", "description": "Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information." @@ -68799,6 +68864,26 @@ }, "type": "object" }, + "ProjectsSetCloudArmorTierRequest": { + "id": "ProjectsSetCloudArmorTierRequest", + "properties": { + "cloudArmorTier": { + "description": "Managed protection tier to be set.", + "enum": [ + "CA_ENTERPRISE_ANNUAL", + "CA_ENTERPRISE_PAYGO", + "CA_STANDARD" + ], + "enumDescriptions": [ + "Enterprise tier protection billed annually.", + "Enterprise tier protection billed monthly.", + "Standard protection." + ], + "type": "string" + } + }, + "type": "object" + }, "ProjectsSetDefaultNetworkTierRequest": { "id": "ProjectsSetDefaultNetworkTierRequest", "properties": { @@ -75606,6 +75691,9 @@ ], "type": "string" }, + "onInstanceStopAction": { + "$ref": "SchedulingOnInstanceStopAction" + }, "preemptible": { "description": "Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.", "type": "boolean" @@ -75661,6 +75749,17 @@ }, "type": "object" }, + "SchedulingOnInstanceStopAction": { + "description": "Defines the behaviour for instances with the instance_termination_action STOP.", + "id": "SchedulingOnInstanceStopAction", + "properties": { + "discardLocalSsd": { + "description": "If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time.", + "type": "boolean" + } + }, + "type": "object" + }, "Screenshot": { "description": "An instance's screenshot.", "id": "Screenshot", diff --git a/DiscoveryJson/dataplex_v1.json b/DiscoveryJson/dataplex_v1.json index ec38da5d75..adf2e1a112 100644 --- a/DiscoveryJson/dataplex_v1.json +++ b/DiscoveryJson/dataplex_v1.json @@ -4360,7 +4360,7 @@ } } }, - "revision": "20240214", + "revision": "20240207", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -7834,6 +7834,81 @@ }, "type": "object" }, + "GoogleCloudDataplexV1MetadataJobEvent": { + "description": "These messages contain information about the execution of a metadata job. The monitored resource is 'MetadataJob'.", + "id": "GoogleCloudDataplexV1MetadataJobEvent", + "properties": { + "importResult": { + "$ref": "GoogleCloudDataplexV1MetadataJobEventImportResult", + "description": "Import job results. Should only be populated on terminal states." + }, + "message": { + "description": "Message describing failure or success event.", + "type": "string" + }, + "resource": { + "description": "The resource name associated with the event. Supported resources included, but not limited to EntryGroup, MetadataJob, and Entry.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDataplexV1MetadataJobEventImportResult": { + "description": "Import job result for metadata job.", + "id": "GoogleCloudDataplexV1MetadataJobEventImportResult", + "properties": { + "createdEntries": { + "description": "Total number of entries created.", + "format": "int64", + "type": "string" + }, + "deletedEntries": { + "description": "Total number of entries deleted.", + "format": "int64", + "type": "string" + }, + "mutatedEntryGroups": { + "description": "The number of entry groups modified/specified by the import job.", + "format": "int64", + "type": "string" + }, + "recreatedEntries": { + "description": "Total number of entries recreated.", + "format": "int64", + "type": "string" + }, + "state": { + "description": "Output only. Terminal state of the import job.", + "enum": [ + "STATE_UNSPECIFIED", + "SUCCEEDED", + "FAILED", + "CANCELLED", + "RUNNING" + ], + "enumDescriptions": [ + "State Unspecified.", + "Import Job was successful.", + "Import Job was failed.", + "Import job was cancelled.", + "Import Job is running." + ], + "readOnly": true, + "type": "string" + }, + "unchangedEntries": { + "description": "Total number of entries left unchanged.", + "format": "int64", + "type": "string" + }, + "updatedEntries": { + "description": "Total number of entries updated.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1OperationMetadata": { "description": "Represents the metadata of a long-running operation.", "id": "GoogleCloudDataplexV1OperationMetadata", diff --git a/DiscoveryJson/dataportability_v1beta.json b/DiscoveryJson/dataportability_v1beta.json index 71cf93deb2..ac7af438ce 100644 --- a/DiscoveryJson/dataportability_v1beta.json +++ b/DiscoveryJson/dataportability_v1beta.json @@ -183,7 +183,7 @@ "archiveJobs": { "methods": { "getPortabilityArchiveState": { - "description": "Retrieves the state of a Takeout Archive job for the Portability API.", + "description": "Retrieves the state of an Archive job for the Portability API.", "flatPath": "v1beta/archiveJobs/{archiveJobsId}/portabilityArchiveState", "httpMethod": "GET", "id": "dataportability.archiveJobs.getPortabilityArchiveState", @@ -192,7 +192,7 @@ ], "parameters": { "name": { - "description": "Required. The archive job ID that is returned when you request the state of the job from Takeout. The format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the InitiatePortabilityArchiveResponse.", + "description": "Required. The archive job ID that is returned when you request the state of the job. The format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the InitiatePortabilityArchiveResponse.", "location": "path", "pattern": "^archiveJobs/[^/]+/portabilityArchiveState$", "required": true, @@ -242,7 +242,7 @@ ], "parameters": { "name": { - "description": "Required. The archive job ID returned by the InitiatePortabilityArchiveResponse to be retried. Retrying is only executed if the initial job failed.", + "description": "Required. The Archive job ID you're retrying. This is returned by the InitiatePortabilityArchiveResponse. Retrying is only executed if the initial job failed.", "location": "path", "pattern": "^archiveJobs/[^/]+$", "required": true, @@ -290,7 +290,7 @@ "authorization": { "methods": { "reset": { - "description": "Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate a Takeout request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job.", + "description": "Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate a request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job.", "flatPath": "v1beta/authorization:reset", "httpMethod": "POST", "id": "dataportability.authorization.reset", @@ -337,7 +337,7 @@ "portabilityArchive": { "methods": { "initiate": { - "description": "Initiates a new Takeout Archive job for the Portability API.", + "description": "Initiates a new Archive job for the Portability API.", "flatPath": "v1beta/portabilityArchive:initiate", "httpMethod": "POST", "id": "dataportability.portabilityArchive.initiate", @@ -382,7 +382,7 @@ } } }, - "revision": "20240213", + "revision": "20240221", "rootUrl": "https://dataportability.googleapis.com/", "schemas": { "Empty": { @@ -392,7 +392,7 @@ "type": "object" }, "InitiatePortabilityArchiveRequest": { - "description": "Request to kick off a Takeout Archive job.", + "description": "Request to kick off an Archive job.", "id": "InitiatePortabilityArchiveRequest", "properties": { "resources": { @@ -406,18 +406,18 @@ "type": "object" }, "InitiatePortabilityArchiveResponse": { - "description": "Response from initiating a Take Archive job.", + "description": "Response from initiating an Archive job.", "id": "InitiatePortabilityArchiveResponse", "properties": { "archiveJobId": { - "description": "The archive job ID that is initiated in the Takeout API. This can be used to get the state of the job.", + "description": "The archive job ID that is initiated in the API. This can be used to get the state of the job.", "type": "string" } }, "type": "object" }, "PortabilityArchiveState": { - "description": "Resource that contains the state of a Takeout Archive job.", + "description": "Resource that contains the state of an Archive job.", "id": "PortabilityArchiveState", "properties": { "name": { @@ -425,7 +425,7 @@ "type": "string" }, "state": { - "description": "Resource that represents the state of the Takeout Archive job.", + "description": "Resource that represents the state of the Archive job.", "enum": [ "STATE_UNSPECIFIED", "IN_PROGRESS", @@ -435,10 +435,10 @@ ], "enumDescriptions": [ "Default value. This value is unused.", - "The Takeout job is in progress.", - "The Takeout job is complete.", - "The Takeout job failed.", - "The Takeout job is cancelled." + "The job is in progress.", + "The job is complete.", + "The job failed.", + "The job is cancelled." ], "type": "string" }, @@ -469,7 +469,7 @@ "id": "RetryPortabilityArchiveResponse", "properties": { "archiveJobId": { - "description": "The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job", + "description": "The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job.", "type": "string" } }, diff --git a/DiscoveryJson/dialogflow_v3.json b/DiscoveryJson/dialogflow_v3.json index c6600417ae..d5abe578eb 100644 --- a/DiscoveryJson/dialogflow_v3.json +++ b/DiscoveryJson/dialogflow_v3.json @@ -4453,7 +4453,7 @@ } } }, - "revision": "20240131", + "revision": "20240219", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -4905,6 +4905,10 @@ "description": "The affected resource display name of the change.", "type": "string" }, + "languageCode": { + "description": "The affected language code of the change.", + "type": "string" + }, "name": { "description": "The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`.", "type": "string" diff --git a/DiscoveryJson/language_v1.json b/DiscoveryJson/language_v1.json index 369c2b585e..9314eb665b 100644 --- a/DiscoveryJson/language_v1.json +++ b/DiscoveryJson/language_v1.json @@ -246,7 +246,7 @@ } } }, - "revision": "20240220", + "revision": "20240217", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -465,47 +465,12 @@ "type": "string" }, "features": { - "$ref": "AnnotateTextRequestFeatures", + "$ref": "Features", "description": "Required. The enabled features." } }, "type": "object" }, - "AnnotateTextRequestFeatures": { - "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.", - "id": "AnnotateTextRequestFeatures", - "properties": { - "classificationModelOptions": { - "$ref": "ClassificationModelOptions", - "description": "Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true." - }, - "classifyText": { - "description": "Classify the full document into categories.", - "type": "boolean" - }, - "extractDocumentSentiment": { - "description": "Extract document-level sentiment.", - "type": "boolean" - }, - "extractEntities": { - "description": "Extract entities.", - "type": "boolean" - }, - "extractEntitySentiment": { - "description": "Extract entities and their associated sentiment.", - "type": "boolean" - }, - "extractSyntax": { - "description": "Extract syntax information.", - "type": "boolean" - }, - "moderateText": { - "description": "Moderate the document for harmful and sensitive categories.", - "type": "boolean" - } - }, - "type": "object" - }, "AnnotateTextResponse": { "description": "The text annotations response message.", "id": "AnnotateTextResponse", @@ -577,43 +542,16 @@ "id": "ClassificationModelOptions", "properties": { "v1Model": { - "$ref": "ClassificationModelOptionsV1Model", + "$ref": "V1Model", "description": "Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future." }, "v2Model": { - "$ref": "ClassificationModelOptionsV2Model", + "$ref": "V2Model", "description": "Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model." } }, "type": "object" }, - "ClassificationModelOptionsV1Model": { - "description": "Options for the V1 model.", - "id": "ClassificationModelOptionsV1Model", - "properties": {}, - "type": "object" - }, - "ClassificationModelOptionsV2Model": { - "description": "Options for the V2 model.", - "id": "ClassificationModelOptionsV2Model", - "properties": { - "contentCategoriesVersion": { - "description": "The content categories used for classification.", - "enum": [ - "CONTENT_CATEGORIES_VERSION_UNSPECIFIED", - "V1", - "V2" - ], - "enumDescriptions": [ - "If `ContentCategoriesVersion` is not specified, this option will default to `V1`.", - "Legacy content categories of our initial launch in 2017.", - "Updated content categories in 2022." - ], - "type": "string" - } - }, - "type": "object" - }, "ClassifyTextRequest": { "description": "The document classification request message.", "id": "ClassifyTextRequest", @@ -643,419 +581,6 @@ }, "type": "object" }, - "Color": { - "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", - "id": "Color", - "properties": { - "alpha": { - "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", - "format": "float", - "type": "number" - }, - "blue": { - "description": "The amount of blue in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "green": { - "description": "The amount of green in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "red": { - "description": "The amount of red in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "CpuMetric": { - "description": "Metric for billing reports.", - "id": "CpuMetric", - "properties": { - "coreNumber": { - "description": "Required. Number of CPU cores.", - "format": "int64", - "type": "string" - }, - "coreSec": { - "description": "Required. Total seconds of core usage, e.g. 4.", - "format": "int64", - "type": "string" - }, - "cpuType": { - "description": "Required. Type of cpu, e.g. N2.", - "enum": [ - "UNKNOWN_CPU_TYPE", - "A2", - "A3", - "C2", - "C2D", - "CUSTOM", - "E2", - "G2", - "C3", - "M2", - "M1", - "N1", - "N2_CUSTOM", - "N2", - "N2D" - ], - "enumDescriptions": [ - "", - "GPU-based machine, skip quota reporting.", - "GPU-based machine, skip quota reporting.", - "COMPUTE_OPTIMIZED", - "", - "", - "", - "GPU-based machine, skip quota reporting.", - "", - "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", - "MEMORY_OPTIMIZED", - "", - "", - "", - "" - ], - "type": "string" - }, - "machineSpec": { - "description": "Required. Machine spec, e.g. N1_STANDARD_4.", - "enum": [ - "UNKNOWN_MACHINE_SPEC", - "N1_STANDARD_2", - "N1_STANDARD_4", - "N1_STANDARD_8", - "N1_STANDARD_16", - "N1_STANDARD_32", - "N1_STANDARD_64", - "N1_STANDARD_96", - "N1_HIGHMEM_2", - "N1_HIGHMEM_4", - "N1_HIGHMEM_8", - "N1_HIGHMEM_16", - "N1_HIGHMEM_32", - "N1_HIGHMEM_64", - "N1_HIGHMEM_96", - "N1_HIGHCPU_2", - "N1_HIGHCPU_4", - "N1_HIGHCPU_8", - "N1_HIGHCPU_16", - "N1_HIGHCPU_32", - "N1_HIGHCPU_64", - "N1_HIGHCPU_96", - "A2_HIGHGPU_1G", - "A2_HIGHGPU_2G", - "A2_HIGHGPU_4G", - "A2_HIGHGPU_8G", - "A2_MEGAGPU_16G", - "A2_ULTRAGPU_1G", - "A2_ULTRAGPU_2G", - "A2_ULTRAGPU_4G", - "A2_ULTRAGPU_8G", - "A3_HIGHGPU_8G", - "E2_STANDARD_2", - "E2_STANDARD_4", - "E2_STANDARD_8", - "E2_STANDARD_16", - "E2_STANDARD_32", - "E2_HIGHMEM_2", - "E2_HIGHMEM_4", - "E2_HIGHMEM_8", - "E2_HIGHMEM_16", - "E2_HIGHCPU_2", - "E2_HIGHCPU_4", - "E2_HIGHCPU_8", - "E2_HIGHCPU_16", - "E2_HIGHCPU_32", - "N2_STANDARD_2", - "N2_STANDARD_4", - "N2_STANDARD_8", - "N2_STANDARD_16", - "N2_STANDARD_32", - "N2_STANDARD_48", - "N2_STANDARD_64", - "N2_STANDARD_80", - "N2_STANDARD_96", - "N2_STANDARD_128", - "N2_HIGHMEM_2", - "N2_HIGHMEM_4", - "N2_HIGHMEM_8", - "N2_HIGHMEM_16", - "N2_HIGHMEM_32", - "N2_HIGHMEM_48", - "N2_HIGHMEM_64", - "N2_HIGHMEM_80", - "N2_HIGHMEM_96", - "N2_HIGHMEM_128", - "N2_HIGHCPU_2", - "N2_HIGHCPU_4", - "N2_HIGHCPU_8", - "N2_HIGHCPU_16", - "N2_HIGHCPU_32", - "N2_HIGHCPU_48", - "N2_HIGHCPU_64", - "N2_HIGHCPU_80", - "N2_HIGHCPU_96", - "N2D_STANDARD_2", - "N2D_STANDARD_4", - "N2D_STANDARD_8", - "N2D_STANDARD_16", - "N2D_STANDARD_32", - "N2D_STANDARD_48", - "N2D_STANDARD_64", - "N2D_STANDARD_80", - "N2D_STANDARD_96", - "N2D_STANDARD_128", - "N2D_STANDARD_224", - "N2D_HIGHMEM_2", - "N2D_HIGHMEM_4", - "N2D_HIGHMEM_8", - "N2D_HIGHMEM_16", - "N2D_HIGHMEM_32", - "N2D_HIGHMEM_48", - "N2D_HIGHMEM_64", - "N2D_HIGHMEM_80", - "N2D_HIGHMEM_96", - "N2D_HIGHCPU_2", - "N2D_HIGHCPU_4", - "N2D_HIGHCPU_8", - "N2D_HIGHCPU_16", - "N2D_HIGHCPU_32", - "N2D_HIGHCPU_48", - "N2D_HIGHCPU_64", - "N2D_HIGHCPU_80", - "N2D_HIGHCPU_96", - "N2D_HIGHCPU_128", - "N2D_HIGHCPU_224", - "C2_STANDARD_4", - "C2_STANDARD_8", - "C2_STANDARD_16", - "C2_STANDARD_30", - "C2_STANDARD_60", - "C2D_STANDARD_2", - "C2D_STANDARD_4", - "C2D_STANDARD_8", - "C2D_STANDARD_16", - "C2D_STANDARD_32", - "C2D_STANDARD_56", - "C2D_STANDARD_112", - "C2D_HIGHCPU_2", - "C2D_HIGHCPU_4", - "C2D_HIGHCPU_8", - "C2D_HIGHCPU_16", - "C2D_HIGHCPU_32", - "C2D_HIGHCPU_56", - "C2D_HIGHCPU_112", - "C2D_HIGHMEM_2", - "C2D_HIGHMEM_4", - "C2D_HIGHMEM_8", - "C2D_HIGHMEM_16", - "C2D_HIGHMEM_32", - "C2D_HIGHMEM_56", - "C2D_HIGHMEM_112", - "G2_STANDARD_4", - "G2_STANDARD_8", - "G2_STANDARD_12", - "G2_STANDARD_16", - "G2_STANDARD_24", - "G2_STANDARD_32", - "G2_STANDARD_48", - "G2_STANDARD_96", - "C3_STANDARD_4", - "C3_STANDARD_8", - "C3_STANDARD_22", - "C3_STANDARD_44", - "C3_STANDARD_88", - "C3_STANDARD_176", - "C3_HIGHCPU_4", - "C3_HIGHCPU_8", - "C3_HIGHCPU_22", - "C3_HIGHCPU_44", - "C3_HIGHCPU_88", - "C3_HIGHCPU_176", - "C3_HIGHMEM_4", - "C3_HIGHMEM_8", - "C3_HIGHMEM_22", - "C3_HIGHMEM_44", - "C3_HIGHMEM_88", - "C3_HIGHMEM_176" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "trackingLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", - "type": "object" - } - }, - "type": "object" - }, "DependencyEdge": { "description": "Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017", "id": "DependencyEdge", @@ -1242,37 +767,6 @@ }, "type": "object" }, - "DiskMetric": { - "id": "DiskMetric", - "properties": { - "diskType": { - "description": "Required. Type of Disk, e.g. REGIONAL_SSD.", - "enum": [ - "UNKNOWN_DISK_TYPE", - "REGIONAL_SSD", - "REGIONAL_STORAGE", - "PD_SSD", - "PD_STANDARD", - "STORAGE_SNAPSHOT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "gibSec": { - "description": "Required. Seconds of physical disk usage, e.g. 3600.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, "Document": { "description": "Represents the input to API methods.", "id": "Document", @@ -1403,414 +897,37 @@ }, "type": "object" }, - "GpuMetric": { - "id": "GpuMetric", + "Features": { + "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.", + "id": "Features", "properties": { - "gpuSec": { - "description": "Required. Seconds of GPU usage, e.g. 3600.", - "format": "int64", - "type": "string" - }, - "gpuType": { - "description": "Required. Type of GPU, e.g. NVIDIA_TESLA_V100.", - "enum": [ - "UNKNOWN_GPU_TYPE", - "NVIDIA_TESLA_A100", - "NVIDIA_A100_80GB", - "NVIDIA_TESLA_K80", - "NVIDIA_L4", - "NVIDIA_TESLA_P100", - "NVIDIA_TESLA_P4", - "NVIDIA_TESLA_T4", - "NVIDIA_TESLA_V100", - "NVIDIA_H100_80GB" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" + "classificationModelOptions": { + "$ref": "ClassificationModelOptions", + "description": "Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true." }, - "machineSpec": { - "description": "Required. Machine spec, e.g. N1_STANDARD_4.", - "enum": [ - "UNKNOWN_MACHINE_SPEC", - "N1_STANDARD_2", - "N1_STANDARD_4", - "N1_STANDARD_8", - "N1_STANDARD_16", - "N1_STANDARD_32", - "N1_STANDARD_64", - "N1_STANDARD_96", - "N1_HIGHMEM_2", - "N1_HIGHMEM_4", - "N1_HIGHMEM_8", - "N1_HIGHMEM_16", - "N1_HIGHMEM_32", - "N1_HIGHMEM_64", - "N1_HIGHMEM_96", - "N1_HIGHCPU_2", - "N1_HIGHCPU_4", - "N1_HIGHCPU_8", - "N1_HIGHCPU_16", - "N1_HIGHCPU_32", - "N1_HIGHCPU_64", - "N1_HIGHCPU_96", - "A2_HIGHGPU_1G", - "A2_HIGHGPU_2G", - "A2_HIGHGPU_4G", - "A2_HIGHGPU_8G", - "A2_MEGAGPU_16G", - "A2_ULTRAGPU_1G", - "A2_ULTRAGPU_2G", - "A2_ULTRAGPU_4G", - "A2_ULTRAGPU_8G", - "A3_HIGHGPU_8G", - "E2_STANDARD_2", - "E2_STANDARD_4", - "E2_STANDARD_8", - "E2_STANDARD_16", - "E2_STANDARD_32", - "E2_HIGHMEM_2", - "E2_HIGHMEM_4", - "E2_HIGHMEM_8", - "E2_HIGHMEM_16", - "E2_HIGHCPU_2", - "E2_HIGHCPU_4", - "E2_HIGHCPU_8", - "E2_HIGHCPU_16", - "E2_HIGHCPU_32", - "N2_STANDARD_2", - "N2_STANDARD_4", - "N2_STANDARD_8", - "N2_STANDARD_16", - "N2_STANDARD_32", - "N2_STANDARD_48", - "N2_STANDARD_64", - "N2_STANDARD_80", - "N2_STANDARD_96", - "N2_STANDARD_128", - "N2_HIGHMEM_2", - "N2_HIGHMEM_4", - "N2_HIGHMEM_8", - "N2_HIGHMEM_16", - "N2_HIGHMEM_32", - "N2_HIGHMEM_48", - "N2_HIGHMEM_64", - "N2_HIGHMEM_80", - "N2_HIGHMEM_96", - "N2_HIGHMEM_128", - "N2_HIGHCPU_2", - "N2_HIGHCPU_4", - "N2_HIGHCPU_8", - "N2_HIGHCPU_16", - "N2_HIGHCPU_32", - "N2_HIGHCPU_48", - "N2_HIGHCPU_64", - "N2_HIGHCPU_80", - "N2_HIGHCPU_96", - "N2D_STANDARD_2", - "N2D_STANDARD_4", - "N2D_STANDARD_8", - "N2D_STANDARD_16", - "N2D_STANDARD_32", - "N2D_STANDARD_48", - "N2D_STANDARD_64", - "N2D_STANDARD_80", - "N2D_STANDARD_96", - "N2D_STANDARD_128", - "N2D_STANDARD_224", - "N2D_HIGHMEM_2", - "N2D_HIGHMEM_4", - "N2D_HIGHMEM_8", - "N2D_HIGHMEM_16", - "N2D_HIGHMEM_32", - "N2D_HIGHMEM_48", - "N2D_HIGHMEM_64", - "N2D_HIGHMEM_80", - "N2D_HIGHMEM_96", - "N2D_HIGHCPU_2", - "N2D_HIGHCPU_4", - "N2D_HIGHCPU_8", - "N2D_HIGHCPU_16", - "N2D_HIGHCPU_32", - "N2D_HIGHCPU_48", - "N2D_HIGHCPU_64", - "N2D_HIGHCPU_80", - "N2D_HIGHCPU_96", - "N2D_HIGHCPU_128", - "N2D_HIGHCPU_224", - "C2_STANDARD_4", - "C2_STANDARD_8", - "C2_STANDARD_16", - "C2_STANDARD_30", - "C2_STANDARD_60", - "C2D_STANDARD_2", - "C2D_STANDARD_4", - "C2D_STANDARD_8", - "C2D_STANDARD_16", - "C2D_STANDARD_32", - "C2D_STANDARD_56", - "C2D_STANDARD_112", - "C2D_HIGHCPU_2", - "C2D_HIGHCPU_4", - "C2D_HIGHCPU_8", - "C2D_HIGHCPU_16", - "C2D_HIGHCPU_32", - "C2D_HIGHCPU_56", - "C2D_HIGHCPU_112", - "C2D_HIGHMEM_2", - "C2D_HIGHMEM_4", - "C2D_HIGHMEM_8", - "C2D_HIGHMEM_16", - "C2D_HIGHMEM_32", - "C2D_HIGHMEM_56", - "C2D_HIGHMEM_112", - "G2_STANDARD_4", - "G2_STANDARD_8", - "G2_STANDARD_12", - "G2_STANDARD_16", - "G2_STANDARD_24", - "G2_STANDARD_32", - "G2_STANDARD_48", - "G2_STANDARD_96", - "C3_STANDARD_4", - "C3_STANDARD_8", - "C3_STANDARD_22", - "C3_STANDARD_44", - "C3_STANDARD_88", - "C3_STANDARD_176", - "C3_HIGHCPU_4", - "C3_HIGHCPU_8", - "C3_HIGHCPU_22", - "C3_HIGHCPU_44", - "C3_HIGHCPU_88", - "C3_HIGHCPU_176", - "C3_HIGHMEM_4", - "C3_HIGHMEM_8", - "C3_HIGHMEM_22", - "C3_HIGHMEM_44", - "C3_HIGHMEM_88", - "C3_HIGHMEM_176" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" + "classifyText": { + "description": "Classify the full document into categories.", + "type": "boolean" }, - "trackingLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", - "type": "object" - } - }, - "type": "object" - }, - "InfraUsage": { - "description": "Infra Usage of billing metrics. Next ID: 6", - "id": "InfraUsage", - "properties": { - "cpuMetrics": { - "description": "Aggregated core metrics since requested start_time.", - "items": { - "$ref": "CpuMetric" - }, - "type": "array" + "extractDocumentSentiment": { + "description": "Extract document-level sentiment.", + "type": "boolean" }, - "diskMetrics": { - "description": "Aggregated persistent disk metrics since requested start_time.", - "items": { - "$ref": "DiskMetric" - }, - "type": "array" + "extractEntities": { + "description": "Extract entities.", + "type": "boolean" }, - "gpuMetrics": { - "description": "Aggregated gpu metrics since requested start_time.", - "items": { - "$ref": "GpuMetric" - }, - "type": "array" + "extractEntitySentiment": { + "description": "Extract entities and their associated sentiment.", + "type": "boolean" }, - "ramMetrics": { - "description": "Aggregated ram metrics since requested start_time.", - "items": { - "$ref": "RamMetric" - }, - "type": "array" + "extractSyntax": { + "description": "Extract syntax information.", + "type": "boolean" }, - "tpuMetrics": { - "description": "Aggregated tpu metrics since requested start_time.", - "items": { - "$ref": "TpuMetric" - }, - "type": "array" + "moderateText": { + "description": "Moderate the document for harmful and sensitive categories.", + "type": "boolean" } }, "type": "object" @@ -2107,391 +1224,6 @@ }, "type": "object" }, - "RamMetric": { - "id": "RamMetric", - "properties": { - "gibSec": { - "description": "Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition.", - "format": "int64", - "type": "string" - }, - "machineSpec": { - "description": "Required. Machine spec, e.g. N1_STANDARD_4.", - "enum": [ - "UNKNOWN_MACHINE_SPEC", - "N1_STANDARD_2", - "N1_STANDARD_4", - "N1_STANDARD_8", - "N1_STANDARD_16", - "N1_STANDARD_32", - "N1_STANDARD_64", - "N1_STANDARD_96", - "N1_HIGHMEM_2", - "N1_HIGHMEM_4", - "N1_HIGHMEM_8", - "N1_HIGHMEM_16", - "N1_HIGHMEM_32", - "N1_HIGHMEM_64", - "N1_HIGHMEM_96", - "N1_HIGHCPU_2", - "N1_HIGHCPU_4", - "N1_HIGHCPU_8", - "N1_HIGHCPU_16", - "N1_HIGHCPU_32", - "N1_HIGHCPU_64", - "N1_HIGHCPU_96", - "A2_HIGHGPU_1G", - "A2_HIGHGPU_2G", - "A2_HIGHGPU_4G", - "A2_HIGHGPU_8G", - "A2_MEGAGPU_16G", - "A2_ULTRAGPU_1G", - "A2_ULTRAGPU_2G", - "A2_ULTRAGPU_4G", - "A2_ULTRAGPU_8G", - "A3_HIGHGPU_8G", - "E2_STANDARD_2", - "E2_STANDARD_4", - "E2_STANDARD_8", - "E2_STANDARD_16", - "E2_STANDARD_32", - "E2_HIGHMEM_2", - "E2_HIGHMEM_4", - "E2_HIGHMEM_8", - "E2_HIGHMEM_16", - "E2_HIGHCPU_2", - "E2_HIGHCPU_4", - "E2_HIGHCPU_8", - "E2_HIGHCPU_16", - "E2_HIGHCPU_32", - "N2_STANDARD_2", - "N2_STANDARD_4", - "N2_STANDARD_8", - "N2_STANDARD_16", - "N2_STANDARD_32", - "N2_STANDARD_48", - "N2_STANDARD_64", - "N2_STANDARD_80", - "N2_STANDARD_96", - "N2_STANDARD_128", - "N2_HIGHMEM_2", - "N2_HIGHMEM_4", - "N2_HIGHMEM_8", - "N2_HIGHMEM_16", - "N2_HIGHMEM_32", - "N2_HIGHMEM_48", - "N2_HIGHMEM_64", - "N2_HIGHMEM_80", - "N2_HIGHMEM_96", - "N2_HIGHMEM_128", - "N2_HIGHCPU_2", - "N2_HIGHCPU_4", - "N2_HIGHCPU_8", - "N2_HIGHCPU_16", - "N2_HIGHCPU_32", - "N2_HIGHCPU_48", - "N2_HIGHCPU_64", - "N2_HIGHCPU_80", - "N2_HIGHCPU_96", - "N2D_STANDARD_2", - "N2D_STANDARD_4", - "N2D_STANDARD_8", - "N2D_STANDARD_16", - "N2D_STANDARD_32", - "N2D_STANDARD_48", - "N2D_STANDARD_64", - "N2D_STANDARD_80", - "N2D_STANDARD_96", - "N2D_STANDARD_128", - "N2D_STANDARD_224", - "N2D_HIGHMEM_2", - "N2D_HIGHMEM_4", - "N2D_HIGHMEM_8", - "N2D_HIGHMEM_16", - "N2D_HIGHMEM_32", - "N2D_HIGHMEM_48", - "N2D_HIGHMEM_64", - "N2D_HIGHMEM_80", - "N2D_HIGHMEM_96", - "N2D_HIGHCPU_2", - "N2D_HIGHCPU_4", - "N2D_HIGHCPU_8", - "N2D_HIGHCPU_16", - "N2D_HIGHCPU_32", - "N2D_HIGHCPU_48", - "N2D_HIGHCPU_64", - "N2D_HIGHCPU_80", - "N2D_HIGHCPU_96", - "N2D_HIGHCPU_128", - "N2D_HIGHCPU_224", - "C2_STANDARD_4", - "C2_STANDARD_8", - "C2_STANDARD_16", - "C2_STANDARD_30", - "C2_STANDARD_60", - "C2D_STANDARD_2", - "C2D_STANDARD_4", - "C2D_STANDARD_8", - "C2D_STANDARD_16", - "C2D_STANDARD_32", - "C2D_STANDARD_56", - "C2D_STANDARD_112", - "C2D_HIGHCPU_2", - "C2D_HIGHCPU_4", - "C2D_HIGHCPU_8", - "C2D_HIGHCPU_16", - "C2D_HIGHCPU_32", - "C2D_HIGHCPU_56", - "C2D_HIGHCPU_112", - "C2D_HIGHMEM_2", - "C2D_HIGHMEM_4", - "C2D_HIGHMEM_8", - "C2D_HIGHMEM_16", - "C2D_HIGHMEM_32", - "C2D_HIGHMEM_56", - "C2D_HIGHMEM_112", - "G2_STANDARD_4", - "G2_STANDARD_8", - "G2_STANDARD_12", - "G2_STANDARD_16", - "G2_STANDARD_24", - "G2_STANDARD_32", - "G2_STANDARD_48", - "G2_STANDARD_96", - "C3_STANDARD_4", - "C3_STANDARD_8", - "C3_STANDARD_22", - "C3_STANDARD_44", - "C3_STANDARD_88", - "C3_STANDARD_176", - "C3_HIGHCPU_4", - "C3_HIGHCPU_8", - "C3_HIGHCPU_22", - "C3_HIGHCPU_44", - "C3_HIGHCPU_88", - "C3_HIGHCPU_176", - "C3_HIGHMEM_4", - "C3_HIGHMEM_8", - "C3_HIGHMEM_22", - "C3_HIGHMEM_44", - "C3_HIGHMEM_88", - "C3_HIGHMEM_176" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "memories": { - "description": "Required. VM memory in gb.", - "format": "double", - "type": "number" - }, - "ramType": { - "description": "Required. Type of ram.", - "enum": [ - "UNKNOWN_RAM_TYPE", - "A2", - "A3", - "C2", - "C2D", - "CUSTOM", - "E2", - "G2", - "C3", - "M2", - "M1", - "N1", - "N2_CUSTOM", - "N2", - "N2D" - ], - "enumDescriptions": [ - "", - "", - "", - "COMPUTE_OPTIMIZED", - "", - "", - "", - "", - "", - "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", - "MEMORY_OPTIMIZED", - "", - "", - "", - "" - ], - "type": "string" - }, - "trackingLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", - "type": "object" - } - }, - "type": "object" - }, "Sentence": { "description": "Represents a sentence in the input document.", "id": "Sentence", @@ -2590,3079 +1322,32 @@ }, "type": "object" }, - "TpuMetric": { - "id": "TpuMetric", + "V1Model": { + "description": "Options for the V1 model.", + "id": "V1Model", + "properties": {}, + "type": "object" + }, + "V2Model": { + "description": "Options for the V2 model.", + "id": "V2Model", "properties": { - "tpuSec": { - "description": "Required. Seconds of TPU usage, e.g. 3600.", - "format": "int64", - "type": "string" - }, - "tpuType": { - "description": "Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD.", + "contentCategoriesVersion": { + "description": "The content categories used for classification.", "enum": [ - "UNKNOWN_TPU_TYPE", - "TPU_V2_POD", - "TPU_V2", - "TPU_V3_POD", - "TPU_V3", - "TPU_V5_LITEPOD" + "CONTENT_CATEGORIES_VERSION_UNSPECIFIED", + "V1", + "V2" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "If `ContentCategoriesVersion` is not specified, this option will default to `V1`.", + "Legacy content categories of our initial launch in 2017.", + "Updated content categories in 2022." ], "type": "string" } }, "type": "object" - }, - "XPSArrayStats": { - "description": "The data statistics of a series of ARRAY values.", - "id": "XPSArrayStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "memberStats": { - "$ref": "XPSDataStats", - "description": "Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the element type of the array." - } - }, - "type": "object" - }, - "XPSBatchPredictResponse": { - "id": "XPSBatchPredictResponse", - "properties": { - "exampleSet": { - "$ref": "XPSExampleSet", - "description": "Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend." - } - }, - "type": "object" - }, - "XPSBoundingBoxMetricsEntry": { - "description": "Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.", - "id": "XPSBoundingBoxMetricsEntry", - "properties": { - "confidenceMetricsEntries": { - "description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry" - }, - "type": "array" - }, - "iouThreshold": { - "description": "The intersection-over-union threshold value used to compute this metrics entry.", - "format": "float", - "type": "number" - }, - "meanAveragePrecision": { - "description": "The mean average precision.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "f1Score": { - "description": "The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Recall for the given confidence threshold.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSCategoryStats": { - "description": "The data statistics of a series of CATEGORY values.", - "id": "XPSCategoryStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "topCategoryStats": { - "description": "The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count.", - "items": { - "$ref": "XPSCategoryStatsSingleCategoryStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSCategoryStatsSingleCategoryStats": { - "description": "The statistics of a single CATEGORY value.", - "id": "XPSCategoryStatsSingleCategoryStats", - "properties": { - "count": { - "description": "The number of occurrences of this value in the series.", - "format": "int64", - "type": "string" - }, - "value": { - "description": "The CATEGORY value.", - "type": "string" - } - }, - "type": "object" - }, - "XPSClassificationEvaluationMetrics": { - "description": "Model evaluation metrics for classification problems. It can be used for image and video classification. Next tag: 9.", - "id": "XPSClassificationEvaluationMetrics", - "properties": { - "auPrc": { - "description": "The Area under precision recall curve metric.", - "format": "float", - "type": "number" - }, - "auRoc": { - "description": "The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.", - "format": "float", - "type": "number" - }, - "baseAuPrc": { - "description": "The Area under precision recall curve metric based on priors.", - "format": "float", - "type": "number" - }, - "confidenceMetricsEntries": { - "description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", - "items": { - "$ref": "XPSConfidenceMetricsEntry" - }, - "type": "array" - }, - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label." - }, - "evaluatedExamplesCount": { - "description": "The number of examples used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "logLoss": { - "description": "The Log Loss metric.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSColorMap": { - "description": "Map from color to display name. Will only be used by Image Segmentation for uCAIP.", - "id": "XPSColorMap", - "properties": { - "annotationSpecIdToken": { - "description": "Should be used during training.", - "type": "string" - }, - "color": { - "$ref": "Color", - "deprecated": true, - "description": "This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used." - }, - "displayName": { - "description": "Should be used during preprocessing.", - "type": "string" - }, - "intColor": { - "$ref": "XPSColorMapIntColor" - } - }, - "type": "object" - }, - "XPSColorMapIntColor": { - "description": "RGB color and each channel is represented by an integer.", - "id": "XPSColorMapIntColor", - "properties": { - "blue": { - "description": "The value should be in range of [0, 255].", - "format": "int32", - "type": "integer" - }, - "green": { - "description": "The value should be in range of [0, 255].", - "format": "int32", - "type": "integer" - }, - "red": { - "description": "The value should be in range of [0, 255].", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSColumnSpec": { - "id": "XPSColumnSpec", - "properties": { - "columnId": { - "description": "The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the last column. AutoML BE will persist this order id in Spanner and set the order id here when calling RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE.", - "format": "int32", - "type": "integer" - }, - "dataStats": { - "$ref": "XPSDataStats", - "description": "The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train." - }, - "dataType": { - "$ref": "XPSDataType", - "description": "The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and Train." - }, - "displayName": { - "description": "The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and Train.", - "type": "string" - }, - "forecastingMetadata": { - "$ref": "XPSColumnSpecForecastingMetadata" - }, - "topCorrelatedColumns": { - "description": "It's outputed in RefreshTablesStats, and a required input in Train.", - "items": { - "$ref": "XPSColumnSpecCorrelatedColumn" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSColumnSpecCorrelatedColumn": { - "description": "Identifies a table's column, and its correlation with the column this ColumnSpec describes.", - "id": "XPSColumnSpecCorrelatedColumn", - "properties": { - "columnId": { - "format": "int32", - "type": "integer" - }, - "correlationStats": { - "$ref": "XPSCorrelationStats" - } - }, - "type": "object" - }, - "XPSColumnSpecForecastingMetadata": { - "description": "=========================================================================== # The fields below are used exclusively for Forecasting.", - "id": "XPSColumnSpecForecastingMetadata", - "properties": { - "columnType": { - "description": "The type of the column for FORECASTING model training purposes.", - "enum": [ - "COLUMN_TYPE_UNSPECIFIED", - "KEY", - "KEY_METADATA", - "TIME_SERIES_AVAILABLE_PAST_ONLY", - "TIME_SERIES_AVAILABLE_PAST_AND_FUTURE" - ], - "enumDescriptions": [ - "An un-set value of this enum.", - "Key columns are used to identify timeseries.", - "This column contains information describing static properties of the entities identified by the key column(s) (e.g. city's ZIP code).", - "This column contains information for the given entity, at any time poinrt, they are only available in the time series before.", - "This column contains information for the given entity is known both for the past and the sufficiently far future." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSCommonStats": { - "description": "Common statistics for a column with a specified data type.", - "id": "XPSCommonStats", - "properties": { - "distinctValueCount": { - "format": "int64", - "type": "string" - }, - "nullValueCount": { - "format": "int64", - "type": "string" - }, - "validValueCount": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSConfidenceMetricsEntry": { - "description": "ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.", - "id": "XPSConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "Metrics are computed with an assumption that the model never return predictions with score lower than this value.", - "format": "float", - "type": "number" - }, - "f1Score": { - "description": "The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "f1ScoreAt1": { - "description": "The harmonic mean of recall_at1 and precision_at1.", - "format": "float", - "type": "number" - }, - "falseNegativeCount": { - "description": "The number of ground truth labels that are not matched by a model created label.", - "format": "int64", - "type": "string" - }, - "falsePositiveCount": { - "description": "The number of model created labels that do not match a ground truth label.", - "format": "int64", - "type": "string" - }, - "falsePositiveRate": { - "description": "False Positive Rate for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "falsePositiveRateAt1": { - "description": "The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", - "format": "float", - "type": "number" - }, - "positionThreshold": { - "description": "Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.", - "format": "int32", - "type": "integer" - }, - "precision": { - "description": "Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "precisionAt1": { - "description": "The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Recall (true positive rate) for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recallAt1": { - "description": "The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", - "format": "float", - "type": "number" - }, - "trueNegativeCount": { - "description": "The number of labels that were not created by the model, but if they would, they would not match a ground truth label.", - "format": "int64", - "type": "string" - }, - "truePositiveCount": { - "description": "The number of model created labels that match a ground truth label.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSConfusionMatrix": { - "description": "Confusion matrix of the model running the classification.", - "id": "XPSConfusionMatrix", - "properties": { - "annotationSpecIdToken": { - "description": "For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is preferable to be set. ID tokens of the annotation specs used in the confusion matrix.", - "items": { - "type": "string" - }, - "type": "array" - }, - "category": { - "description": "Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation should use annotation_spec_id_token.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "row": { - "description": "Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and are predicted as `annotation_spec_id_token[j]` by the model being evaluated.", - "items": { - "$ref": "XPSConfusionMatrixRow" - }, - "type": "array" - }, - "sentimentLabel": { - "description": "Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, use `annotation_spec_id_token` instead and leave this field empty.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSConfusionMatrixRow": { - "description": "A row in the confusion matrix.", - "id": "XPSConfusionMatrixRow", - "properties": { - "count": { - "description": "Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are embedded inside another message).", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "exampleCount": { - "description": "Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id_token field.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSCoreMlFormat": { - "description": "A model format used for iOS mobile devices.", - "id": "XPSCoreMlFormat", - "properties": {}, - "type": "object" - }, - "XPSCorrelationStats": { - "description": "A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.", - "id": "XPSCorrelationStats", - "properties": { - "cramersV": { - "description": "The correlation value using the Cramer's V measure.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSDataErrors": { - "description": "Different types of errors and the stats associatesd with each error.", - "id": "XPSDataErrors", - "properties": { - "count": { - "description": "Number of records having errors associated with the enum.", - "format": "int32", - "type": "integer" - }, - "errorType": { - "description": "Type of the error.", - "enum": [ - "ERROR_TYPE_UNSPECIFIED", - "UNSUPPORTED_AUDIO_FORMAT", - "FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", - "FILE_TOO_LARGE", - "MISSING_TRANSCRIPTION" - ], - "enumDescriptions": [ - "Not specified.", - "Audio format not in the formats by cloud-speech AutoML. Currently only wav and flac file formats are supported.", - "File format differnt from what is specified in the file name extension.", - "File too large. Maximum allowed size is 50 MB.", - "Transcript is missing." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSDataStats": { - "description": "The data statistics of a series of values that share the same DataType.", - "id": "XPSDataStats", - "properties": { - "arrayStats": { - "$ref": "XPSArrayStats", - "description": "The statistics for ARRAY DataType." - }, - "categoryStats": { - "$ref": "XPSCategoryStats", - "description": "The statistics for CATEGORY DataType." - }, - "distinctValueCount": { - "description": "The number of distinct values.", - "format": "int64", - "type": "string" - }, - "float64Stats": { - "$ref": "XPSFloat64Stats", - "description": "The statistics for FLOAT64 DataType." - }, - "nullValueCount": { - "description": "The number of values that are null.", - "format": "int64", - "type": "string" - }, - "stringStats": { - "$ref": "XPSStringStats", - "description": "The statistics for STRING DataType." - }, - "structStats": { - "$ref": "XPSStructStats", - "description": "The statistics for STRUCT DataType." - }, - "timestampStats": { - "$ref": "XPSTimestampStats", - "description": "The statistics for TIMESTAMP DataType." - }, - "validValueCount": { - "description": "The number of values that are valid.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSDataType": { - "description": "Indicated the type of data that can be stored in a structured data entity (e.g. a table).", - "id": "XPSDataType", - "properties": { - "compatibleDataTypes": { - "description": "The highly compatible data types to this data type.", - "items": { - "$ref": "XPSDataType" - }, - "type": "array" - }, - "listElementType": { - "$ref": "XPSDataType", - "description": "If type_code == ARRAY, then `list_element_type` is the type of the elements." - }, - "nullable": { - "description": "If true, this DataType can also be `null`.", - "type": "boolean" - }, - "structType": { - "$ref": "XPSStructType", - "description": "If type_code == STRUCT, then `struct_type` provides type information for the struct's fields." - }, - "timeFormat": { - "description": "If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The time_format must be written in `strftime` syntax. If time_format is not set, then the default format as described on the field is used.", - "type": "string" - }, - "typeCode": { - "description": "Required. The TypeCode for this type.", - "enum": [ - "TYPE_CODE_UNSPECIFIED", - "FLOAT64", - "TIMESTAMP", - "STRING", - "ARRAY", - "STRUCT", - "CATEGORY" - ], - "enumDescriptions": [ - "Not specified. Should not be used.", - "Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", - "Must be between 0AD and 9999AD. Encoded as `string` according to time_format, or, if that format is not set, then in RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z).", - "Encoded as `string`.", - "Encoded as `list`, where the list elements are represented according to list_element_type.", - "Encoded as `struct`, where field values are represented according to struct_type.", - "Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as `string` (bytes should be base64-encoded, as described in RFC 4648, section 4)." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSDockerFormat": { - "description": "A model format used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system.", - "id": "XPSDockerFormat", - "properties": { - "cpuArchitecture": { - "description": "Optional. Additional cpu information describing the requirements for the to be exported model files.", - "enum": [ - "CPU_ARCHITECTURE_UNSPECIFIED", - "CPU_ARCHITECTURE_X86_64" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "gpuArchitecture": { - "description": "Optional. Additional gpu information describing the requirements for the to be exported model files.", - "enum": [ - "GPU_ARCHITECTURE_UNSPECIFIED", - "GPU_ARCHITECTURE_NVIDIA" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSEdgeTpuTfLiteFormat": { - "description": "A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", - "id": "XPSEdgeTpuTfLiteFormat", - "properties": {}, - "type": "object" - }, - "XPSEvaluationMetrics": { - "description": "Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model overall. Next tag: 18.", - "id": "XPSEvaluationMetrics", - "properties": { - "annotationSpecIdToken": { - "description": "The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where annotation_spec_id_token is not available, set label instead.", - "type": "string" - }, - "category": { - "description": "The integer category label for which this evaluation metric instance had been created. Valid categories are 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation should use annotation_spec_id_token.", - "format": "int32", - "type": "integer" - }, - "evaluatedExampleCount": { - "description": "The number of examples used to create this evaluation metrics instance.", - "format": "int32", - "type": "integer" - }, - "imageClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "imageObjectDetectionEvalMetrics": { - "$ref": "XPSImageObjectDetectionEvaluationMetrics" - }, - "imageSegmentationEvalMetrics": { - "$ref": "XPSImageSegmentationEvaluationMetrics" - }, - "label": { - "description": "The label for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL implementation.", - "type": "string" - }, - "regressionEvalMetrics": { - "$ref": "XPSRegressionEvaluationMetrics" - }, - "tablesClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "tablesEvalMetrics": { - "$ref": "XPSTablesEvaluationMetrics" - }, - "textClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "textExtractionEvalMetrics": { - "$ref": "XPSTextExtractionEvaluationMetrics" - }, - "textSentimentEvalMetrics": { - "$ref": "XPSTextSentimentEvaluationMetrics" - }, - "translationEvalMetrics": { - "$ref": "XPSTranslationEvaluationMetrics" - }, - "videoActionRecognitionEvalMetrics": { - "$ref": "XPSVideoActionRecognitionEvaluationMetrics" - }, - "videoClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "videoObjectTrackingEvalMetrics": { - "$ref": "XPSVideoObjectTrackingEvaluationMetrics" - } - }, - "type": "object" - }, - "XPSEvaluationMetricsSet": { - "description": "Specifies location of model evaluation metrics.", - "id": "XPSEvaluationMetricsSet", - "properties": { - "evaluationMetrics": { - "description": "Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, use file_spec.", - "items": { - "$ref": "XPSEvaluationMetrics" - }, - "type": "array" - }, - "fileSpec": { - "$ref": "XPSFileSpec", - "description": "File spec containing evaluation metrics of a model, must point to RecordIO file(s) of intelligence.cloud.automl.xps.EvaluationMetrics messages." - }, - "numEvaluationMetrics": { - "description": "Number of the evaluation metrics (usually one per label plus overall).", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSExampleSet": { - "description": "Set of examples or input sources.", - "id": "XPSExampleSet", - "properties": { - "fileSpec": { - "$ref": "XPSFileSpec", - "description": "File spec of the examples or input sources." - }, - "fingerprint": { - "description": "Fingerprint of the example set.", - "format": "int64", - "type": "string" - }, - "numExamples": { - "description": "Number of examples.", - "format": "int64", - "type": "string" - }, - "numInputSources": { - "description": "Number of input sources.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSExportModelOutputConfig": { - "id": "XPSExportModelOutputConfig", - "properties": { - "coreMlFormat": { - "$ref": "XPSCoreMlFormat" - }, - "dockerFormat": { - "$ref": "XPSDockerFormat" - }, - "edgeTpuTfLiteFormat": { - "$ref": "XPSEdgeTpuTfLiteFormat" - }, - "exportFirebaseAuxiliaryInfo": { - "description": "For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.", - "type": "boolean" - }, - "outputGcrUri": { - "description": "The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", - "type": "string" - }, - "outputGcsUri": { - "description": "The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory", - "type": "string" - }, - "tfJsFormat": { - "$ref": "XPSTfJsFormat" - }, - "tfLiteFormat": { - "$ref": "XPSTfLiteFormat" - }, - "tfSavedModelFormat": { - "$ref": "XPSTfSavedModelFormat" - } - }, - "type": "object" - }, - "XPSFileSpec": { - "description": "Spec of input and output files, on external file systems (CNS, GCS, etc).", - "id": "XPSFileSpec", - "properties": { - "directoryPath": { - "deprecated": true, - "description": "Deprecated. Use file_spec.", - "type": "string" - }, - "fileFormat": { - "enum": [ - "FILE_FORMAT_UNKNOWN", - "FILE_FORMAT_SSTABLE", - "FILE_FORMAT_TRANSLATION_RKV", - "FILE_FORMAT_RECORDIO", - "FILE_FORMAT_RAW_CSV", - "FILE_FORMAT_RAW_CAPACITOR" - ], - "enumDeprecated": [ - false, - true, - false, - false, - false, - false - ], - "enumDescriptions": [ - "", - "", - "Internal format for parallel text data used by Google Translate. go/rkvtools", - "", - "Only the lexicographically first file described by the file_spec contains the header line.", - "" - ], - "type": "string" - }, - "fileSpec": { - "description": "Single file path, or file pattern of format \"/path/to/file@shard_count\". E.g. /cns/cell-d/somewhere/file@2 is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and /cns/cell-d/somewhere/file-00001-of-00002.", - "type": "string" - }, - "singleFilePath": { - "deprecated": true, - "description": "Deprecated. Use file_spec.", - "type": "string" - } - }, - "type": "object" - }, - "XPSFloat64Stats": { - "description": "The data statistics of a series of FLOAT64 values.", - "id": "XPSFloat64Stats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "histogramBuckets": { - "description": "Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being `\"-Infinity\"`, and max of the last one being `\"Infinity\"`.", - "items": { - "$ref": "XPSFloat64StatsHistogramBucket" - }, - "type": "array" - }, - "mean": { - "description": "The mean of the series.", - "format": "double", - "type": "number" - }, - "quantiles": { - "description": "Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.", - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - }, - "standardDeviation": { - "description": "The standard deviation of the series.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSFloat64StatsHistogramBucket": { - "description": "A bucket of a histogram.", - "id": "XPSFloat64StatsHistogramBucket", - "properties": { - "count": { - "description": "The number of data values that are in the bucket, i.e. are between min and max values.", - "format": "int64", - "type": "string" - }, - "max": { - "description": "The maximum value of the bucket, exclusive unless max = `\"Infinity\"`, in which case it's inclusive.", - "format": "double", - "type": "number" - }, - "min": { - "description": "The minimum value of the bucket, inclusive.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSImageClassificationTrainResponse": { - "id": "XPSImageClassificationTrainResponse", - "properties": { - "classCount": { - "description": "Total number of classes.", - "format": "int64", - "type": "string" - }, - "exportModelSpec": { - "$ref": "XPSImageExportModelSpec", - "description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Populated for AutoMl requests." - }, - "modelArtifactSpec": { - "$ref": "XPSImageModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "modelServingSpec": { - "$ref": "XPSImageModelServingSpec" - }, - "stopReason": { - "description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'.", - "enum": [ - "TRAIN_STOP_REASON_UNSPECIFIED", - "TRAIN_STOP_REASON_BUDGET_REACHED", - "TRAIN_STOP_REASON_MODEL_CONVERGED", - "TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" - ], - "enumDescriptions": [ - "", - "", - "Model fully converged, can not be resumbed training.", - "Model early converged, can be further trained till full convergency." - ], - "type": "string" - }, - "trainCostInNodeTime": { - "description": "The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated after GA.", - "format": "google-duration", - "type": "string" - }, - "trainCostNodeSeconds": { - "description": "The actual training cost, expressed in node seconds. Populated for models trained in node time.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageExportModelSpec": { - "description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", - "id": "XPSImageExportModelSpec", - "properties": { - "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", - "items": { - "$ref": "XPSExportModelOutputConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSImageModelArtifactSpec": { - "description": "Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.", - "id": "XPSImageModelArtifactSpec", - "properties": { - "checkpointArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The Tensorflow checkpoint files. e.g. Used for resumable training." - }, - "exportArtifact": { - "description": "The model binary files in different formats for model export.", - "items": { - "$ref": "XPSModelArtifactItem" - }, - "type": "array" - }, - "labelGcsUri": { - "description": "GCS uri of decoded labels file for model export 'dict.txt'.", - "type": "string" - }, - "servingArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." - }, - "tfJsBinaryGcsPrefix": { - "description": "GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.", - "type": "string" - }, - "tfLiteMetadataGcsUri": { - "description": "GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageModelServingSpec": { - "description": "Serving specification for image models.", - "id": "XPSImageModelServingSpec", - "properties": { - "modelThroughputEstimation": { - "description": "Populate under uCAIP request scope.", - "items": { - "$ref": "XPSImageModelServingSpecModelThroughputEstimation" - }, - "type": "array" - }, - "nodeQps": { - "description": "An estimated value of how much traffic a node can serve. Populated for AutoMl request only.", - "format": "double", - "type": "number" - }, - "tfRuntimeVersion": { - "description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageModelServingSpecModelThroughputEstimation": { - "id": "XPSImageModelServingSpecModelThroughputEstimation", - "properties": { - "computeEngineAcceleratorType": { - "enum": [ - "UNSPECIFIED", - "NVIDIA_TESLA_K80", - "NVIDIA_TESLA_P100", - "NVIDIA_TESLA_V100", - "NVIDIA_TESLA_P4", - "NVIDIA_TESLA_T4", - "NVIDIA_TESLA_A100", - "NVIDIA_A100_80GB", - "NVIDIA_L4", - "NVIDIA_H100_80GB", - "TPU_V2", - "TPU_V3", - "TPU_V4_POD", - "TPU_V5_LITEPOD" - ], - "enumDescriptions": [ - "", - "Nvidia Tesla K80 GPU.", - "Nvidia Tesla P100 GPU.", - "Nvidia Tesla V100 GPU.", - "Nvidia Tesla P4 GPU.", - "Nvidia Tesla T4 GPU.", - "Nvidia Tesla A100 GPU.", - "Nvidia A100 80GB GPU.", - "Nvidia L4 GPU.", - "Nvidia H100 80Gb GPU.", - "TPU v2 (JellyFish).", - "TPU v3 (DragonFish).", - "TPU_v4 (PufferFish).", - "TPU v5 Lite Pods." - ], - "type": "string" - }, - "latencyInMilliseconds": { - "description": "Estimated latency.", - "format": "double", - "type": "number" - }, - "nodeQps": { - "description": "The approximate qps a deployed node can serve.", - "format": "double", - "type": "number" - }, - "servomaticPartitionType": { - "enum": [ - "PARTITION_TYPE_UNSPECIFIED", - "PARTITION_ZERO", - "PARTITION_REDUCED_HOMING", - "PARTITION_JELLYFISH", - "PARTITION_CPU", - "PARTITION_CUSTOM_STORAGE_CPU" - ], - "enumDescriptions": [ - "", - "The default partition.", - "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", - "The partition used by regionalized servomatic cloud regions.", - "The partition used for loading models from custom storage." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSImageObjectDetectionEvaluationMetrics": { - "description": "Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.", - "id": "XPSImageObjectDetectionEvaluationMetrics", - "properties": { - "boundingBoxMeanAveragePrecision": { - "description": "The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", - "format": "float", - "type": "number" - }, - "boundingBoxMetricsEntries": { - "description": "The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", - "items": { - "$ref": "XPSBoundingBoxMetricsEntry" - }, - "type": "array" - }, - "evaluatedBoundingBoxCount": { - "description": "The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSImageObjectDetectionModelSpec": { - "id": "XPSImageObjectDetectionModelSpec", - "properties": { - "classCount": { - "description": "Total number of classes.", - "format": "int64", - "type": "string" - }, - "exportModelSpec": { - "$ref": "XPSImageExportModelSpec" - }, - "maxBoundingBoxCount": { - "description": "Max number of bounding box.", - "format": "int64", - "type": "string" - }, - "modelArtifactSpec": { - "$ref": "XPSImageModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "modelServingSpec": { - "$ref": "XPSImageModelServingSpec" - }, - "stopReason": { - "description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", - "enum": [ - "TRAIN_STOP_REASON_UNSPECIFIED", - "TRAIN_STOP_REASON_BUDGET_REACHED", - "TRAIN_STOP_REASON_MODEL_CONVERGED", - "TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" - ], - "enumDescriptions": [ - "", - "", - "Model fully converged, can not be resumbed training.", - "Model early converged, can be further trained till full convergency." - ], - "type": "string" - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageSegmentationEvaluationMetrics": { - "description": "Model evaluation metrics for image segmentation problems. Next tag: 4.", - "id": "XPSImageSegmentationEvaluationMetrics", - "properties": { - "confidenceMetricsEntries": { - "description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", - "items": { - "$ref": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model level evaluation, not for evaluation per label." - }, - "diceScoreCoefficient": { - "description": "DSC or the F1 score: The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "iouScore": { - "description": "IOU score.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Recall for the given confidence threshold.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSImageSegmentationTrainResponse": { - "id": "XPSImageSegmentationTrainResponse", - "properties": { - "colorMaps": { - "description": "Color map of the model.", - "items": { - "$ref": "XPSColorMap" - }, - "type": "array" - }, - "exportModelSpec": { - "$ref": "XPSImageExportModelSpec", - "description": "NOTE: These fields are not used/needed in EAP but will be set later." - }, - "modelArtifactSpec": { - "$ref": "XPSImageModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs pathes and related metadata" - }, - "modelServingSpec": { - "$ref": "XPSImageModelServingSpec" - }, - "stopReason": { - "description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", - "enum": [ - "TRAIN_STOP_REASON_UNSPECIFIED", - "TRAIN_STOP_REASON_BUDGET_REACHED", - "TRAIN_STOP_REASON_MODEL_CONVERGED", - "TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" - ], - "enumDescriptions": [ - "", - "", - "Model fully converged, can not be resumbed training.", - "Model early converged, can be further trained till full convergency." - ], - "type": "string" - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSIntegratedGradientsAttribution": { - "deprecated": true, - "description": "An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", - "id": "XPSIntegratedGradientsAttribution", - "properties": { - "stepCount": { - "description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSMetricEntry": { - "id": "XPSMetricEntry", - "properties": { - "argentumMetricId": { - "description": "For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the \"cloudbilling.googleapis.com/argentum_metric_id\" label. Otherwise leave empty.", - "type": "string" - }, - "doubleValue": { - "description": "A double value.", - "format": "double", - "type": "number" - }, - "int64Value": { - "description": "A signed 64-bit integer value.", - "format": "int64", - "type": "string" - }, - "metricName": { - "description": "The metric name defined in the service configuration.", - "type": "string" - }, - "systemLabels": { - "description": "Billing system labels for this (metric, value) pair.", - "items": { - "$ref": "XPSMetricEntryLabel" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSMetricEntryLabel": { - "id": "XPSMetricEntryLabel", - "properties": { - "labelName": { - "description": "The name of the label.", - "type": "string" - }, - "labelValue": { - "description": "The value of the label.", - "type": "string" - } - }, - "type": "object" - }, - "XPSModelArtifactItem": { - "description": "A single model artifact item.", - "id": "XPSModelArtifactItem", - "properties": { - "artifactFormat": { - "description": "The model artifact format.", - "enum": [ - "ARTIFACT_FORMAT_UNSPECIFIED", - "TF_CHECKPOINT", - "TF_SAVED_MODEL", - "TF_LITE", - "EDGE_TPU_TF_LITE", - "TF_JS", - "CORE_ML" - ], - "enumDescriptions": [ - "Should not be used.", - "The Tensorflow checkpoints. See https://www.tensorflow.org/guide/checkpoint.", - "The Tensorflow SavedModel binary.", - "Model artifact in generic TensorFlow Lite (.tflite) format. See https://www.tensorflow.org/lite.", - "Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", - "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", - "Used for iOS mobile devices in (.mlmodel) format. See https://developer.apple.com/documentation/coreml" - ], - "type": "string" - }, - "gcsUri": { - "description": "The Google Cloud Storage (GCS) uri that stores the model binary files.", - "type": "string" - } - }, - "type": "object" - }, - "XPSPreprocessResponse": { - "description": "Next ID: 8", - "id": "XPSPreprocessResponse", - "properties": { - "outputExampleSet": { - "$ref": "XPSExampleSet", - "description": "Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data." - }, - "speechPreprocessResp": { - "$ref": "XPSSpeechPreprocessResponse" - }, - "tablesPreprocessResponse": { - "$ref": "XPSTablesPreprocessResponse" - }, - "translationPreprocessResp": { - "$ref": "XPSTranslationPreprocessResponse" - } - }, - "type": "object" - }, - "XPSRegressionEvaluationMetrics": { - "description": "Model evaluation metrics for regression problems. It can be used for Tables.", - "id": "XPSRegressionEvaluationMetrics", - "properties": { - "meanAbsoluteError": { - "description": "Mean Absolute Error (MAE).", - "format": "float", - "type": "number" - }, - "meanAbsolutePercentageError": { - "description": "Mean absolute percentage error. Only set if all ground truth values are positive.", - "format": "float", - "type": "number" - }, - "rSquared": { - "description": "R squared.", - "format": "float", - "type": "number" - }, - "regressionMetricsEntries": { - "description": "A list of actual versus predicted points for the model being evaluated.", - "items": { - "$ref": "XPSRegressionMetricsEntry" - }, - "type": "array" - }, - "rootMeanSquaredError": { - "description": "Root Mean Squared Error (RMSE).", - "format": "float", - "type": "number" - }, - "rootMeanSquaredLogError": { - "description": "Root mean squared log error.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSRegressionMetricsEntry": { - "description": "A pair of actual & observed values for the model being evaluated.", - "id": "XPSRegressionMetricsEntry", - "properties": { - "predictedValue": { - "description": "The observed value for a row in the dataset.", - "format": "float", - "type": "number" - }, - "trueValue": { - "description": "The actual target value for a row in the dataset.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSReportingMetrics": { - "id": "XPSReportingMetrics", - "properties": { - "effectiveTrainingDuration": { - "deprecated": true, - "description": "The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set.", - "format": "google-duration", - "type": "string" - }, - "metricEntries": { - "description": "One entry per metric name. The values must be aggregated per metric name.", - "items": { - "$ref": "XPSMetricEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSResponseExplanationMetadata": { - "deprecated": true, - "id": "XPSResponseExplanationMetadata", - "properties": { - "inputs": { - "additionalProperties": { - "$ref": "XPSResponseExplanationMetadataInputMetadata" - }, - "description": "Metadata of the input.", - "type": "object" - }, - "outputs": { - "additionalProperties": { - "$ref": "XPSResponseExplanationMetadataOutputMetadata" - }, - "description": "Metadata of the output.", - "type": "object" - } - }, - "type": "object" - }, - "XPSResponseExplanationMetadataInputMetadata": { - "description": "Metadata of the input of a feature.", - "id": "XPSResponseExplanationMetadataInputMetadata", - "properties": { - "inputTensorName": { - "description": "Name of the input tensor for this model. Only needed in train response.", - "type": "string" - }, - "modality": { - "description": "Modality of the feature. Valid values are: numeric, image. Defaults to numeric.", - "enum": [ - "MODALITY_UNSPECIFIED", - "NUMERIC", - "IMAGE", - "CATEGORICAL" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "visualizationConfig": { - "$ref": "XPSVisualization", - "description": "Visualization configurations for image explanation." - } - }, - "type": "object" - }, - "XPSResponseExplanationMetadataOutputMetadata": { - "description": "Metadata of the prediction output to be explained.", - "id": "XPSResponseExplanationMetadataOutputMetadata", - "properties": { - "outputTensorName": { - "description": "Name of the output tensor. Only needed in train response.", - "type": "string" - } - }, - "type": "object" - }, - "XPSResponseExplanationParameters": { - "deprecated": true, - "id": "XPSResponseExplanationParameters", - "properties": { - "integratedGradientsAttribution": { - "$ref": "XPSIntegratedGradientsAttribution", - "description": "An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" - }, - "xraiAttribution": { - "$ref": "XPSXraiAttribution", - "description": "An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead." - } - }, - "type": "object" - }, - "XPSResponseExplanationSpec": { - "deprecated": true, - "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context.", - "id": "XPSResponseExplanationSpec", - "properties": { - "explanationType": { - "description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", - "type": "string" - }, - "metadata": { - "$ref": "XPSResponseExplanationMetadata", - "description": "Metadata describing the Model's input and output for explanation." - }, - "parameters": { - "$ref": "XPSResponseExplanationParameters", - "description": "Parameters that configure explaining of the Model's predictions." - } - }, - "type": "object" - }, - "XPSRow": { - "id": "XPSRow", - "properties": { - "columnIds": { - "description": "The ids of the columns. Note: The below `values` field must match order of this field, if this field is set.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "values": { - "description": "The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in the same order as the input_feature_column_ids in TablesModelMetadata.", - "items": { - "type": "any" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSSpeechEvaluationMetrics": { - "id": "XPSSpeechEvaluationMetrics", - "properties": { - "subModelEvaluationMetrics": { - "description": "Evaluation metrics for all submodels contained in this model.", - "items": { - "$ref": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSSpeechEvaluationMetricsSubModelEvaluationMetric": { - "id": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric", - "properties": { - "biasingModelType": { - "description": "Type of the biasing model.", - "enum": [ - "BIASING_MODEL_TYPE_UNSPECIFIED", - "COMMAND_AND_SEARCH", - "PHONE_CALL", - "VIDEO", - "DEFAULT" - ], - "enumDescriptions": [ - "", - "Build biasing model on top of COMMAND_AND_SEARCH model", - "Build biasing model on top of PHONE_CALL model", - "Build biasing model on top of VIDEO model", - "Build biasing model on top of DEFAULT model" - ], - "type": "string" - }, - "isEnhancedModel": { - "description": "If true then it means we have an enhanced version of the biasing models.", - "type": "boolean" - }, - "numDeletions": { - "format": "int32", - "type": "integer" - }, - "numInsertions": { - "format": "int32", - "type": "integer" - }, - "numSubstitutions": { - "format": "int32", - "type": "integer" - }, - "numUtterances": { - "description": "Number of utterances used in the wer computation.", - "format": "int32", - "type": "integer" - }, - "numWords": { - "description": "Number of words over which the word error rate was computed.", - "format": "int32", - "type": "integer" - }, - "sentenceAccuracy": { - "description": "Below fields are used for debugging purposes", - "format": "double", - "type": "number" - }, - "wer": { - "description": "Word error rate (standard error metric used for speech recognition).", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSSpeechModelSpec": { - "id": "XPSSpeechModelSpec", - "properties": { - "datasetId": { - "description": "Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so that speech API can query the db directly.", - "format": "int64", - "type": "string" - }, - "language": { - "type": "string" - }, - "subModelSpecs": { - "description": "Model specs for all submodels contained in this model.", - "items": { - "$ref": "XPSSpeechModelSpecSubModelSpec" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSSpeechModelSpecSubModelSpec": { - "id": "XPSSpeechModelSpecSubModelSpec", - "properties": { - "biasingModelType": { - "description": "Type of the biasing model.", - "enum": [ - "BIASING_MODEL_TYPE_UNSPECIFIED", - "COMMAND_AND_SEARCH", - "PHONE_CALL", - "VIDEO", - "DEFAULT" - ], - "enumDescriptions": [ - "", - "Build biasing model on top of COMMAND_AND_SEARCH model", - "Build biasing model on top of PHONE_CALL model", - "Build biasing model on top of VIDEO model", - "Build biasing model on top of DEFAULT model" - ], - "type": "string" - }, - "clientId": { - "description": "In S3, Recognition ClientContextId.client_id", - "type": "string" - }, - "contextId": { - "description": "In S3, Recognition ClientContextId.context_id", - "type": "string" - }, - "isEnhancedModel": { - "description": "If true then it means we have an enhanced version of the biasing models.", - "type": "boolean" - } - }, - "type": "object" - }, - "XPSSpeechPreprocessResponse": { - "id": "XPSSpeechPreprocessResponse", - "properties": { - "cnsTestDataPath": { - "description": "Location od shards of sstables (test data) of DataUtterance protos.", - "type": "string" - }, - "cnsTrainDataPath": { - "description": "Location of shards of sstables (training data) of DataUtterance protos.", - "type": "string" - }, - "prebuiltModelEvaluationMetrics": { - "$ref": "XPSSpeechEvaluationMetrics", - "description": "The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models stored in the AutoML." - }, - "speechPreprocessStats": { - "$ref": "XPSSpeechPreprocessStats", - "description": "Stats associated with the data." - } - }, - "type": "object" - }, - "XPSSpeechPreprocessStats": { - "id": "XPSSpeechPreprocessStats", - "properties": { - "dataErrors": { - "description": "Different types of data errors and the counts associated with them.", - "items": { - "$ref": "XPSDataErrors" - }, - "type": "array" - }, - "numHumanLabeledExamples": { - "description": "The number of rows marked HUMAN_LABELLED", - "format": "int32", - "type": "integer" - }, - "numLogsExamples": { - "description": "The number of samples found in the previously recorded logs data.", - "format": "int32", - "type": "integer" - }, - "numMachineTranscribedExamples": { - "description": "The number of rows marked as MACHINE_TRANSCRIBED", - "format": "int32", - "type": "integer" - }, - "testExamplesCount": { - "description": "The number of examples labelled as TEST by Speech xps server.", - "format": "int32", - "type": "integer" - }, - "testSentencesCount": { - "description": "The number of sentences in the test data set.", - "format": "int32", - "type": "integer" - }, - "testWordsCount": { - "description": "The number of words in the test data set.", - "format": "int32", - "type": "integer" - }, - "trainExamplesCount": { - "description": "The number of examples labeled as TRAIN by Speech xps server.", - "format": "int32", - "type": "integer" - }, - "trainSentencesCount": { - "description": "The number of sentences in the training data set.", - "format": "int32", - "type": "integer" - }, - "trainWordsCount": { - "description": "The number of words in the training data set.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSStringStats": { - "description": "The data statistics of a series of STRING values.", - "id": "XPSStringStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "topUnigramStats": { - "description": "The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count.", - "items": { - "$ref": "XPSStringStatsUnigramStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSStringStatsUnigramStats": { - "description": "The statistics of a unigram.", - "id": "XPSStringStatsUnigramStats", - "properties": { - "count": { - "description": "The number of occurrences of this unigram in the series.", - "format": "int64", - "type": "string" - }, - "value": { - "description": "The unigram.", - "type": "string" - } - }, - "type": "object" - }, - "XPSStructStats": { - "description": "The data statistics of a series of STRUCT values.", - "id": "XPSStructStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "fieldStats": { - "additionalProperties": { - "$ref": "XPSDataStats" - }, - "description": "Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.", - "type": "object" - } - }, - "type": "object" - }, - "XPSStructType": { - "description": "`StructType` defines the DataType-s of a STRUCT type.", - "id": "XPSStructType", - "properties": { - "fields": { - "additionalProperties": { - "$ref": "XPSDataType" - }, - "description": "Unordered map of struct field names to their data types.", - "type": "object" - } - }, - "type": "object" - }, - "XPSTableSpec": { - "id": "XPSTableSpec", - "properties": { - "columnSpecs": { - "additionalProperties": { - "$ref": "XPSColumnSpec" - }, - "description": "Mapping from column id to column spec.", - "type": "object" - }, - "importedDataSizeInBytes": { - "description": "The total size of imported data of the table.", - "format": "int64", - "type": "string" - }, - "rowCount": { - "description": "The number of rows in the table.", - "format": "int64", - "type": "string" - }, - "timeColumnId": { - "description": "The id of the time column.", - "format": "int32", - "type": "integer" - }, - "validRowCount": { - "description": "The number of valid rows.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesClassificationMetrics": { - "description": "Metrics for Tables classification problems.", - "id": "XPSTablesClassificationMetrics", - "properties": { - "curveMetrics": { - "description": "Metrics building a curve.", - "items": { - "$ref": "XPSTablesClassificationMetricsCurveMetrics" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTablesClassificationMetricsCurveMetrics": { - "description": "Metrics curve data point for a single value.", - "id": "XPSTablesClassificationMetricsCurveMetrics", - "properties": { - "aucPr": { - "description": "The area under the precision-recall curve.", - "format": "double", - "type": "number" - }, - "aucRoc": { - "description": "The area under receiver operating characteristic curve.", - "format": "double", - "type": "number" - }, - "confidenceMetricsEntries": { - "description": "Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them.", - "items": { - "$ref": "XPSTablesConfidenceMetricsEntry" - }, - "type": "array" - }, - "logLoss": { - "description": "The Log loss metric.", - "format": "double", - "type": "number" - }, - "positionThreshold": { - "description": "The position threshold value used to compute the metrics.", - "format": "int32", - "type": "integer" - }, - "value": { - "description": "The CATEGORY row value (for ARRAY unnested) the curve metrics are for.", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSTablesConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "The confidence threshold value used to compute the metrics.", - "format": "double", - "type": "number" - }, - "f1Score": { - "description": "The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall)", - "format": "double", - "type": "number" - }, - "falseNegativeCount": { - "description": "False negative count.", - "format": "int64", - "type": "string" - }, - "falsePositiveCount": { - "description": "False positive count.", - "format": "int64", - "type": "string" - }, - "falsePositiveRate": { - "description": "FPR = #false positives / (#false positives + #true negatives)", - "format": "double", - "type": "number" - }, - "precision": { - "description": "Precision = #true positives / (#true positives + #false positives).", - "format": "double", - "type": "number" - }, - "recall": { - "description": "Recall = #true positives / (#true positives + #false negatives).", - "format": "double", - "type": "number" - }, - "trueNegativeCount": { - "description": "True negative count.", - "format": "int64", - "type": "string" - }, - "truePositiveCount": { - "description": "True positive count.", - "format": "int64", - "type": "string" - }, - "truePositiveRate": { - "description": "TPR = #true positives / (#true positives + #false negatvies)", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSTablesDatasetMetadata": { - "description": "Metadata for a dataset used for AutoML Tables. Next ID: 6", - "id": "XPSTablesDatasetMetadata", - "properties": { - "mlUseColumnId": { - "description": "Id the column to split the table.", - "format": "int32", - "type": "integer" - }, - "primaryTableSpec": { - "$ref": "XPSTableSpec", - "description": "Primary table." - }, - "targetColumnCorrelations": { - "additionalProperties": { - "$ref": "XPSCorrelationStats" - }, - "description": "(the column id : its CorrelationStats with target column).", - "type": "object" - }, - "targetColumnId": { - "description": "Id of the primary table column that should be used as the training label.", - "format": "int32", - "type": "integer" - }, - "weightColumnId": { - "description": "Id of the primary table column that should be used as the weight column.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSTablesEvaluationMetrics": { - "id": "XPSTablesEvaluationMetrics", - "properties": { - "classificationMetrics": { - "$ref": "XPSTablesClassificationMetrics", - "description": "Classification metrics." - }, - "regressionMetrics": { - "$ref": "XPSTablesRegressionMetrics", - "description": "Regression metrics." - } - }, - "type": "object" - }, - "XPSTablesModelColumnInfo": { - "description": "An information specific to given column and Tables Model, in context of the Model and the predictions created by it.", - "id": "XPSTablesModelColumnInfo", - "properties": { - "columnId": { - "description": "The ID of the column.", - "format": "int32", - "type": "integer" - }, - "featureImportance": { - "description": "When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1. When given back by Predict or Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTablesModelStructure": { - "description": "A description of Tables model structure.", - "id": "XPSTablesModelStructure", - "properties": { - "modelParameters": { - "description": "A list of models.", - "items": { - "$ref": "XPSTablesModelStructureModelParameters" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTablesModelStructureModelParameters": { - "description": "Model hyper-parameters for a model.", - "id": "XPSTablesModelStructureModelParameters", - "properties": { - "hyperparameters": { - "items": { - "$ref": "XPSTablesModelStructureModelParametersParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTablesModelStructureModelParametersParameter": { - "id": "XPSTablesModelStructureModelParametersParameter", - "properties": { - "floatValue": { - "description": "Float type parameter value.", - "format": "double", - "type": "number" - }, - "intValue": { - "description": "Integer type parameter value.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Parameter name.", - "type": "string" - }, - "stringValue": { - "description": "String type parameter value.", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesPreprocessResponse": { - "id": "XPSTablesPreprocessResponse", - "properties": { - "tablesDatasetMetadata": { - "$ref": "XPSTablesDatasetMetadata", - "description": "The table/column id, column_name and the DataTypes of the columns will be populated." - } - }, - "type": "object" - }, - "XPSTablesRegressionMetrics": { - "description": "Metrics for Tables regression problems.", - "id": "XPSTablesRegressionMetrics", - "properties": { - "meanAbsoluteError": { - "description": "Mean absolute error.", - "format": "double", - "type": "number" - }, - "meanAbsolutePercentageError": { - "description": "Mean absolute percentage error, only set if all of the target column's values are positive.", - "format": "double", - "type": "number" - }, - "rSquared": { - "description": "R squared.", - "format": "double", - "type": "number" - }, - "regressionMetricsEntries": { - "description": "A list of actual versus predicted points for the model being evaluated.", - "items": { - "$ref": "XPSRegressionMetricsEntry" - }, - "type": "array" - }, - "rootMeanSquaredError": { - "description": "Root mean squared error.", - "format": "double", - "type": "number" - }, - "rootMeanSquaredLogError": { - "description": "Root mean squared log error.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSTablesTrainResponse": { - "id": "XPSTablesTrainResponse", - "properties": { - "modelStructure": { - "$ref": "XPSTablesModelStructure" - }, - "predictionSampleRows": { - "description": "Sample rows from the dataset this model was trained.", - "items": { - "$ref": "XPSRow" - }, - "type": "array" - }, - "tablesModelColumnInfo": { - "description": "Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this particular model.", - "items": { - "$ref": "XPSTablesModelColumnInfo" - }, - "type": "array" - }, - "trainCostMilliNodeHours": { - "description": "The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesTrainingOperationMetadata": { - "id": "XPSTablesTrainingOperationMetadata", - "properties": { - "createModelStage": { - "description": "Current stage of creating model.", - "enum": [ - "CREATE_MODEL_STAGE_UNSPECIFIED", - "DATA_PREPROCESSING", - "TRAINING", - "EVALUATING", - "MODEL_POST_PROCESSING" - ], - "enumDescriptions": [ - "Unspecified stage.", - "Prepare the model training pipeline and run data processing.", - "Training model.", - "Run evaluation.", - "Finalizing model training pipeline." - ], - "type": "string" - }, - "optimizationObjective": { - "description": "The optimization objective for model.", - "type": "string" - }, - "topTrials": { - "description": "This field is for training. When the operation is terminated successfully, AutoML Backend post this field to operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to be a failure.", - "items": { - "$ref": "XPSTuningTrial" - }, - "type": "array" - }, - "trainBudgetMilliNodeHours": { - "description": "Creating model budget.", - "format": "int64", - "type": "string" - }, - "trainingObjectivePoints": { - "description": "This field records the training objective value with respect to time, giving insight into how the model architecture search is performing as training time elapses.", - "items": { - "$ref": "XPSTrainingObjectivePoint" - }, - "type": "array" - }, - "trainingStartTime": { - "description": "Timestamp when training process starts.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "XPSTextComponentModel": { - "description": "Component model. Next ID: 10", - "id": "XPSTextComponentModel", - "properties": { - "batchPredictionModelGcsUri": { - "description": "The Cloud Storage resource path to hold batch prediction model.", - "type": "string" - }, - "onlinePredictionModelGcsUri": { - "description": "The Cloud Storage resource path to hold online prediction model.", - "type": "string" - }, - "partition": { - "description": "The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest.", - "enum": [ - "PARTITION_TYPE_UNSPECIFIED", - "PARTITION_ZERO", - "PARTITION_REDUCED_HOMING", - "PARTITION_JELLYFISH", - "PARTITION_CPU", - "PARTITION_CUSTOM_STORAGE_CPU" - ], - "enumDescriptions": [ - "", - "The default partition.", - "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", - "The partition used by regionalized servomatic cloud regions.", - "The partition used for loading models from custom storage." - ], - "type": "string" - }, - "servingArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai Platform API." - }, - "servoModelName": { - "description": "The name of servo model. Populated by uCAIP BE as part of online PredictRequest.", - "type": "string" - }, - "submodelName": { - "description": "The name of the trained NL submodel.", - "type": "string" - }, - "submodelType": { - "description": "The type of trained NL submodel", - "enum": [ - "TEXT_MODEL_TYPE_UNSPECIFIED", - "TEXT_MODEL_TYPE_DEFAULT", - "TEXT_MODEL_TYPE_META_ARCHITECT", - "TEXT_MODEL_TYPE_ATC", - "TEXT_MODEL_TYPE_CLARA2", - "TEXT_MODEL_TYPE_CHATBASE", - "TEXT_MODEL_TYPE_SAFT_SPAN_LABELING", - "TEXT_MODEL_TYPE_TEXT_EXTRACTION", - "TEXT_MODEL_TYPE_RELATIONSHIP_EXTRACTION", - "TEXT_MODEL_TYPE_COMPOSITE", - "TEXT_MODEL_TYPE_ALL_MODELS", - "TEXT_MODEL_TYPE_BERT", - "TEXT_MODEL_TYPE_ENC_PALM" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "Model type for entity extraction.", - "Model type for relationship extraction.", - "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model. Please refer to go/cnl-composite-models for more information.", - "Model type used to train default, MA, and ATC models in a single batch worker pipeline.", - "BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", - "Model type for EncPaLM." - ], - "type": "string" - }, - "tfRuntimeVersion": { - "description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", - "type": "string" - }, - "versionNumber": { - "description": "The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTextExtractionEvaluationMetrics": { - "id": "XPSTextExtractionEvaluationMetrics", - "properties": { - "bestF1ConfidenceMetrics": { - "$ref": "XPSConfidenceMetricsEntry", - "deprecated": true, - "description": "Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, precision, and f1_score will be set." - }, - "confidenceMetricsEntries": { - "description": "If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies to that label.", - "items": { - "$ref": "XPSConfidenceMetricsEntry" - }, - "type": "array" - }, - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model evaluation, not for evaluation per label." - }, - "perLabelConfidenceMetrics": { - "additionalProperties": { - "$ref": "XPSConfidenceMetricsEntry" - }, - "deprecated": true, - "description": "Only recall, precision, and f1_score will be set.", - "type": "object" - } - }, - "type": "object" - }, - "XPSTextSentimentEvaluationMetrics": { - "description": "Model evaluation metrics for text sentiment problems.", - "id": "XPSTextSentimentEvaluationMetrics", - "properties": { - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec." - }, - "f1Score": { - "description": "Output only. The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "linearKappa": { - "description": "Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "meanAbsoluteError": { - "description": "Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "meanSquaredError": { - "description": "Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Output only. Precision.", - "format": "float", - "type": "number" - }, - "quadraticKappa": { - "description": "Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Output only. Recall.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTextToSpeechTrainResponse": { - "description": "TextToSpeech train response", - "id": "XPSTextToSpeechTrainResponse", - "properties": {}, - "type": "object" - }, - "XPSTextTrainResponse": { - "id": "XPSTextTrainResponse", - "properties": { - "componentModel": { - "description": "Component submodels.", - "items": { - "$ref": "XPSTextComponentModel" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTfJsFormat": { - "description": "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", - "id": "XPSTfJsFormat", - "properties": {}, - "type": "object" - }, - "XPSTfLiteFormat": { - "description": "LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite.", - "id": "XPSTfLiteFormat", - "properties": {}, - "type": "object" - }, - "XPSTfSavedModelFormat": { - "description": "A tensorflow model format in SavedModel format.", - "id": "XPSTfSavedModelFormat", - "properties": {}, - "type": "object" - }, - "XPSTimestampStats": { - "description": "The data statistics of a series of TIMESTAMP values.", - "id": "XPSTimestampStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "granularStats": { - "additionalProperties": { - "$ref": "XPSTimestampStatsGranularStats" - }, - "description": "The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).", - "type": "object" - }, - "medianTimestampNanos": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTimestampStatsGranularStats": { - "description": "Stats split by a defined in context granularity.", - "id": "XPSTimestampStatsGranularStats", - "properties": { - "buckets": { - "additionalProperties": { - "format": "int64", - "type": "string" - }, - "description": "A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).", - "type": "object" - } - }, - "type": "object" - }, - "XPSTrackMetricsEntry": { - "description": "Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. Next tag: 6.", - "id": "XPSTrackMetricsEntry", - "properties": { - "confidenceMetricsEntries": { - "description": "Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", - "items": { - "$ref": "XPSTrackMetricsEntryConfidenceMetricsEntry" - }, - "type": "array" - }, - "iouThreshold": { - "description": "Output only. The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry.", - "format": "float", - "type": "number" - }, - "meanBoundingBoxIou": { - "description": "Output only. The mean bounding box iou over all confidence thresholds.", - "format": "float", - "type": "number" - }, - "meanMismatchRate": { - "description": "Output only. The mean mismatch rate over all confidence thresholds.", - "format": "float", - "type": "number" - }, - "meanTrackingAveragePrecision": { - "description": "Output only. The mean average precision over all confidence thresholds.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTrackMetricsEntryConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold. Next tag: 6.", - "id": "XPSTrackMetricsEntryConfidenceMetricsEntry", - "properties": { - "boundingBoxIou": { - "description": "Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold).", - "format": "float", - "type": "number" - }, - "confidenceThreshold": { - "description": "Output only. The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "mismatchRate": { - "description": "Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity.", - "format": "float", - "type": "number" - }, - "trackingPrecision": { - "description": "Output only. Tracking precision.", - "format": "float", - "type": "number" - }, - "trackingRecall": { - "description": "Output only. Tracking recall.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTrainResponse": { - "description": "Next ID: 18", - "id": "XPSTrainResponse", - "properties": { - "deployedModelSizeBytes": { - "description": "Estimated model size in bytes once deployed.", - "format": "int64", - "type": "string" - }, - "errorAnalysisConfigs": { - "description": "Optional vision model error analysis configuration. The field is set when model error analysis is enabled in the training request. The results of error analysis will be binded together with evaluation results (in the format of AnnotatedExample).", - "items": { - "$ref": "XPSVisionErrorAnalysisConfig" - }, - "type": "array" - }, - "evaluatedExampleSet": { - "$ref": "XPSExampleSet", - "description": "Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and annotations predicted by the model must be set. The example payload can and is recommended to be omitted." - }, - "evaluationMetricsSet": { - "$ref": "XPSEvaluationMetricsSet", - "description": "The trained model evaluation metrics. This can be optionally returned." - }, - "explanationConfigs": { - "deprecated": true, - "description": "VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request.", - "items": { - "$ref": "XPSResponseExplanationSpec" - }, - "type": "array" - }, - "imageClassificationTrainResp": { - "$ref": "XPSImageClassificationTrainResponse" - }, - "imageObjectDetectionTrainResp": { - "$ref": "XPSImageObjectDetectionModelSpec" - }, - "imageSegmentationTrainResp": { - "$ref": "XPSImageSegmentationTrainResponse" - }, - "modelToken": { - "description": "Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other xPS APIs to refer to the model.", - "format": "byte", - "type": "string" - }, - "speechTrainResp": { - "$ref": "XPSSpeechModelSpec" - }, - "tablesTrainResp": { - "$ref": "XPSTablesTrainResponse" - }, - "textToSpeechTrainResp": { - "$ref": "XPSTextToSpeechTrainResponse" - }, - "textTrainResp": { - "$ref": "XPSTextTrainResponse", - "description": "Will only be needed for uCAIP from Beta." - }, - "translationTrainResp": { - "$ref": "XPSTranslationTrainResponse" - }, - "videoActionRecognitionTrainResp": { - "$ref": "XPSVideoActionRecognitionTrainResponse" - }, - "videoClassificationTrainResp": { - "$ref": "XPSVideoClassificationTrainResponse" - }, - "videoObjectTrackingTrainResp": { - "$ref": "XPSVideoObjectTrackingTrainResponse" - } - }, - "type": "object" - }, - "XPSTrainingObjectivePoint": { - "id": "XPSTrainingObjectivePoint", - "properties": { - "createTime": { - "description": "The time at which this point was recorded.", - "format": "google-datetime", - "type": "string" - }, - "value": { - "description": "The objective value when this point was recorded.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTranslationEvaluationMetrics": { - "description": "Evaluation metrics for the dataset.", - "id": "XPSTranslationEvaluationMetrics", - "properties": { - "baseBleuScore": { - "description": "BLEU score for base model.", - "format": "double", - "type": "number" - }, - "bleuScore": { - "description": "BLEU score.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSTranslationPreprocessResponse": { - "description": "Translation preprocess response.", - "id": "XPSTranslationPreprocessResponse", - "properties": { - "parsedExampleCount": { - "description": "Total example count parsed.", - "format": "int64", - "type": "string" - }, - "validExampleCount": { - "description": "Total valid example count.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTranslationTrainResponse": { - "description": "Train response for translation.", - "id": "XPSTranslationTrainResponse", - "properties": { - "modelType": { - "description": "Type of the model.", - "enum": [ - "MODEL_TYPE_UNSPECIFIED", - "LEGACY", - "CURRENT" - ], - "enumDescriptions": [ - "Default", - "Legacy model. Will be deprecated.", - "Current model." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSTuningTrial": { - "description": "Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users.", - "id": "XPSTuningTrial", - "properties": { - "modelStructure": { - "$ref": "XPSTablesModelStructure", - "description": "Model parameters for the trial." - }, - "trainingObjectivePoint": { - "$ref": "XPSTrainingObjectivePoint", - "description": "The optimization objective evaluation of the eval split data." - } - }, - "type": "object" - }, - "XPSVideoActionMetricsEntry": { - "description": "The Evaluation metrics entry given a specific precision_window_length.", - "id": "XPSVideoActionMetricsEntry", - "properties": { - "confidenceMetricsEntries": { - "description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSVideoActionMetricsEntryConfidenceMetricsEntry" - }, - "type": "array" - }, - "meanAveragePrecision": { - "description": "The mean average precision.", - "format": "float", - "type": "number" - }, - "precisionWindowLength": { - "description": "This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's timestamp is inside the time window whose center is the ground truth action's timestamp with this specific length, the prediction result is treated as a true positive.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoActionMetricsEntryConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSVideoActionMetricsEntryConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "Output only. The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "f1Score": { - "description": "Output only. The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Output only. Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Output only. Recall for the given confidence threshold.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSVideoActionRecognitionEvaluationMetrics": { - "description": "Model evaluation metrics for video action recognition.", - "id": "XPSVideoActionRecognitionEvaluationMetrics", - "properties": { - "evaluatedActionCount": { - "description": "Output only. The number of ground truth actions used to create this evaluation.", - "format": "int32", - "type": "integer" - }, - "videoActionMetricsEntries": { - "description": "Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s.", - "items": { - "$ref": "XPSVideoActionMetricsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoActionRecognitionTrainResponse": { - "id": "XPSVideoActionRecognitionTrainResponse", - "properties": { - "modelArtifactSpec": { - "$ref": "XPSVideoModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoBatchPredictOperationMetadata": { - "id": "XPSVideoBatchPredictOperationMetadata", - "properties": { - "outputExamples": { - "description": "All the partial batch prediction results that are completed at the moment. Output examples are sorted by completion time. The order will not be changed. Each output example should be the path of a single RecordIO file of AnnotatedExamples.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoClassificationTrainResponse": { - "id": "XPSVideoClassificationTrainResponse", - "properties": { - "modelArtifactSpec": { - "$ref": "XPSVideoModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoExportModelSpec": { - "description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", - "id": "XPSVideoExportModelSpec", - "properties": { - "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", - "items": { - "$ref": "XPSExportModelOutputConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoModelArtifactSpec": { - "id": "XPSVideoModelArtifactSpec", - "properties": { - "exportArtifact": { - "description": "The model binary files in different formats for model export.", - "items": { - "$ref": "XPSModelArtifactItem" - }, - "type": "array" - }, - "servingArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API." - } - }, - "type": "object" - }, - "XPSVideoObjectTrackingEvaluationMetrics": { - "description": "Model evaluation metrics for ObjectTracking problems. Next tag: 10.", - "id": "XPSVideoObjectTrackingEvaluationMetrics", - "properties": { - "boundingBoxMeanAveragePrecision": { - "description": "Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", - "format": "float", - "type": "number" - }, - "boundingBoxMetricsEntries": { - "description": "Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSBoundingBoxMetricsEntry" - }, - "type": "array" - }, - "evaluatedBoundingboxCount": { - "description": "The number of bounding boxes used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "evaluatedFrameCount": { - "description": "The number of video frames used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "evaluatedTrackCount": { - "description": "The number of tracks used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "trackMeanAveragePrecision": { - "description": "Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all track_metrics_entries.", - "format": "float", - "type": "number" - }, - "trackMeanBoundingBoxIou": { - "description": "Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged over all track_metrics_entries.", - "format": "float", - "type": "number" - }, - "trackMeanMismatchRate": { - "description": "Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all track_metrics_entries.", - "format": "float", - "type": "number" - }, - "trackMetricsEntries": { - "description": "Output only. The tracks match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSTrackMetricsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoObjectTrackingTrainResponse": { - "id": "XPSVideoObjectTrackingTrainResponse", - "properties": { - "exportModelSpec": { - "$ref": "XPSVideoExportModelSpec", - "description": "Populated for AutoML request only." - }, - "modelArtifactSpec": { - "$ref": "XPSVideoModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoTrainingOperationMetadata": { - "id": "XPSVideoTrainingOperationMetadata", - "properties": { - "trainCostMilliNodeHour": { - "description": "This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends running your training job. The cost of one node running for one hour is a node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVisionErrorAnalysisConfig": { - "description": "The vision model error analysis configuration. Next tag: 3", - "id": "XPSVisionErrorAnalysisConfig", - "properties": { - "exampleCount": { - "description": "The number of query examples in error analysis.", - "format": "int32", - "type": "integer" - }, - "queryType": { - "description": "The query type used in retrieval. The enum values are frozen in the foreseeable future.", - "enum": [ - "QUERY_TYPE_UNSPECIFIED", - "QUERY_TYPE_ALL_SIMILAR", - "QUERY_TYPE_SAME_CLASS_SIMILAR", - "QUERY_TYPE_SAME_CLASS_DISSIMILAR" - ], - "enumDescriptions": [ - "Unspecified query type for model error analysis.", - "Query similar samples across all classes in the dataset.", - "Query similar samples from the same class of the input sample.", - "Query dissimilar samples from the same class of the input sample." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSVisionTrainingOperationMetadata": { - "deprecated": true, - "id": "XPSVisionTrainingOperationMetadata", - "properties": { - "explanationUsage": { - "$ref": "InfraUsage", - "description": "Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training request." - } - }, - "type": "object" - }, - "XPSVisualization": { - "deprecated": true, - "description": "Visualization configurations for image explanation.", - "id": "XPSVisualization", - "properties": { - "clipPercentLowerbound": { - "description": "Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.", - "format": "float", - "type": "number" - }, - "clipPercentUpperbound": { - "description": "Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.", - "format": "float", - "type": "number" - }, - "colorMap": { - "description": "The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.", - "enum": [ - "COLOR_MAP_UNSPECIFIED", - "PINK_GREEN", - "VIRIDIS", - "RED", - "GREEN", - "RED_GREEN", - "PINK_WHITE_GREEN" - ], - "enumDescriptions": [ - "Should not be used.", - "Positive: green. Negative: pink.", - "Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.", - "Positive: red. Negative: red.", - "Positive: green. Negative: green.", - "Positive: green. Negative: red.", - "PiYG palette." - ], - "type": "string" - }, - "overlayType": { - "description": "How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.", - "enum": [ - "OVERLAY_TYPE_UNSPECIFIED", - "NONE", - "ORIGINAL", - "GRAYSCALE", - "MASK_BLACK" - ], - "enumDescriptions": [ - "Default value. This is the same as NONE.", - "No overlay.", - "The attributions are shown on top of the original image.", - "The attributions are shown on top of grayscaled version of the original image.", - "The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts." - ], - "type": "string" - }, - "polarity": { - "description": "Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.", - "enum": [ - "POLARITY_UNSPECIFIED", - "POSITIVE", - "NEGATIVE", - "BOTH" - ], - "enumDescriptions": [ - "Default value. This is the same as POSITIVE.", - "Highlights the pixels/outlines that were most influential to the model's prediction.", - "Setting polarity to negative highlights areas that does not lead to the models's current prediction.", - "Shows both positive and negative attributions." - ], - "type": "string" - }, - "type": { - "description": "Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.", - "enum": [ - "TYPE_UNSPECIFIED", - "PIXELS", - "OUTLINES" - ], - "enumDescriptions": [ - "Should not be used.", - "Shows which pixel contributed to the image prediction.", - "Shows which region contributed to the image prediction by outlining the region." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSXpsOperationMetadata": { - "id": "XPSXpsOperationMetadata", - "properties": { - "exampleCount": { - "description": "Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data importing, batch prediction).", - "format": "int64", - "type": "string" - }, - "reportingMetrics": { - "$ref": "XPSReportingMetrics", - "description": "Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist if it's not empty, regardless of the response content or error type. If user is supposed to be charged in case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any billing, this field should be left unset." - }, - "tablesTrainingOperationMetadata": { - "$ref": "XPSTablesTrainingOperationMetadata" - }, - "videoBatchPredictOperationMetadata": { - "$ref": "XPSVideoBatchPredictOperationMetadata" - }, - "videoTrainingOperationMetadata": { - "$ref": "XPSVideoTrainingOperationMetadata" - }, - "visionTrainingOperationMetadata": { - "$ref": "XPSVisionTrainingOperationMetadata" - } - }, - "type": "object" - }, - "XPSXraiAttribution": { - "deprecated": true, - "description": "An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE).", - "id": "XPSXraiAttribution", - "properties": { - "stepCount": { - "description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], inclusively.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/language_v1beta2.json b/DiscoveryJson/language_v1beta2.json index e68780943a..a40caa7c2a 100644 --- a/DiscoveryJson/language_v1beta2.json +++ b/DiscoveryJson/language_v1beta2.json @@ -246,7 +246,7 @@ } } }, - "revision": "20240211", + "revision": "20240217", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -465,47 +465,12 @@ "type": "string" }, "features": { - "$ref": "AnnotateTextRequestFeatures", + "$ref": "Features", "description": "Required. The enabled features." } }, "type": "object" }, - "AnnotateTextRequestFeatures": { - "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. Next ID: 12", - "id": "AnnotateTextRequestFeatures", - "properties": { - "classificationModelOptions": { - "$ref": "ClassificationModelOptions", - "description": "Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true." - }, - "classifyText": { - "description": "Classify the full document into categories. If this is true, the API will use the default model which classifies into a [predefined taxonomy](https://cloud.google.com/natural-language/docs/categories).", - "type": "boolean" - }, - "extractDocumentSentiment": { - "description": "Extract document-level sentiment.", - "type": "boolean" - }, - "extractEntities": { - "description": "Extract entities.", - "type": "boolean" - }, - "extractEntitySentiment": { - "description": "Extract entities and their associated sentiment.", - "type": "boolean" - }, - "extractSyntax": { - "description": "Extract syntax information.", - "type": "boolean" - }, - "moderateText": { - "description": "Moderate the document for harmful and sensitive categories.", - "type": "boolean" - } - }, - "type": "object" - }, "AnnotateTextResponse": { "description": "The text annotations response message.", "id": "AnnotateTextResponse", @@ -577,43 +542,16 @@ "id": "ClassificationModelOptions", "properties": { "v1Model": { - "$ref": "ClassificationModelOptionsV1Model", + "$ref": "V1Model", "description": "Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future." }, "v2Model": { - "$ref": "ClassificationModelOptionsV2Model", + "$ref": "V2Model", "description": "Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model." } }, "type": "object" }, - "ClassificationModelOptionsV1Model": { - "description": "Options for the V1 model.", - "id": "ClassificationModelOptionsV1Model", - "properties": {}, - "type": "object" - }, - "ClassificationModelOptionsV2Model": { - "description": "Options for the V2 model.", - "id": "ClassificationModelOptionsV2Model", - "properties": { - "contentCategoriesVersion": { - "description": "The content categories used for classification.", - "enum": [ - "CONTENT_CATEGORIES_VERSION_UNSPECIFIED", - "V1", - "V2" - ], - "enumDescriptions": [ - "If `ContentCategoriesVersion` is not specified, this option will default to `V1`.", - "Legacy content categories of our initial launch in 2017.", - "Updated content categories in 2022." - ], - "type": "string" - } - }, - "type": "object" - }, "ClassifyTextRequest": { "description": "The document classification request message.", "id": "ClassifyTextRequest", @@ -643,419 +581,6 @@ }, "type": "object" }, - "Color": { - "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value\u2014for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", - "id": "Color", - "properties": { - "alpha": { - "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", - "format": "float", - "type": "number" - }, - "blue": { - "description": "The amount of blue in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "green": { - "description": "The amount of green in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - }, - "red": { - "description": "The amount of red in the color as a value in the interval [0, 1].", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "CpuMetric": { - "description": "Metric for billing reports.", - "id": "CpuMetric", - "properties": { - "coreNumber": { - "description": "Required. Number of CPU cores.", - "format": "int64", - "type": "string" - }, - "coreSec": { - "description": "Required. Total seconds of core usage, e.g. 4.", - "format": "int64", - "type": "string" - }, - "cpuType": { - "description": "Required. Type of cpu, e.g. N2.", - "enum": [ - "UNKNOWN_CPU_TYPE", - "A2", - "A3", - "C2", - "C2D", - "CUSTOM", - "E2", - "G2", - "C3", - "M2", - "M1", - "N1", - "N2_CUSTOM", - "N2", - "N2D" - ], - "enumDescriptions": [ - "", - "GPU-based machine, skip quota reporting.", - "GPU-based machine, skip quota reporting.", - "COMPUTE_OPTIMIZED", - "", - "", - "", - "GPU-based machine, skip quota reporting.", - "", - "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", - "MEMORY_OPTIMIZED", - "", - "", - "", - "" - ], - "type": "string" - }, - "machineSpec": { - "description": "Required. Machine spec, e.g. N1_STANDARD_4.", - "enum": [ - "UNKNOWN_MACHINE_SPEC", - "N1_STANDARD_2", - "N1_STANDARD_4", - "N1_STANDARD_8", - "N1_STANDARD_16", - "N1_STANDARD_32", - "N1_STANDARD_64", - "N1_STANDARD_96", - "N1_HIGHMEM_2", - "N1_HIGHMEM_4", - "N1_HIGHMEM_8", - "N1_HIGHMEM_16", - "N1_HIGHMEM_32", - "N1_HIGHMEM_64", - "N1_HIGHMEM_96", - "N1_HIGHCPU_2", - "N1_HIGHCPU_4", - "N1_HIGHCPU_8", - "N1_HIGHCPU_16", - "N1_HIGHCPU_32", - "N1_HIGHCPU_64", - "N1_HIGHCPU_96", - "A2_HIGHGPU_1G", - "A2_HIGHGPU_2G", - "A2_HIGHGPU_4G", - "A2_HIGHGPU_8G", - "A2_MEGAGPU_16G", - "A2_ULTRAGPU_1G", - "A2_ULTRAGPU_2G", - "A2_ULTRAGPU_4G", - "A2_ULTRAGPU_8G", - "A3_HIGHGPU_8G", - "E2_STANDARD_2", - "E2_STANDARD_4", - "E2_STANDARD_8", - "E2_STANDARD_16", - "E2_STANDARD_32", - "E2_HIGHMEM_2", - "E2_HIGHMEM_4", - "E2_HIGHMEM_8", - "E2_HIGHMEM_16", - "E2_HIGHCPU_2", - "E2_HIGHCPU_4", - "E2_HIGHCPU_8", - "E2_HIGHCPU_16", - "E2_HIGHCPU_32", - "N2_STANDARD_2", - "N2_STANDARD_4", - "N2_STANDARD_8", - "N2_STANDARD_16", - "N2_STANDARD_32", - "N2_STANDARD_48", - "N2_STANDARD_64", - "N2_STANDARD_80", - "N2_STANDARD_96", - "N2_STANDARD_128", - "N2_HIGHMEM_2", - "N2_HIGHMEM_4", - "N2_HIGHMEM_8", - "N2_HIGHMEM_16", - "N2_HIGHMEM_32", - "N2_HIGHMEM_48", - "N2_HIGHMEM_64", - "N2_HIGHMEM_80", - "N2_HIGHMEM_96", - "N2_HIGHMEM_128", - "N2_HIGHCPU_2", - "N2_HIGHCPU_4", - "N2_HIGHCPU_8", - "N2_HIGHCPU_16", - "N2_HIGHCPU_32", - "N2_HIGHCPU_48", - "N2_HIGHCPU_64", - "N2_HIGHCPU_80", - "N2_HIGHCPU_96", - "N2D_STANDARD_2", - "N2D_STANDARD_4", - "N2D_STANDARD_8", - "N2D_STANDARD_16", - "N2D_STANDARD_32", - "N2D_STANDARD_48", - "N2D_STANDARD_64", - "N2D_STANDARD_80", - "N2D_STANDARD_96", - "N2D_STANDARD_128", - "N2D_STANDARD_224", - "N2D_HIGHMEM_2", - "N2D_HIGHMEM_4", - "N2D_HIGHMEM_8", - "N2D_HIGHMEM_16", - "N2D_HIGHMEM_32", - "N2D_HIGHMEM_48", - "N2D_HIGHMEM_64", - "N2D_HIGHMEM_80", - "N2D_HIGHMEM_96", - "N2D_HIGHCPU_2", - "N2D_HIGHCPU_4", - "N2D_HIGHCPU_8", - "N2D_HIGHCPU_16", - "N2D_HIGHCPU_32", - "N2D_HIGHCPU_48", - "N2D_HIGHCPU_64", - "N2D_HIGHCPU_80", - "N2D_HIGHCPU_96", - "N2D_HIGHCPU_128", - "N2D_HIGHCPU_224", - "C2_STANDARD_4", - "C2_STANDARD_8", - "C2_STANDARD_16", - "C2_STANDARD_30", - "C2_STANDARD_60", - "C2D_STANDARD_2", - "C2D_STANDARD_4", - "C2D_STANDARD_8", - "C2D_STANDARD_16", - "C2D_STANDARD_32", - "C2D_STANDARD_56", - "C2D_STANDARD_112", - "C2D_HIGHCPU_2", - "C2D_HIGHCPU_4", - "C2D_HIGHCPU_8", - "C2D_HIGHCPU_16", - "C2D_HIGHCPU_32", - "C2D_HIGHCPU_56", - "C2D_HIGHCPU_112", - "C2D_HIGHMEM_2", - "C2D_HIGHMEM_4", - "C2D_HIGHMEM_8", - "C2D_HIGHMEM_16", - "C2D_HIGHMEM_32", - "C2D_HIGHMEM_56", - "C2D_HIGHMEM_112", - "G2_STANDARD_4", - "G2_STANDARD_8", - "G2_STANDARD_12", - "G2_STANDARD_16", - "G2_STANDARD_24", - "G2_STANDARD_32", - "G2_STANDARD_48", - "G2_STANDARD_96", - "C3_STANDARD_4", - "C3_STANDARD_8", - "C3_STANDARD_22", - "C3_STANDARD_44", - "C3_STANDARD_88", - "C3_STANDARD_176", - "C3_HIGHCPU_4", - "C3_HIGHCPU_8", - "C3_HIGHCPU_22", - "C3_HIGHCPU_44", - "C3_HIGHCPU_88", - "C3_HIGHCPU_176", - "C3_HIGHMEM_4", - "C3_HIGHMEM_8", - "C3_HIGHMEM_22", - "C3_HIGHMEM_44", - "C3_HIGHMEM_88", - "C3_HIGHMEM_176" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "trackingLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", - "type": "object" - } - }, - "type": "object" - }, "DependencyEdge": { "description": "Represents dependency parse tree information for a token.", "id": "DependencyEdge", @@ -1242,37 +767,6 @@ }, "type": "object" }, - "DiskMetric": { - "id": "DiskMetric", - "properties": { - "diskType": { - "description": "Required. Type of Disk, e.g. REGIONAL_SSD.", - "enum": [ - "UNKNOWN_DISK_TYPE", - "REGIONAL_SSD", - "REGIONAL_STORAGE", - "PD_SSD", - "PD_STANDARD", - "STORAGE_SNAPSHOT" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "gibSec": { - "description": "Required. Seconds of physical disk usage, e.g. 3600.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, "Document": { "description": "Represents the input to API methods.", "id": "Document", @@ -1421,414 +915,37 @@ }, "type": "object" }, - "GpuMetric": { - "id": "GpuMetric", + "Features": { + "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. Next ID: 12", + "id": "Features", "properties": { - "gpuSec": { - "description": "Required. Seconds of GPU usage, e.g. 3600.", - "format": "int64", - "type": "string" - }, - "gpuType": { - "description": "Required. Type of GPU, e.g. NVIDIA_TESLA_V100.", - "enum": [ - "UNKNOWN_GPU_TYPE", - "NVIDIA_TESLA_A100", - "NVIDIA_A100_80GB", - "NVIDIA_TESLA_K80", - "NVIDIA_L4", - "NVIDIA_TESLA_P100", - "NVIDIA_TESLA_P4", - "NVIDIA_TESLA_T4", - "NVIDIA_TESLA_V100", - "NVIDIA_H100_80GB" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" + "classificationModelOptions": { + "$ref": "ClassificationModelOptions", + "description": "Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true." }, - "machineSpec": { - "description": "Required. Machine spec, e.g. N1_STANDARD_4.", - "enum": [ - "UNKNOWN_MACHINE_SPEC", - "N1_STANDARD_2", - "N1_STANDARD_4", - "N1_STANDARD_8", - "N1_STANDARD_16", - "N1_STANDARD_32", - "N1_STANDARD_64", - "N1_STANDARD_96", - "N1_HIGHMEM_2", - "N1_HIGHMEM_4", - "N1_HIGHMEM_8", - "N1_HIGHMEM_16", - "N1_HIGHMEM_32", - "N1_HIGHMEM_64", - "N1_HIGHMEM_96", - "N1_HIGHCPU_2", - "N1_HIGHCPU_4", - "N1_HIGHCPU_8", - "N1_HIGHCPU_16", - "N1_HIGHCPU_32", - "N1_HIGHCPU_64", - "N1_HIGHCPU_96", - "A2_HIGHGPU_1G", - "A2_HIGHGPU_2G", - "A2_HIGHGPU_4G", - "A2_HIGHGPU_8G", - "A2_MEGAGPU_16G", - "A2_ULTRAGPU_1G", - "A2_ULTRAGPU_2G", - "A2_ULTRAGPU_4G", - "A2_ULTRAGPU_8G", - "A3_HIGHGPU_8G", - "E2_STANDARD_2", - "E2_STANDARD_4", - "E2_STANDARD_8", - "E2_STANDARD_16", - "E2_STANDARD_32", - "E2_HIGHMEM_2", - "E2_HIGHMEM_4", - "E2_HIGHMEM_8", - "E2_HIGHMEM_16", - "E2_HIGHCPU_2", - "E2_HIGHCPU_4", - "E2_HIGHCPU_8", - "E2_HIGHCPU_16", - "E2_HIGHCPU_32", - "N2_STANDARD_2", - "N2_STANDARD_4", - "N2_STANDARD_8", - "N2_STANDARD_16", - "N2_STANDARD_32", - "N2_STANDARD_48", - "N2_STANDARD_64", - "N2_STANDARD_80", - "N2_STANDARD_96", - "N2_STANDARD_128", - "N2_HIGHMEM_2", - "N2_HIGHMEM_4", - "N2_HIGHMEM_8", - "N2_HIGHMEM_16", - "N2_HIGHMEM_32", - "N2_HIGHMEM_48", - "N2_HIGHMEM_64", - "N2_HIGHMEM_80", - "N2_HIGHMEM_96", - "N2_HIGHMEM_128", - "N2_HIGHCPU_2", - "N2_HIGHCPU_4", - "N2_HIGHCPU_8", - "N2_HIGHCPU_16", - "N2_HIGHCPU_32", - "N2_HIGHCPU_48", - "N2_HIGHCPU_64", - "N2_HIGHCPU_80", - "N2_HIGHCPU_96", - "N2D_STANDARD_2", - "N2D_STANDARD_4", - "N2D_STANDARD_8", - "N2D_STANDARD_16", - "N2D_STANDARD_32", - "N2D_STANDARD_48", - "N2D_STANDARD_64", - "N2D_STANDARD_80", - "N2D_STANDARD_96", - "N2D_STANDARD_128", - "N2D_STANDARD_224", - "N2D_HIGHMEM_2", - "N2D_HIGHMEM_4", - "N2D_HIGHMEM_8", - "N2D_HIGHMEM_16", - "N2D_HIGHMEM_32", - "N2D_HIGHMEM_48", - "N2D_HIGHMEM_64", - "N2D_HIGHMEM_80", - "N2D_HIGHMEM_96", - "N2D_HIGHCPU_2", - "N2D_HIGHCPU_4", - "N2D_HIGHCPU_8", - "N2D_HIGHCPU_16", - "N2D_HIGHCPU_32", - "N2D_HIGHCPU_48", - "N2D_HIGHCPU_64", - "N2D_HIGHCPU_80", - "N2D_HIGHCPU_96", - "N2D_HIGHCPU_128", - "N2D_HIGHCPU_224", - "C2_STANDARD_4", - "C2_STANDARD_8", - "C2_STANDARD_16", - "C2_STANDARD_30", - "C2_STANDARD_60", - "C2D_STANDARD_2", - "C2D_STANDARD_4", - "C2D_STANDARD_8", - "C2D_STANDARD_16", - "C2D_STANDARD_32", - "C2D_STANDARD_56", - "C2D_STANDARD_112", - "C2D_HIGHCPU_2", - "C2D_HIGHCPU_4", - "C2D_HIGHCPU_8", - "C2D_HIGHCPU_16", - "C2D_HIGHCPU_32", - "C2D_HIGHCPU_56", - "C2D_HIGHCPU_112", - "C2D_HIGHMEM_2", - "C2D_HIGHMEM_4", - "C2D_HIGHMEM_8", - "C2D_HIGHMEM_16", - "C2D_HIGHMEM_32", - "C2D_HIGHMEM_56", - "C2D_HIGHMEM_112", - "G2_STANDARD_4", - "G2_STANDARD_8", - "G2_STANDARD_12", - "G2_STANDARD_16", - "G2_STANDARD_24", - "G2_STANDARD_32", - "G2_STANDARD_48", - "G2_STANDARD_96", - "C3_STANDARD_4", - "C3_STANDARD_8", - "C3_STANDARD_22", - "C3_STANDARD_44", - "C3_STANDARD_88", - "C3_STANDARD_176", - "C3_HIGHCPU_4", - "C3_HIGHCPU_8", - "C3_HIGHCPU_22", - "C3_HIGHCPU_44", - "C3_HIGHCPU_88", - "C3_HIGHCPU_176", - "C3_HIGHMEM_4", - "C3_HIGHMEM_8", - "C3_HIGHMEM_22", - "C3_HIGHMEM_44", - "C3_HIGHMEM_88", - "C3_HIGHMEM_176" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" + "classifyText": { + "description": "Classify the full document into categories. If this is true, the API will use the default model which classifies into a [predefined taxonomy](https://cloud.google.com/natural-language/docs/categories).", + "type": "boolean" }, - "trackingLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", - "type": "object" - } - }, - "type": "object" - }, - "InfraUsage": { - "description": "Infra Usage of billing metrics. Next ID: 6", - "id": "InfraUsage", - "properties": { - "cpuMetrics": { - "description": "Aggregated core metrics since requested start_time.", - "items": { - "$ref": "CpuMetric" - }, - "type": "array" + "extractDocumentSentiment": { + "description": "Extract document-level sentiment.", + "type": "boolean" }, - "diskMetrics": { - "description": "Aggregated persistent disk metrics since requested start_time.", - "items": { - "$ref": "DiskMetric" - }, - "type": "array" + "extractEntities": { + "description": "Extract entities.", + "type": "boolean" }, - "gpuMetrics": { - "description": "Aggregated gpu metrics since requested start_time.", - "items": { - "$ref": "GpuMetric" - }, - "type": "array" + "extractEntitySentiment": { + "description": "Extract entities and their associated sentiment.", + "type": "boolean" }, - "ramMetrics": { - "description": "Aggregated ram metrics since requested start_time.", - "items": { - "$ref": "RamMetric" - }, - "type": "array" + "extractSyntax": { + "description": "Extract syntax information.", + "type": "boolean" }, - "tpuMetrics": { - "description": "Aggregated tpu metrics since requested start_time.", - "items": { - "$ref": "TpuMetric" - }, - "type": "array" + "moderateText": { + "description": "Moderate the document for harmful and sensitive categories.", + "type": "boolean" } }, "type": "object" @@ -2125,391 +1242,6 @@ }, "type": "object" }, - "RamMetric": { - "id": "RamMetric", - "properties": { - "gibSec": { - "description": "Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition.", - "format": "int64", - "type": "string" - }, - "machineSpec": { - "description": "Required. Machine spec, e.g. N1_STANDARD_4.", - "enum": [ - "UNKNOWN_MACHINE_SPEC", - "N1_STANDARD_2", - "N1_STANDARD_4", - "N1_STANDARD_8", - "N1_STANDARD_16", - "N1_STANDARD_32", - "N1_STANDARD_64", - "N1_STANDARD_96", - "N1_HIGHMEM_2", - "N1_HIGHMEM_4", - "N1_HIGHMEM_8", - "N1_HIGHMEM_16", - "N1_HIGHMEM_32", - "N1_HIGHMEM_64", - "N1_HIGHMEM_96", - "N1_HIGHCPU_2", - "N1_HIGHCPU_4", - "N1_HIGHCPU_8", - "N1_HIGHCPU_16", - "N1_HIGHCPU_32", - "N1_HIGHCPU_64", - "N1_HIGHCPU_96", - "A2_HIGHGPU_1G", - "A2_HIGHGPU_2G", - "A2_HIGHGPU_4G", - "A2_HIGHGPU_8G", - "A2_MEGAGPU_16G", - "A2_ULTRAGPU_1G", - "A2_ULTRAGPU_2G", - "A2_ULTRAGPU_4G", - "A2_ULTRAGPU_8G", - "A3_HIGHGPU_8G", - "E2_STANDARD_2", - "E2_STANDARD_4", - "E2_STANDARD_8", - "E2_STANDARD_16", - "E2_STANDARD_32", - "E2_HIGHMEM_2", - "E2_HIGHMEM_4", - "E2_HIGHMEM_8", - "E2_HIGHMEM_16", - "E2_HIGHCPU_2", - "E2_HIGHCPU_4", - "E2_HIGHCPU_8", - "E2_HIGHCPU_16", - "E2_HIGHCPU_32", - "N2_STANDARD_2", - "N2_STANDARD_4", - "N2_STANDARD_8", - "N2_STANDARD_16", - "N2_STANDARD_32", - "N2_STANDARD_48", - "N2_STANDARD_64", - "N2_STANDARD_80", - "N2_STANDARD_96", - "N2_STANDARD_128", - "N2_HIGHMEM_2", - "N2_HIGHMEM_4", - "N2_HIGHMEM_8", - "N2_HIGHMEM_16", - "N2_HIGHMEM_32", - "N2_HIGHMEM_48", - "N2_HIGHMEM_64", - "N2_HIGHMEM_80", - "N2_HIGHMEM_96", - "N2_HIGHMEM_128", - "N2_HIGHCPU_2", - "N2_HIGHCPU_4", - "N2_HIGHCPU_8", - "N2_HIGHCPU_16", - "N2_HIGHCPU_32", - "N2_HIGHCPU_48", - "N2_HIGHCPU_64", - "N2_HIGHCPU_80", - "N2_HIGHCPU_96", - "N2D_STANDARD_2", - "N2D_STANDARD_4", - "N2D_STANDARD_8", - "N2D_STANDARD_16", - "N2D_STANDARD_32", - "N2D_STANDARD_48", - "N2D_STANDARD_64", - "N2D_STANDARD_80", - "N2D_STANDARD_96", - "N2D_STANDARD_128", - "N2D_STANDARD_224", - "N2D_HIGHMEM_2", - "N2D_HIGHMEM_4", - "N2D_HIGHMEM_8", - "N2D_HIGHMEM_16", - "N2D_HIGHMEM_32", - "N2D_HIGHMEM_48", - "N2D_HIGHMEM_64", - "N2D_HIGHMEM_80", - "N2D_HIGHMEM_96", - "N2D_HIGHCPU_2", - "N2D_HIGHCPU_4", - "N2D_HIGHCPU_8", - "N2D_HIGHCPU_16", - "N2D_HIGHCPU_32", - "N2D_HIGHCPU_48", - "N2D_HIGHCPU_64", - "N2D_HIGHCPU_80", - "N2D_HIGHCPU_96", - "N2D_HIGHCPU_128", - "N2D_HIGHCPU_224", - "C2_STANDARD_4", - "C2_STANDARD_8", - "C2_STANDARD_16", - "C2_STANDARD_30", - "C2_STANDARD_60", - "C2D_STANDARD_2", - "C2D_STANDARD_4", - "C2D_STANDARD_8", - "C2D_STANDARD_16", - "C2D_STANDARD_32", - "C2D_STANDARD_56", - "C2D_STANDARD_112", - "C2D_HIGHCPU_2", - "C2D_HIGHCPU_4", - "C2D_HIGHCPU_8", - "C2D_HIGHCPU_16", - "C2D_HIGHCPU_32", - "C2D_HIGHCPU_56", - "C2D_HIGHCPU_112", - "C2D_HIGHMEM_2", - "C2D_HIGHMEM_4", - "C2D_HIGHMEM_8", - "C2D_HIGHMEM_16", - "C2D_HIGHMEM_32", - "C2D_HIGHMEM_56", - "C2D_HIGHMEM_112", - "G2_STANDARD_4", - "G2_STANDARD_8", - "G2_STANDARD_12", - "G2_STANDARD_16", - "G2_STANDARD_24", - "G2_STANDARD_32", - "G2_STANDARD_48", - "G2_STANDARD_96", - "C3_STANDARD_4", - "C3_STANDARD_8", - "C3_STANDARD_22", - "C3_STANDARD_44", - "C3_STANDARD_88", - "C3_STANDARD_176", - "C3_HIGHCPU_4", - "C3_HIGHCPU_8", - "C3_HIGHCPU_22", - "C3_HIGHCPU_44", - "C3_HIGHCPU_88", - "C3_HIGHCPU_176", - "C3_HIGHMEM_4", - "C3_HIGHMEM_8", - "C3_HIGHMEM_22", - "C3_HIGHMEM_44", - "C3_HIGHMEM_88", - "C3_HIGHMEM_176" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string" - }, - "memories": { - "description": "Required. VM memory in gb.", - "format": "double", - "type": "number" - }, - "ramType": { - "description": "Required. Type of ram.", - "enum": [ - "UNKNOWN_RAM_TYPE", - "A2", - "A3", - "C2", - "C2D", - "CUSTOM", - "E2", - "G2", - "C3", - "M2", - "M1", - "N1", - "N2_CUSTOM", - "N2", - "N2D" - ], - "enumDescriptions": [ - "", - "", - "", - "COMPUTE_OPTIMIZED", - "", - "", - "", - "", - "", - "MEMORY_OPTIMIZED_UPGRADE_PREMIUM", - "MEMORY_OPTIMIZED", - "", - "", - "", - "" - ], - "type": "string" - }, - "trackingLabels": { - "additionalProperties": { - "type": "string" - }, - "description": "Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra itself. Tracking labels' keys are defined with special format: goog-[\\p{Ll}\\p{N}]+ E.g. \"key\": \"goog-k8s-cluster-name\",\"value\": \"us-east1-b4rk\"", - "type": "object" - } - }, - "type": "object" - }, "Sentence": { "description": "Represents a sentence in the input document.", "id": "Sentence", @@ -2608,3079 +1340,32 @@ }, "type": "object" }, - "TpuMetric": { - "id": "TpuMetric", + "V1Model": { + "description": "Options for the V1 model.", + "id": "V1Model", + "properties": {}, + "type": "object" + }, + "V2Model": { + "description": "Options for the V2 model.", + "id": "V2Model", "properties": { - "tpuSec": { - "description": "Required. Seconds of TPU usage, e.g. 3600.", - "format": "int64", - "type": "string" - }, - "tpuType": { - "description": "Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD.", + "contentCategoriesVersion": { + "description": "The content categories used for classification.", "enum": [ - "UNKNOWN_TPU_TYPE", - "TPU_V2_POD", - "TPU_V2", - "TPU_V3_POD", - "TPU_V3", - "TPU_V5_LITEPOD" + "CONTENT_CATEGORIES_VERSION_UNSPECIFIED", + "V1", + "V2" ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "If `ContentCategoriesVersion` is not specified, this option will default to `V1`.", + "Legacy content categories of our initial launch in 2017.", + "Updated content categories in 2022." ], "type": "string" } }, "type": "object" - }, - "XPSArrayStats": { - "description": "The data statistics of a series of ARRAY values.", - "id": "XPSArrayStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "memberStats": { - "$ref": "XPSDataStats", - "description": "Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the element type of the array." - } - }, - "type": "object" - }, - "XPSBatchPredictResponse": { - "id": "XPSBatchPredictResponse", - "properties": { - "exampleSet": { - "$ref": "XPSExampleSet", - "description": "Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend." - } - }, - "type": "object" - }, - "XPSBoundingBoxMetricsEntry": { - "description": "Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match confidence thresholds.", - "id": "XPSBoundingBoxMetricsEntry", - "properties": { - "confidenceMetricsEntries": { - "description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry" - }, - "type": "array" - }, - "iouThreshold": { - "description": "The intersection-over-union threshold value used to compute this metrics entry.", - "format": "float", - "type": "number" - }, - "meanAveragePrecision": { - "description": "The mean average precision.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSBoundingBoxMetricsEntryConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "f1Score": { - "description": "The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Recall for the given confidence threshold.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSCategoryStats": { - "description": "The data statistics of a series of CATEGORY values.", - "id": "XPSCategoryStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "topCategoryStats": { - "description": "The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count.", - "items": { - "$ref": "XPSCategoryStatsSingleCategoryStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSCategoryStatsSingleCategoryStats": { - "description": "The statistics of a single CATEGORY value.", - "id": "XPSCategoryStatsSingleCategoryStats", - "properties": { - "count": { - "description": "The number of occurrences of this value in the series.", - "format": "int64", - "type": "string" - }, - "value": { - "description": "The CATEGORY value.", - "type": "string" - } - }, - "type": "object" - }, - "XPSClassificationEvaluationMetrics": { - "description": "Model evaluation metrics for classification problems. It can be used for image and video classification. Next tag: 9.", - "id": "XPSClassificationEvaluationMetrics", - "properties": { - "auPrc": { - "description": "The Area under precision recall curve metric.", - "format": "float", - "type": "number" - }, - "auRoc": { - "description": "The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.", - "format": "float", - "type": "number" - }, - "baseAuPrc": { - "description": "The Area under precision recall curve metric based on priors.", - "format": "float", - "type": "number" - }, - "confidenceMetricsEntries": { - "description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", - "items": { - "$ref": "XPSConfidenceMetricsEntry" - }, - "type": "array" - }, - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label." - }, - "evaluatedExamplesCount": { - "description": "The number of examples used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "logLoss": { - "description": "The Log Loss metric.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSColorMap": { - "description": "Map from color to display name. Will only be used by Image Segmentation for uCAIP.", - "id": "XPSColorMap", - "properties": { - "annotationSpecIdToken": { - "description": "Should be used during training.", - "type": "string" - }, - "color": { - "$ref": "Color", - "deprecated": true, - "description": "This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used." - }, - "displayName": { - "description": "Should be used during preprocessing.", - "type": "string" - }, - "intColor": { - "$ref": "XPSColorMapIntColor" - } - }, - "type": "object" - }, - "XPSColorMapIntColor": { - "description": "RGB color and each channel is represented by an integer.", - "id": "XPSColorMapIntColor", - "properties": { - "blue": { - "description": "The value should be in range of [0, 255].", - "format": "int32", - "type": "integer" - }, - "green": { - "description": "The value should be in range of [0, 255].", - "format": "int32", - "type": "integer" - }, - "red": { - "description": "The value should be in range of [0, 255].", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSColumnSpec": { - "id": "XPSColumnSpec", - "properties": { - "columnId": { - "description": "The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the last column. AutoML BE will persist this order id in Spanner and set the order id here when calling RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE.", - "format": "int32", - "type": "integer" - }, - "dataStats": { - "$ref": "XPSDataStats", - "description": "The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train." - }, - "dataType": { - "$ref": "XPSDataType", - "description": "The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and Train." - }, - "displayName": { - "description": "The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and Train.", - "type": "string" - }, - "forecastingMetadata": { - "$ref": "XPSColumnSpecForecastingMetadata" - }, - "topCorrelatedColumns": { - "description": "It's outputed in RefreshTablesStats, and a required input in Train.", - "items": { - "$ref": "XPSColumnSpecCorrelatedColumn" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSColumnSpecCorrelatedColumn": { - "description": "Identifies a table's column, and its correlation with the column this ColumnSpec describes.", - "id": "XPSColumnSpecCorrelatedColumn", - "properties": { - "columnId": { - "format": "int32", - "type": "integer" - }, - "correlationStats": { - "$ref": "XPSCorrelationStats" - } - }, - "type": "object" - }, - "XPSColumnSpecForecastingMetadata": { - "description": "=========================================================================== # The fields below are used exclusively for Forecasting.", - "id": "XPSColumnSpecForecastingMetadata", - "properties": { - "columnType": { - "description": "The type of the column for FORECASTING model training purposes.", - "enum": [ - "COLUMN_TYPE_UNSPECIFIED", - "KEY", - "KEY_METADATA", - "TIME_SERIES_AVAILABLE_PAST_ONLY", - "TIME_SERIES_AVAILABLE_PAST_AND_FUTURE" - ], - "enumDescriptions": [ - "An un-set value of this enum.", - "Key columns are used to identify timeseries.", - "This column contains information describing static properties of the entities identified by the key column(s) (e.g. city's ZIP code).", - "This column contains information for the given entity, at any time poinrt, they are only available in the time series before.", - "This column contains information for the given entity is known both for the past and the sufficiently far future." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSCommonStats": { - "description": "Common statistics for a column with a specified data type.", - "id": "XPSCommonStats", - "properties": { - "distinctValueCount": { - "format": "int64", - "type": "string" - }, - "nullValueCount": { - "format": "int64", - "type": "string" - }, - "validValueCount": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSConfidenceMetricsEntry": { - "description": "ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16.", - "id": "XPSConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "Metrics are computed with an assumption that the model never return predictions with score lower than this value.", - "format": "float", - "type": "number" - }, - "f1Score": { - "description": "The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "f1ScoreAt1": { - "description": "The harmonic mean of recall_at1 and precision_at1.", - "format": "float", - "type": "number" - }, - "falseNegativeCount": { - "description": "The number of ground truth labels that are not matched by a model created label.", - "format": "int64", - "type": "string" - }, - "falsePositiveCount": { - "description": "The number of model created labels that do not match a ground truth label.", - "format": "int64", - "type": "string" - }, - "falsePositiveRate": { - "description": "False Positive Rate for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "falsePositiveRateAt1": { - "description": "The False Positive Rate when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", - "format": "float", - "type": "number" - }, - "positionThreshold": { - "description": "Metrics are computed with an assumption that the model always returns at most this many predictions (ordered by their score, descendingly), but they all still need to meet the confidence_threshold.", - "format": "int32", - "type": "integer" - }, - "precision": { - "description": "Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "precisionAt1": { - "description": "The precision when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Recall (true positive rate) for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recallAt1": { - "description": "The recall (true positive rate) when only considering the label that has the highest prediction score and not below the confidence threshold for each example.", - "format": "float", - "type": "number" - }, - "trueNegativeCount": { - "description": "The number of labels that were not created by the model, but if they would, they would not match a ground truth label.", - "format": "int64", - "type": "string" - }, - "truePositiveCount": { - "description": "The number of model created labels that match a ground truth label.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSConfusionMatrix": { - "description": "Confusion matrix of the model running the classification.", - "id": "XPSConfusionMatrix", - "properties": { - "annotationSpecIdToken": { - "description": "For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is preferable to be set. ID tokens of the annotation specs used in the confusion matrix.", - "items": { - "type": "string" - }, - "type": "array" - }, - "category": { - "description": "Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation should use annotation_spec_id_token.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "row": { - "description": "Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and are predicted as `annotation_spec_id_token[j]` by the model being evaluated.", - "items": { - "$ref": "XPSConfusionMatrixRow" - }, - "type": "array" - }, - "sentimentLabel": { - "description": "Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, use `annotation_spec_id_token` instead and leave this field empty.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSConfusionMatrixRow": { - "description": "A row in the confusion matrix.", - "id": "XPSConfusionMatrixRow", - "properties": { - "count": { - "description": "Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are embedded inside another message).", - "items": { - "format": "int64", - "type": "string" - }, - "type": "array" - }, - "exampleCount": { - "description": "Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of the row) is equal to the length of the annotation_spec_id_token field.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSCoreMlFormat": { - "description": "A model format used for iOS mobile devices.", - "id": "XPSCoreMlFormat", - "properties": {}, - "type": "object" - }, - "XPSCorrelationStats": { - "description": "A correlation statistics between two series of DataType values. The series may have differing DataType-s, but within a single series the DataType must be the same.", - "id": "XPSCorrelationStats", - "properties": { - "cramersV": { - "description": "The correlation value using the Cramer's V measure.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSDataErrors": { - "description": "Different types of errors and the stats associatesd with each error.", - "id": "XPSDataErrors", - "properties": { - "count": { - "description": "Number of records having errors associated with the enum.", - "format": "int32", - "type": "integer" - }, - "errorType": { - "description": "Type of the error.", - "enum": [ - "ERROR_TYPE_UNSPECIFIED", - "UNSUPPORTED_AUDIO_FORMAT", - "FILE_EXTENSION_MISMATCH_WITH_AUDIO_FORMAT", - "FILE_TOO_LARGE", - "MISSING_TRANSCRIPTION" - ], - "enumDescriptions": [ - "Not specified.", - "Audio format not in the formats by cloud-speech AutoML. Currently only wav and flac file formats are supported.", - "File format differnt from what is specified in the file name extension.", - "File too large. Maximum allowed size is 50 MB.", - "Transcript is missing." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSDataStats": { - "description": "The data statistics of a series of values that share the same DataType.", - "id": "XPSDataStats", - "properties": { - "arrayStats": { - "$ref": "XPSArrayStats", - "description": "The statistics for ARRAY DataType." - }, - "categoryStats": { - "$ref": "XPSCategoryStats", - "description": "The statistics for CATEGORY DataType." - }, - "distinctValueCount": { - "description": "The number of distinct values.", - "format": "int64", - "type": "string" - }, - "float64Stats": { - "$ref": "XPSFloat64Stats", - "description": "The statistics for FLOAT64 DataType." - }, - "nullValueCount": { - "description": "The number of values that are null.", - "format": "int64", - "type": "string" - }, - "stringStats": { - "$ref": "XPSStringStats", - "description": "The statistics for STRING DataType." - }, - "structStats": { - "$ref": "XPSStructStats", - "description": "The statistics for STRUCT DataType." - }, - "timestampStats": { - "$ref": "XPSTimestampStats", - "description": "The statistics for TIMESTAMP DataType." - }, - "validValueCount": { - "description": "The number of values that are valid.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSDataType": { - "description": "Indicated the type of data that can be stored in a structured data entity (e.g. a table).", - "id": "XPSDataType", - "properties": { - "compatibleDataTypes": { - "description": "The highly compatible data types to this data type.", - "items": { - "$ref": "XPSDataType" - }, - "type": "array" - }, - "listElementType": { - "$ref": "XPSDataType", - "description": "If type_code == ARRAY, then `list_element_type` is the type of the elements." - }, - "nullable": { - "description": "If true, this DataType can also be `null`.", - "type": "boolean" - }, - "structType": { - "$ref": "XPSStructType", - "description": "If type_code == STRUCT, then `struct_type` provides type information for the struct's fields." - }, - "timeFormat": { - "description": "If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The time_format must be written in `strftime` syntax. If time_format is not set, then the default format as described on the field is used.", - "type": "string" - }, - "typeCode": { - "description": "Required. The TypeCode for this type.", - "enum": [ - "TYPE_CODE_UNSPECIFIED", - "FLOAT64", - "TIMESTAMP", - "STRING", - "ARRAY", - "STRUCT", - "CATEGORY" - ], - "enumDescriptions": [ - "Not specified. Should not be used.", - "Encoded as `number`, or the strings `\"NaN\"`, `\"Infinity\"`, or `\"-Infinity\"`.", - "Must be between 0AD and 9999AD. Encoded as `string` according to time_format, or, if that format is not set, then in RFC 3339 `date-time` format, where `time-offset` = `\"Z\"` (e.g. 1985-04-12T23:20:50.52Z).", - "Encoded as `string`.", - "Encoded as `list`, where the list elements are represented according to list_element_type.", - "Encoded as `struct`, where field values are represented according to struct_type.", - "Values of this type are not further understood by AutoML, e.g. AutoML is unable to tell the order of values (as it could with FLOAT64), or is unable to say if one value contains another (as it could with STRING). Encoded as `string` (bytes should be base64-encoded, as described in RFC 4648, section 4)." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSDockerFormat": { - "description": "A model format used for Docker containers. Use the params field to customize the container. The container is verified to work correctly on ubuntu 16.04 operating system.", - "id": "XPSDockerFormat", - "properties": { - "cpuArchitecture": { - "description": "Optional. Additional cpu information describing the requirements for the to be exported model files.", - "enum": [ - "CPU_ARCHITECTURE_UNSPECIFIED", - "CPU_ARCHITECTURE_X86_64" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - }, - "gpuArchitecture": { - "description": "Optional. Additional gpu information describing the requirements for the to be exported model files.", - "enum": [ - "GPU_ARCHITECTURE_UNSPECIFIED", - "GPU_ARCHITECTURE_NVIDIA" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSEdgeTpuTfLiteFormat": { - "description": "A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", - "id": "XPSEdgeTpuTfLiteFormat", - "properties": {}, - "type": "object" - }, - "XPSEvaluationMetrics": { - "description": "Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model overall. Next tag: 18.", - "id": "XPSEvaluationMetrics", - "properties": { - "annotationSpecIdToken": { - "description": "The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where annotation_spec_id_token is not available, set label instead.", - "type": "string" - }, - "category": { - "description": "The integer category label for which this evaluation metric instance had been created. Valid categories are 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation should use annotation_spec_id_token.", - "format": "int32", - "type": "integer" - }, - "evaluatedExampleCount": { - "description": "The number of examples used to create this evaluation metrics instance.", - "format": "int32", - "type": "integer" - }, - "imageClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "imageObjectDetectionEvalMetrics": { - "$ref": "XPSImageObjectDetectionEvaluationMetrics" - }, - "imageSegmentationEvalMetrics": { - "$ref": "XPSImageSegmentationEvaluationMetrics" - }, - "label": { - "description": "The label for which this evaluation metrics instance had been created. Empty iff this is an overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL implementation.", - "type": "string" - }, - "regressionEvalMetrics": { - "$ref": "XPSRegressionEvaluationMetrics" - }, - "tablesClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "tablesEvalMetrics": { - "$ref": "XPSTablesEvaluationMetrics" - }, - "textClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "textExtractionEvalMetrics": { - "$ref": "XPSTextExtractionEvaluationMetrics" - }, - "textSentimentEvalMetrics": { - "$ref": "XPSTextSentimentEvaluationMetrics" - }, - "translationEvalMetrics": { - "$ref": "XPSTranslationEvaluationMetrics" - }, - "videoActionRecognitionEvalMetrics": { - "$ref": "XPSVideoActionRecognitionEvaluationMetrics" - }, - "videoClassificationEvalMetrics": { - "$ref": "XPSClassificationEvaluationMetrics" - }, - "videoObjectTrackingEvalMetrics": { - "$ref": "XPSVideoObjectTrackingEvaluationMetrics" - } - }, - "type": "object" - }, - "XPSEvaluationMetricsSet": { - "description": "Specifies location of model evaluation metrics.", - "id": "XPSEvaluationMetricsSet", - "properties": { - "evaluationMetrics": { - "description": "Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, use file_spec.", - "items": { - "$ref": "XPSEvaluationMetrics" - }, - "type": "array" - }, - "fileSpec": { - "$ref": "XPSFileSpec", - "description": "File spec containing evaluation metrics of a model, must point to RecordIO file(s) of intelligence.cloud.automl.xps.EvaluationMetrics messages." - }, - "numEvaluationMetrics": { - "description": "Number of the evaluation metrics (usually one per label plus overall).", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSExampleSet": { - "description": "Set of examples or input sources.", - "id": "XPSExampleSet", - "properties": { - "fileSpec": { - "$ref": "XPSFileSpec", - "description": "File spec of the examples or input sources." - }, - "fingerprint": { - "description": "Fingerprint of the example set.", - "format": "int64", - "type": "string" - }, - "numExamples": { - "description": "Number of examples.", - "format": "int64", - "type": "string" - }, - "numInputSources": { - "description": "Number of input sources.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSExportModelOutputConfig": { - "id": "XPSExportModelOutputConfig", - "properties": { - "coreMlFormat": { - "$ref": "XPSCoreMlFormat" - }, - "dockerFormat": { - "$ref": "XPSDockerFormat" - }, - "edgeTpuTfLiteFormat": { - "$ref": "XPSEdgeTpuTfLiteFormat" - }, - "exportFirebaseAuxiliaryInfo": { - "description": "For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.", - "type": "boolean" - }, - "outputGcrUri": { - "description": "The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", - "type": "string" - }, - "outputGcsUri": { - "description": "The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory", - "type": "string" - }, - "tfJsFormat": { - "$ref": "XPSTfJsFormat" - }, - "tfLiteFormat": { - "$ref": "XPSTfLiteFormat" - }, - "tfSavedModelFormat": { - "$ref": "XPSTfSavedModelFormat" - } - }, - "type": "object" - }, - "XPSFileSpec": { - "description": "Spec of input and output files, on external file systems (CNS, GCS, etc).", - "id": "XPSFileSpec", - "properties": { - "directoryPath": { - "deprecated": true, - "description": "Deprecated. Use file_spec.", - "type": "string" - }, - "fileFormat": { - "enum": [ - "FILE_FORMAT_UNKNOWN", - "FILE_FORMAT_SSTABLE", - "FILE_FORMAT_TRANSLATION_RKV", - "FILE_FORMAT_RECORDIO", - "FILE_FORMAT_RAW_CSV", - "FILE_FORMAT_RAW_CAPACITOR" - ], - "enumDeprecated": [ - false, - true, - false, - false, - false, - false - ], - "enumDescriptions": [ - "", - "", - "Internal format for parallel text data used by Google Translate. go/rkvtools", - "", - "Only the lexicographically first file described by the file_spec contains the header line.", - "" - ], - "type": "string" - }, - "fileSpec": { - "description": "Single file path, or file pattern of format \"/path/to/file@shard_count\". E.g. /cns/cell-d/somewhere/file@2 is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and /cns/cell-d/somewhere/file-00001-of-00002.", - "type": "string" - }, - "singleFilePath": { - "deprecated": true, - "description": "Deprecated. Use file_spec.", - "type": "string" - } - }, - "type": "object" - }, - "XPSFloat64Stats": { - "description": "The data statistics of a series of FLOAT64 values.", - "id": "XPSFloat64Stats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "histogramBuckets": { - "description": "Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 range with min of first bucket being `\"-Infinity\"`, and max of the last one being `\"Infinity\"`.", - "items": { - "$ref": "XPSFloat64StatsHistogramBucket" - }, - "type": "array" - }, - "mean": { - "description": "The mean of the series.", - "format": "double", - "type": "number" - }, - "quantiles": { - "description": "Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the min and max values.", - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - }, - "standardDeviation": { - "description": "The standard deviation of the series.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSFloat64StatsHistogramBucket": { - "description": "A bucket of a histogram.", - "id": "XPSFloat64StatsHistogramBucket", - "properties": { - "count": { - "description": "The number of data values that are in the bucket, i.e. are between min and max values.", - "format": "int64", - "type": "string" - }, - "max": { - "description": "The maximum value of the bucket, exclusive unless max = `\"Infinity\"`, in which case it's inclusive.", - "format": "double", - "type": "number" - }, - "min": { - "description": "The minimum value of the bucket, inclusive.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSImageClassificationTrainResponse": { - "id": "XPSImageClassificationTrainResponse", - "properties": { - "classCount": { - "description": "Total number of classes.", - "format": "int64", - "type": "string" - }, - "exportModelSpec": { - "$ref": "XPSImageExportModelSpec", - "description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Populated for AutoMl requests." - }, - "modelArtifactSpec": { - "$ref": "XPSImageModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "modelServingSpec": { - "$ref": "XPSImageModelServingSpec" - }, - "stopReason": { - "description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'.", - "enum": [ - "TRAIN_STOP_REASON_UNSPECIFIED", - "TRAIN_STOP_REASON_BUDGET_REACHED", - "TRAIN_STOP_REASON_MODEL_CONVERGED", - "TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" - ], - "enumDescriptions": [ - "", - "", - "Model fully converged, can not be resumbed training.", - "Model early converged, can be further trained till full convergency." - ], - "type": "string" - }, - "trainCostInNodeTime": { - "description": "The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated after GA.", - "format": "google-duration", - "type": "string" - }, - "trainCostNodeSeconds": { - "description": "The actual training cost, expressed in node seconds. Populated for models trained in node time.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageExportModelSpec": { - "description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", - "id": "XPSImageExportModelSpec", - "properties": { - "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", - "items": { - "$ref": "XPSExportModelOutputConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSImageModelArtifactSpec": { - "description": "Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only.", - "id": "XPSImageModelArtifactSpec", - "properties": { - "checkpointArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The Tensorflow checkpoint files. e.g. Used for resumable training." - }, - "exportArtifact": { - "description": "The model binary files in different formats for model export.", - "items": { - "$ref": "XPSModelArtifactItem" - }, - "type": "array" - }, - "labelGcsUri": { - "description": "GCS uri of decoded labels file for model export 'dict.txt'.", - "type": "string" - }, - "servingArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." - }, - "tfJsBinaryGcsPrefix": { - "description": "GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.", - "type": "string" - }, - "tfLiteMetadataGcsUri": { - "description": "GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageModelServingSpec": { - "description": "Serving specification for image models.", - "id": "XPSImageModelServingSpec", - "properties": { - "modelThroughputEstimation": { - "description": "Populate under uCAIP request scope.", - "items": { - "$ref": "XPSImageModelServingSpecModelThroughputEstimation" - }, - "type": "array" - }, - "nodeQps": { - "description": "An estimated value of how much traffic a node can serve. Populated for AutoMl request only.", - "format": "double", - "type": "number" - }, - "tfRuntimeVersion": { - "description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageModelServingSpecModelThroughputEstimation": { - "id": "XPSImageModelServingSpecModelThroughputEstimation", - "properties": { - "computeEngineAcceleratorType": { - "enum": [ - "UNSPECIFIED", - "NVIDIA_TESLA_K80", - "NVIDIA_TESLA_P100", - "NVIDIA_TESLA_V100", - "NVIDIA_TESLA_P4", - "NVIDIA_TESLA_T4", - "NVIDIA_TESLA_A100", - "NVIDIA_A100_80GB", - "NVIDIA_L4", - "NVIDIA_H100_80GB", - "TPU_V2", - "TPU_V3", - "TPU_V4_POD", - "TPU_V5_LITEPOD" - ], - "enumDescriptions": [ - "", - "Nvidia Tesla K80 GPU.", - "Nvidia Tesla P100 GPU.", - "Nvidia Tesla V100 GPU.", - "Nvidia Tesla P4 GPU.", - "Nvidia Tesla T4 GPU.", - "Nvidia Tesla A100 GPU.", - "Nvidia A100 80GB GPU.", - "Nvidia L4 GPU.", - "Nvidia H100 80Gb GPU.", - "TPU v2 (JellyFish).", - "TPU v3 (DragonFish).", - "TPU_v4 (PufferFish).", - "TPU v5 Lite Pods." - ], - "type": "string" - }, - "latencyInMilliseconds": { - "description": "Estimated latency.", - "format": "double", - "type": "number" - }, - "nodeQps": { - "description": "The approximate qps a deployed node can serve.", - "format": "double", - "type": "number" - }, - "servomaticPartitionType": { - "enum": [ - "PARTITION_TYPE_UNSPECIFIED", - "PARTITION_ZERO", - "PARTITION_REDUCED_HOMING", - "PARTITION_JELLYFISH", - "PARTITION_CPU", - "PARTITION_CUSTOM_STORAGE_CPU" - ], - "enumDescriptions": [ - "", - "The default partition.", - "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", - "The partition used by regionalized servomatic cloud regions.", - "The partition used for loading models from custom storage." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSImageObjectDetectionEvaluationMetrics": { - "description": "Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding boxes.", - "id": "XPSImageObjectDetectionEvaluationMetrics", - "properties": { - "boundingBoxMeanAveragePrecision": { - "description": "The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", - "format": "float", - "type": "number" - }, - "boundingBoxMetricsEntries": { - "description": "The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.", - "items": { - "$ref": "XPSBoundingBoxMetricsEntry" - }, - "type": "array" - }, - "evaluatedBoundingBoxCount": { - "description": "The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSImageObjectDetectionModelSpec": { - "id": "XPSImageObjectDetectionModelSpec", - "properties": { - "classCount": { - "description": "Total number of classes.", - "format": "int64", - "type": "string" - }, - "exportModelSpec": { - "$ref": "XPSImageExportModelSpec" - }, - "maxBoundingBoxCount": { - "description": "Max number of bounding box.", - "format": "int64", - "type": "string" - }, - "modelArtifactSpec": { - "$ref": "XPSImageModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "modelServingSpec": { - "$ref": "XPSImageModelServingSpec" - }, - "stopReason": { - "description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", - "enum": [ - "TRAIN_STOP_REASON_UNSPECIFIED", - "TRAIN_STOP_REASON_BUDGET_REACHED", - "TRAIN_STOP_REASON_MODEL_CONVERGED", - "TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" - ], - "enumDescriptions": [ - "", - "", - "Model fully converged, can not be resumbed training.", - "Model early converged, can be further trained till full convergency." - ], - "type": "string" - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSImageSegmentationEvaluationMetrics": { - "description": "Model evaluation metrics for image segmentation problems. Next tag: 4.", - "id": "XPSImageSegmentationEvaluationMetrics", - "properties": { - "confidenceMetricsEntries": { - "description": "Metrics that have confidence thresholds. Precision-recall curve can be derived from it.", - "items": { - "$ref": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model level evaluation, not for evaluation per label." - }, - "diceScoreCoefficient": { - "description": "DSC or the F1 score: The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "iouScore": { - "description": "IOU score.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Recall for the given confidence threshold.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSImageSegmentationTrainResponse": { - "id": "XPSImageSegmentationTrainResponse", - "properties": { - "colorMaps": { - "description": "Color map of the model.", - "items": { - "$ref": "XPSColorMap" - }, - "type": "array" - }, - "exportModelSpec": { - "$ref": "XPSImageExportModelSpec", - "description": "NOTE: These fields are not used/needed in EAP but will be set later." - }, - "modelArtifactSpec": { - "$ref": "XPSImageModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs pathes and related metadata" - }, - "modelServingSpec": { - "$ref": "XPSImageModelServingSpec" - }, - "stopReason": { - "description": "Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'.", - "enum": [ - "TRAIN_STOP_REASON_UNSPECIFIED", - "TRAIN_STOP_REASON_BUDGET_REACHED", - "TRAIN_STOP_REASON_MODEL_CONVERGED", - "TRAIN_STOP_REASON_MODEL_EARLY_STOPPED" - ], - "enumDescriptions": [ - "", - "", - "Model fully converged, can not be resumbed training.", - "Model early converged, can be further trained till full convergency." - ], - "type": "string" - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSIntegratedGradientsAttribution": { - "deprecated": true, - "description": "An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365", - "id": "XPSIntegratedGradientsAttribution", - "properties": { - "stepCount": { - "description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSMetricEntry": { - "id": "XPSMetricEntry", - "properties": { - "argentumMetricId": { - "description": "For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the \"cloudbilling.googleapis.com/argentum_metric_id\" label. Otherwise leave empty.", - "type": "string" - }, - "doubleValue": { - "description": "A double value.", - "format": "double", - "type": "number" - }, - "int64Value": { - "description": "A signed 64-bit integer value.", - "format": "int64", - "type": "string" - }, - "metricName": { - "description": "The metric name defined in the service configuration.", - "type": "string" - }, - "systemLabels": { - "description": "Billing system labels for this (metric, value) pair.", - "items": { - "$ref": "XPSMetricEntryLabel" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSMetricEntryLabel": { - "id": "XPSMetricEntryLabel", - "properties": { - "labelName": { - "description": "The name of the label.", - "type": "string" - }, - "labelValue": { - "description": "The value of the label.", - "type": "string" - } - }, - "type": "object" - }, - "XPSModelArtifactItem": { - "description": "A single model artifact item.", - "id": "XPSModelArtifactItem", - "properties": { - "artifactFormat": { - "description": "The model artifact format.", - "enum": [ - "ARTIFACT_FORMAT_UNSPECIFIED", - "TF_CHECKPOINT", - "TF_SAVED_MODEL", - "TF_LITE", - "EDGE_TPU_TF_LITE", - "TF_JS", - "CORE_ML" - ], - "enumDescriptions": [ - "Should not be used.", - "The Tensorflow checkpoints. See https://www.tensorflow.org/guide/checkpoint.", - "The Tensorflow SavedModel binary.", - "Model artifact in generic TensorFlow Lite (.tflite) format. See https://www.tensorflow.org/lite.", - "Used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices.", - "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", - "Used for iOS mobile devices in (.mlmodel) format. See https://developer.apple.com/documentation/coreml" - ], - "type": "string" - }, - "gcsUri": { - "description": "The Google Cloud Storage (GCS) uri that stores the model binary files.", - "type": "string" - } - }, - "type": "object" - }, - "XPSPreprocessResponse": { - "description": "Next ID: 8", - "id": "XPSPreprocessResponse", - "properties": { - "outputExampleSet": { - "$ref": "XPSExampleSet", - "description": "Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data." - }, - "speechPreprocessResp": { - "$ref": "XPSSpeechPreprocessResponse" - }, - "tablesPreprocessResponse": { - "$ref": "XPSTablesPreprocessResponse" - }, - "translationPreprocessResp": { - "$ref": "XPSTranslationPreprocessResponse" - } - }, - "type": "object" - }, - "XPSRegressionEvaluationMetrics": { - "description": "Model evaluation metrics for regression problems. It can be used for Tables.", - "id": "XPSRegressionEvaluationMetrics", - "properties": { - "meanAbsoluteError": { - "description": "Mean Absolute Error (MAE).", - "format": "float", - "type": "number" - }, - "meanAbsolutePercentageError": { - "description": "Mean absolute percentage error. Only set if all ground truth values are positive.", - "format": "float", - "type": "number" - }, - "rSquared": { - "description": "R squared.", - "format": "float", - "type": "number" - }, - "regressionMetricsEntries": { - "description": "A list of actual versus predicted points for the model being evaluated.", - "items": { - "$ref": "XPSRegressionMetricsEntry" - }, - "type": "array" - }, - "rootMeanSquaredError": { - "description": "Root Mean Squared Error (RMSE).", - "format": "float", - "type": "number" - }, - "rootMeanSquaredLogError": { - "description": "Root mean squared log error.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSRegressionMetricsEntry": { - "description": "A pair of actual & observed values for the model being evaluated.", - "id": "XPSRegressionMetricsEntry", - "properties": { - "predictedValue": { - "description": "The observed value for a row in the dataset.", - "format": "float", - "type": "number" - }, - "trueValue": { - "description": "The actual target value for a row in the dataset.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSReportingMetrics": { - "id": "XPSReportingMetrics", - "properties": { - "effectiveTrainingDuration": { - "deprecated": true, - "description": "The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set.", - "format": "google-duration", - "type": "string" - }, - "metricEntries": { - "description": "One entry per metric name. The values must be aggregated per metric name.", - "items": { - "$ref": "XPSMetricEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSResponseExplanationMetadata": { - "deprecated": true, - "id": "XPSResponseExplanationMetadata", - "properties": { - "inputs": { - "additionalProperties": { - "$ref": "XPSResponseExplanationMetadataInputMetadata" - }, - "description": "Metadata of the input.", - "type": "object" - }, - "outputs": { - "additionalProperties": { - "$ref": "XPSResponseExplanationMetadataOutputMetadata" - }, - "description": "Metadata of the output.", - "type": "object" - } - }, - "type": "object" - }, - "XPSResponseExplanationMetadataInputMetadata": { - "description": "Metadata of the input of a feature.", - "id": "XPSResponseExplanationMetadataInputMetadata", - "properties": { - "inputTensorName": { - "description": "Name of the input tensor for this model. Only needed in train response.", - "type": "string" - }, - "modality": { - "description": "Modality of the feature. Valid values are: numeric, image. Defaults to numeric.", - "enum": [ - "MODALITY_UNSPECIFIED", - "NUMERIC", - "IMAGE", - "CATEGORICAL" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "visualizationConfig": { - "$ref": "XPSVisualization", - "description": "Visualization configurations for image explanation." - } - }, - "type": "object" - }, - "XPSResponseExplanationMetadataOutputMetadata": { - "description": "Metadata of the prediction output to be explained.", - "id": "XPSResponseExplanationMetadataOutputMetadata", - "properties": { - "outputTensorName": { - "description": "Name of the output tensor. Only needed in train response.", - "type": "string" - } - }, - "type": "object" - }, - "XPSResponseExplanationParameters": { - "deprecated": true, - "id": "XPSResponseExplanationParameters", - "properties": { - "integratedGradientsAttribution": { - "$ref": "XPSIntegratedGradientsAttribution", - "description": "An attribution method that computes Aumann-Shapley values taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365" - }, - "xraiAttribution": { - "$ref": "XPSXraiAttribution", - "description": "An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead." - } - }, - "type": "object" - }, - "XPSResponseExplanationSpec": { - "deprecated": true, - "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context.", - "id": "XPSResponseExplanationSpec", - "properties": { - "explanationType": { - "description": "Explanation type. For AutoML Image Classification models, possible values are: * `image-integrated-gradients` * `image-xrai`", - "type": "string" - }, - "metadata": { - "$ref": "XPSResponseExplanationMetadata", - "description": "Metadata describing the Model's input and output for explanation." - }, - "parameters": { - "$ref": "XPSResponseExplanationParameters", - "description": "Parameters that configure explaining of the Model's predictions." - } - }, - "type": "object" - }, - "XPSRow": { - "id": "XPSRow", - "properties": { - "columnIds": { - "description": "The ids of the columns. Note: The below `values` field must match order of this field, if this field is set.", - "items": { - "format": "int32", - "type": "integer" - }, - "type": "array" - }, - "values": { - "description": "The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in the same order as the input_feature_column_ids in TablesModelMetadata.", - "items": { - "type": "any" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSSpeechEvaluationMetrics": { - "id": "XPSSpeechEvaluationMetrics", - "properties": { - "subModelEvaluationMetrics": { - "description": "Evaluation metrics for all submodels contained in this model.", - "items": { - "$ref": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSSpeechEvaluationMetricsSubModelEvaluationMetric": { - "id": "XPSSpeechEvaluationMetricsSubModelEvaluationMetric", - "properties": { - "biasingModelType": { - "description": "Type of the biasing model.", - "enum": [ - "BIASING_MODEL_TYPE_UNSPECIFIED", - "COMMAND_AND_SEARCH", - "PHONE_CALL", - "VIDEO", - "DEFAULT" - ], - "enumDescriptions": [ - "", - "Build biasing model on top of COMMAND_AND_SEARCH model", - "Build biasing model on top of PHONE_CALL model", - "Build biasing model on top of VIDEO model", - "Build biasing model on top of DEFAULT model" - ], - "type": "string" - }, - "isEnhancedModel": { - "description": "If true then it means we have an enhanced version of the biasing models.", - "type": "boolean" - }, - "numDeletions": { - "format": "int32", - "type": "integer" - }, - "numInsertions": { - "format": "int32", - "type": "integer" - }, - "numSubstitutions": { - "format": "int32", - "type": "integer" - }, - "numUtterances": { - "description": "Number of utterances used in the wer computation.", - "format": "int32", - "type": "integer" - }, - "numWords": { - "description": "Number of words over which the word error rate was computed.", - "format": "int32", - "type": "integer" - }, - "sentenceAccuracy": { - "description": "Below fields are used for debugging purposes", - "format": "double", - "type": "number" - }, - "wer": { - "description": "Word error rate (standard error metric used for speech recognition).", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSSpeechModelSpec": { - "id": "XPSSpeechModelSpec", - "properties": { - "datasetId": { - "description": "Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so that speech API can query the db directly.", - "format": "int64", - "type": "string" - }, - "language": { - "type": "string" - }, - "subModelSpecs": { - "description": "Model specs for all submodels contained in this model.", - "items": { - "$ref": "XPSSpeechModelSpecSubModelSpec" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSSpeechModelSpecSubModelSpec": { - "id": "XPSSpeechModelSpecSubModelSpec", - "properties": { - "biasingModelType": { - "description": "Type of the biasing model.", - "enum": [ - "BIASING_MODEL_TYPE_UNSPECIFIED", - "COMMAND_AND_SEARCH", - "PHONE_CALL", - "VIDEO", - "DEFAULT" - ], - "enumDescriptions": [ - "", - "Build biasing model on top of COMMAND_AND_SEARCH model", - "Build biasing model on top of PHONE_CALL model", - "Build biasing model on top of VIDEO model", - "Build biasing model on top of DEFAULT model" - ], - "type": "string" - }, - "clientId": { - "description": "In S3, Recognition ClientContextId.client_id", - "type": "string" - }, - "contextId": { - "description": "In S3, Recognition ClientContextId.context_id", - "type": "string" - }, - "isEnhancedModel": { - "description": "If true then it means we have an enhanced version of the biasing models.", - "type": "boolean" - } - }, - "type": "object" - }, - "XPSSpeechPreprocessResponse": { - "id": "XPSSpeechPreprocessResponse", - "properties": { - "cnsTestDataPath": { - "description": "Location od shards of sstables (test data) of DataUtterance protos.", - "type": "string" - }, - "cnsTrainDataPath": { - "description": "Location of shards of sstables (training data) of DataUtterance protos.", - "type": "string" - }, - "prebuiltModelEvaluationMetrics": { - "$ref": "XPSSpeechEvaluationMetrics", - "description": "The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models stored in the AutoML." - }, - "speechPreprocessStats": { - "$ref": "XPSSpeechPreprocessStats", - "description": "Stats associated with the data." - } - }, - "type": "object" - }, - "XPSSpeechPreprocessStats": { - "id": "XPSSpeechPreprocessStats", - "properties": { - "dataErrors": { - "description": "Different types of data errors and the counts associated with them.", - "items": { - "$ref": "XPSDataErrors" - }, - "type": "array" - }, - "numHumanLabeledExamples": { - "description": "The number of rows marked HUMAN_LABELLED", - "format": "int32", - "type": "integer" - }, - "numLogsExamples": { - "description": "The number of samples found in the previously recorded logs data.", - "format": "int32", - "type": "integer" - }, - "numMachineTranscribedExamples": { - "description": "The number of rows marked as MACHINE_TRANSCRIBED", - "format": "int32", - "type": "integer" - }, - "testExamplesCount": { - "description": "The number of examples labelled as TEST by Speech xps server.", - "format": "int32", - "type": "integer" - }, - "testSentencesCount": { - "description": "The number of sentences in the test data set.", - "format": "int32", - "type": "integer" - }, - "testWordsCount": { - "description": "The number of words in the test data set.", - "format": "int32", - "type": "integer" - }, - "trainExamplesCount": { - "description": "The number of examples labeled as TRAIN by Speech xps server.", - "format": "int32", - "type": "integer" - }, - "trainSentencesCount": { - "description": "The number of sentences in the training data set.", - "format": "int32", - "type": "integer" - }, - "trainWordsCount": { - "description": "The number of words in the training data set.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSStringStats": { - "description": "The data statistics of a series of STRING values.", - "id": "XPSStringStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "topUnigramStats": { - "description": "The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count.", - "items": { - "$ref": "XPSStringStatsUnigramStats" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSStringStatsUnigramStats": { - "description": "The statistics of a unigram.", - "id": "XPSStringStatsUnigramStats", - "properties": { - "count": { - "description": "The number of occurrences of this unigram in the series.", - "format": "int64", - "type": "string" - }, - "value": { - "description": "The unigram.", - "type": "string" - } - }, - "type": "object" - }, - "XPSStructStats": { - "description": "The data statistics of a series of STRUCT values.", - "id": "XPSStructStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "fieldStats": { - "additionalProperties": { - "$ref": "XPSDataStats" - }, - "description": "Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.", - "type": "object" - } - }, - "type": "object" - }, - "XPSStructType": { - "description": "`StructType` defines the DataType-s of a STRUCT type.", - "id": "XPSStructType", - "properties": { - "fields": { - "additionalProperties": { - "$ref": "XPSDataType" - }, - "description": "Unordered map of struct field names to their data types.", - "type": "object" - } - }, - "type": "object" - }, - "XPSTableSpec": { - "id": "XPSTableSpec", - "properties": { - "columnSpecs": { - "additionalProperties": { - "$ref": "XPSColumnSpec" - }, - "description": "Mapping from column id to column spec.", - "type": "object" - }, - "importedDataSizeInBytes": { - "description": "The total size of imported data of the table.", - "format": "int64", - "type": "string" - }, - "rowCount": { - "description": "The number of rows in the table.", - "format": "int64", - "type": "string" - }, - "timeColumnId": { - "description": "The id of the time column.", - "format": "int32", - "type": "integer" - }, - "validRowCount": { - "description": "The number of valid rows.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesClassificationMetrics": { - "description": "Metrics for Tables classification problems.", - "id": "XPSTablesClassificationMetrics", - "properties": { - "curveMetrics": { - "description": "Metrics building a curve.", - "items": { - "$ref": "XPSTablesClassificationMetricsCurveMetrics" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTablesClassificationMetricsCurveMetrics": { - "description": "Metrics curve data point for a single value.", - "id": "XPSTablesClassificationMetricsCurveMetrics", - "properties": { - "aucPr": { - "description": "The area under the precision-recall curve.", - "format": "double", - "type": "number" - }, - "aucRoc": { - "description": "The area under receiver operating characteristic curve.", - "format": "double", - "type": "number" - }, - "confidenceMetricsEntries": { - "description": "Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them.", - "items": { - "$ref": "XPSTablesConfidenceMetricsEntry" - }, - "type": "array" - }, - "logLoss": { - "description": "The Log loss metric.", - "format": "double", - "type": "number" - }, - "positionThreshold": { - "description": "The position threshold value used to compute the metrics.", - "format": "int32", - "type": "integer" - }, - "value": { - "description": "The CATEGORY row value (for ARRAY unnested) the curve metrics are for.", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSTablesConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "The confidence threshold value used to compute the metrics.", - "format": "double", - "type": "number" - }, - "f1Score": { - "description": "The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall)", - "format": "double", - "type": "number" - }, - "falseNegativeCount": { - "description": "False negative count.", - "format": "int64", - "type": "string" - }, - "falsePositiveCount": { - "description": "False positive count.", - "format": "int64", - "type": "string" - }, - "falsePositiveRate": { - "description": "FPR = #false positives / (#false positives + #true negatives)", - "format": "double", - "type": "number" - }, - "precision": { - "description": "Precision = #true positives / (#true positives + #false positives).", - "format": "double", - "type": "number" - }, - "recall": { - "description": "Recall = #true positives / (#true positives + #false negatives).", - "format": "double", - "type": "number" - }, - "trueNegativeCount": { - "description": "True negative count.", - "format": "int64", - "type": "string" - }, - "truePositiveCount": { - "description": "True positive count.", - "format": "int64", - "type": "string" - }, - "truePositiveRate": { - "description": "TPR = #true positives / (#true positives + #false negatvies)", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSTablesDatasetMetadata": { - "description": "Metadata for a dataset used for AutoML Tables. Next ID: 6", - "id": "XPSTablesDatasetMetadata", - "properties": { - "mlUseColumnId": { - "description": "Id the column to split the table.", - "format": "int32", - "type": "integer" - }, - "primaryTableSpec": { - "$ref": "XPSTableSpec", - "description": "Primary table." - }, - "targetColumnCorrelations": { - "additionalProperties": { - "$ref": "XPSCorrelationStats" - }, - "description": "(the column id : its CorrelationStats with target column).", - "type": "object" - }, - "targetColumnId": { - "description": "Id of the primary table column that should be used as the training label.", - "format": "int32", - "type": "integer" - }, - "weightColumnId": { - "description": "Id of the primary table column that should be used as the weight column.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "XPSTablesEvaluationMetrics": { - "id": "XPSTablesEvaluationMetrics", - "properties": { - "classificationMetrics": { - "$ref": "XPSTablesClassificationMetrics", - "description": "Classification metrics." - }, - "regressionMetrics": { - "$ref": "XPSTablesRegressionMetrics", - "description": "Regression metrics." - } - }, - "type": "object" - }, - "XPSTablesModelColumnInfo": { - "description": "An information specific to given column and Tables Model, in context of the Model and the predictions created by it.", - "id": "XPSTablesModelColumnInfo", - "properties": { - "columnId": { - "description": "The ID of the column.", - "format": "int32", - "type": "integer" - }, - "featureImportance": { - "description": "When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend on values in this column. A value between 0 and 1, higher means higher influence. These values are normalized - for all input feature columns of a given model they add to 1. When given back by Predict or Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this column was. Specifically, the feature importance specifies the marginal contribution that the feature made to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley method.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTablesModelStructure": { - "description": "A description of Tables model structure.", - "id": "XPSTablesModelStructure", - "properties": { - "modelParameters": { - "description": "A list of models.", - "items": { - "$ref": "XPSTablesModelStructureModelParameters" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTablesModelStructureModelParameters": { - "description": "Model hyper-parameters for a model.", - "id": "XPSTablesModelStructureModelParameters", - "properties": { - "hyperparameters": { - "items": { - "$ref": "XPSTablesModelStructureModelParametersParameter" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTablesModelStructureModelParametersParameter": { - "id": "XPSTablesModelStructureModelParametersParameter", - "properties": { - "floatValue": { - "description": "Float type parameter value.", - "format": "double", - "type": "number" - }, - "intValue": { - "description": "Integer type parameter value.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Parameter name.", - "type": "string" - }, - "stringValue": { - "description": "String type parameter value.", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesPreprocessResponse": { - "id": "XPSTablesPreprocessResponse", - "properties": { - "tablesDatasetMetadata": { - "$ref": "XPSTablesDatasetMetadata", - "description": "The table/column id, column_name and the DataTypes of the columns will be populated." - } - }, - "type": "object" - }, - "XPSTablesRegressionMetrics": { - "description": "Metrics for Tables regression problems.", - "id": "XPSTablesRegressionMetrics", - "properties": { - "meanAbsoluteError": { - "description": "Mean absolute error.", - "format": "double", - "type": "number" - }, - "meanAbsolutePercentageError": { - "description": "Mean absolute percentage error, only set if all of the target column's values are positive.", - "format": "double", - "type": "number" - }, - "rSquared": { - "description": "R squared.", - "format": "double", - "type": "number" - }, - "regressionMetricsEntries": { - "description": "A list of actual versus predicted points for the model being evaluated.", - "items": { - "$ref": "XPSRegressionMetricsEntry" - }, - "type": "array" - }, - "rootMeanSquaredError": { - "description": "Root mean squared error.", - "format": "double", - "type": "number" - }, - "rootMeanSquaredLogError": { - "description": "Root mean squared log error.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSTablesTrainResponse": { - "id": "XPSTablesTrainResponse", - "properties": { - "modelStructure": { - "$ref": "XPSTablesModelStructure" - }, - "predictionSampleRows": { - "description": "Sample rows from the dataset this model was trained.", - "items": { - "$ref": "XPSRow" - }, - "type": "array" - }, - "tablesModelColumnInfo": { - "description": "Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this particular model.", - "items": { - "$ref": "XPSTablesModelColumnInfo" - }, - "type": "array" - }, - "trainCostMilliNodeHours": { - "description": "The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed to not exceed the train budget.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTablesTrainingOperationMetadata": { - "id": "XPSTablesTrainingOperationMetadata", - "properties": { - "createModelStage": { - "description": "Current stage of creating model.", - "enum": [ - "CREATE_MODEL_STAGE_UNSPECIFIED", - "DATA_PREPROCESSING", - "TRAINING", - "EVALUATING", - "MODEL_POST_PROCESSING" - ], - "enumDescriptions": [ - "Unspecified stage.", - "Prepare the model training pipeline and run data processing.", - "Training model.", - "Run evaluation.", - "Finalizing model training pipeline." - ], - "type": "string" - }, - "optimizationObjective": { - "description": "The optimization objective for model.", - "type": "string" - }, - "topTrials": { - "description": "This field is for training. When the operation is terminated successfully, AutoML Backend post this field to operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to be a failure.", - "items": { - "$ref": "XPSTuningTrial" - }, - "type": "array" - }, - "trainBudgetMilliNodeHours": { - "description": "Creating model budget.", - "format": "int64", - "type": "string" - }, - "trainingObjectivePoints": { - "description": "This field records the training objective value with respect to time, giving insight into how the model architecture search is performing as training time elapses.", - "items": { - "$ref": "XPSTrainingObjectivePoint" - }, - "type": "array" - }, - "trainingStartTime": { - "description": "Timestamp when training process starts.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, - "XPSTextComponentModel": { - "description": "Component model. Next ID: 10", - "id": "XPSTextComponentModel", - "properties": { - "batchPredictionModelGcsUri": { - "description": "The Cloud Storage resource path to hold batch prediction model.", - "type": "string" - }, - "onlinePredictionModelGcsUri": { - "description": "The Cloud Storage resource path to hold online prediction model.", - "type": "string" - }, - "partition": { - "description": "The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest.", - "enum": [ - "PARTITION_TYPE_UNSPECIFIED", - "PARTITION_ZERO", - "PARTITION_REDUCED_HOMING", - "PARTITION_JELLYFISH", - "PARTITION_CPU", - "PARTITION_CUSTOM_STORAGE_CPU" - ], - "enumDescriptions": [ - "", - "The default partition.", - "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", - "The partition used by regionalized servomatic cloud regions.", - "The partition used for loading models from custom storage." - ], - "type": "string" - }, - "servingArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai Platform API." - }, - "servoModelName": { - "description": "The name of servo model. Populated by uCAIP BE as part of online PredictRequest.", - "type": "string" - }, - "submodelName": { - "description": "The name of the trained NL submodel.", - "type": "string" - }, - "submodelType": { - "description": "The type of trained NL submodel", - "enum": [ - "TEXT_MODEL_TYPE_UNSPECIFIED", - "TEXT_MODEL_TYPE_DEFAULT", - "TEXT_MODEL_TYPE_META_ARCHITECT", - "TEXT_MODEL_TYPE_ATC", - "TEXT_MODEL_TYPE_CLARA2", - "TEXT_MODEL_TYPE_CHATBASE", - "TEXT_MODEL_TYPE_SAFT_SPAN_LABELING", - "TEXT_MODEL_TYPE_TEXT_EXTRACTION", - "TEXT_MODEL_TYPE_RELATIONSHIP_EXTRACTION", - "TEXT_MODEL_TYPE_COMPOSITE", - "TEXT_MODEL_TYPE_ALL_MODELS", - "TEXT_MODEL_TYPE_BERT", - "TEXT_MODEL_TYPE_ENC_PALM" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "Model type for entity extraction.", - "Model type for relationship extraction.", - "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model. Please refer to go/cnl-composite-models for more information.", - "Model type used to train default, MA, and ATC models in a single batch worker pipeline.", - "BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", - "Model type for EncPaLM." - ], - "type": "string" - }, - "tfRuntimeVersion": { - "description": "## The fields below are only populated under uCAIP request scope. https://cloud.google.com/ml-engine/docs/runtime-version-list", - "type": "string" - }, - "versionNumber": { - "description": "The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTextExtractionEvaluationMetrics": { - "id": "XPSTextExtractionEvaluationMetrics", - "properties": { - "bestF1ConfidenceMetrics": { - "$ref": "XPSConfidenceMetricsEntry", - "deprecated": true, - "description": "Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, precision, and f1_score will be set." - }, - "confidenceMetricsEntries": { - "description": "If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies to that label.", - "items": { - "$ref": "XPSConfidenceMetricsEntry" - }, - "type": "array" - }, - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model evaluation, not for evaluation per label." - }, - "perLabelConfidenceMetrics": { - "additionalProperties": { - "$ref": "XPSConfidenceMetricsEntry" - }, - "deprecated": true, - "description": "Only recall, precision, and f1_score will be set.", - "type": "object" - } - }, - "type": "object" - }, - "XPSTextSentimentEvaluationMetrics": { - "description": "Model evaluation metrics for text sentiment problems.", - "id": "XPSTextSentimentEvaluationMetrics", - "properties": { - "confusionMatrix": { - "$ref": "XPSConfusionMatrix", - "description": "Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for evaluation of a single annotation spec." - }, - "f1Score": { - "description": "Output only. The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "linearKappa": { - "description": "Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "meanAbsoluteError": { - "description": "Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "meanSquaredError": { - "description": "Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Output only. Precision.", - "format": "float", - "type": "number" - }, - "quadraticKappa": { - "description": "Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a single annotation spec.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Output only. Recall.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTextToSpeechTrainResponse": { - "description": "TextToSpeech train response", - "id": "XPSTextToSpeechTrainResponse", - "properties": {}, - "type": "object" - }, - "XPSTextTrainResponse": { - "id": "XPSTextTrainResponse", - "properties": { - "componentModel": { - "description": "Component submodels.", - "items": { - "$ref": "XPSTextComponentModel" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSTfJsFormat": { - "description": "A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using JavaScript.", - "id": "XPSTfJsFormat", - "properties": {}, - "type": "object" - }, - "XPSTfLiteFormat": { - "description": "LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite.", - "id": "XPSTfLiteFormat", - "properties": {}, - "type": "object" - }, - "XPSTfSavedModelFormat": { - "description": "A tensorflow model format in SavedModel format.", - "id": "XPSTfSavedModelFormat", - "properties": {}, - "type": "object" - }, - "XPSTimestampStats": { - "description": "The data statistics of a series of TIMESTAMP values.", - "id": "XPSTimestampStats", - "properties": { - "commonStats": { - "$ref": "XPSCommonStats" - }, - "granularStats": { - "additionalProperties": { - "$ref": "XPSTimestampStatsGranularStats" - }, - "description": "The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day granularity, then hour_of_day is not populated).", - "type": "object" - }, - "medianTimestampNanos": { - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTimestampStatsGranularStats": { - "description": "Stats split by a defined in context granularity.", - "id": "XPSTimestampStatsGranularStats", - "properties": { - "buckets": { - "additionalProperties": { - "format": "int64", - "type": "string" - }, - "description": "A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May).", - "type": "object" - } - }, - "type": "object" - }, - "XPSTrackMetricsEntry": { - "description": "Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. Next tag: 6.", - "id": "XPSTrackMetricsEntry", - "properties": { - "confidenceMetricsEntries": { - "description": "Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is derived from them.", - "items": { - "$ref": "XPSTrackMetricsEntryConfidenceMetricsEntry" - }, - "type": "array" - }, - "iouThreshold": { - "description": "Output only. The intersection-over-union threshold value between bounding boxes across frames used to compute this metric entry.", - "format": "float", - "type": "number" - }, - "meanBoundingBoxIou": { - "description": "Output only. The mean bounding box iou over all confidence thresholds.", - "format": "float", - "type": "number" - }, - "meanMismatchRate": { - "description": "Output only. The mean mismatch rate over all confidence thresholds.", - "format": "float", - "type": "number" - }, - "meanTrackingAveragePrecision": { - "description": "Output only. The mean average precision over all confidence thresholds.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTrackMetricsEntryConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold. Next tag: 6.", - "id": "XPSTrackMetricsEntryConfidenceMetricsEntry", - "properties": { - "boundingBoxIou": { - "description": "Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap between each other (e.g. complete overlap or just barely above iou_threshold).", - "format": "float", - "type": "number" - }, - "confidenceThreshold": { - "description": "Output only. The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "mismatchRate": { - "description": "Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID continuity.", - "format": "float", - "type": "number" - }, - "trackingPrecision": { - "description": "Output only. Tracking precision.", - "format": "float", - "type": "number" - }, - "trackingRecall": { - "description": "Output only. Tracking recall.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTrainResponse": { - "description": "Next ID: 18", - "id": "XPSTrainResponse", - "properties": { - "deployedModelSizeBytes": { - "description": "Estimated model size in bytes once deployed.", - "format": "int64", - "type": "string" - }, - "errorAnalysisConfigs": { - "description": "Optional vision model error analysis configuration. The field is set when model error analysis is enabled in the training request. The results of error analysis will be binded together with evaluation results (in the format of AnnotatedExample).", - "items": { - "$ref": "XPSVisionErrorAnalysisConfig" - }, - "type": "array" - }, - "evaluatedExampleSet": { - "$ref": "XPSExampleSet", - "description": "Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and annotations predicted by the model must be set. The example payload can and is recommended to be omitted." - }, - "evaluationMetricsSet": { - "$ref": "XPSEvaluationMetricsSet", - "description": "The trained model evaluation metrics. This can be optionally returned." - }, - "explanationConfigs": { - "deprecated": true, - "description": "VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request.", - "items": { - "$ref": "XPSResponseExplanationSpec" - }, - "type": "array" - }, - "imageClassificationTrainResp": { - "$ref": "XPSImageClassificationTrainResponse" - }, - "imageObjectDetectionTrainResp": { - "$ref": "XPSImageObjectDetectionModelSpec" - }, - "imageSegmentationTrainResp": { - "$ref": "XPSImageSegmentationTrainResponse" - }, - "modelToken": { - "description": "Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other xPS APIs to refer to the model.", - "format": "byte", - "type": "string" - }, - "speechTrainResp": { - "$ref": "XPSSpeechModelSpec" - }, - "tablesTrainResp": { - "$ref": "XPSTablesTrainResponse" - }, - "textToSpeechTrainResp": { - "$ref": "XPSTextToSpeechTrainResponse" - }, - "textTrainResp": { - "$ref": "XPSTextTrainResponse", - "description": "Will only be needed for uCAIP from Beta." - }, - "translationTrainResp": { - "$ref": "XPSTranslationTrainResponse" - }, - "videoActionRecognitionTrainResp": { - "$ref": "XPSVideoActionRecognitionTrainResponse" - }, - "videoClassificationTrainResp": { - "$ref": "XPSVideoClassificationTrainResponse" - }, - "videoObjectTrackingTrainResp": { - "$ref": "XPSVideoObjectTrackingTrainResponse" - } - }, - "type": "object" - }, - "XPSTrainingObjectivePoint": { - "id": "XPSTrainingObjectivePoint", - "properties": { - "createTime": { - "description": "The time at which this point was recorded.", - "format": "google-datetime", - "type": "string" - }, - "value": { - "description": "The objective value when this point was recorded.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSTranslationEvaluationMetrics": { - "description": "Evaluation metrics for the dataset.", - "id": "XPSTranslationEvaluationMetrics", - "properties": { - "baseBleuScore": { - "description": "BLEU score for base model.", - "format": "double", - "type": "number" - }, - "bleuScore": { - "description": "BLEU score.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "XPSTranslationPreprocessResponse": { - "description": "Translation preprocess response.", - "id": "XPSTranslationPreprocessResponse", - "properties": { - "parsedExampleCount": { - "description": "Total example count parsed.", - "format": "int64", - "type": "string" - }, - "validExampleCount": { - "description": "Total valid example count.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSTranslationTrainResponse": { - "description": "Train response for translation.", - "id": "XPSTranslationTrainResponse", - "properties": { - "modelType": { - "description": "Type of the model.", - "enum": [ - "MODEL_TYPE_UNSPECIFIED", - "LEGACY", - "CURRENT" - ], - "enumDescriptions": [ - "Default", - "Legacy model. Will be deprecated.", - "Current model." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSTuningTrial": { - "description": "Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users.", - "id": "XPSTuningTrial", - "properties": { - "modelStructure": { - "$ref": "XPSTablesModelStructure", - "description": "Model parameters for the trial." - }, - "trainingObjectivePoint": { - "$ref": "XPSTrainingObjectivePoint", - "description": "The optimization objective evaluation of the eval split data." - } - }, - "type": "object" - }, - "XPSVideoActionMetricsEntry": { - "description": "The Evaluation metrics entry given a specific precision_window_length.", - "id": "XPSVideoActionMetricsEntry", - "properties": { - "confidenceMetricsEntries": { - "description": "Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSVideoActionMetricsEntryConfidenceMetricsEntry" - }, - "type": "array" - }, - "meanAveragePrecision": { - "description": "The mean average precision.", - "format": "float", - "type": "number" - }, - "precisionWindowLength": { - "description": "This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's timestamp is inside the time window whose center is the ground truth action's timestamp with this specific length, the prediction result is treated as a true positive.", - "format": "google-duration", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoActionMetricsEntryConfidenceMetricsEntry": { - "description": "Metrics for a single confidence threshold.", - "id": "XPSVideoActionMetricsEntryConfidenceMetricsEntry", - "properties": { - "confidenceThreshold": { - "description": "Output only. The confidence threshold value used to compute the metrics.", - "format": "float", - "type": "number" - }, - "f1Score": { - "description": "Output only. The harmonic mean of recall and precision.", - "format": "float", - "type": "number" - }, - "precision": { - "description": "Output only. Precision for the given confidence threshold.", - "format": "float", - "type": "number" - }, - "recall": { - "description": "Output only. Recall for the given confidence threshold.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "XPSVideoActionRecognitionEvaluationMetrics": { - "description": "Model evaluation metrics for video action recognition.", - "id": "XPSVideoActionRecognitionEvaluationMetrics", - "properties": { - "evaluatedActionCount": { - "description": "Output only. The number of ground truth actions used to create this evaluation.", - "format": "int32", - "type": "integer" - }, - "videoActionMetricsEntries": { - "description": "Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s.", - "items": { - "$ref": "XPSVideoActionMetricsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoActionRecognitionTrainResponse": { - "id": "XPSVideoActionRecognitionTrainResponse", - "properties": { - "modelArtifactSpec": { - "$ref": "XPSVideoModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoBatchPredictOperationMetadata": { - "id": "XPSVideoBatchPredictOperationMetadata", - "properties": { - "outputExamples": { - "description": "All the partial batch prediction results that are completed at the moment. Output examples are sorted by completion time. The order will not be changed. Each output example should be the path of a single RecordIO file of AnnotatedExamples.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoClassificationTrainResponse": { - "id": "XPSVideoClassificationTrainResponse", - "properties": { - "modelArtifactSpec": { - "$ref": "XPSVideoModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoExportModelSpec": { - "description": "Information of downloadable models that are pre-generated as part of training flow and will be persisted in AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend will call xPS ExportModel API to generate the model on the fly with the requesting format.", - "id": "XPSVideoExportModelSpec", - "properties": { - "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", - "items": { - "$ref": "XPSExportModelOutputConfig" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoModelArtifactSpec": { - "id": "XPSVideoModelArtifactSpec", - "properties": { - "exportArtifact": { - "description": "The model binary files in different formats for model export.", - "items": { - "$ref": "XPSModelArtifactItem" - }, - "type": "array" - }, - "servingArtifact": { - "$ref": "XPSModelArtifactItem", - "description": "The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API." - } - }, - "type": "object" - }, - "XPSVideoObjectTrackingEvaluationMetrics": { - "description": "Model evaluation metrics for ObjectTracking problems. Next tag: 10.", - "id": "XPSVideoObjectTrackingEvaluationMetrics", - "properties": { - "boundingBoxMeanAveragePrecision": { - "description": "Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.", - "format": "float", - "type": "number" - }, - "boundingBoxMetricsEntries": { - "description": "Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSBoundingBoxMetricsEntry" - }, - "type": "array" - }, - "evaluatedBoundingboxCount": { - "description": "The number of bounding boxes used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "evaluatedFrameCount": { - "description": "The number of video frames used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "evaluatedTrackCount": { - "description": "The number of tracks used for model evaluation.", - "format": "int32", - "type": "integer" - }, - "trackMeanAveragePrecision": { - "description": "Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all track_metrics_entries.", - "format": "float", - "type": "number" - }, - "trackMeanBoundingBoxIou": { - "description": "Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged over all track_metrics_entries.", - "format": "float", - "type": "number" - }, - "trackMeanMismatchRate": { - "description": "Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all track_metrics_entries.", - "format": "float", - "type": "number" - }, - "trackMetricsEntries": { - "description": "Output only. The tracks match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99.", - "items": { - "$ref": "XPSTrackMetricsEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "XPSVideoObjectTrackingTrainResponse": { - "id": "XPSVideoObjectTrackingTrainResponse", - "properties": { - "exportModelSpec": { - "$ref": "XPSVideoExportModelSpec", - "description": "Populated for AutoML request only." - }, - "modelArtifactSpec": { - "$ref": "XPSVideoModelArtifactSpec", - "description": "## The fields below are only populated under uCAIP request scope." - }, - "trainCostNodeSeconds": { - "description": "The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field means 1 node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVideoTrainingOperationMetadata": { - "id": "XPSVideoTrainingOperationMetadata", - "properties": { - "trainCostMilliNodeHour": { - "description": "This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends running your training job. The cost of one node running for one hour is a node hour.", - "format": "int64", - "type": "string" - } - }, - "type": "object" - }, - "XPSVisionErrorAnalysisConfig": { - "description": "The vision model error analysis configuration. Next tag: 3", - "id": "XPSVisionErrorAnalysisConfig", - "properties": { - "exampleCount": { - "description": "The number of query examples in error analysis.", - "format": "int32", - "type": "integer" - }, - "queryType": { - "description": "The query type used in retrieval. The enum values are frozen in the foreseeable future.", - "enum": [ - "QUERY_TYPE_UNSPECIFIED", - "QUERY_TYPE_ALL_SIMILAR", - "QUERY_TYPE_SAME_CLASS_SIMILAR", - "QUERY_TYPE_SAME_CLASS_DISSIMILAR" - ], - "enumDescriptions": [ - "Unspecified query type for model error analysis.", - "Query similar samples across all classes in the dataset.", - "Query similar samples from the same class of the input sample.", - "Query dissimilar samples from the same class of the input sample." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSVisionTrainingOperationMetadata": { - "deprecated": true, - "id": "XPSVisionTrainingOperationMetadata", - "properties": { - "explanationUsage": { - "$ref": "InfraUsage", - "description": "Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training request." - } - }, - "type": "object" - }, - "XPSVisualization": { - "deprecated": true, - "description": "Visualization configurations for image explanation.", - "id": "XPSVisualization", - "properties": { - "clipPercentLowerbound": { - "description": "Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62.", - "format": "float", - "type": "number" - }, - "clipPercentUpperbound": { - "description": "Excludes attributions above the specified percentile from the highlighted areas. Using the clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and making it easier to see areas of strong attribution. Defaults to 99.9.", - "format": "float", - "type": "number" - }, - "colorMap": { - "description": "The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue.", - "enum": [ - "COLOR_MAP_UNSPECIFIED", - "PINK_GREEN", - "VIRIDIS", - "RED", - "GREEN", - "RED_GREEN", - "PINK_WHITE_GREEN" - ], - "enumDescriptions": [ - "Should not be used.", - "Positive: green. Negative: pink.", - "Viridis color map: A perceptually uniform color mapping which is easier to see by those with colorblindness and progresses from yellow to green to blue. Positive: yellow. Negative: blue.", - "Positive: red. Negative: red.", - "Positive: green. Negative: green.", - "Positive: green. Negative: red.", - "PiYG palette." - ], - "type": "string" - }, - "overlayType": { - "description": "How the original image is displayed in the visualization. Adjusting the overlay can help increase visual clarity if the original image makes it difficult to view the visualization. Defaults to NONE.", - "enum": [ - "OVERLAY_TYPE_UNSPECIFIED", - "NONE", - "ORIGINAL", - "GRAYSCALE", - "MASK_BLACK" - ], - "enumDescriptions": [ - "Default value. This is the same as NONE.", - "No overlay.", - "The attributions are shown on top of the original image.", - "The attributions are shown on top of grayscaled version of the original image.", - "The attributions are used as a mask to reveal predictive parts of the image and hide the un-predictive parts." - ], - "type": "string" - }, - "polarity": { - "description": "Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE.", - "enum": [ - "POLARITY_UNSPECIFIED", - "POSITIVE", - "NEGATIVE", - "BOTH" - ], - "enumDescriptions": [ - "Default value. This is the same as POSITIVE.", - "Highlights the pixels/outlines that were most influential to the model's prediction.", - "Setting polarity to negative highlights areas that does not lead to the models's current prediction.", - "Shows both positive and negative attributions." - ], - "type": "string" - }, - "type": { - "description": "Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES.", - "enum": [ - "TYPE_UNSPECIFIED", - "PIXELS", - "OUTLINES" - ], - "enumDescriptions": [ - "Should not be used.", - "Shows which pixel contributed to the image prediction.", - "Shows which region contributed to the image prediction by outlining the region." - ], - "type": "string" - } - }, - "type": "object" - }, - "XPSXpsOperationMetadata": { - "id": "XPSXpsOperationMetadata", - "properties": { - "exampleCount": { - "description": "Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data importing, batch prediction).", - "format": "int64", - "type": "string" - }, - "reportingMetrics": { - "$ref": "XPSReportingMetrics", - "description": "Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist if it's not empty, regardless of the response content or error type. If user is supposed to be charged in case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any billing, this field should be left unset." - }, - "tablesTrainingOperationMetadata": { - "$ref": "XPSTablesTrainingOperationMetadata" - }, - "videoBatchPredictOperationMetadata": { - "$ref": "XPSVideoBatchPredictOperationMetadata" - }, - "videoTrainingOperationMetadata": { - "$ref": "XPSVideoTrainingOperationMetadata" - }, - "visionTrainingOperationMetadata": { - "$ref": "XPSVisionTrainingOperationMetadata" - } - }, - "type": "object" - }, - "XPSXraiAttribution": { - "deprecated": true, - "description": "An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking advantage of the model's fully differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE).", - "id": "XPSXraiAttribution", - "properties": { - "stepCount": { - "description": "The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], inclusively.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/notebooks_v1.json b/DiscoveryJson/notebooks_v1.json index 5dba6d82d7..8602ced6cf 100644 --- a/DiscoveryJson/notebooks_v1.json +++ b/DiscoveryJson/notebooks_v1.json @@ -2008,7 +2008,7 @@ } } }, - "revision": "20240118", + "revision": "20231227", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2073,7 +2073,7 @@ "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).", + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", "type": "string" } }, diff --git a/DiscoveryJson/notebooks_v2.json b/DiscoveryJson/notebooks_v2.json index 525e86abc4..c611860126 100644 --- a/DiscoveryJson/notebooks_v2.json +++ b/DiscoveryJson/notebooks_v2.json @@ -876,7 +876,7 @@ } } }, - "revision": "20240118", + "revision": "20231227", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -937,7 +937,7 @@ "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).", + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", "type": "string" } }, diff --git a/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.cs b/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.cs index ba311547b3..9b05387885 100644 --- a/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.cs +++ b/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.cs @@ -35,6 +35,8 @@ public ACMEDNSService() : this(new Google.Apis.Services.BaseClientService.Initia public ACMEDNSService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { AcmeChallengeSets = new AcmeChallengeSetsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://acmedns.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://acmedns.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ACMEDNSService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "acmedns"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://acmedns.googleapis.com/"; + 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 => "https://acmedns.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.csproj b/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.csproj index ac52c31dae..5b051c2261 100644 --- a/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.csproj +++ b/Src/Generated/Google.Apis.ACMEDNS.v1/Google.Apis.ACMEDNS.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ACMEDNS.v1 Client Library - 1.66.0.2981 + 1.67.0.2981 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs index 41f7c1586f..fb29d3232f 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs @@ -35,6 +35,8 @@ public AIPlatformNotebooksService() : this(new Google.Apis.Services.BaseClientSe public AIPlatformNotebooksService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://notebooks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://notebooks.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AIPlatformNotebooksService(Google.Apis.Services.BaseClientService.Initial public override string Name => "notebooks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://notebooks.googleapis.com/"; + 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 => "https://notebooks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -4436,9 +4438,7 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema /// /// 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). + /// or `roles/owner`. /// [Newtonsoft.Json.JsonPropertyAttribute("role")] public virtual string Role { get; set; } diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj index 0bdf864920..166b7b3f4f 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AIPlatformNotebooks.v1 Client Library - 1.66.0.3304 + 1.67.0.3282 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs index 92b6992513..c7acbf08ea 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.cs @@ -35,6 +35,8 @@ public AIPlatformNotebooksService() : this(new Google.Apis.Services.BaseClientSe public AIPlatformNotebooksService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://notebooks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://notebooks.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AIPlatformNotebooksService(Google.Apis.Services.BaseClientService.Initial public override string Name => "notebooks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://notebooks.googleapis.com/"; + 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 => "https://notebooks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -2016,9 +2018,7 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema /// /// 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). + /// or `roles/owner`. /// [Newtonsoft.Json.JsonPropertyAttribute("role")] public virtual string Role { get; set; } diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj index 2401402c03..f42954413f 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v2/Google.Apis.AIPlatformNotebooks.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.AIPlatformNotebooks.v2 Client Library - 1.66.0.3304 + 1.67.0.3282 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.cs b/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.cs index b6d516ba7a..7a6e5fdbe9 100644 --- a/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.cs +++ b/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.cs @@ -36,6 +36,8 @@ public AbusiveExperienceReportService(Google.Apis.Services.BaseClientService.Ini { Sites = new SitesResource(this); ViolatingSites = new ViolatingSitesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://abusiveexperiencereport.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://abusiveexperiencereport.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AbusiveExperienceReportService(Google.Apis.Services.BaseClientService.Ini public override string Name => "abusiveexperiencereport"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://abusiveexperiencereport.googleapis.com/"; + 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 => "https://abusiveexperiencereport.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.csproj b/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.csproj index 7525f639f0..26d5ae667d 100644 --- a/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.csproj +++ b/Src/Generated/Google.Apis.AbusiveExperienceReport.v1/Google.Apis.AbusiveExperienceReport.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AbusiveExperienceReport.v1 Client Library - 1.66.0.2235 + 1.67.0.2235 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs index a29bf65d11..e8d77ba0a9 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.cs @@ -35,6 +35,8 @@ public AcceleratedmobilepageurlService() : this(new Google.Apis.Services.BaseCli public AcceleratedmobilepageurlService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { AmpUrls = new AmpUrlsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://acceleratedmobilepageurl.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://acceleratedmobilepageurl.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AcceleratedmobilepageurlService(Google.Apis.Services.BaseClientService.In public override string Name => "acceleratedmobilepageurl"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://acceleratedmobilepageurl.googleapis.com/"; + 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 => "https://acceleratedmobilepageurl.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj index 544c862e98..7d7c735b9c 100644 --- a/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj +++ b/Src/Generated/Google.Apis.Acceleratedmobilepageurl.v1/Google.Apis.Acceleratedmobilepageurl.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Acceleratedmobilepageurl.v1 Client Library - 1.66.0.3106 + 1.67.0.3106 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.cs b/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.cs index d3cf6d998d..9dc94bc6fd 100644 --- a/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.cs +++ b/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.cs @@ -37,6 +37,8 @@ public AccessApprovalService(Google.Apis.Services.BaseClientService.Initializer Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://accessapproval.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://accessapproval.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public AccessApprovalService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "accessapproval"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://accessapproval.googleapis.com/"; + 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 => "https://accessapproval.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.csproj b/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.csproj index 2328a16285..e816900d2a 100644 --- a/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.csproj +++ b/Src/Generated/Google.Apis.AccessApproval.v1/Google.Apis.AccessApproval.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AccessApproval.v1 Client Library - 1.66.0.3291 + 1.67.0.3291 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs index 4bd19a3bb6..30172c4397 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.cs @@ -38,6 +38,8 @@ public AccessContextManagerService(Google.Apis.Services.BaseClientService.Initia Operations = new OperationsResource(this); Organizations = new OrganizationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://accesscontextmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://accesscontextmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public AccessContextManagerService(Google.Apis.Services.BaseClientService.Initia public override string Name => "accesscontextmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://accesscontextmanager.googleapis.com/"; + 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 => "https://accesscontextmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj index a936081f9f..89f43bc255 100644 --- a/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj +++ b/Src/Generated/Google.Apis.AccessContextManager.v1/Google.Apis.AccessContextManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AccessContextManager.v1 Client Library - 1.66.0.3338 + 1.67.0.3338 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs index 093b1623de..f5301b58e5 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.cs @@ -37,6 +37,8 @@ public AdExchangeBuyerIIService(Google.Apis.Services.BaseClientService.Initializ Accounts = new AccountsResource(this); Bidders = new BiddersResource(this); Buyers = new BuyersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://adexchangebuyer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://adexchangebuyer.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public AdExchangeBuyerIIService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "adexchangebuyer2"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://adexchangebuyer.googleapis.com/"; + 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 => "https://adexchangebuyer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj index 021059913a..ad6dee6f5c 100644 --- a/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj +++ b/Src/Generated/Google.Apis.AdExchangeBuyerII.v2beta1/Google.Apis.AdExchangeBuyerII.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdExchangeBuyerII.v2beta1 Client Library - 1.66.0.3261 + 1.67.0.3261 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.cs b/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.cs index e8edf38bbd..fe46227796 100644 --- a/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.cs +++ b/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.cs @@ -36,6 +36,8 @@ public AdExperienceReportService(Google.Apis.Services.BaseClientService.Initiali { Sites = new SitesResource(this); ViolatingSites = new ViolatingSitesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://adexperiencereport.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://adexperiencereport.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AdExperienceReportService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "adexperiencereport"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://adexperiencereport.googleapis.com/"; + 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 => "https://adexperiencereport.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.csproj b/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.csproj index 8bbd8a7b98..b0f2ba733c 100644 --- a/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.csproj +++ b/Src/Generated/Google.Apis.AdExperienceReport.v1/Google.Apis.AdExperienceReport.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdExperienceReport.v1 Client Library - 1.66.0.3140 + 1.67.0.3140 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs index 34cb1e48e9..7582eca33f 100644 --- a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs +++ b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.cs @@ -35,6 +35,8 @@ public AdMobService() : this(new Google.Apis.Services.BaseClientService.Initiali public AdMobService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://admob.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://admob.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AdMobService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "admob"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://admob.googleapis.com/"; + 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 => "https://admob.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj index 8d808c4b9c..f31238fb74 100644 --- a/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj +++ b/Src/Generated/Google.Apis.AdMob.v1/Google.Apis.AdMob.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdMob.v1 Client Library - 1.66.0.3036 + 1.67.0.3036 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.cs b/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.cs index c156d0e338..9936de0bef 100644 --- a/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.cs +++ b/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.cs @@ -35,6 +35,8 @@ public AdMobService() : this(new Google.Apis.Services.BaseClientService.Initiali public AdMobService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://admob.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://admob.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AdMobService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "admob"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://admob.googleapis.com/"; + 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 => "https://admob.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj b/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj index 0db3e1a05a..502440aa14 100644 --- a/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj +++ b/Src/Generated/Google.Apis.AdMob.v1beta/Google.Apis.AdMob.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.AdMob.v1beta Client Library - 1.66.0.3318 + 1.67.0.3318 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs index 63740c5d26..eeda1a14da 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.cs @@ -40,6 +40,8 @@ public AdSenseHostService(Google.Apis.Services.BaseClientService.Initializer ini Customchannels = new CustomchannelsResource(this); Reports = new ReportsResource(this); Urlchannels = new UrlchannelsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/adsensehost/v4.1/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/adsensehost/v4.1"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public AdSenseHostService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "adsensehost"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/adsensehost/v4.1/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "adsensehost/v4.1/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/adsensehost/v4.1"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/adsensehost/v4.1"; diff --git a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj index 7d5139f11d..fd6d912def 100644 --- a/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj +++ b/Src/Generated/Google.Apis.AdSenseHost.v4_1/Google.Apis.AdSenseHost.v4_1.csproj @@ -3,7 +3,7 @@ Google.Apis.AdSenseHost.v4_1 Client Library - 1.66.0.2099 + 1.67.0.2099 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.cs b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.cs index f4ab159997..04fef19b36 100644 --- a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.cs +++ b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.cs @@ -36,6 +36,8 @@ public DataTransferService(Google.Apis.Services.BaseClientService.Initializer in { Applications = new ApplicationsResource(this); Transfers = new TransfersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://admin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://admin.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public DataTransferService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "admin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://admin.googleapis.com/"; + 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 => "https://admin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj index 5e72213501..6777b6603d 100644 --- a/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.DataTransfer.datatransfer_v1/Google.Apis.Admin.DataTransfer.datatransfer_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Admin.DataTransfer.datatransfer_v1 Client Library - 1.66.0.2869 + 1.67.0.2869 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs index 1472321934..d4bf2001d5 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs @@ -54,6 +54,8 @@ public DirectoryService(Google.Apis.Services.BaseClientService.Initializer initi TwoStepVerification = new TwoStepVerificationResource(this); Users = new UsersResource(this); VerificationCodes = new VerificationCodesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://admin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://admin.googleapis.com/batch"); } /// Gets the service supported features. @@ -63,13 +65,13 @@ public DirectoryService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "admin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://admin.googleapis.com/"; + 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 => "https://admin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj index 5e5f9b57ec..35b4e023d6 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Admin.Directory.directory_v1 Client Library - 1.66.0.3337 + 1.67.0.3337 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs index e0c2fe935a..cc6343fd42 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs @@ -39,6 +39,8 @@ public ReportsService(Google.Apis.Services.BaseClientService.Initializer initial CustomerUsageReports = new CustomerUsageReportsResource(this); EntityUsageReports = new EntityUsageReportsResource(this); UserUsageReport = new UserUsageReportResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://admin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://admin.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public ReportsService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "admin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://admin.googleapis.com/"; + 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 => "https://admin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj index e0d8b45d80..12c0b575a2 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Admin.Reports.reports_v1 Client Library - 1.66.0.3337 + 1.67.0.3337 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.cs b/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.cs index a233b6d8d3..d4e1d181eb 100644 --- a/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.cs +++ b/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.cs @@ -35,6 +35,8 @@ public AdsenseService() : this(new Google.Apis.Services.BaseClientService.Initia public AdsenseService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://adsense.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://adsense.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AdsenseService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "adsense"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://adsense.googleapis.com/"; + 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 => "https://adsense.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.csproj b/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.csproj index dbc9f04bfc..5c3532cadf 100644 --- a/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.csproj +++ b/Src/Generated/Google.Apis.Adsense.v2/Google.Apis.Adsense.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Adsense.v2 Client Library - 1.66.0.3212 + 1.67.0.3212 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.cs b/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.cs index 53934ac1fa..db07235e54 100644 --- a/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.cs +++ b/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.cs @@ -36,6 +36,8 @@ public AdvisorynotificationsService(Google.Apis.Services.BaseClientService.Initi { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://advisorynotifications.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://advisorynotifications.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AdvisorynotificationsService(Google.Apis.Services.BaseClientService.Initi public override string Name => "advisorynotifications"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://advisorynotifications.googleapis.com/"; + 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 => "https://advisorynotifications.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.csproj b/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.csproj index 5a9f018d34..adb751484d 100644 --- a/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.csproj +++ b/Src/Generated/Google.Apis.Advisorynotifications.v1/Google.Apis.Advisorynotifications.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Advisorynotifications.v1 Client Library - 1.66.0.3258 + 1.67.0.3258 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + 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 c0a59f68b3..0baeffb858 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 @@ -36,6 +36,8 @@ public AiplatformService(Google.Apis.Services.BaseClientService.Initializer init { Projects = new ProjectsResource(this); Publishers = new PublishersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://aiplatform.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://aiplatform.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AiplatformService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "aiplatform"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://aiplatform.googleapis.com/"; + 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 => "https://aiplatform.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 3ffde5b771..b851c2714a 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.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs index 198b8cb8f9..c2fbc6f017 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs +++ b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs @@ -36,6 +36,8 @@ public AiplatformService(Google.Apis.Services.BaseClientService.Initializer init { Projects = new ProjectsResource(this); Publishers = new PublishersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://aiplatform.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://aiplatform.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AiplatformService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "aiplatform"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://aiplatform.googleapis.com/"; + 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 => "https://aiplatform.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj index f06b3b189d..1b445d7ef1 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Aiplatform.v1beta1 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs index 9d1e32121b..373d45a2a2 100644 --- a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs +++ b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs @@ -36,6 +36,8 @@ public AlertCenterService(Google.Apis.Services.BaseClientService.Initializer ini { Alerts = new AlertsResource(this); V1beta1 = new V1beta1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://alertcenter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://alertcenter.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AlertCenterService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "alertcenter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://alertcenter.googleapis.com/"; + 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 => "https://alertcenter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj index 05d97c5c94..4162164de0 100644 --- a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj +++ b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.AlertCenter.v1beta1 Client Library - 1.66.0.3315 + 1.67.0.3315 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs index 88fa86b7e4..0f402fc4cc 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs +++ b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.cs @@ -39,6 +39,8 @@ public AnalyticsService(Google.Apis.Services.BaseClientService.Initializer initi Metadata = new MetadataResource(this); Provisioning = new ProvisioningResource(this); UserDeletion = new UserDeletionResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analytics.googleapis.com/analytics/v3/"); + BatchUri = GetEffectiveUri(null, "https://analytics.googleapis.com/batch/analytics/v3"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public AnalyticsService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "analytics"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analytics.googleapis.com/analytics/v3/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "analytics/v3/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://analytics.googleapis.com/batch/analytics/v3"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/analytics/v3"; diff --git a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.csproj b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.csproj index cd428662ad..311b364668 100644 --- a/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.csproj +++ b/Src/Generated/Google.Apis.Analytics.v3/Google.Apis.Analytics.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Analytics.v3 Client Library - 1.66.0.1679 + 1.67.0.1679 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.cs b/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.cs index b0347cd55a..d9f5832097 100644 --- a/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.cs +++ b/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.cs @@ -35,6 +35,8 @@ public AnalyticsDataService() : this(new Google.Apis.Services.BaseClientService. public AnalyticsDataService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Properties = new PropertiesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analyticsdata.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://analyticsdata.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AnalyticsDataService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "analyticsdata"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analyticsdata.googleapis.com/"; + 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 => "https://analyticsdata.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.csproj b/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.csproj index 971d8b051e..0941dd318c 100644 --- a/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.csproj +++ b/Src/Generated/Google.Apis.AnalyticsData.v1beta/Google.Apis.AnalyticsData.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.AnalyticsData.v1beta Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs index 688b3a5381..44347f1aec 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.cs @@ -36,6 +36,8 @@ public AnalyticsHubService(Google.Apis.Services.BaseClientService.Initializer in { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analyticshub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://analyticshub.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AnalyticsHubService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "analyticshub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analyticshub.googleapis.com/"; + 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 => "https://analyticshub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj index 987074aeba..767ff5808c 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1/Google.Apis.AnalyticsHub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AnalyticsHub.v1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs index 05c13a70f6..b694716773 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.cs @@ -36,6 +36,8 @@ public AnalyticsHubService(Google.Apis.Services.BaseClientService.Initializer in { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analyticshub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://analyticshub.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AnalyticsHubService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "analyticshub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analyticshub.googleapis.com/"; + 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 => "https://analyticshub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj index 211fac3dde..fe22055e27 100644 --- a/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj +++ b/Src/Generated/Google.Apis.AnalyticsHub.v1beta1/Google.Apis.AnalyticsHub.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.AnalyticsHub.v1beta1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs index 9165eb62f9..77ac7ed787 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.cs @@ -36,6 +36,8 @@ public AnalyticsReportingService(Google.Apis.Services.BaseClientService.Initiali { Reports = new ReportsResource(this); UserActivity = new UserActivityResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analyticsreporting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://analyticsreporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AnalyticsReportingService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "analyticsreporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analyticsreporting.googleapis.com/"; + 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 => "https://analyticsreporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.csproj b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.csproj index 9b711b4150..6b0b220d83 100644 --- a/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.csproj +++ b/Src/Generated/Google.Apis.AnalyticsReporting.v4/Google.Apis.AnalyticsReporting.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.AnalyticsReporting.v4 Client Library - 1.66.0.2484 + 1.67.0.2484 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs index e112c48b22..ff21bc987a 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.cs @@ -50,6 +50,8 @@ public AndroidEnterpriseService(Google.Apis.Services.BaseClientService.Initializ Storelayoutpages = new StorelayoutpagesResource(this); Users = new UsersResource(this); Webapps = new WebappsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://androidenterprise.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://androidenterprise.googleapis.com/batch"); } /// Gets the service supported features. @@ -59,13 +61,13 @@ public AndroidEnterpriseService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "androidenterprise"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://androidenterprise.googleapis.com/"; + 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 => "https://androidenterprise.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.csproj b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.csproj index a4d0be900c..2e3ac4b11f 100644 --- a/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidEnterprise.v1/Google.Apis.AndroidEnterprise.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidEnterprise.v1 Client Library - 1.66.0.3238 + 1.67.0.3238 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs index dc625ecf07..3f39b3f9f0 100644 --- a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs +++ b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs @@ -37,6 +37,8 @@ public AndroidManagementService(Google.Apis.Services.BaseClientService.Initializ Enterprises = new EnterprisesResource(this); ProvisioningInfo = new ProvisioningInfoResource(this); SignupUrls = new SignupUrlsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://androidmanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://androidmanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public AndroidManagementService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "androidmanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://androidmanagement.googleapis.com/"; + 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 => "https://androidmanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj index beb1caf466..0b5e9324cd 100644 --- a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidManagement.v1 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs index 8f024e5870..ecb2669b57 100644 --- a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs +++ b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.cs @@ -37,6 +37,8 @@ public AndroidProvisioningPartnerService(Google.Apis.Services.BaseClientService. Customers = new CustomersResource(this); Operations = new OperationsResource(this); Partners = new PartnersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://androiddeviceprovisioning.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://androiddeviceprovisioning.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public AndroidProvisioningPartnerService(Google.Apis.Services.BaseClientService. public override string Name => "androiddeviceprovisioning"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://androiddeviceprovisioning.googleapis.com/"; + 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 => "https://androiddeviceprovisioning.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj index 6b43e8f9ee..ff377e8357 100644 --- a/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidProvisioningPartner.v1/Google.Apis.AndroidProvisioningPartner.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidProvisioningPartner.v1 Client Library - 1.66.0.3238 + 1.67.0.3238 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs index 3f1ed3d0d7..af148c6319 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs @@ -48,6 +48,8 @@ public AndroidPublisherService(Google.Apis.Services.BaseClientService.Initialize Reviews = new ReviewsResource(this); Systemapks = new SystemapksResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://androidpublisher.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://androidpublisher.googleapis.com/batch"); } /// Gets the service supported features. @@ -57,13 +59,13 @@ public AndroidPublisherService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "androidpublisher"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://androidpublisher.googleapis.com/"; + 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 => "https://androidpublisher.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -12227,7 +12229,7 @@ public virtual System.DateTimeOffset? LastUpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Data format for a list of app versions. Only one app version is supported for now. + /// Data format for a list of app versions. public class AppVersionList : Google.Apis.Requests.IDirectResponseSchema { /// List of app version codes. diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj index cdf3729c54..ce382d14f1 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v3 Client Library - 1.66.0.3338 + 1.67.0.3339 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.cs b/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.cs index 8d07fbefbe..bdc6a22838 100644 --- a/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.cs +++ b/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.cs @@ -37,6 +37,8 @@ public ApiKeysServiceService(Google.Apis.Services.BaseClientService.Initializer Keys = new KeysResource(this); Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://apikeys.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://apikeys.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public ApiKeysServiceService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "apikeys"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://apikeys.googleapis.com/"; + 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 => "https://apikeys.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.csproj b/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.csproj index 50e874279c..6342e79cd9 100644 --- a/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.csproj +++ b/Src/Generated/Google.Apis.ApiKeysService.v2/Google.Apis.ApiKeysService.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.ApiKeysService.v2 Client Library - 1.66.0.3140 + 1.67.0.3140 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.cs b/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.cs index c97fac6b66..11260897e2 100644 --- a/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.cs +++ b/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.cs @@ -35,6 +35,8 @@ public ApigatewayService() : this(new Google.Apis.Services.BaseClientService.Ini public ApigatewayService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://apigateway.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://apigateway.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ApigatewayService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "apigateway"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://apigateway.googleapis.com/"; + 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 => "https://apigateway.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.csproj b/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.csproj index 25baabed51..3bc71d453f 100644 --- a/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.csproj +++ b/Src/Generated/Google.Apis.Apigateway.v1/Google.Apis.Apigateway.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Apigateway.v1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.cs b/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.cs index a4f5dddf5c..7fd963be32 100644 --- a/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.cs +++ b/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.cs @@ -35,6 +35,8 @@ public ApigatewayService() : this(new Google.Apis.Services.BaseClientService.Ini public ApigatewayService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://apigateway.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://apigateway.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ApigatewayService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "apigateway"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://apigateway.googleapis.com/"; + 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 => "https://apigateway.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.csproj b/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.csproj index 5c66ee9a03..dff194d2c6 100644 --- a/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.csproj +++ b/Src/Generated/Google.Apis.Apigateway.v1beta/Google.Apis.Apigateway.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Apigateway.v1beta Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.cs b/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.cs index 66e4b8685f..7fe9ffed61 100644 --- a/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.cs +++ b/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.cs @@ -35,6 +35,8 @@ public ApigeeRegistryService() : this(new Google.Apis.Services.BaseClientService public ApigeeRegistryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://apigeeregistry.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://apigeeregistry.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ApigeeRegistryService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "apigeeregistry"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://apigeeregistry.googleapis.com/"; + 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 => "https://apigeeregistry.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.csproj b/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.csproj index 193102489c..99d9fe865d 100644 --- a/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.csproj +++ b/Src/Generated/Google.Apis.ApigeeRegistry.v1/Google.Apis.ApigeeRegistry.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ApigeeRegistry.v1 Client Library - 1.66.0.3192 + 1.67.0.3192 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs index 3b476b41da..106bb3f5f6 100644 --- a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs +++ b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs @@ -35,6 +35,8 @@ public AppHubService() : this(new Google.Apis.Services.BaseClientService.Initial public AppHubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://apphub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://apphub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AppHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "apphub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://apphub.googleapis.com/"; + 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 => "https://apphub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj index c6e8fc0779..0cf5432a9e 100644 --- a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj +++ b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AppHub.v1 Client Library - 1.66.0.3334 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs index c4feb4759a..bb66f3fe67 100644 --- a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs +++ b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs @@ -35,6 +35,8 @@ public AppHubService() : this(new Google.Apis.Services.BaseClientService.Initial public AppHubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://apphub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://apphub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AppHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "apphub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://apphub.googleapis.com/"; + 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 => "https://apphub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj index b419d230f9..dee93a8b3f 100644 --- a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj +++ b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.AppHub.v1alpha Client Library - 1.66.0.3334 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs index ffbd6b6bfc..82e10cd4da 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs +++ b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.cs @@ -35,6 +35,8 @@ public AppengineService() : this(new Google.Apis.Services.BaseClientService.Init public AppengineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Apps = new AppsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://appengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://appengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AppengineService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "appengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://appengine.googleapis.com/"; + 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 => "https://appengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.csproj b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.csproj index 3e5bbcb0d4..92964cde58 100644 --- a/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1/Google.Apis.Appengine.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Appengine.v1 Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs index c69fad9020..018109f89e 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.cs @@ -36,6 +36,8 @@ public AppengineService(Google.Apis.Services.BaseClientService.Initializer initi { Apps = new AppsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://appengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://appengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AppengineService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "appengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://appengine.googleapis.com/"; + 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 => "https://appengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.csproj b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.csproj index 20f270335c..7553843748 100644 --- a/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1alpha/Google.Apis.Appengine.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.Appengine.v1alpha Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs index 3a3e3b5324..610c1e45ae 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs @@ -36,6 +36,8 @@ public AppengineService(Google.Apis.Services.BaseClientService.Initializer initi { Apps = new AppsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://appengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://appengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AppengineService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "appengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://appengine.googleapis.com/"; + 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 => "https://appengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj index 0500d4e3f2..dd9c4ec5f6 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Appengine.v1beta Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.cs b/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.cs index a868f0aba2..1a08ccaa9b 100644 --- a/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.cs +++ b/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.cs @@ -36,6 +36,8 @@ public Area120TablesService(Google.Apis.Services.BaseClientService.Initializer i { Tables = new TablesResource(this); Workspaces = new WorkspacesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://area120tables.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://area120tables.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public Area120TablesService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "area120tables"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://area120tables.googleapis.com/"; + 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 => "https://area120tables.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.csproj b/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.csproj index 5c5fdd8213..a810b6d229 100644 --- a/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Area120Tables.v1alpha1/Google.Apis.Area120Tables.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.Area120Tables.v1alpha1 Client Library - 1.66.0.2637 + 1.67.0.2637 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs index 01085be7ca..a32dcca3d7 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1/Google.Apis.ArtifactRegistry.v1.cs @@ -35,6 +35,8 @@ public ArtifactRegistryService() : this(new Google.Apis.Services.BaseClientServi public ArtifactRegistryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://artifactregistry.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://artifactregistry.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ArtifactRegistryService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "artifactregistry"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://artifactregistry.googleapis.com/"; + 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 => "https://artifactregistry.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 92d02958a3..a5fc3c606c 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.66.0.3319 + 1.67.0.3319 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.cs b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.cs index 7774366cf9..c6029871ec 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.cs +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.cs @@ -35,6 +35,8 @@ public ArtifactRegistryService() : this(new Google.Apis.Services.BaseClientServi public ArtifactRegistryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://artifactregistry.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://artifactregistry.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ArtifactRegistryService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "artifactregistry"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://artifactregistry.googleapis.com/"; + 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 => "https://artifactregistry.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.csproj b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.csproj index 63ddb4cba6..5d6763f0ef 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta1/Google.Apis.ArtifactRegistry.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ArtifactRegistry.v1beta1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs index 2d0eb81f11..6a334134a2 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs @@ -35,6 +35,8 @@ public ArtifactRegistryService() : this(new Google.Apis.Services.BaseClientServi public ArtifactRegistryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://artifactregistry.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://artifactregistry.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ArtifactRegistryService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "artifactregistry"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://artifactregistry.googleapis.com/"; + 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 => "https://artifactregistry.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj index 325edb92f9..886ab4a070 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.ArtifactRegistry.v1beta2 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.cs b/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.cs index deaf01b9bb..30bfcf94a7 100644 --- a/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.cs +++ b/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.cs @@ -35,6 +35,8 @@ public AssuredworkloadsService() : this(new Google.Apis.Services.BaseClientServi public AssuredworkloadsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Organizations = new OrganizationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://assuredworkloads.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://assuredworkloads.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AssuredworkloadsService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "assuredworkloads"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://assuredworkloads.googleapis.com/"; + 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 => "https://assuredworkloads.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj b/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj index 5fa7ee361a..d5f7bf5ff8 100644 --- a/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj +++ b/Src/Generated/Google.Apis.Assuredworkloads.v1/Google.Apis.Assuredworkloads.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Assuredworkloads.v1 Client Library - 1.66.0.3256 + 1.67.0.3256 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.cs b/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.cs index ad1a84ad43..dc4216af8e 100644 --- a/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.cs +++ b/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.cs @@ -35,6 +35,8 @@ public AssuredworkloadsService() : this(new Google.Apis.Services.BaseClientServi public AssuredworkloadsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Organizations = new OrganizationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://assuredworkloads.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://assuredworkloads.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public AssuredworkloadsService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "assuredworkloads"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://assuredworkloads.googleapis.com/"; + 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 => "https://assuredworkloads.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj b/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj index 4b4fd23fc1..3c47f754e4 100644 --- a/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Assuredworkloads.v1beta1/Google.Apis.Assuredworkloads.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Assuredworkloads.v1beta1 Client Library - 1.66.0.3256 + 1.67.0.3256 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.cs b/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.cs index a70c8f268e..85162c05c3 100644 --- a/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.cs +++ b/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.cs @@ -36,6 +36,8 @@ public AuthorizedBuyersMarketplaceService(Google.Apis.Services.BaseClientService { Bidders = new BiddersResource(this); Buyers = new BuyersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://authorizedbuyersmarketplace.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://authorizedbuyersmarketplace.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public AuthorizedBuyersMarketplaceService(Google.Apis.Services.BaseClientService public override string Name => "authorizedbuyersmarketplace"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://authorizedbuyersmarketplace.googleapis.com/"; + 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 => "https://authorizedbuyersmarketplace.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.csproj b/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.csproj index 562d8b178a..da757a219e 100644 --- a/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.csproj +++ b/Src/Generated/Google.Apis.AuthorizedBuyersMarketplace.v1/Google.Apis.AuthorizedBuyersMarketplace.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AuthorizedBuyersMarketplace.v1 Client Library - 1.66.0.3254 + 1.67.0.3254 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs index 96f9b18db7..05a418728c 100644 --- a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs +++ b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs @@ -35,6 +35,8 @@ public BackupdrService() : this(new Google.Apis.Services.BaseClientService.Initi public BackupdrService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://backupdr.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://backupdr.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BackupdrService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "backupdr"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://backupdr.googleapis.com/"; + 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 => "https://backupdr.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj index 8e8ff3aa03..05f05ab16f 100644 --- a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj +++ b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Backupdr.v1 Client Library - 1.66.0.3310 + 1.67.0.3310 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs index 31f1dd1e28..08c05a3469 100644 --- a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs +++ b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs @@ -35,6 +35,8 @@ public BackupforGKEService() : this(new Google.Apis.Services.BaseClientService.I public BackupforGKEService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkebackup.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkebackup.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BackupforGKEService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "gkebackup"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkebackup.googleapis.com/"; + 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 => "https://gkebackup.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj index 408dbdc90f..6d6cb95115 100644 --- a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj +++ b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BackupforGKE.v1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.cs b/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.cs index 0621fb9b15..37007f8945 100644 --- a/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.cs +++ b/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.cs @@ -35,6 +35,8 @@ public BaremetalsolutionService() : this(new Google.Apis.Services.BaseClientServ public BaremetalsolutionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://baremetalsolution.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://baremetalsolution.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BaremetalsolutionService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "baremetalsolution"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://baremetalsolution.googleapis.com/"; + 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 => "https://baremetalsolution.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.csproj b/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.csproj index 28f9587780..ab14b4cccb 100644 --- a/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.csproj +++ b/Src/Generated/Google.Apis.Baremetalsolution.v2/Google.Apis.Baremetalsolution.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Baremetalsolution.v2 Client Library - 1.66.0.3331 + 1.67.0.3331 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs index c3b4a30335..6a43a2af5f 100644 --- a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs +++ b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs @@ -35,6 +35,8 @@ public BatchService() : this(new Google.Apis.Services.BaseClientService.Initiali public BatchService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://batch.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://batch.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BatchService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "batch"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://batch.googleapis.com/"; + 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 => "https://batch.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj index f463d68570..8a220970f3 100644 --- a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj +++ b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Batch.v1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs index d910eaa3d5..e19d9f13df 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs +++ b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.cs @@ -36,6 +36,8 @@ public BeyondCorpService(Google.Apis.Services.BaseClientService.Initializer init { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://beyondcorp.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://beyondcorp.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public BeyondCorpService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "beyondcorp"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://beyondcorp.googleapis.com/"; + 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 => "https://beyondcorp.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj index 448ac62c06..97fe503616 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj +++ b/Src/Generated/Google.Apis.BeyondCorp.v1/Google.Apis.BeyondCorp.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BeyondCorp.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs index c6b003154b..84629bbfc1 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs +++ b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs @@ -36,6 +36,8 @@ public BeyondCorpService(Google.Apis.Services.BaseClientService.Initializer init { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://beyondcorp.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://beyondcorp.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public BeyondCorpService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "beyondcorp"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://beyondcorp.googleapis.com/"; + 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 => "https://beyondcorp.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj index 7f3105e6f8..4f86011d18 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj +++ b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.BeyondCorp.v1alpha Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs index b94c6471b1..49c5ac9dd3 100644 --- a/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs +++ b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs @@ -35,6 +35,8 @@ public BigLakeServiceService() : this(new Google.Apis.Services.BaseClientService public BigLakeServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://biglake.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://biglake.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BigLakeServiceService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "biglake"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://biglake.googleapis.com/"; + 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 => "https://biglake.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj index fd087a90db..7eb906742c 100644 --- a/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj +++ b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigLakeService.v1 Client Library - 1.66.0.3210 + 1.67.0.3210 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.cs b/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.cs index a8e50aeb89..70e54ee90b 100644 --- a/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.cs +++ b/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.cs @@ -35,6 +35,8 @@ public BigQueryConnectionServiceService() : this(new Google.Apis.Services.BaseCl public BigQueryConnectionServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigqueryconnection.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://bigqueryconnection.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BigQueryConnectionServiceService(Google.Apis.Services.BaseClientService.I public override string Name => "bigqueryconnection"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigqueryconnection.googleapis.com/"; + 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 => "https://bigqueryconnection.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.csproj b/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.csproj index a6d01ed0cb..a3e52253a6 100644 --- a/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.csproj +++ b/Src/Generated/Google.Apis.BigQueryConnectionService.v1/Google.Apis.BigQueryConnectionService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryConnectionService.v1 Client Library - 1.66.0.3310 + 1.67.0.3310 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs index 8b4124e8f5..f0098b42bd 100644 --- a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs +++ b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.cs @@ -35,6 +35,8 @@ public BigQueryConnectionServiceService() : this(new Google.Apis.Services.BaseCl public BigQueryConnectionServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigqueryconnection.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://bigqueryconnection.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BigQueryConnectionServiceService(Google.Apis.Services.BaseClientService.I public override string Name => "bigqueryconnection"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigqueryconnection.googleapis.com/"; + 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 => "https://bigqueryconnection.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj index 13d0747ba6..868b08ff31 100644 --- a/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj +++ b/Src/Generated/Google.Apis.BigQueryConnectionService.v1beta1/Google.Apis.BigQueryConnectionService.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryConnectionService.v1beta1 Client Library - 1.66.0.3310 + 1.67.0.3310 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.cs b/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.cs index 62da38ee19..4437534a72 100644 --- a/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.cs +++ b/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.cs @@ -35,6 +35,8 @@ public BigQueryDataPolicyServiceService() : this(new Google.Apis.Services.BaseCl public BigQueryDataPolicyServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigquerydatapolicy.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://bigquerydatapolicy.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BigQueryDataPolicyServiceService(Google.Apis.Services.BaseClientService.I public override string Name => "bigquerydatapolicy"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigquerydatapolicy.googleapis.com/"; + 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 => "https://bigquerydatapolicy.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.csproj b/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.csproj index 6209dd7ace..6c328dbffc 100644 --- a/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.csproj +++ b/Src/Generated/Google.Apis.BigQueryDataPolicyService.v1/Google.Apis.BigQueryDataPolicyService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryDataPolicyService.v1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs index 4384f35412..ec4f466cf2 100644 --- a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs +++ b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs @@ -35,6 +35,8 @@ public BigQueryDataTransferService() : this(new Google.Apis.Services.BaseClientS public BigQueryDataTransferService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigquerydatatransfer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://bigquerydatatransfer.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BigQueryDataTransferService(Google.Apis.Services.BaseClientService.Initia public override string Name => "bigquerydatatransfer"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigquerydatatransfer.googleapis.com/"; + 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 => "https://bigquerydatatransfer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj index 67d5823106..1985be8d12 100644 --- a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj +++ b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryDataTransfer.v1 Client Library - 1.66.0.3319 + 1.67.0.3319 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,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 28153145e6..2b25e96eb6 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 @@ -35,6 +35,8 @@ public BigQueryReservationService() : this(new Google.Apis.Services.BaseClientSe public BigQueryReservationService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigqueryreservation.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://bigqueryreservation.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BigQueryReservationService(Google.Apis.Services.BaseClientService.Initial public override string Name => "bigqueryreservation"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigqueryreservation.googleapis.com/"; + 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 => "https://bigqueryreservation.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 6ab89a078a..a2006afeca 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.66.0.3192 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,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 dcf2493e85..b5b0ebea3f 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 @@ -42,6 +42,8 @@ public BigqueryService(Google.Apis.Services.BaseClientService.Initializer initia RowAccessPolicies = new RowAccessPoliciesResource(this); Tabledata = new TabledataResource(this); Tables = new TablesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigquery.googleapis.com/bigquery/v2/"); + BatchUri = GetEffectiveUri(null, "https://bigquery.googleapis.com/batch/bigquery/v2"); } /// Gets the service supported features. @@ -51,13 +53,13 @@ public BigqueryService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "bigquery"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigquery.googleapis.com/bigquery/v2/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "bigquery/v2/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://bigquery.googleapis.com/batch/bigquery/v2"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/bigquery/v2"; 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 d04ab9fb9a..5076ea8ffd 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.66.0.3320 + 1.67.0.3320 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.cs b/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.cs index 4f26761ebf..306772047a 100644 --- a/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.cs +++ b/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.cs @@ -36,6 +36,8 @@ public BigtableAdminService(Google.Apis.Services.BaseClientService.Initializer i { Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://bigtableadmin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://bigtableadmin.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public BigtableAdminService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "bigtableadmin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://bigtableadmin.googleapis.com/"; + 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 => "https://bigtableadmin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.csproj b/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.csproj index 12af894896..903376287b 100644 --- a/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.csproj +++ b/Src/Generated/Google.Apis.BigtableAdmin.v2/Google.Apis.BigtableAdmin.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.BigtableAdmin.v2 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs index c04e2ce0b4..4cbb7d7ccb 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.cs @@ -36,6 +36,8 @@ public BinaryAuthorizationService(Google.Apis.Services.BaseClientService.Initial { Projects = new ProjectsResource(this); Systempolicy = new SystempolicyResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://binaryauthorization.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://binaryauthorization.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public BinaryAuthorizationService(Google.Apis.Services.BaseClientService.Initial public override string Name => "binaryauthorization"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://binaryauthorization.googleapis.com/"; + 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 => "https://binaryauthorization.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -897,9 +899,114 @@ public class PlatformsResource public PlatformsResource(Google.Apis.Services.IClientService service) { this.service = service; + Gke = new GkeResource(service); Policies = new PoliciesResource(service); } + /// Gets the Gke resource. + public virtual GkeResource Gke { get; } + + /// The "gke" collection of methods. + public class GkeResource + { + private const string Resource = "gke"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public GkeResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Policies = new PoliciesResource(service); + } + + /// Gets the Policies resource. + public virtual PoliciesResource Policies { get; } + + /// The "policies" collection of methods. + public class PoliciesResource + { + private const string Resource = "policies"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public PoliciesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Evaluates a Kubernetes object versus a GKE platform policy. Returns `NOT_FOUND` if the policy + /// doesn't exist, `INVALID_ARGUMENT` if the policy or request is malformed and `PERMISSION_DENIED` + /// if the client does not have sufficient permissions. + /// + /// The body of the request. + /// + /// Required. The name of the platform policy to evaluate in the format + /// `projects/*/platforms/*/policies/*`. + /// + public virtual EvaluateRequest Evaluate(Google.Apis.BinaryAuthorization.v1.Data.EvaluateGkePolicyRequest body, string name) + { + return new EvaluateRequest(this.service, body, name); + } + + /// + /// Evaluates a Kubernetes object versus a GKE platform policy. Returns `NOT_FOUND` if the policy + /// doesn't exist, `INVALID_ARGUMENT` if the policy or request is malformed and `PERMISSION_DENIED` + /// if the client does not have sufficient permissions. + /// + public class EvaluateRequest : BinaryAuthorizationBaseServiceRequest + { + /// Constructs a new Evaluate request. + public EvaluateRequest(Google.Apis.Services.IClientService service, Google.Apis.BinaryAuthorization.v1.Data.EvaluateGkePolicyRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Required. The name of the platform policy to evaluate in the format + /// `projects/*/platforms/*/policies/*`. + /// + [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.BinaryAuthorization.v1.Data.EvaluateGkePolicyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "evaluate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:evaluate"; + + /// Initializes Evaluate 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/[^/]+/platforms/gke/policies/[^/]+$", + }); + } + } + } + } + /// Gets the Policies resource. public virtual PoliciesResource Policies { get; } @@ -1715,6 +1822,17 @@ public class AdmissionWhitelistPattern : Google.Apis.Requests.IDirectResponseSch public virtual string ETag { get; set; } } + /// Result of evaluating an image name allowlist. + public class AllowlistResult : Google.Apis.Requests.IDirectResponseSchema + { + /// The allowlist pattern that the image matched. + [Newtonsoft.Json.JsonPropertyAttribute("matchedPattern")] + public virtual string MatchedPattern { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// An attestation authenticator that will be used to verify attestations. Typically this is just a set of public /// keys. Conceptually, an authenticator can be treated as always returning either "authenticated" or "not @@ -2042,6 +2160,51 @@ public class Check : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Result of evaluating one check. + public class CheckResult : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the image was exempted by an allow_pattern in the check, contains the pattern that the image name + /// matched. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowlistResult")] + public virtual AllowlistResult AllowlistResult { get; set; } + + /// The name of the check. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// If a check was evaluated, contains the result of the check. + [Newtonsoft.Json.JsonPropertyAttribute("evaluationResult")] + public virtual EvaluationResult EvaluationResult { get; set; } + + /// Explanation of this check result. + [Newtonsoft.Json.JsonPropertyAttribute("explanation")] + public virtual string Explanation { get; set; } + + /// The index of the check. + [Newtonsoft.Json.JsonPropertyAttribute("index")] + public virtual System.Nullable Index { get; set; } + + /// The type of the check. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Result of evaluating one or more checks. + public class CheckResults : Google.Apis.Requests.IDirectResponseSchema + { + /// Per-check details. + [Newtonsoft.Json.JsonPropertyAttribute("results")] + public virtual System.Collections.Generic.IList Results { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A conjunction of policy checks, scoped to a particular namespace or Kubernetes service account. In order for /// evaluation of a `CheckSet` to return "allowed" for a given image in a given Pod, one of the following conditions @@ -2083,6 +2246,40 @@ public class CheckSet : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Result of evaluating one check set. + public class CheckSetResult : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the image was exempted by an allow_pattern in the check set, contains the pattern that the image name + /// matched. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowlistResult")] + public virtual AllowlistResult AllowlistResult { get; set; } + + /// If checks were evaluated, contains the results of evaluating each check. + [Newtonsoft.Json.JsonPropertyAttribute("checkResults")] + public virtual CheckResults CheckResults { get; set; } + + /// The name of the check set. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// Explanation of this check set result. Only populated if no checks were evaluated. + [Newtonsoft.Json.JsonPropertyAttribute("explanation")] + public virtual string Explanation { get; set; } + + /// The index of the check set. + [Newtonsoft.Json.JsonPropertyAttribute("index")] + public virtual System.Nullable Index { get; set; } + + /// The scope of the check set. + [Newtonsoft.Json.JsonPropertyAttribute("scope")] + public virtual Scope Scope { 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 @@ -2094,6 +2291,43 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Request message for PlatformPolicyEvaluationService.EvaluateGkePolicy. + public class EvaluateGkePolicyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. JSON or YAML blob representing a Kubernetes resource. + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual System.Collections.Generic.IDictionary Resource { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for PlatformPolicyEvaluationService.EvaluateGkePolicy. + public class EvaluateGkePolicyResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Evaluation result for each Pod contained in the request. + [Newtonsoft.Json.JsonPropertyAttribute("results")] + public virtual System.Collections.Generic.IList Results { get; set; } + + /// The result of evaluating all Pods in the request. + [Newtonsoft.Json.JsonPropertyAttribute("verdict")] + public virtual string Verdict { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Result of evaluating one check. + public class EvaluationResult : Google.Apis.Requests.IDirectResponseSchema + { + /// The result of evaluating this check. + [Newtonsoft.Json.JsonPropertyAttribute("verdict")] + public virtual string Verdict { 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 @@ -2275,6 +2509,38 @@ public class ImageFreshnessCheck : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Result of evaluating one image. + public class ImageResult : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the image was exempted by a top-level allow_pattern, contains the allowlist pattern that the image name + /// matched. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowlistResult")] + public virtual AllowlistResult AllowlistResult { get; set; } + + /// + /// If a check set was evaluated, contains the result of the check set. Empty if there were no check sets. + /// + [Newtonsoft.Json.JsonPropertyAttribute("checkSetResult")] + public virtual CheckSetResult CheckSetResult { get; set; } + + /// Explanation of this image result. Only populated if no check sets were evaluated. + [Newtonsoft.Json.JsonPropertyAttribute("explanation")] + public virtual string Explanation { get; set; } + + /// Image URI from the request. + [Newtonsoft.Json.JsonPropertyAttribute("imageUri")] + public virtual string ImageUri { get; set; } + + /// The result of evaluating this image. + [Newtonsoft.Json.JsonPropertyAttribute("verdict")] + public virtual string Verdict { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class Jwt : Google.Apis.Requests.IDirectResponseSchema { /// @@ -2433,6 +2699,33 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Result of evaluating the whole GKE policy for one Pod. + public class PodResult : Google.Apis.Requests.IDirectResponseSchema + { + /// Per-image details. + [Newtonsoft.Json.JsonPropertyAttribute("imageResults")] + public virtual System.Collections.Generic.IList ImageResults { get; set; } + + /// The Kubernetes namespace of the Pod. + [Newtonsoft.Json.JsonPropertyAttribute("kubernetesNamespace")] + public virtual string KubernetesNamespace { get; set; } + + /// The Kubernetes service account of the Pod. + [Newtonsoft.Json.JsonPropertyAttribute("kubernetesServiceAccount")] + public virtual string KubernetesServiceAccount { get; set; } + + /// The name of the Pod. + [Newtonsoft.Json.JsonPropertyAttribute("podName")] + public virtual string PodName { get; set; } + + /// The result of evaluating this Pod. + [Newtonsoft.Json.JsonPropertyAttribute("verdict")] + public virtual string Verdict { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A policy for container image binary authorization. public class Policy : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj index 0e169a4baa..ad02e1f8e3 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1/Google.Apis.BinaryAuthorization.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BinaryAuthorization.v1 Client Library - 1.66.0.3326 + 1.67.0.3337 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs index e89bd9c633..3096280488 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.cs @@ -36,6 +36,8 @@ public BinaryAuthorizationService(Google.Apis.Services.BaseClientService.Initial { Projects = new ProjectsResource(this); Systempolicy = new SystempolicyResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://binaryauthorization.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://binaryauthorization.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public BinaryAuthorizationService(Google.Apis.Services.BaseClientService.Initial public override string Name => "binaryauthorization"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://binaryauthorization.googleapis.com/"; + 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 => "https://binaryauthorization.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj index 65d6431e50..5e015390fd 100644 --- a/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj +++ b/Src/Generated/Google.Apis.BinaryAuthorization.v1beta1/Google.Apis.BinaryAuthorization.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.BinaryAuthorization.v1beta1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.cs b/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.cs index b579469ad0..6f6c9db52f 100644 --- a/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.cs +++ b/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.cs @@ -35,6 +35,8 @@ public BlockchainNodeEngineService() : this(new Google.Apis.Services.BaseClientS public BlockchainNodeEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://blockchainnodeengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://blockchainnodeengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BlockchainNodeEngineService(Google.Apis.Services.BaseClientService.Initia public override string Name => "blockchainnodeengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://blockchainnodeengine.googleapis.com/"; + 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 => "https://blockchainnodeengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.csproj b/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.csproj index 5bf87ad772..494b0a338a 100644 --- a/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.csproj +++ b/Src/Generated/Google.Apis.BlockchainNodeEngine.v1/Google.Apis.BlockchainNodeEngine.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BlockchainNodeEngine.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs index dd540e6a9c..4c1f2ece95 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs +++ b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.cs @@ -39,6 +39,8 @@ public BloggerService(Google.Apis.Services.BaseClientService.Initializer initial Pages = new PagesResource(this); Posts = new PostsResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://blogger.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://blogger.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public BloggerService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "blogger"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://blogger.googleapis.com/"; + 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 => "https://blogger.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj index f660edd6d4..e8e49a5e1e 100644 --- a/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj +++ b/Src/Generated/Google.Apis.Blogger.v2/Google.Apis.Blogger.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Blogger.v2 Client Library - 1.66.0.2764 + 1.67.0.2764 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs index a50dbe6fcf..136ed0563f 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs +++ b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.cs @@ -42,6 +42,8 @@ public BloggerService(Google.Apis.Services.BaseClientService.Initializer initial PostUserInfos = new PostUserInfosResource(this); Posts = new PostsResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://blogger.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://blogger.googleapis.com/batch"); } /// Gets the service supported features. @@ -51,13 +53,13 @@ public BloggerService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "blogger"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://blogger.googleapis.com/"; + 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 => "https://blogger.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.csproj b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.csproj index 60dcf9a143..c23c4bb066 100644 --- a/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.csproj +++ b/Src/Generated/Google.Apis.Blogger.v3/Google.Apis.Blogger.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Blogger.v3 Client Library - 1.66.0.2925 + 1.67.0.2925 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs index 2ea3edd4b6..f0fd096fd3 100644 --- a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs +++ b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.cs @@ -47,6 +47,8 @@ public BooksService(Google.Apis.Services.BaseClientService.Initializer initializ Promooffer = new PromoofferResource(this); Series = new SeriesResource(this); Volumes = new VolumesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://books.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://books.googleapis.com/batch"); } /// Gets the service supported features. @@ -56,13 +58,13 @@ public BooksService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "books"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://books.googleapis.com/"; + 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 => "https://books.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.csproj b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.csproj index d03fcb967b..71342bd63b 100644 --- a/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.csproj +++ b/Src/Generated/Google.Apis.Books.v1/Google.Apis.Books.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Books.v1 Client Library - 1.66.0.3331 + 1.67.0.3331 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.cs b/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.cs index 3ebb4f8032..29c459baf1 100644 --- a/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.cs +++ b/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.cs @@ -35,6 +35,8 @@ public BusinessProfilePerformanceService() : this(new Google.Apis.Services.BaseC public BusinessProfilePerformanceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Locations = new LocationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://businessprofileperformance.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://businessprofileperformance.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public BusinessProfilePerformanceService(Google.Apis.Services.BaseClientService. public override string Name => "businessprofileperformance"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://businessprofileperformance.googleapis.com/"; + 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 => "https://businessprofileperformance.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.csproj b/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.csproj index 7d73b6488f..adb5a41419 100644 --- a/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.csproj +++ b/Src/Generated/Google.Apis.BusinessProfilePerformance.v1/Google.Apis.BusinessProfilePerformance.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BusinessProfilePerformance.v1 Client Library - 1.66.0.3079 + 1.67.0.3079 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs index e123733084..3d462e97a9 100644 --- a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs +++ b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs @@ -35,6 +35,8 @@ public CCAIPlatformService() : this(new Google.Apis.Services.BaseClientService.I public CCAIPlatformService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://contactcenteraiplatform.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://contactcenteraiplatform.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CCAIPlatformService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "contactcenteraiplatform"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://contactcenteraiplatform.googleapis.com/"; + 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 => "https://contactcenteraiplatform.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj index a84ff8e935..8b89343a11 100644 --- a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.CCAIPlatform.v1alpha1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs index a3618bd81f..ff9592c5d8 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs +++ b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.cs @@ -42,6 +42,8 @@ public CalendarService(Google.Apis.Services.BaseClientService.Initializer initia Events = new EventsResource(this); Freebusy = new FreebusyResource(this); Settings = new SettingsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/calendar/v3/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/calendar/v3"); } /// Gets the service supported features. @@ -51,13 +53,13 @@ public CalendarService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "calendar"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/calendar/v3/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "calendar/v3/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/calendar/v3"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/calendar/v3"; diff --git a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj index f87db32ee5..b5fc403538 100644 --- a/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj +++ b/Src/Generated/Google.Apis.Calendar.v3/Google.Apis.Calendar.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Calendar.v3 Client Library - 1.66.0.3297 + 1.67.0.3297 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.cs b/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.cs index c125f0c776..a948e1f500 100644 --- a/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.cs +++ b/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.cs @@ -35,6 +35,8 @@ public CertificateAuthorityServiceService() : this(new Google.Apis.Services.Base public CertificateAuthorityServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://privateca.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://privateca.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CertificateAuthorityServiceService(Google.Apis.Services.BaseClientService public override string Name => "privateca"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://privateca.googleapis.com/"; + 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 => "https://privateca.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.csproj b/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.csproj index a3a36af802..3516390391 100644 --- a/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.csproj +++ b/Src/Generated/Google.Apis.CertificateAuthorityService.v1/Google.Apis.CertificateAuthorityService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CertificateAuthorityService.v1 Client Library - 1.66.0.3315 + 1.67.0.3315 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.cs b/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.cs index af67952b4c..fd92fa3bcb 100644 --- a/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.cs +++ b/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.cs @@ -35,6 +35,8 @@ public CertificateAuthorityServiceService() : this(new Google.Apis.Services.Base public CertificateAuthorityServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://privateca.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://privateca.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CertificateAuthorityServiceService(Google.Apis.Services.BaseClientService public override string Name => "privateca"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://privateca.googleapis.com/"; + 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 => "https://privateca.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.csproj b/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.csproj index 3776f16dc2..cc67b3b70d 100644 --- a/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CertificateAuthorityService.v1beta1/Google.Apis.CertificateAuthorityService.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CertificateAuthorityService.v1beta1 Client Library - 1.66.0.3315 + 1.67.0.3315 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.cs b/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.cs index 3da5878a31..b7c0dc7560 100644 --- a/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.cs +++ b/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.cs @@ -35,6 +35,8 @@ public CertificateManagerService() : this(new Google.Apis.Services.BaseClientSer public CertificateManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://certificatemanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://certificatemanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CertificateManagerService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "certificatemanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://certificatemanager.googleapis.com/"; + 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 => "https://certificatemanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.csproj b/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.csproj index 62e9f0af47..4e5c4da966 100644 --- a/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.csproj +++ b/Src/Generated/Google.Apis.CertificateManager.v1/Google.Apis.CertificateManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CertificateManager.v1 Client Library - 1.66.0.3326 + 1.67.0.3326 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs index 2b2890ded3..f507cc0bd0 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs @@ -36,6 +36,8 @@ public ChecksServiceService(Google.Apis.Services.BaseClientService.Initializer i { Accounts = new AccountsResource(this); Media = new MediaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://checks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://checks.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ChecksServiceService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "checks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://checks.googleapis.com/"; + 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 => "https://checks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj index 6adb05d140..74793bc496 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.ChecksService.v1alpha Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs index a4d193cd6c..112b4afeb0 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs @@ -35,6 +35,8 @@ public ChromeManagementService() : this(new Google.Apis.Services.BaseClientServi public ChromeManagementService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Customers = new CustomersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://chromemanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://chromemanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ChromeManagementService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "chromemanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://chromemanagement.googleapis.com/"; + 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 => "https://chromemanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj index 999ade8178..5d326fc7fb 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromeManagement.v1 Client Library - 1.66.0.3337 + 1.67.0.3338 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs index 1ba36ca8bf..4e28cbdec9 100644 --- a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs +++ b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.cs @@ -36,6 +36,8 @@ public ChromePolicyService(Google.Apis.Services.BaseClientService.Initializer in { Customers = new CustomersResource(this); Media = new MediaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://chromepolicy.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://chromepolicy.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ChromePolicyService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "chromepolicy"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://chromepolicy.googleapis.com/"; + 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 => "https://chromepolicy.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj index 253922f35b..174d3dd94f 100644 --- a/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj +++ b/Src/Generated/Google.Apis.ChromePolicy.v1/Google.Apis.ChromePolicy.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromePolicy.v1 Client Library - 1.66.0.3297 + 1.67.0.3297 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.cs b/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.cs index 3fa9a0160a..4f12d24bf9 100644 --- a/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.cs +++ b/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.cs @@ -35,6 +35,8 @@ public ChromeUXReportService() : this(new Google.Apis.Services.BaseClientService public ChromeUXReportService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Records = new RecordsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://chromeuxreport.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://chromeuxreport.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ChromeUXReportService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "chromeuxreport"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://chromeuxreport.googleapis.com/"; + 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 => "https://chromeuxreport.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.csproj b/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.csproj index 9e8b6fcb9a..b524484737 100644 --- a/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.csproj +++ b/Src/Generated/Google.Apis.ChromeUXReport.v1/Google.Apis.ChromeUXReport.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromeUXReport.v1 Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs index 28841abad5..cda488d7c2 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.cs @@ -37,6 +37,8 @@ public CivicInfoService(Google.Apis.Services.BaseClientService.Initializer initi Divisions = new DivisionsResource(this); Elections = new ElectionsResource(this); Representatives = new RepresentativesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://civicinfo.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://civicinfo.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public CivicInfoService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "civicinfo"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://civicinfo.googleapis.com/"; + 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 => "https://civicinfo.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.csproj b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.csproj index 24daa753ba..a99747695f 100644 --- a/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.csproj +++ b/Src/Generated/Google.Apis.CivicInfo.v2/Google.Apis.CivicInfo.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CivicInfo.v2 Client Library - 1.66.0.3113 + 1.67.0.3113 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs index 451091e1a1..c388446aaf 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs +++ b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.cs @@ -38,6 +38,8 @@ public ClassroomService(Google.Apis.Services.BaseClientService.Initializer initi Invitations = new InvitationsResource(this); Registrations = new RegistrationsResource(this); UserProfiles = new UserProfilesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://classroom.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://classroom.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public ClassroomService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "classroom"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://classroom.googleapis.com/"; + 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 => "https://classroom.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj index e2ab7c868c..6133805faa 100644 --- a/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj +++ b/Src/Generated/Google.Apis.Classroom.v1/Google.Apis.Classroom.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Classroom.v1 Client Library - 1.66.0.3246 + 1.67.0.3246 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs index 8a833d99d7..736d8b498c 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs @@ -35,6 +35,8 @@ public CloudAlloyDBAdminService() : this(new Google.Apis.Services.BaseClientServ public CloudAlloyDBAdminService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://alloydb.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://alloydb.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudAlloyDBAdminService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "alloydb"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://alloydb.googleapis.com/"; + 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 => "https://alloydb.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj index 62d4130c13..8301046383 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1 Client Library - 1.66.0.3289 + 1.67.0.3289 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs index c33def138e..acaa9d4b27 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs @@ -35,6 +35,8 @@ public CloudAlloyDBAdminService() : this(new Google.Apis.Services.BaseClientServ public CloudAlloyDBAdminService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://alloydb.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://alloydb.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudAlloyDBAdminService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "alloydb"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://alloydb.googleapis.com/"; + 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 => "https://alloydb.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj index 8d11a956a8..9e4b3c05d8 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1alpha Client Library - 1.66.0.3289 + 1.67.0.3289 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs index 3e97cba11b..fb291b735c 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs @@ -35,6 +35,8 @@ public CloudAlloyDBAdminService() : this(new Google.Apis.Services.BaseClientServ public CloudAlloyDBAdminService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://alloydb.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://alloydb.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudAlloyDBAdminService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "alloydb"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://alloydb.googleapis.com/"; + 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 => "https://alloydb.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj index bb72dbd0b2..c00219a9ef 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1beta Client Library - 1.66.0.3289 + 1.67.0.3289 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs index 241c6e3b0b..16fc5eac8d 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs @@ -40,6 +40,8 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init Operations = new OperationsResource(this); SavedQueries = new SavedQueriesResource(this); V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudasset.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudasset.googleapis.com/batch"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudasset"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudasset.googleapis.com/"; + 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 => "https://cloudasset.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj index 8c492cd1c0..54211fb77e 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1 Client Library - 1.66.0.3334 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs index 658b9580b7..4bcc9750e6 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.cs @@ -37,6 +37,8 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudasset.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudasset.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudasset"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudasset.googleapis.com/"; + 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 => "https://cloudasset.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj index e18bdea073..e44b1fdb81 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1beta1/Google.Apis.CloudAsset.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1beta1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.cs b/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.cs index e0fb67aae2..31b965ecf9 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.cs @@ -36,6 +36,8 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init { IamPolicies = new IamPoliciesResource(this); Resources = new ResourcesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudasset.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudasset.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudasset"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudasset.googleapis.com/"; + 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 => "https://cloudasset.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.csproj index 3c316c0c20..8962f4dfa6 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1p1beta1/Google.Apis.CloudAsset.v1p1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1p1beta1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.cs b/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.cs index 5c378f07bf..53a3c2f0bc 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.cs @@ -35,6 +35,8 @@ public CloudAssetService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Assets = new AssetsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudasset.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudasset.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudasset"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudasset.googleapis.com/"; + 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 => "https://cloudasset.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.csproj index de98e57d76..d822ad4502 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1p5beta1/Google.Apis.CloudAsset.v1p5beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1p5beta1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.cs b/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.cs index 952b6ac053..1341d066ac 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.cs @@ -36,6 +36,8 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init { Operations = new OperationsResource(this); V1p7beta1 = new V1p7beta1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudasset.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudasset.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudAssetService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudasset"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudasset.googleapis.com/"; + 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 => "https://cloudasset.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.csproj index f65ef38682..965bda3eae 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1p7beta1/Google.Apis.CloudAsset.v1p7beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1p7beta1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.cs b/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.cs index 7b251f3cae..25343c97f7 100644 --- a/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.cs +++ b/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.cs @@ -35,6 +35,8 @@ public CloudBillingBudgetService() : this(new Google.Apis.Services.BaseClientSer public CloudBillingBudgetService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { BillingAccounts = new BillingAccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://billingbudgets.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://billingbudgets.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudBillingBudgetService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "billingbudgets"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://billingbudgets.googleapis.com/"; + 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 => "https://billingbudgets.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.csproj b/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.csproj index ec2403b28c..203d1aee66 100644 --- a/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.csproj +++ b/Src/Generated/Google.Apis.CloudBillingBudget.v1/Google.Apis.CloudBillingBudget.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudBillingBudget.v1 Client Library - 1.66.0.3223 + 1.67.0.3223 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.cs b/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.cs index 6b2267c758..f60c20ff55 100644 --- a/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.cs @@ -35,6 +35,8 @@ public CloudBillingBudgetService() : this(new Google.Apis.Services.BaseClientSer public CloudBillingBudgetService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { BillingAccounts = new BillingAccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://billingbudgets.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://billingbudgets.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudBillingBudgetService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "billingbudgets"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://billingbudgets.googleapis.com/"; + 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 => "https://billingbudgets.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.csproj b/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.csproj index 85037e4456..9860c089b8 100644 --- a/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudBillingBudget.v1beta1/Google.Apis.CloudBillingBudget.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudBillingBudget.v1beta1 Client Library - 1.66.0.3223 + 1.67.0.3223 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs index 7344a5521d..0648bcd78b 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs @@ -39,6 +39,8 @@ public CloudBuildService(Google.Apis.Services.BaseClientService.Initializer init Operations = new OperationsResource(this); Projects = new ProjectsResource(this); V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudbuild.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudbuild.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public CloudBuildService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudbuild"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudbuild.googleapis.com/"; + 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 => "https://cloudbuild.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj index 01a8f55dfe..4ba6e69e35 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudBuild.v1 Client Library - 1.66.0.3297 + 1.67.0.3297 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.cs b/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.cs index 8def78585a..1a055582cb 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.cs +++ b/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.cs @@ -35,6 +35,8 @@ public CloudBuildService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudBuildService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudbuild.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudbuild.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudBuildService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudbuild"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudbuild.googleapis.com/"; + 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 => "https://cloudbuild.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.csproj b/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.csproj index 224cea4a6e..85ec0aea17 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.csproj +++ b/Src/Generated/Google.Apis.CloudBuild.v2/Google.Apis.CloudBuild.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudBuild.v2 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs index dbaa56eb76..1cae3c199d 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs +++ b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.cs @@ -35,6 +35,8 @@ public CloudComposerService() : this(new Google.Apis.Services.BaseClientService. public CloudComposerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://composer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://composer.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudComposerService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "composer"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://composer.googleapis.com/"; + 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 => "https://composer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj index 999a3f4ad4..baecac323d 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj +++ b/Src/Generated/Google.Apis.CloudComposer.v1/Google.Apis.CloudComposer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudComposer.v1 Client Library - 1.66.0.3321 + 1.67.0.3321 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs index 2399f6593e..1108f9493d 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.cs @@ -35,6 +35,8 @@ public CloudComposerService() : this(new Google.Apis.Services.BaseClientService. public CloudComposerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://composer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://composer.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudComposerService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "composer"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://composer.googleapis.com/"; + 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 => "https://composer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj index 2d7600447a..d7f9352f85 100644 --- a/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudComposer.v1beta1/Google.Apis.CloudComposer.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudComposer.v1beta1 Client Library - 1.66.0.3309 + 1.67.0.3309 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs index 6a7d288b33..6f830ee64c 100644 --- a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs +++ b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs @@ -35,6 +35,8 @@ public CloudDataplexService() : this(new Google.Apis.Services.BaseClientService. public CloudDataplexService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dataplex.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dataplex.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudDataplexService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "dataplex"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dataplex.googleapis.com/"; + 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 => "https://dataplex.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -14547,6 +14549,66 @@ public class GoogleCloudDataplexV1ListZonesResponse : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } + /// + /// These messages contain information about the execution of a metadata job. The monitored resource is + /// 'MetadataJob'. + /// + public class GoogleCloudDataplexV1MetadataJobEvent : Google.Apis.Requests.IDirectResponseSchema + { + /// Import job results. Should only be populated on terminal states. + [Newtonsoft.Json.JsonPropertyAttribute("importResult")] + public virtual GoogleCloudDataplexV1MetadataJobEventImportResult ImportResult { get; set; } + + /// Message describing failure or success event. + [Newtonsoft.Json.JsonPropertyAttribute("message")] + public virtual string Message { get; set; } + + /// + /// The resource name associated with the event. Supported resources included, but not limited to EntryGroup, + /// MetadataJob, and Entry. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual string Resource { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Import job result for metadata job. + public class GoogleCloudDataplexV1MetadataJobEventImportResult : Google.Apis.Requests.IDirectResponseSchema + { + /// Total number of entries created. + [Newtonsoft.Json.JsonPropertyAttribute("createdEntries")] + public virtual System.Nullable CreatedEntries { get; set; } + + /// Total number of entries deleted. + [Newtonsoft.Json.JsonPropertyAttribute("deletedEntries")] + public virtual System.Nullable DeletedEntries { get; set; } + + /// The number of entry groups modified/specified by the import job. + [Newtonsoft.Json.JsonPropertyAttribute("mutatedEntryGroups")] + public virtual System.Nullable MutatedEntryGroups { get; set; } + + /// Total number of entries recreated. + [Newtonsoft.Json.JsonPropertyAttribute("recreatedEntries")] + public virtual System.Nullable RecreatedEntries { get; set; } + + /// Output only. Terminal state of the import job. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + /// Total number of entries left unchanged. + [Newtonsoft.Json.JsonPropertyAttribute("unchangedEntries")] + public virtual System.Nullable UnchangedEntries { get; set; } + + /// Total number of entries updated. + [Newtonsoft.Json.JsonPropertyAttribute("updatedEntries")] + public virtual System.Nullable UpdatedEntries { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents the metadata of a long-running operation. public class GoogleCloudDataplexV1OperationMetadata : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj index 43019ec376..879f13f2af 100644 --- a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDataplex.v1 Client Library - 1.66.0.3331 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs index 51d8e094b6..607d99718b 100644 --- a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs +++ b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs @@ -35,6 +35,8 @@ public CloudDeployService() : this(new Google.Apis.Services.BaseClientService.In public CloudDeployService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://clouddeploy.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://clouddeploy.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudDeployService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "clouddeploy"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://clouddeploy.googleapis.com/"; + 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 => "https://clouddeploy.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj index 11dce332cb..cba21f0915 100644 --- a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDeploy.v1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs index 08029b3f58..34f8774197 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.cs @@ -35,6 +35,8 @@ public CloudDomainsService() : this(new Google.Apis.Services.BaseClientService.I public CloudDomainsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://domains.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://domains.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudDomainsService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "domains"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://domains.googleapis.com/"; + 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 => "https://domains.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj index 106b314151..f1217cdce7 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1 Client Library - 1.66.0.3311 + 1.67.0.3311 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs index 0e8e6995e3..f493cd5133 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.cs @@ -35,6 +35,8 @@ public CloudDomainsService() : this(new Google.Apis.Services.BaseClientService.I public CloudDomainsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://domains.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://domains.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudDomainsService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "domains"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://domains.googleapis.com/"; + 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 => "https://domains.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj index eaf660d8b5..4f1e31197f 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1alpha2 Client Library - 1.66.0.3311 + 1.67.0.3311 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs index 7ff7c91da3..60288fff84 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.cs @@ -35,6 +35,8 @@ public CloudDomainsService() : this(new Google.Apis.Services.BaseClientService.I public CloudDomainsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://domains.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://domains.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudDomainsService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "domains"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://domains.googleapis.com/"; + 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 => "https://domains.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj index 1fe3f4ff7c..2c334b1235 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1beta1 Client Library - 1.66.0.3311 + 1.67.0.3311 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.cs b/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.cs index 05ae90f7fc..5a98775c69 100644 --- a/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.cs +++ b/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.cs @@ -35,6 +35,8 @@ public CloudFilestoreService() : this(new Google.Apis.Services.BaseClientService public CloudFilestoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://file.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://file.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudFilestoreService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "file"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://file.googleapis.com/"; + 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 => "https://file.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj b/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj index 87a88ef6bf..fb40e881b2 100644 --- a/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj +++ b/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFilestore.v1 Client Library - 1.66.0.3268 + 1.67.0.3268 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.cs b/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.cs index d04b35908c..bab0dd9141 100644 --- a/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.cs @@ -35,6 +35,8 @@ public CloudFilestoreService() : this(new Google.Apis.Services.BaseClientService public CloudFilestoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://file.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://file.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudFilestoreService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "file"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://file.googleapis.com/"; + 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 => "https://file.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj b/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj index f797276b4b..e6a9f4ec70 100644 --- a/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFilestore.v1beta1 Client Library - 1.66.0.3268 + 1.67.0.3268 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs index 7f2f912729..cbc754bff1 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.cs @@ -36,6 +36,8 @@ public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer { Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudfunctions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudfunctions.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "cloudfunctions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudfunctions.googleapis.com/"; + 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 => "https://cloudfunctions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj index 9c7c52d59f..b866777cf3 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v1/Google.Apis.CloudFunctions.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFunctions.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.cs b/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.cs index 9f9c77949b..0433af0cfa 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.cs @@ -35,6 +35,8 @@ public CloudFunctionsService() : this(new Google.Apis.Services.BaseClientService public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudfunctions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudfunctions.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "cloudfunctions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudfunctions.googleapis.com/"; + 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 => "https://cloudfunctions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.csproj b/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.csproj index b69f3ad620..5304691830 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v2/Google.Apis.CloudFunctions.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFunctions.v2 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.cs b/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.cs index c7fd398c60..2c5610c52e 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.cs @@ -35,6 +35,8 @@ public CloudFunctionsService() : this(new Google.Apis.Services.BaseClientService public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudfunctions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudfunctions.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "cloudfunctions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudfunctions.googleapis.com/"; + 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 => "https://cloudfunctions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.csproj b/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.csproj index 600be2c795..854b32db12 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v2alpha/Google.Apis.CloudFunctions.v2alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFunctions.v2alpha Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.cs b/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.cs index b233ff995e..e3b3c13b67 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.cs +++ b/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.cs @@ -35,6 +35,8 @@ public CloudFunctionsService() : this(new Google.Apis.Services.BaseClientService public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudfunctions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudfunctions.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudFunctionsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "cloudfunctions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudfunctions.googleapis.com/"; + 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 => "https://cloudfunctions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.csproj b/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.csproj index 69494e051b..ac6fb8bb85 100644 --- a/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.csproj +++ b/Src/Generated/Google.Apis.CloudFunctions.v2beta/Google.Apis.CloudFunctions.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFunctions.v2beta Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs index 6b8104b7fb..e3614e678e 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs @@ -35,6 +35,8 @@ public CloudHealthcareService() : this(new Google.Apis.Services.BaseClientServic public CloudHealthcareService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://healthcare.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://healthcare.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudHealthcareService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "healthcare"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://healthcare.googleapis.com/"; + 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 => "https://healthcare.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj index 8f159603e2..8edf4e4fe5 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudHealthcare.v1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs index aab63a1285..fc628ff00c 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs @@ -35,6 +35,8 @@ public CloudHealthcareService() : this(new Google.Apis.Services.BaseClientServic public CloudHealthcareService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://healthcare.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://healthcare.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudHealthcareService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "healthcare"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://healthcare.googleapis.com/"; + 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 => "https://healthcare.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj index 007ed5d7c1..0c0103ad9d 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudHealthcare.v1beta1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.cs b/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.cs index e2bf1286af..d0c2b5eb99 100644 --- a/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.cs +++ b/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.cs @@ -36,6 +36,8 @@ public CloudIAPService(Google.Apis.Services.BaseClientService.Initializer initia { Projects = new ProjectsResource(this); V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://iap.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://iap.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudIAPService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "iap"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://iap.googleapis.com/"; + 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 => "https://iap.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.csproj b/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.csproj index 72a360f01a..dff5bfa7b4 100644 --- a/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.csproj +++ b/Src/Generated/Google.Apis.CloudIAP.v1/Google.Apis.CloudIAP.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIAP.v1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.cs b/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.cs index 7a1aee0756..3723fef406 100644 --- a/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.cs @@ -35,6 +35,8 @@ public CloudIAPService() : this(new Google.Apis.Services.BaseClientService.Initi public CloudIAPService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { V1beta1 = new V1beta1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://iap.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://iap.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudIAPService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "iap"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://iap.googleapis.com/"; + 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 => "https://iap.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.csproj b/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.csproj index fe2c2ff5c9..66e8c40aaa 100644 --- a/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudIAP.v1beta1/Google.Apis.CloudIAP.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIAP.v1beta1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs index 2ae055404e..e5d45b8c5a 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs +++ b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.cs @@ -39,6 +39,8 @@ public CloudIdentityService(Google.Apis.Services.BaseClientService.Initializer i Groups = new GroupsResource(this); InboundSamlSsoProfiles = new InboundSamlSsoProfilesResource(this); InboundSsoAssignments = new InboundSsoAssignmentsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudidentity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudidentity.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public CloudIdentityService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "cloudidentity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudidentity.googleapis.com/"; + 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 => "https://cloudidentity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj index 33d2dc8fd8..9c87d91634 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj +++ b/Src/Generated/Google.Apis.CloudIdentity.v1/Google.Apis.CloudIdentity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIdentity.v1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs index 389fa9f221..fc03e4c2e2 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.cs @@ -40,6 +40,8 @@ public CloudIdentityService(Google.Apis.Services.BaseClientService.Initializer i InboundSamlSsoProfiles = new InboundSamlSsoProfilesResource(this); InboundSsoAssignments = new InboundSsoAssignmentsResource(this); OrgUnits = new OrgUnitsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudidentity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudidentity.googleapis.com/batch"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public CloudIdentityService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "cloudidentity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudidentity.googleapis.com/"; + 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 => "https://cloudidentity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj index 7921063dde..d6843c248c 100644 --- a/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudIdentity.v1beta1/Google.Apis.CloudIdentity.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudIdentity.v1beta1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs index 63368919ed..a5fa40bae5 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.cs @@ -35,6 +35,8 @@ public CloudKMSService() : this(new Google.Apis.Services.BaseClientService.Initi public CloudKMSService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudkms.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudkms.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudKMSService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "cloudkms"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudkms.googleapis.com/"; + 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 => "https://cloudkms.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.csproj b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.csproj index e3061811f9..6ba10f4ca5 100644 --- a/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.csproj +++ b/Src/Generated/Google.Apis.CloudKMS.v1/Google.Apis.CloudKMS.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudKMS.v1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.cs b/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.cs index bce426c627..e70bcf153a 100644 --- a/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.cs +++ b/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.cs @@ -35,6 +35,8 @@ public CloudLifeSciencesService() : this(new Google.Apis.Services.BaseClientServ public CloudLifeSciencesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://lifesciences.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://lifesciences.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudLifeSciencesService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "lifesciences"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://lifesciences.googleapis.com/"; + 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 => "https://lifesciences.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.csproj b/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.csproj index c81a42879e..c06b1c0570 100644 --- a/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.csproj +++ b/Src/Generated/Google.Apis.CloudLifeSciences.v2beta/Google.Apis.CloudLifeSciences.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudLifeSciences.v2beta Client Library - 1.66.0.3109 + 1.67.0.3109 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs index 1057aeea07..17a8559e1a 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.cs @@ -35,6 +35,8 @@ public CloudMachineLearningEngineService() : this(new Google.Apis.Services.BaseC public CloudMachineLearningEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://ml.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://ml.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudMachineLearningEngineService(Google.Apis.Services.BaseClientService. public override string Name => "ml"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://ml.googleapis.com/"; + 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 => "https://ml.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.csproj b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.csproj index 77d9caa0bb..ca4f4db8b9 100644 --- a/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.csproj +++ b/Src/Generated/Google.Apis.CloudMachineLearningEngine.v1/Google.Apis.CloudMachineLearningEngine.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudMachineLearningEngine.v1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs index ebb480ec7d..2054e3e55a 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.cs @@ -35,6 +35,8 @@ public CloudMemorystoreforMemcachedService() : this(new Google.Apis.Services.Bas public CloudMemorystoreforMemcachedService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://memcache.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://memcache.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudMemorystoreforMemcachedService(Google.Apis.Services.BaseClientServic public override string Name => "memcache"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://memcache.googleapis.com/"; + 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 => "https://memcache.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj index 5a09b1d6e3..60b2c541c7 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1/Google.Apis.CloudMemorystoreforMemcached.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudMemorystoreforMemcached.v1 Client Library - 1.66.0.3290 + 1.67.0.3290 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs index 01c8168d04..f9d3580121 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.cs @@ -35,6 +35,8 @@ public CloudMemorystoreforMemcachedService() : this(new Google.Apis.Services.Bas public CloudMemorystoreforMemcachedService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://memcache.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://memcache.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudMemorystoreforMemcachedService(Google.Apis.Services.BaseClientServic public override string Name => "memcache"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://memcache.googleapis.com/"; + 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 => "https://memcache.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj index b7632f5177..62cfdf7fb8 100644 --- a/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudMemorystoreforMemcached.v1beta2/Google.Apis.CloudMemorystoreforMemcached.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudMemorystoreforMemcached.v1beta2 Client Library - 1.66.0.3290 + 1.67.0.3290 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs index 38554ee7e9..de8f545a5b 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.cs @@ -35,6 +35,8 @@ public CloudNaturalLanguageService() : this(new Google.Apis.Services.BaseClientS public CloudNaturalLanguageService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Documents = new DocumentsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://language.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://language.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudNaturalLanguageService(Google.Apis.Services.BaseClientService.Initia public override string Name => "language"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://language.googleapis.com/"; + 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 => "https://language.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -736,48 +738,7 @@ public class AnnotateTextRequest : Google.Apis.Requests.IDirectResponseSchema /// Required. The enabled features. [Newtonsoft.Json.JsonPropertyAttribute("features")] - public virtual AnnotateTextRequestFeatures Features { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that - /// specific analysis for the input. - /// - public class AnnotateTextRequestFeatures : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if - /// `classify_text` is set to true. - /// - [Newtonsoft.Json.JsonPropertyAttribute("classificationModelOptions")] - public virtual ClassificationModelOptions ClassificationModelOptions { get; set; } - - /// Classify the full document into categories. - [Newtonsoft.Json.JsonPropertyAttribute("classifyText")] - public virtual System.Nullable ClassifyText { get; set; } - - /// Extract document-level sentiment. - [Newtonsoft.Json.JsonPropertyAttribute("extractDocumentSentiment")] - public virtual System.Nullable ExtractDocumentSentiment { get; set; } - - /// Extract entities. - [Newtonsoft.Json.JsonPropertyAttribute("extractEntities")] - public virtual System.Nullable ExtractEntities { get; set; } - - /// Extract entities and their associated sentiment. - [Newtonsoft.Json.JsonPropertyAttribute("extractEntitySentiment")] - public virtual System.Nullable ExtractEntitySentiment { get; set; } - - /// Extract syntax information. - [Newtonsoft.Json.JsonPropertyAttribute("extractSyntax")] - public virtual System.Nullable ExtractSyntax { get; set; } - - /// Moderate the document for harmful and sensitive categories. - [Newtonsoft.Json.JsonPropertyAttribute("moderateText")] - public virtual System.Nullable ModerateText { get; set; } + public virtual Features Features { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -858,32 +819,14 @@ public class ClassificationModelOptions : Google.Apis.Requests.IDirectResponseSc /// support for this will be discontinued in the future. /// [Newtonsoft.Json.JsonPropertyAttribute("v1Model")] - public virtual ClassificationModelOptionsV1Model V1Model { get; set; } + public virtual V1Model V1Model { get; set; } /// /// Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a /// better performing model. /// [Newtonsoft.Json.JsonPropertyAttribute("v2Model")] - public virtual ClassificationModelOptionsV2Model V2Model { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Options for the V1 model. - public class ClassificationModelOptionsV1Model : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Options for the V2 model. - public class ClassificationModelOptionsV2Model : Google.Apis.Requests.IDirectResponseSchema - { - /// The content categories used for classification. - [Newtonsoft.Json.JsonPropertyAttribute("contentCategoriesVersion")] - public virtual string ContentCategoriesVersion { get; set; } + public virtual V2Model V2Model { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -917,101 +860,6 @@ public class ClassifyTextResponse : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and - /// from color representations in various languages over compactness. For example, the fields of this representation - /// can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to - /// UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily - /// formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the - /// absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and - /// BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, - /// implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha - /// values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static - /// java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? - /// protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), - /// protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) - /// color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator - /// = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / - /// denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( - /// FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } - /// // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor - /// red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor - /// alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor - /// colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, - /// green, blue, alpha; if (![color getRed:&amp;red green:&amp;green blue:&amp;blue - /// alpha:&amp;alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result - /// setGreen:green]; [result setBlue:blue]; if (alpha &lt;= 0.9999) { [result - /// setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // - /// ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = - /// rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = - /// Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return - /// rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, - /// blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, - /// green, blue) { var rgbNumber = new Number((red &lt;&lt; 16) | (green &lt;&lt; 8) | blue); var - /// hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var - /// i = 0; i &lt; missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return - /// resultBuilder.join(''); }; // ... - /// - public class Color : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by - /// the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a - /// value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent - /// color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish - /// between a default value and the value being unset. If omitted, this color object is rendered as a solid - /// color (as if the alpha value had been explicitly given a value of 1.0). - /// - [Newtonsoft.Json.JsonPropertyAttribute("alpha")] - public virtual System.Nullable Alpha { get; set; } - - /// The amount of blue in the color as a value in the interval [0, 1]. - [Newtonsoft.Json.JsonPropertyAttribute("blue")] - public virtual System.Nullable Blue { get; set; } - - /// The amount of green in the color as a value in the interval [0, 1]. - [Newtonsoft.Json.JsonPropertyAttribute("green")] - public virtual System.Nullable Green { get; set; } - - /// The amount of red in the color as a value in the interval [0, 1]. - [Newtonsoft.Json.JsonPropertyAttribute("red")] - public virtual System.Nullable Red { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metric for billing reports. - public class CpuMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Number of CPU cores. - [Newtonsoft.Json.JsonPropertyAttribute("coreNumber")] - public virtual System.Nullable CoreNumber { get; set; } - - /// Required. Total seconds of core usage, e.g. 4. - [Newtonsoft.Json.JsonPropertyAttribute("coreSec")] - public virtual System.Nullable CoreSec { get; set; } - - /// Required. Type of cpu, e.g. N2. - [Newtonsoft.Json.JsonPropertyAttribute("cpuType")] - public virtual string CpuType { get; set; } - - /// Required. Machine spec, e.g. N1_STANDARD_4. - [Newtonsoft.Json.JsonPropertyAttribute("machineSpec")] - public virtual string MachineSpec { get; set; } - - /// - /// Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra - /// itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": - /// "goog-k8s-cluster-name","value": "us-east1-b4rk" - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackingLabels")] - public virtual System.Collections.Generic.IDictionary TrackingLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// Represents dependency parse tree information for a token. (For more information on dependency labels, see /// http://www.aclweb.org/anthology/P13-2017 @@ -1034,20 +882,6 @@ public class DependencyEdge : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class DiskMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Type of Disk, e.g. REGIONAL_SSD. - [Newtonsoft.Json.JsonPropertyAttribute("diskType")] - public virtual string DiskType { get; set; } - - /// Required. Seconds of physical disk usage, e.g. 3600. - [Newtonsoft.Json.JsonPropertyAttribute("gibSec")] - public virtual System.Nullable GibSec { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents the input to API methods. public class Document : Google.Apis.Requests.IDirectResponseSchema { @@ -1156,54 +990,42 @@ public class EntityMention : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class GpuMetric : Google.Apis.Requests.IDirectResponseSchema + /// + /// All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that + /// specific analysis for the input. + /// + public class Features : Google.Apis.Requests.IDirectResponseSchema { - /// Required. Seconds of GPU usage, e.g. 3600. - [Newtonsoft.Json.JsonPropertyAttribute("gpuSec")] - public virtual System.Nullable GpuSec { get; set; } - - /// Required. Type of GPU, e.g. NVIDIA_TESLA_V100. - [Newtonsoft.Json.JsonPropertyAttribute("gpuType")] - public virtual string GpuType { get; set; } - - /// Required. Machine spec, e.g. N1_STANDARD_4. - [Newtonsoft.Json.JsonPropertyAttribute("machineSpec")] - public virtual string MachineSpec { get; set; } - /// - /// Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra - /// itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": - /// "goog-k8s-cluster-name","value": "us-east1-b4rk" + /// Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if + /// `classify_text` is set to true. /// - [Newtonsoft.Json.JsonPropertyAttribute("trackingLabels")] - public virtual System.Collections.Generic.IDictionary TrackingLabels { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("classificationModelOptions")] + public virtual ClassificationModelOptions ClassificationModelOptions { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// Classify the full document into categories. + [Newtonsoft.Json.JsonPropertyAttribute("classifyText")] + public virtual System.Nullable ClassifyText { get; set; } - /// Infra Usage of billing metrics. Next ID: 6 - public class InfraUsage : Google.Apis.Requests.IDirectResponseSchema - { - /// Aggregated core metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("cpuMetrics")] - public virtual System.Collections.Generic.IList CpuMetrics { get; set; } + /// Extract document-level sentiment. + [Newtonsoft.Json.JsonPropertyAttribute("extractDocumentSentiment")] + public virtual System.Nullable ExtractDocumentSentiment { get; set; } - /// Aggregated persistent disk metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("diskMetrics")] - public virtual System.Collections.Generic.IList DiskMetrics { get; set; } + /// Extract entities. + [Newtonsoft.Json.JsonPropertyAttribute("extractEntities")] + public virtual System.Nullable ExtractEntities { get; set; } - /// Aggregated gpu metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("gpuMetrics")] - public virtual System.Collections.Generic.IList GpuMetrics { get; set; } + /// Extract entities and their associated sentiment. + [Newtonsoft.Json.JsonPropertyAttribute("extractEntitySentiment")] + public virtual System.Nullable ExtractEntitySentiment { get; set; } - /// Aggregated ram metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("ramMetrics")] - public virtual System.Collections.Generic.IList RamMetrics { get; set; } + /// Extract syntax information. + [Newtonsoft.Json.JsonPropertyAttribute("extractSyntax")] + public virtual System.Nullable ExtractSyntax { get; set; } - /// Aggregated tpu metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("tpuMetrics")] - public virtual System.Collections.Generic.IList TpuMetrics { get; set; } + /// Moderate the document for harmful and sensitive categories. + [Newtonsoft.Json.JsonPropertyAttribute("moderateText")] + public virtual System.Nullable ModerateText { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -1289,38 +1111,6 @@ public class PartOfSpeech : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class RamMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gibSec")] - public virtual System.Nullable GibSec { get; set; } - - /// Required. Machine spec, e.g. N1_STANDARD_4. - [Newtonsoft.Json.JsonPropertyAttribute("machineSpec")] - public virtual string MachineSpec { get; set; } - - /// Required. VM memory in gb. - [Newtonsoft.Json.JsonPropertyAttribute("memories")] - public virtual System.Nullable Memories { get; set; } - - /// Required. Type of ram. - [Newtonsoft.Json.JsonPropertyAttribute("ramType")] - public virtual string RamType { get; set; } - - /// - /// Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra - /// itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": - /// "goog-k8s-cluster-name","value": "us-east1-b4rk" - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackingLabels")] - public virtual System.Collections.Generic.IDictionary TrackingLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents a sentence in the input document. public class Sentence : Google.Apis.Requests.IDirectResponseSchema { @@ -1427,2833 +1217,19 @@ public class Token : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class TpuMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Seconds of TPU usage, e.g. 3600. - [Newtonsoft.Json.JsonPropertyAttribute("tpuSec")] - public virtual System.Nullable TpuSec { get; set; } - - /// Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD. - [Newtonsoft.Json.JsonPropertyAttribute("tpuType")] - public virtual string TpuType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of ARRAY values. - public class XPSArrayStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the - /// element type of the array. - /// - [Newtonsoft.Json.JsonPropertyAttribute("memberStats")] - public virtual XPSDataStats MemberStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSBatchPredictResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO - /// of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exampleSet")] - public virtual XPSExampleSet ExampleSet { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match - /// confidence thresholds. - /// - public class XPSBoundingBoxMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The intersection-over-union threshold value used to compute this metrics entry. - [Newtonsoft.Json.JsonPropertyAttribute("iouThreshold")] - public virtual System.Nullable IouThreshold { get; set; } - - /// The mean average precision. - [Newtonsoft.Json.JsonPropertyAttribute("meanAveragePrecision")] - public virtual System.Nullable MeanAveragePrecision { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Recall for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of CATEGORY values. - public class XPSCategoryStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count. - /// - [Newtonsoft.Json.JsonPropertyAttribute("topCategoryStats")] - public virtual System.Collections.Generic.IList TopCategoryStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The statistics of a single CATEGORY value. - public class XPSCategoryStatsSingleCategoryStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of occurrences of this value in the series. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// The CATEGORY value. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Model evaluation metrics for classification problems. It can be used for image and video classification. Next - /// tag: 9. - /// - public class XPSClassificationEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// The Area under precision recall curve metric. - [Newtonsoft.Json.JsonPropertyAttribute("auPrc")] - public virtual System.Nullable AuPrc { get; set; } - - /// - /// The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("auRoc")] - public virtual System.Nullable AuRoc { get; set; } - - /// The Area under precision recall curve metric based on priors. - [Newtonsoft.Json.JsonPropertyAttribute("baseAuPrc")] - public virtual System.Nullable BaseAuPrc { get; set; } - - /// Metrics that have confidence thresholds. Precision-recall curve can be derived from it. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// - /// Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of - /// annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// The number of examples used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedExamplesCount")] - public virtual System.Nullable EvaluatedExamplesCount { get; set; } - - /// The Log Loss metric. - [Newtonsoft.Json.JsonPropertyAttribute("logLoss")] - public virtual System.Nullable LogLoss { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Map from color to display name. Will only be used by Image Segmentation for uCAIP. - public class XPSColorMap : Google.Apis.Requests.IDirectResponseSchema - { - /// Should be used during training. - [Newtonsoft.Json.JsonPropertyAttribute("annotationSpecIdToken")] - public virtual string AnnotationSpecIdToken { get; set; } - - /// - /// This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color - /// has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it - /// well we need to have some tolerance when converting to a discretized color. As such, the recommendation is - /// to have API surface still use google.type.Color while internally IntColor is used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("color")] - public virtual Color Color { get; set; } - - /// Should be used during preprocessing. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("intColor")] - public virtual XPSColorMapIntColor IntColor { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// RGB color and each channel is represented by an integer. - public class XPSColorMapIntColor : Google.Apis.Requests.IDirectResponseSchema - { - /// The value should be in range of [0, 255]. - [Newtonsoft.Json.JsonPropertyAttribute("blue")] - public virtual System.Nullable Blue { get; set; } - - /// The value should be in range of [0, 255]. - [Newtonsoft.Json.JsonPropertyAttribute("green")] - public virtual System.Nullable Green { get; set; } - - /// The value should be in range of [0, 255]. - [Newtonsoft.Json.JsonPropertyAttribute("red")] - public virtual System.Nullable Red { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSColumnSpec : Google.Apis.Requests.IDirectResponseSchema + /// Options for the V1 model. + public class V1Model : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which - /// reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the - /// last column. AutoML BE will persist this order id in Spanner and set the order id here when calling - /// RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("columnId")] - public virtual System.Nullable ColumnId { get; set; } - - /// - /// The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dataStats")] - public virtual XPSDataStats DataStats { get; set; } - - /// - /// The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and - /// Train. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dataType")] - public virtual XPSDataType DataType { get; set; } - - /// - /// The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and - /// Train. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("forecastingMetadata")] - public virtual XPSColumnSpecForecastingMetadata ForecastingMetadata { get; set; } - - /// It's outputed in RefreshTablesStats, and a required input in Train. - [Newtonsoft.Json.JsonPropertyAttribute("topCorrelatedColumns")] - public virtual System.Collections.Generic.IList TopCorrelatedColumns { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } - /// Identifies a table's column, and its correlation with the column this ColumnSpec describes. - public class XPSColumnSpecCorrelatedColumn : Google.Apis.Requests.IDirectResponseSchema + /// Options for the V2 model. + public class V2Model : Google.Apis.Requests.IDirectResponseSchema { - [Newtonsoft.Json.JsonPropertyAttribute("columnId")] - public virtual System.Nullable ColumnId { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("correlationStats")] - public virtual XPSCorrelationStats CorrelationStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// =========================================================================== # The fields below are used - /// exclusively for Forecasting. - /// - public class XPSColumnSpecForecastingMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// The type of the column for FORECASTING model training purposes. - [Newtonsoft.Json.JsonPropertyAttribute("columnType")] - public virtual string ColumnType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Common statistics for a column with a specified data type. - public class XPSCommonStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("distinctValueCount")] - public virtual System.Nullable DistinctValueCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("nullValueCount")] - public virtual System.Nullable NullValueCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("validValueCount")] - public virtual System.Nullable ValidValueCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16. - public class XPSConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Metrics are computed with an assumption that the model never return predictions with score lower than this - /// value. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// The harmonic mean of recall_at1 and precision_at1. - [Newtonsoft.Json.JsonPropertyAttribute("f1ScoreAt1")] - public virtual System.Nullable F1ScoreAt1 { get; set; } - - /// The number of ground truth labels that are not matched by a model created label. - [Newtonsoft.Json.JsonPropertyAttribute("falseNegativeCount")] - public virtual System.Nullable FalseNegativeCount { get; set; } - - /// The number of model created labels that do not match a ground truth label. - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveCount")] - public virtual System.Nullable FalsePositiveCount { get; set; } - - /// False Positive Rate for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveRate")] - public virtual System.Nullable FalsePositiveRate { get; set; } - - /// - /// The False Positive Rate when only considering the label that has the highest prediction score and not below - /// the confidence threshold for each example. - /// - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveRateAt1")] - public virtual System.Nullable FalsePositiveRateAt1 { get; set; } - - /// - /// Metrics are computed with an assumption that the model always returns at most this many predictions (ordered - /// by their score, descendingly), but they all still need to meet the confidence_threshold. - /// - [Newtonsoft.Json.JsonPropertyAttribute("positionThreshold")] - public virtual System.Nullable PositionThreshold { get; set; } - - /// Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// - /// The precision when only considering the label that has the highest prediction score and not below the - /// confidence threshold for each example. - /// - [Newtonsoft.Json.JsonPropertyAttribute("precisionAt1")] - public virtual System.Nullable PrecisionAt1 { get; set; } - - /// Recall (true positive rate) for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// - /// The recall (true positive rate) when only considering the label that has the highest prediction score and - /// not below the confidence threshold for each example. - /// - [Newtonsoft.Json.JsonPropertyAttribute("recallAt1")] - public virtual System.Nullable RecallAt1 { get; set; } - - /// - /// The number of labels that were not created by the model, but if they would, they would not match a ground - /// truth label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trueNegativeCount")] - public virtual System.Nullable TrueNegativeCount { get; set; } - - /// The number of model created labels that match a ground truth label. - [Newtonsoft.Json.JsonPropertyAttribute("truePositiveCount")] - public virtual System.Nullable TruePositiveCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Confusion matrix of the model running the classification. - public class XPSConfusionMatrix : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is - /// preferable to be set. ID tokens of the annotation specs used in the confusion matrix. - /// - [Newtonsoft.Json.JsonPropertyAttribute("annotationSpecIdToken")] - public virtual System.Collections.Generic.IList AnnotationSpecIdToken { get; set; } - - /// - /// Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation - /// should use annotation_spec_id_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("category")] - public virtual System.Collections.Generic.IList> Category { get; set; } - - /// - /// Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. - /// `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and - /// are predicted as `annotation_spec_id_token[j]` by the model being evaluated. - /// - [Newtonsoft.Json.JsonPropertyAttribute("row")] - public virtual System.Collections.Generic.IList Row { get; set; } - - /// - /// Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, - /// use `annotation_spec_id_token` instead and leave this field empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sentimentLabel")] - public virtual System.Collections.Generic.IList> SentimentLabel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A row in the confusion matrix. - public class XPSConfusionMatrixRow : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). - /// NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are - /// embedded inside another message). - /// - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Collections.Generic.IList> Count { get; set; } - - /// - /// Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of - /// the row) is equal to the length of the annotation_spec_id_token field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] - public virtual System.Collections.Generic.IList> ExampleCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A model format used for iOS mobile devices. - public class XPSCoreMlFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A correlation statistics between two series of DataType values. The series may have differing DataType-s, but - /// within a single series the DataType must be the same. - /// - public class XPSCorrelationStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The correlation value using the Cramer's V measure. - [Newtonsoft.Json.JsonPropertyAttribute("cramersV")] - public virtual System.Nullable CramersV { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Different types of errors and the stats associatesd with each error. - public class XPSDataErrors : Google.Apis.Requests.IDirectResponseSchema - { - /// Number of records having errors associated with the enum. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// Type of the error. - [Newtonsoft.Json.JsonPropertyAttribute("errorType")] - public virtual string ErrorType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of values that share the same DataType. - public class XPSDataStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The statistics for ARRAY DataType. - [Newtonsoft.Json.JsonPropertyAttribute("arrayStats")] - public virtual XPSArrayStats ArrayStats { get; set; } - - /// The statistics for CATEGORY DataType. - [Newtonsoft.Json.JsonPropertyAttribute("categoryStats")] - public virtual XPSCategoryStats CategoryStats { get; set; } - - /// The number of distinct values. - [Newtonsoft.Json.JsonPropertyAttribute("distinctValueCount")] - public virtual System.Nullable DistinctValueCount { get; set; } - - /// The statistics for FLOAT64 DataType. - [Newtonsoft.Json.JsonPropertyAttribute("float64Stats")] - public virtual XPSFloat64Stats Float64Stats { get; set; } - - /// The number of values that are null. - [Newtonsoft.Json.JsonPropertyAttribute("nullValueCount")] - public virtual System.Nullable NullValueCount { get; set; } - - /// The statistics for STRING DataType. - [Newtonsoft.Json.JsonPropertyAttribute("stringStats")] - public virtual XPSStringStats StringStats { get; set; } - - /// The statistics for STRUCT DataType. - [Newtonsoft.Json.JsonPropertyAttribute("structStats")] - public virtual XPSStructStats StructStats { get; set; } - - /// The statistics for TIMESTAMP DataType. - [Newtonsoft.Json.JsonPropertyAttribute("timestampStats")] - public virtual XPSTimestampStats TimestampStats { get; set; } - - /// The number of values that are valid. - [Newtonsoft.Json.JsonPropertyAttribute("validValueCount")] - public virtual System.Nullable ValidValueCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Indicated the type of data that can be stored in a structured data entity (e.g. a table). - public class XPSDataType : Google.Apis.Requests.IDirectResponseSchema - { - /// The highly compatible data types to this data type. - [Newtonsoft.Json.JsonPropertyAttribute("compatibleDataTypes")] - public virtual System.Collections.Generic.IList CompatibleDataTypes { get; set; } - - /// If type_code == ARRAY, then `list_element_type` is the type of the elements. - [Newtonsoft.Json.JsonPropertyAttribute("listElementType")] - public virtual XPSDataType ListElementType { get; set; } - - /// If true, this DataType can also be `null`. - [Newtonsoft.Json.JsonPropertyAttribute("nullable")] - public virtual System.Nullable Nullable { get; set; } - - /// - /// If type_code == STRUCT, then `struct_type` provides type information for the struct's fields. - /// - [Newtonsoft.Json.JsonPropertyAttribute("structType")] - public virtual XPSStructType StructType { get; set; } - - /// - /// If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The - /// time_format must be written in `strftime` syntax. If time_format is not set, then the default format as - /// described on the field is used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeFormat")] - public virtual string TimeFormat { get; set; } - - /// Required. The TypeCode for this type. - [Newtonsoft.Json.JsonPropertyAttribute("typeCode")] - public virtual string TypeCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A model format used for Docker containers. Use the params field to customize the container. The container is - /// verified to work correctly on ubuntu 16.04 operating system. - /// - public class XPSDockerFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. Additional cpu information describing the requirements for the to be exported model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cpuArchitecture")] - public virtual string CpuArchitecture { get; set; } - - /// - /// Optional. Additional gpu information describing the requirements for the to be exported model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gpuArchitecture")] - public virtual string GpuArchitecture { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. - public class XPSEdgeTpuTfLiteFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model - /// overall. Next tag: 18. - /// - public class XPSEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an - /// overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value - /// comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where - /// annotation_spec_id_token is not available, set label instead. - /// - [Newtonsoft.Json.JsonPropertyAttribute("annotationSpecIdToken")] - public virtual string AnnotationSpecIdToken { get; set; } - - /// - /// The integer category label for which this evaluation metric instance had been created. Valid categories are - /// 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only - /// used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation - /// should use annotation_spec_id_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("category")] - public virtual System.Nullable Category { get; set; } - - /// The number of examples used to create this evaluation metrics instance. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedExampleCount")] - public virtual System.Nullable EvaluatedExampleCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics ImageClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageObjectDetectionEvalMetrics")] - public virtual XPSImageObjectDetectionEvaluationMetrics ImageObjectDetectionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageSegmentationEvalMetrics")] - public virtual XPSImageSegmentationEvaluationMetrics ImageSegmentationEvalMetrics { get; set; } - - /// - /// The label for which this evaluation metrics instance had been created. Empty iff this is an overall model - /// evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to - /// AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL - /// implementation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("label")] - public virtual string Label { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("regressionEvalMetrics")] - public virtual XPSRegressionEvaluationMetrics RegressionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics TablesClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesEvalMetrics")] - public virtual XPSTablesEvaluationMetrics TablesEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics TextClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textExtractionEvalMetrics")] - public virtual XPSTextExtractionEvaluationMetrics TextExtractionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textSentimentEvalMetrics")] - public virtual XPSTextSentimentEvaluationMetrics TextSentimentEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("translationEvalMetrics")] - public virtual XPSTranslationEvaluationMetrics TranslationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoActionRecognitionEvalMetrics")] - public virtual XPSVideoActionRecognitionEvaluationMetrics VideoActionRecognitionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics VideoClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoObjectTrackingEvalMetrics")] - public virtual XPSVideoObjectTrackingEvaluationMetrics VideoObjectTrackingEvalMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies location of model evaluation metrics. - public class XPSEvaluationMetricsSet : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, - /// use file_spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("evaluationMetrics")] - public virtual System.Collections.Generic.IList EvaluationMetrics { get; set; } - - /// - /// File spec containing evaluation metrics of a model, must point to RecordIO file(s) of - /// intelligence.cloud.automl.xps.EvaluationMetrics messages. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fileSpec")] - public virtual XPSFileSpec FileSpec { get; set; } - - /// Number of the evaluation metrics (usually one per label plus overall). - [Newtonsoft.Json.JsonPropertyAttribute("numEvaluationMetrics")] - public virtual System.Nullable NumEvaluationMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Set of examples or input sources. - public class XPSExampleSet : Google.Apis.Requests.IDirectResponseSchema - { - /// File spec of the examples or input sources. - [Newtonsoft.Json.JsonPropertyAttribute("fileSpec")] - public virtual XPSFileSpec FileSpec { get; set; } - - /// Fingerprint of the example set. - [Newtonsoft.Json.JsonPropertyAttribute("fingerprint")] - public virtual System.Nullable Fingerprint { get; set; } - - /// Number of examples. - [Newtonsoft.Json.JsonPropertyAttribute("numExamples")] - public virtual System.Nullable NumExamples { get; set; } - - /// Number of input sources. - [Newtonsoft.Json.JsonPropertyAttribute("numInputSources")] - public virtual System.Nullable NumInputSources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSExportModelOutputConfig : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("coreMlFormat")] - public virtual XPSCoreMlFormat CoreMlFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("dockerFormat")] - public virtual XPSDockerFormat DockerFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("edgeTpuTfLiteFormat")] - public virtual XPSEdgeTpuTfLiteFormat EdgeTpuTfLiteFormat { get; set; } - - /// - /// For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt - /// file. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportFirebaseAuxiliaryInfo")] - public virtual System.Nullable ExportFirebaseAuxiliaryInfo { get; set; } - - /// - /// The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the - /// exported format is DOCKDER. - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputGcrUri")] - public virtual string OutputGcrUri { get; set; } - - /// - /// The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. - /// Format: gs://bucket/directory - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputGcsUri")] - public virtual string OutputGcsUri { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tfJsFormat")] - public virtual XPSTfJsFormat TfJsFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tfLiteFormat")] - public virtual XPSTfLiteFormat TfLiteFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tfSavedModelFormat")] - public virtual XPSTfSavedModelFormat TfSavedModelFormat { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Spec of input and output files, on external file systems (CNS, GCS, etc). - public class XPSFileSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Deprecated. Use file_spec. - [Newtonsoft.Json.JsonPropertyAttribute("directoryPath")] - public virtual string DirectoryPath { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("fileFormat")] - public virtual string FileFormat { get; set; } - - /// - /// Single file path, or file pattern of format "/path/to/file@shard_count". E.g. /cns/cell-d/somewhere/file@2 - /// is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and - /// /cns/cell-d/somewhere/file-00001-of-00002. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fileSpec")] - public virtual string FileSpec { get; set; } - - /// Deprecated. Use file_spec. - [Newtonsoft.Json.JsonPropertyAttribute("singleFilePath")] - public virtual string SingleFilePath { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of FLOAT64 values. - public class XPSFloat64Stats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of - /// the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 - /// range with min of first bucket being `"-Infinity"`, and max of the last one being `"Infinity"`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("histogramBuckets")] - public virtual System.Collections.Generic.IList HistogramBuckets { get; set; } - - /// The mean of the series. - [Newtonsoft.Json.JsonPropertyAttribute("mean")] - public virtual System.Nullable Mean { get; set; } - - /// - /// Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, - /// approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the - /// min and max values. - /// - [Newtonsoft.Json.JsonPropertyAttribute("quantiles")] - public virtual System.Collections.Generic.IList> Quantiles { get; set; } - - /// The standard deviation of the series. - [Newtonsoft.Json.JsonPropertyAttribute("standardDeviation")] - public virtual System.Nullable StandardDeviation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A bucket of a histogram. - public class XPSFloat64StatsHistogramBucket : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of data values that are in the bucket, i.e. are between min and max values. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// - /// The maximum value of the bucket, exclusive unless max = `"Infinity"`, in which case it's inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("max")] - public virtual System.Nullable Max { get; set; } - - /// The minimum value of the bucket, inclusive. - [Newtonsoft.Json.JsonPropertyAttribute("min")] - public virtual System.Nullable Min { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageClassificationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Total number of classes. - [Newtonsoft.Json.JsonPropertyAttribute("classCount")] - public virtual System.Nullable ClassCount { get; set; } - - /// - /// Information of downloadable models that are pre-generated as part of training flow and will be persisted in - /// AutoMl backend. Populated for AutoMl requests. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSImageExportModelSpec ExportModelSpec { get; set; } - - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSImageModelArtifactSpec ModelArtifactSpec { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("modelServingSpec")] - public virtual XPSImageModelServingSpec ModelServingSpec { get; set; } - - /// - /// Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stopReason")] - public virtual string StopReason { get; set; } - - /// - /// The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud - /// type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated - /// after GA. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostInNodeTime")] - public virtual object TrainCostInNodeTime { get; set; } - - /// - /// The actual training cost, expressed in node seconds. Populated for models trained in node time. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Information of downloadable models that are pre-generated as part of training flow and will be persisted in - /// AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models - /// to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend - /// will call xPS ExportModel API to generate the model on the fly with the requesting format. - /// - public class XPSImageExportModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS - /// bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportModelOutputConfig")] - public virtual System.Collections.Generic.IList ExportModelOutputConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only. - /// - public class XPSImageModelArtifactSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// The Tensorflow checkpoint files. e.g. Used for resumable training. - [Newtonsoft.Json.JsonPropertyAttribute("checkpointArtifact")] - public virtual XPSModelArtifactItem CheckpointArtifact { get; set; } - - /// The model binary files in different formats for model export. - [Newtonsoft.Json.JsonPropertyAttribute("exportArtifact")] - public virtual System.Collections.Generic.IList ExportArtifact { get; set; } - - /// GCS uri of decoded labels file for model export 'dict.txt'. - [Newtonsoft.Json.JsonPropertyAttribute("labelGcsUri")] - public virtual string LabelGcsUri { get; set; } - - /// - /// The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI - /// Platform API. - /// - [Newtonsoft.Json.JsonPropertyAttribute("servingArtifact")] - public virtual XPSModelArtifactItem ServingArtifact { get; set; } - - /// GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated. - [Newtonsoft.Json.JsonPropertyAttribute("tfJsBinaryGcsPrefix")] - public virtual string TfJsBinaryGcsPrefix { get; set; } - - /// GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'. - [Newtonsoft.Json.JsonPropertyAttribute("tfLiteMetadataGcsUri")] - public virtual string TfLiteMetadataGcsUri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Serving specification for image models. - public class XPSImageModelServingSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Populate under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelThroughputEstimation")] - public virtual System.Collections.Generic.IList ModelThroughputEstimation { get; set; } - - /// - /// An estimated value of how much traffic a node can serve. Populated for AutoMl request only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nodeQps")] - public virtual System.Nullable NodeQps { get; set; } - - /// - /// ## The fields below are only populated under uCAIP request scope. - /// https://cloud.google.com/ml-engine/docs/runtime-version-list - /// - [Newtonsoft.Json.JsonPropertyAttribute("tfRuntimeVersion")] - public virtual string TfRuntimeVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageModelServingSpecModelThroughputEstimation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("computeEngineAcceleratorType")] - public virtual string ComputeEngineAcceleratorType { get; set; } - - /// Estimated latency. - [Newtonsoft.Json.JsonPropertyAttribute("latencyInMilliseconds")] - public virtual System.Nullable LatencyInMilliseconds { get; set; } - - /// The approximate qps a deployed node can serve. - [Newtonsoft.Json.JsonPropertyAttribute("nodeQps")] - public virtual System.Nullable NodeQps { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("servomaticPartitionType")] - public virtual string ServomaticPartitionType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding - /// boxes. - /// - public class XPSImageObjectDetectionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The single metric for bounding boxes evaluation: the mean_average_precision averaged over all - /// bounding_box_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMeanAveragePrecision")] - public virtual System.Nullable BoundingBoxMeanAveragePrecision { get; set; } - - /// - /// The bounding boxes match metrics for each Intersection-over-union threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMetricsEntries")] - public virtual System.Collections.Generic.IList BoundingBoxMetricsEntries { get; set; } - - /// - /// The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this - /// evaluation had. - /// - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedBoundingBoxCount")] - public virtual System.Nullable EvaluatedBoundingBoxCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageObjectDetectionModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Total number of classes. - [Newtonsoft.Json.JsonPropertyAttribute("classCount")] - public virtual System.Nullable ClassCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSImageExportModelSpec ExportModelSpec { get; set; } - - /// Max number of bounding box. - [Newtonsoft.Json.JsonPropertyAttribute("maxBoundingBoxCount")] - public virtual System.Nullable MaxBoundingBoxCount { get; set; } - - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSImageModelArtifactSpec ModelArtifactSpec { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("modelServingSpec")] - public virtual XPSImageModelServingSpec ModelServingSpec { get; set; } - - /// Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'. - [Newtonsoft.Json.JsonPropertyAttribute("stopReason")] - public virtual string StopReason { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for image segmentation problems. Next tag: 4. - public class XPSImageSegmentationEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Metrics that have confidence thresholds. Precision-recall curve can be derived from it. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// - /// Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model - /// level evaluation, not for evaluation per label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// DSC or the F1 score: The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("diceScoreCoefficient")] - public virtual System.Nullable DiceScoreCoefficient { get; set; } - - /// IOU score. - [Newtonsoft.Json.JsonPropertyAttribute("iouScore")] - public virtual System.Nullable IouScore { get; set; } - - /// Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Recall for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageSegmentationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Color map of the model. - [Newtonsoft.Json.JsonPropertyAttribute("colorMaps")] - public virtual System.Collections.Generic.IList ColorMaps { get; set; } - - /// NOTE: These fields are not used/needed in EAP but will be set later. - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSImageExportModelSpec ExportModelSpec { get; set; } - - /// - /// ## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs - /// pathes and related metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSImageModelArtifactSpec ModelArtifactSpec { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("modelServingSpec")] - public virtual XPSImageModelServingSpec ModelServingSpec { get; set; } - - /// Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'. - [Newtonsoft.Json.JsonPropertyAttribute("stopReason")] - public virtual string StopReason { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully - /// differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 - /// - public class XPSIntegratedGradientsAttribution : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The number of steps for approximating the path integral. A good value to start is 50 and gradually increase - /// until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], - /// inclusively. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stepCount")] - public virtual System.Nullable StepCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSMetricEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to - /// Chemist as the "cloudbilling.googleapis.com/argentum_metric_id" label. Otherwise leave empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("argentumMetricId")] - public virtual string ArgentumMetricId { get; set; } - - /// A double value. - [Newtonsoft.Json.JsonPropertyAttribute("doubleValue")] - public virtual System.Nullable DoubleValue { get; set; } - - /// A signed 64-bit integer value. - [Newtonsoft.Json.JsonPropertyAttribute("int64Value")] - public virtual System.Nullable Int64Value { get; set; } - - /// The metric name defined in the service configuration. - [Newtonsoft.Json.JsonPropertyAttribute("metricName")] - public virtual string MetricName { get; set; } - - /// Billing system labels for this (metric, value) pair. - [Newtonsoft.Json.JsonPropertyAttribute("systemLabels")] - public virtual System.Collections.Generic.IList SystemLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSMetricEntryLabel : Google.Apis.Requests.IDirectResponseSchema - { - /// The name of the label. - [Newtonsoft.Json.JsonPropertyAttribute("labelName")] - public virtual string LabelName { get; set; } - - /// The value of the label. - [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] - public virtual string LabelValue { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single model artifact item. - public class XPSModelArtifactItem : Google.Apis.Requests.IDirectResponseSchema - { - /// The model artifact format. - [Newtonsoft.Json.JsonPropertyAttribute("artifactFormat")] - public virtual string ArtifactFormat { get; set; } - - /// The Google Cloud Storage (GCS) uri that stores the model binary files. - [Newtonsoft.Json.JsonPropertyAttribute("gcsUri")] - public virtual string GcsUri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Next ID: 8 - public class XPSPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of - /// PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim - /// passed to Train() call in TrainExample.mvp_training_data. - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputExampleSet")] - public virtual XPSExampleSet OutputExampleSet { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("speechPreprocessResp")] - public virtual XPSSpeechPreprocessResponse SpeechPreprocessResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesPreprocessResponse")] - public virtual XPSTablesPreprocessResponse TablesPreprocessResponse { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("translationPreprocessResp")] - public virtual XPSTranslationPreprocessResponse TranslationPreprocessResp { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for regression problems. It can be used for Tables. - public class XPSRegressionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Mean Absolute Error (MAE). - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsoluteError")] - public virtual System.Nullable MeanAbsoluteError { get; set; } - - /// Mean absolute percentage error. Only set if all ground truth values are positive. - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsolutePercentageError")] - public virtual System.Nullable MeanAbsolutePercentageError { get; set; } - - /// R squared. - [Newtonsoft.Json.JsonPropertyAttribute("rSquared")] - public virtual System.Nullable RSquared { get; set; } - - /// A list of actual versus predicted points for the model being evaluated. - [Newtonsoft.Json.JsonPropertyAttribute("regressionMetricsEntries")] - public virtual System.Collections.Generic.IList RegressionMetricsEntries { get; set; } - - /// Root Mean Squared Error (RMSE). - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredError")] - public virtual System.Nullable RootMeanSquaredError { get; set; } - - /// Root mean squared log error. - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredLogError")] - public virtual System.Nullable RootMeanSquaredLogError { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A pair of actual & observed values for the model being evaluated. - public class XPSRegressionMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The observed value for a row in the dataset. - [Newtonsoft.Json.JsonPropertyAttribute("predictedValue")] - public virtual System.Nullable PredictedValue { get; set; } - - /// The actual target value for a row in the dataset. - [Newtonsoft.Json.JsonPropertyAttribute("trueValue")] - public virtual System.Nullable TrueValue { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSReportingMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML - /// BE doesn't use this. Don't set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("effectiveTrainingDuration")] - public virtual object EffectiveTrainingDuration { get; set; } - - /// One entry per metric name. The values must be aggregated per metric name. - [Newtonsoft.Json.JsonPropertyAttribute("metricEntries")] - public virtual System.Collections.Generic.IList MetricEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSResponseExplanationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Metadata of the input. - [Newtonsoft.Json.JsonPropertyAttribute("inputs")] - public virtual System.Collections.Generic.IDictionary Inputs { get; set; } - - /// Metadata of the output. - [Newtonsoft.Json.JsonPropertyAttribute("outputs")] - public virtual System.Collections.Generic.IDictionary Outputs { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata of the input of a feature. - public class XPSResponseExplanationMetadataInputMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Name of the input tensor for this model. Only needed in train response. - [Newtonsoft.Json.JsonPropertyAttribute("inputTensorName")] - public virtual string InputTensorName { get; set; } - - /// Modality of the feature. Valid values are: numeric, image. Defaults to numeric. - [Newtonsoft.Json.JsonPropertyAttribute("modality")] - public virtual string Modality { get; set; } - - /// Visualization configurations for image explanation. - [Newtonsoft.Json.JsonPropertyAttribute("visualizationConfig")] - public virtual XPSVisualization VisualizationConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata of the prediction output to be explained. - public class XPSResponseExplanationMetadataOutputMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Name of the output tensor. Only needed in train response. - [Newtonsoft.Json.JsonPropertyAttribute("outputTensorName")] - public virtual string OutputTensorName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSResponseExplanationParameters : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// An attribution method that computes Aumann-Shapley values taking advantage of the model's fully - /// differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 - /// - [Newtonsoft.Json.JsonPropertyAttribute("integratedGradientsAttribution")] - public virtual XPSIntegratedGradientsAttribution IntegratedGradientsAttribution { get; set; } - - /// - /// An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking - /// advantage of the model's fully differentiable structure. Refer to this paper for more details: - /// https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house - /// or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from - /// diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead. - /// - [Newtonsoft.Json.JsonPropertyAttribute("xraiAttribution")] - public virtual XPSXraiAttribution XraiAttribution { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for - /// context. - /// - public class XPSResponseExplanationSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explanation type. For AutoML Image Classification models, possible values are: * - /// `image-integrated-gradients` * `image-xrai` - /// - [Newtonsoft.Json.JsonPropertyAttribute("explanationType")] - public virtual string ExplanationType { get; set; } - - /// Metadata describing the Model's input and output for explanation. - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual XPSResponseExplanationMetadata Metadata { get; set; } - - /// Parameters that configure explaining of the Model's predictions. - [Newtonsoft.Json.JsonPropertyAttribute("parameters")] - public virtual XPSResponseExplanationParameters Parameters { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSRow : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The ids of the columns. Note: The below `values` field must match order of this field, if this field is set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("columnIds")] - public virtual System.Collections.Generic.IList> ColumnIds { get; set; } - - /// - /// The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in - /// the same order as the input_feature_column_ids in TablesModelMetadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("values")] - public virtual System.Collections.Generic.IList Values { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Evaluation metrics for all submodels contained in this model. - [Newtonsoft.Json.JsonPropertyAttribute("subModelEvaluationMetrics")] - public virtual System.Collections.Generic.IList SubModelEvaluationMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechEvaluationMetricsSubModelEvaluationMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the biasing model. - [Newtonsoft.Json.JsonPropertyAttribute("biasingModelType")] - public virtual string BiasingModelType { get; set; } - - /// If true then it means we have an enhanced version of the biasing models. - [Newtonsoft.Json.JsonPropertyAttribute("isEnhancedModel")] - public virtual System.Nullable IsEnhancedModel { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("numDeletions")] - public virtual System.Nullable NumDeletions { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("numInsertions")] - public virtual System.Nullable NumInsertions { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("numSubstitutions")] - public virtual System.Nullable NumSubstitutions { get; set; } - - /// Number of utterances used in the wer computation. - [Newtonsoft.Json.JsonPropertyAttribute("numUtterances")] - public virtual System.Nullable NumUtterances { get; set; } - - /// Number of words over which the word error rate was computed. - [Newtonsoft.Json.JsonPropertyAttribute("numWords")] - public virtual System.Nullable NumWords { get; set; } - - /// Below fields are used for debugging purposes - [Newtonsoft.Json.JsonPropertyAttribute("sentenceAccuracy")] - public virtual System.Nullable SentenceAccuracy { get; set; } - - /// Word error rate (standard error metric used for speech recognition). - [Newtonsoft.Json.JsonPropertyAttribute("wer")] - public virtual System.Nullable Wer { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so - /// that speech API can query the db directly. - /// - [Newtonsoft.Json.JsonPropertyAttribute("datasetId")] - public virtual System.Nullable DatasetId { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("language")] - public virtual string Language { get; set; } - - /// Model specs for all submodels contained in this model. - [Newtonsoft.Json.JsonPropertyAttribute("subModelSpecs")] - public virtual System.Collections.Generic.IList SubModelSpecs { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechModelSpecSubModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the biasing model. - [Newtonsoft.Json.JsonPropertyAttribute("biasingModelType")] - public virtual string BiasingModelType { get; set; } - - /// In S3, Recognition ClientContextId.client_id - [Newtonsoft.Json.JsonPropertyAttribute("clientId")] - public virtual string ClientId { get; set; } - - /// In S3, Recognition ClientContextId.context_id - [Newtonsoft.Json.JsonPropertyAttribute("contextId")] - public virtual string ContextId { get; set; } - - /// If true then it means we have an enhanced version of the biasing models. - [Newtonsoft.Json.JsonPropertyAttribute("isEnhancedModel")] - public virtual System.Nullable IsEnhancedModel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Location od shards of sstables (test data) of DataUtterance protos. - [Newtonsoft.Json.JsonPropertyAttribute("cnsTestDataPath")] - public virtual string CnsTestDataPath { get; set; } - - /// Location of shards of sstables (training data) of DataUtterance protos. - [Newtonsoft.Json.JsonPropertyAttribute("cnsTrainDataPath")] - public virtual string CnsTrainDataPath { get; set; } - - /// - /// The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models - /// stored in the AutoML. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prebuiltModelEvaluationMetrics")] - public virtual XPSSpeechEvaluationMetrics PrebuiltModelEvaluationMetrics { get; set; } - - /// Stats associated with the data. - [Newtonsoft.Json.JsonPropertyAttribute("speechPreprocessStats")] - public virtual XPSSpeechPreprocessStats SpeechPreprocessStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechPreprocessStats : Google.Apis.Requests.IDirectResponseSchema - { - /// Different types of data errors and the counts associated with them. - [Newtonsoft.Json.JsonPropertyAttribute("dataErrors")] - public virtual System.Collections.Generic.IList DataErrors { get; set; } - - /// The number of rows marked HUMAN_LABELLED - [Newtonsoft.Json.JsonPropertyAttribute("numHumanLabeledExamples")] - public virtual System.Nullable NumHumanLabeledExamples { get; set; } - - /// The number of samples found in the previously recorded logs data. - [Newtonsoft.Json.JsonPropertyAttribute("numLogsExamples")] - public virtual System.Nullable NumLogsExamples { get; set; } - - /// The number of rows marked as MACHINE_TRANSCRIBED - [Newtonsoft.Json.JsonPropertyAttribute("numMachineTranscribedExamples")] - public virtual System.Nullable NumMachineTranscribedExamples { get; set; } - - /// The number of examples labelled as TEST by Speech xps server. - [Newtonsoft.Json.JsonPropertyAttribute("testExamplesCount")] - public virtual System.Nullable TestExamplesCount { get; set; } - - /// The number of sentences in the test data set. - [Newtonsoft.Json.JsonPropertyAttribute("testSentencesCount")] - public virtual System.Nullable TestSentencesCount { get; set; } - - /// The number of words in the test data set. - [Newtonsoft.Json.JsonPropertyAttribute("testWordsCount")] - public virtual System.Nullable TestWordsCount { get; set; } - - /// The number of examples labeled as TRAIN by Speech xps server. - [Newtonsoft.Json.JsonPropertyAttribute("trainExamplesCount")] - public virtual System.Nullable TrainExamplesCount { get; set; } - - /// The number of sentences in the training data set. - [Newtonsoft.Json.JsonPropertyAttribute("trainSentencesCount")] - public virtual System.Nullable TrainSentencesCount { get; set; } - - /// The number of words in the training data set. - [Newtonsoft.Json.JsonPropertyAttribute("trainWordsCount")] - public virtual System.Nullable TrainWordsCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of STRING values. - public class XPSStringStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count. - [Newtonsoft.Json.JsonPropertyAttribute("topUnigramStats")] - public virtual System.Collections.Generic.IList TopUnigramStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The statistics of a unigram. - public class XPSStringStatsUnigramStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of occurrences of this unigram in the series. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// The unigram. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of STRUCT values. - public class XPSStructStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// Map from a field name of the struct to data stats aggregated over series of all data in that field across - /// all the structs. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fieldStats")] - public virtual System.Collections.Generic.IDictionary FieldStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// `StructType` defines the DataType-s of a STRUCT type. - public class XPSStructType : Google.Apis.Requests.IDirectResponseSchema - { - /// Unordered map of struct field names to their data types. - [Newtonsoft.Json.JsonPropertyAttribute("fields")] - public virtual System.Collections.Generic.IDictionary Fields { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTableSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Mapping from column id to column spec. - [Newtonsoft.Json.JsonPropertyAttribute("columnSpecs")] - public virtual System.Collections.Generic.IDictionary ColumnSpecs { get; set; } - - /// The total size of imported data of the table. - [Newtonsoft.Json.JsonPropertyAttribute("importedDataSizeInBytes")] - public virtual System.Nullable ImportedDataSizeInBytes { get; set; } - - /// The number of rows in the table. - [Newtonsoft.Json.JsonPropertyAttribute("rowCount")] - public virtual System.Nullable RowCount { get; set; } - - /// The id of the time column. - [Newtonsoft.Json.JsonPropertyAttribute("timeColumnId")] - public virtual System.Nullable TimeColumnId { get; set; } - - /// The number of valid rows. - [Newtonsoft.Json.JsonPropertyAttribute("validRowCount")] - public virtual System.Nullable ValidRowCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for Tables classification problems. - public class XPSTablesClassificationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Metrics building a curve. - [Newtonsoft.Json.JsonPropertyAttribute("curveMetrics")] - public virtual System.Collections.Generic.IList CurveMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics curve data point for a single value. - public class XPSTablesClassificationMetricsCurveMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// The area under the precision-recall curve. - [Newtonsoft.Json.JsonPropertyAttribute("aucPr")] - public virtual System.Nullable AucPr { get; set; } - - /// The area under receiver operating characteristic curve. - [Newtonsoft.Json.JsonPropertyAttribute("aucRoc")] - public virtual System.Nullable AucRoc { get; set; } - - /// - /// Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The Log loss metric. - [Newtonsoft.Json.JsonPropertyAttribute("logLoss")] - public virtual System.Nullable LogLoss { get; set; } - - /// The position threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("positionThreshold")] - public virtual System.Nullable PositionThreshold { get; set; } - - /// The CATEGORY row value (for ARRAY unnested) the curve metrics are for. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSTablesConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// - /// The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall) - /// - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// False negative count. - [Newtonsoft.Json.JsonPropertyAttribute("falseNegativeCount")] - public virtual System.Nullable FalseNegativeCount { get; set; } - - /// False positive count. - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveCount")] - public virtual System.Nullable FalsePositiveCount { get; set; } - - /// FPR = #false positives / (#false positives + #true negatives) - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveRate")] - public virtual System.Nullable FalsePositiveRate { get; set; } - - /// Precision = #true positives / (#true positives + #false positives). - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Recall = #true positives / (#true positives + #false negatives). - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// True negative count. - [Newtonsoft.Json.JsonPropertyAttribute("trueNegativeCount")] - public virtual System.Nullable TrueNegativeCount { get; set; } - - /// True positive count. - [Newtonsoft.Json.JsonPropertyAttribute("truePositiveCount")] - public virtual System.Nullable TruePositiveCount { get; set; } - - /// TPR = #true positives / (#true positives + #false negatvies) - [Newtonsoft.Json.JsonPropertyAttribute("truePositiveRate")] - public virtual System.Nullable TruePositiveRate { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata for a dataset used for AutoML Tables. Next ID: 6 - public class XPSTablesDatasetMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Id the column to split the table. - [Newtonsoft.Json.JsonPropertyAttribute("mlUseColumnId")] - public virtual System.Nullable MlUseColumnId { get; set; } - - /// Primary table. - [Newtonsoft.Json.JsonPropertyAttribute("primaryTableSpec")] - public virtual XPSTableSpec PrimaryTableSpec { get; set; } - - /// (the column id : its CorrelationStats with target column). - [Newtonsoft.Json.JsonPropertyAttribute("targetColumnCorrelations")] - public virtual System.Collections.Generic.IDictionary TargetColumnCorrelations { get; set; } - - /// Id of the primary table column that should be used as the training label. - [Newtonsoft.Json.JsonPropertyAttribute("targetColumnId")] - public virtual System.Nullable TargetColumnId { get; set; } - - /// Id of the primary table column that should be used as the weight column. - [Newtonsoft.Json.JsonPropertyAttribute("weightColumnId")] - public virtual System.Nullable WeightColumnId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Classification metrics. - [Newtonsoft.Json.JsonPropertyAttribute("classificationMetrics")] - public virtual XPSTablesClassificationMetrics ClassificationMetrics { get; set; } - - /// Regression metrics. - [Newtonsoft.Json.JsonPropertyAttribute("regressionMetrics")] - public virtual XPSTablesRegressionMetrics RegressionMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// An information specific to given column and Tables Model, in context of the Model and the predictions created by - /// it. - /// - public class XPSTablesModelColumnInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the column. - [Newtonsoft.Json.JsonPropertyAttribute("columnId")] - public virtual System.Nullable ColumnId { get; set; } - - /// - /// When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend - /// on values in this column. A value between 0 and 1, higher means higher influence. These values are - /// normalized - for all input feature columns of a given model they add to 1. When given back by Predict or - /// Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this - /// column was. Specifically, the feature importance specifies the marginal contribution that the feature made - /// to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley - /// method. - /// - [Newtonsoft.Json.JsonPropertyAttribute("featureImportance")] - public virtual System.Nullable FeatureImportance { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A description of Tables model structure. - public class XPSTablesModelStructure : Google.Apis.Requests.IDirectResponseSchema - { - /// A list of models. - [Newtonsoft.Json.JsonPropertyAttribute("modelParameters")] - public virtual System.Collections.Generic.IList ModelParameters { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model hyper-parameters for a model. - public class XPSTablesModelStructureModelParameters : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("hyperparameters")] - public virtual System.Collections.Generic.IList Hyperparameters { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesModelStructureModelParametersParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// Float type parameter value. - [Newtonsoft.Json.JsonPropertyAttribute("floatValue")] - public virtual System.Nullable FloatValue { get; set; } - - /// Integer type parameter value. - [Newtonsoft.Json.JsonPropertyAttribute("intValue")] - public virtual System.Nullable IntValue { get; set; } - - /// Parameter name. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// String type parameter value. - [Newtonsoft.Json.JsonPropertyAttribute("stringValue")] - public virtual string StringValue { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The table/column id, column_name and the DataTypes of the columns will be populated. - [Newtonsoft.Json.JsonPropertyAttribute("tablesDatasetMetadata")] - public virtual XPSTablesDatasetMetadata TablesDatasetMetadata { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for Tables regression problems. - public class XPSTablesRegressionMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Mean absolute error. - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsoluteError")] - public virtual System.Nullable MeanAbsoluteError { get; set; } - - /// - /// Mean absolute percentage error, only set if all of the target column's values are positive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsolutePercentageError")] - public virtual System.Nullable MeanAbsolutePercentageError { get; set; } - - /// R squared. - [Newtonsoft.Json.JsonPropertyAttribute("rSquared")] - public virtual System.Nullable RSquared { get; set; } - - /// A list of actual versus predicted points for the model being evaluated. - [Newtonsoft.Json.JsonPropertyAttribute("regressionMetricsEntries")] - public virtual System.Collections.Generic.IList RegressionMetricsEntries { get; set; } - - /// Root mean squared error. - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredError")] - public virtual System.Nullable RootMeanSquaredError { get; set; } - - /// Root mean squared log error. - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredLogError")] - public virtual System.Nullable RootMeanSquaredLogError { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("modelStructure")] - public virtual XPSTablesModelStructure ModelStructure { get; set; } - - /// Sample rows from the dataset this model was trained. - [Newtonsoft.Json.JsonPropertyAttribute("predictionSampleRows")] - public virtual System.Collections.Generic.IList PredictionSampleRows { get; set; } - - /// - /// Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this - /// particular model. - /// - [Newtonsoft.Json.JsonPropertyAttribute("tablesModelColumnInfo")] - public virtual System.Collections.Generic.IList TablesModelColumnInfo { get; set; } - - /// - /// The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 - /// node hour. Guaranteed to not exceed the train budget. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostMilliNodeHours")] - public virtual System.Nullable TrainCostMilliNodeHours { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesTrainingOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Current stage of creating model. - [Newtonsoft.Json.JsonPropertyAttribute("createModelStage")] - public virtual string CreateModelStage { get; set; } - - /// The optimization objective for model. - [Newtonsoft.Json.JsonPropertyAttribute("optimizationObjective")] - public virtual string OptimizationObjective { get; set; } - - /// - /// This field is for training. When the operation is terminated successfully, AutoML Backend post this field to - /// operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to - /// be a failure. - /// - [Newtonsoft.Json.JsonPropertyAttribute("topTrials")] - public virtual System.Collections.Generic.IList TopTrials { get; set; } - - /// Creating model budget. - [Newtonsoft.Json.JsonPropertyAttribute("trainBudgetMilliNodeHours")] - public virtual System.Nullable TrainBudgetMilliNodeHours { get; set; } - - /// - /// This field records the training objective value with respect to time, giving insight into how the model - /// architecture search is performing as training time elapses. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainingObjectivePoints")] - public virtual System.Collections.Generic.IList TrainingObjectivePoints { get; set; } - - private string _trainingStartTimeRaw; - - private object _trainingStartTime; - - /// Timestamp when training process starts. - [Newtonsoft.Json.JsonPropertyAttribute("trainingStartTime")] - public virtual string TrainingStartTimeRaw - { - get => _trainingStartTimeRaw; - set - { - _trainingStartTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _trainingStartTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use TrainingStartTimeDateTimeOffset instead.")] - public virtual object TrainingStartTime - { - get => _trainingStartTime; - set - { - _trainingStartTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _trainingStartTime = value; - } - } - - /// - /// representation of . - /// - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? TrainingStartTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(TrainingStartTimeRaw); - set => TrainingStartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Component model. Next ID: 10 - public class XPSTextComponentModel : Google.Apis.Requests.IDirectResponseSchema - { - /// The Cloud Storage resource path to hold batch prediction model. - [Newtonsoft.Json.JsonPropertyAttribute("batchPredictionModelGcsUri")] - public virtual string BatchPredictionModelGcsUri { get; set; } - - /// The Cloud Storage resource path to hold online prediction model. - [Newtonsoft.Json.JsonPropertyAttribute("onlinePredictionModelGcsUri")] - public virtual string OnlinePredictionModelGcsUri { get; set; } - - /// - /// The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("partition")] - public virtual string Partition { get; set; } - - /// - /// The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai - /// Platform API. - /// - [Newtonsoft.Json.JsonPropertyAttribute("servingArtifact")] - public virtual XPSModelArtifactItem ServingArtifact { get; set; } - - /// The name of servo model. Populated by uCAIP BE as part of online PredictRequest. - [Newtonsoft.Json.JsonPropertyAttribute("servoModelName")] - public virtual string ServoModelName { get; set; } - - /// The name of the trained NL submodel. - [Newtonsoft.Json.JsonPropertyAttribute("submodelName")] - public virtual string SubmodelName { get; set; } - - /// The type of trained NL submodel - [Newtonsoft.Json.JsonPropertyAttribute("submodelType")] - public virtual string SubmodelType { get; set; } - - /// - /// ## The fields below are only populated under uCAIP request scope. - /// https://cloud.google.com/ml-engine/docs/runtime-version-list - /// - [Newtonsoft.Json.JsonPropertyAttribute("tfRuntimeVersion")] - public virtual string TfRuntimeVersion { get; set; } - - /// - /// The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("versionNumber")] - public virtual System.Nullable VersionNumber { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTextExtractionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, - /// precision, and f1_score will be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("bestF1ConfidenceMetrics")] - public virtual XPSConfidenceMetricsEntry BestF1ConfidenceMetrics { get; set; } - - /// - /// If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire - /// model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies - /// to that label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// - /// Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model - /// evaluation, not for evaluation per label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// Only recall, precision, and f1_score will be set. - [Newtonsoft.Json.JsonPropertyAttribute("perLabelConfidenceMetrics")] - public virtual System.Collections.Generic.IDictionary PerLabelConfidenceMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for text sentiment problems. - public class XPSTextSentimentEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for - /// evaluation of a single annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// Output only. The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// - /// Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a - /// single annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("linearKappa")] - public virtual System.Nullable LinearKappa { get; set; } - - /// - /// Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single - /// annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsoluteError")] - public virtual System.Nullable MeanAbsoluteError { get; set; } - - /// - /// Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single - /// annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("meanSquaredError")] - public virtual System.Nullable MeanSquaredError { get; set; } - - /// Output only. Precision. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// - /// Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a - /// single annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("quadraticKappa")] - public virtual System.Nullable QuadraticKappa { get; set; } - - /// Output only. Recall. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// TextToSpeech train response - public class XPSTextToSpeechTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTextTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Component submodels. - [Newtonsoft.Json.JsonPropertyAttribute("componentModel")] - public virtual System.Collections.Generic.IList ComponentModel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using - /// JavaScript. - /// - public class XPSTfJsFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite. - /// - public class XPSTfLiteFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A tensorflow model format in SavedModel format. - public class XPSTfSavedModelFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of TIMESTAMP values. - public class XPSTimestampStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. - /// Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day - /// granularity, then hour_of_day is not populated). - /// - [Newtonsoft.Json.JsonPropertyAttribute("granularStats")] - public virtual System.Collections.Generic.IDictionary GranularStats { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("medianTimestampNanos")] - public virtual System.Nullable MedianTimestampNanos { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Stats split by a defined in context granularity. - public class XPSTimestampStatsGranularStats : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for - /// month_of_year `5` means May). - /// - [Newtonsoft.Json.JsonPropertyAttribute("buckets")] - public virtual System.Collections.Generic.IDictionary> Buckets { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. - /// Next tag: 6. - /// - public class XPSTrackMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// Precision-recall curve is derived from them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// - /// Output only. The intersection-over-union threshold value between bounding boxes across frames used to - /// compute this metric entry. - /// - [Newtonsoft.Json.JsonPropertyAttribute("iouThreshold")] - public virtual System.Nullable IouThreshold { get; set; } - - /// Output only. The mean bounding box iou over all confidence thresholds. - [Newtonsoft.Json.JsonPropertyAttribute("meanBoundingBoxIou")] - public virtual System.Nullable MeanBoundingBoxIou { get; set; } - - /// Output only. The mean mismatch rate over all confidence thresholds. - [Newtonsoft.Json.JsonPropertyAttribute("meanMismatchRate")] - public virtual System.Nullable MeanMismatchRate { get; set; } - - /// Output only. The mean average precision over all confidence thresholds. - [Newtonsoft.Json.JsonPropertyAttribute("meanTrackingAveragePrecision")] - public virtual System.Nullable MeanTrackingAveragePrecision { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. Next tag: 6. - public class XPSTrackMetricsEntryConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap - /// between each other (e.g. complete overlap or just barely above iou_threshold). - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxIou")] - public virtual System.Nullable BoundingBoxIou { get; set; } - - /// Output only. The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// - /// Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID - /// continuity. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mismatchRate")] - public virtual System.Nullable MismatchRate { get; set; } - - /// Output only. Tracking precision. - [Newtonsoft.Json.JsonPropertyAttribute("trackingPrecision")] - public virtual System.Nullable TrackingPrecision { get; set; } - - /// Output only. Tracking recall. - [Newtonsoft.Json.JsonPropertyAttribute("trackingRecall")] - public virtual System.Nullable TrackingRecall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Next ID: 18 - public class XPSTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Estimated model size in bytes once deployed. - [Newtonsoft.Json.JsonPropertyAttribute("deployedModelSizeBytes")] - public virtual System.Nullable DeployedModelSizeBytes { get; set; } - - /// - /// Optional vision model error analysis configuration. The field is set when model error analysis is enabled in - /// the training request. The results of error analysis will be binded together with evaluation results (in the - /// format of AnnotatedExample). - /// - [Newtonsoft.Json.JsonPropertyAttribute("errorAnalysisConfigs")] - public virtual System.Collections.Generic.IList ErrorAnalysisConfigs { get; set; } - - /// - /// Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec - /// should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and - /// annotations predicted by the model must be set. The example payload can and is recommended to be omitted. - /// - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedExampleSet")] - public virtual XPSExampleSet EvaluatedExampleSet { get; set; } - - /// The trained model evaluation metrics. This can be optionally returned. - [Newtonsoft.Json.JsonPropertyAttribute("evaluationMetricsSet")] - public virtual XPSEvaluationMetricsSet EvaluationMetricsSet { get; set; } - - /// - /// VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("explanationConfigs")] - public virtual System.Collections.Generic.IList ExplanationConfigs { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageClassificationTrainResp")] - public virtual XPSImageClassificationTrainResponse ImageClassificationTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageObjectDetectionTrainResp")] - public virtual XPSImageObjectDetectionModelSpec ImageObjectDetectionTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageSegmentationTrainResp")] - public virtual XPSImageSegmentationTrainResponse ImageSegmentationTrainResp { get; set; } - - /// - /// Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can - /// put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other - /// xPS APIs to refer to the model. - /// - [Newtonsoft.Json.JsonPropertyAttribute("modelToken")] - public virtual string ModelToken { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("speechTrainResp")] - public virtual XPSSpeechModelSpec SpeechTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesTrainResp")] - public virtual XPSTablesTrainResponse TablesTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textToSpeechTrainResp")] - public virtual XPSTextToSpeechTrainResponse TextToSpeechTrainResp { get; set; } - - /// Will only be needed for uCAIP from Beta. - [Newtonsoft.Json.JsonPropertyAttribute("textTrainResp")] - public virtual XPSTextTrainResponse TextTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("translationTrainResp")] - public virtual XPSTranslationTrainResponse TranslationTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoActionRecognitionTrainResp")] - public virtual XPSVideoActionRecognitionTrainResponse VideoActionRecognitionTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoClassificationTrainResp")] - public virtual XPSVideoClassificationTrainResponse VideoClassificationTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoObjectTrackingTrainResp")] - public virtual XPSVideoObjectTrackingTrainResponse VideoObjectTrackingTrainResp { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTrainingObjectivePoint : Google.Apis.Requests.IDirectResponseSchema - { - private string _createTimeRaw; - - private object _createTime; - - /// The time at which this point was recorded. - [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); - } - - /// The objective value when this point was recorded. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual System.Nullable Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Evaluation metrics for the dataset. - public class XPSTranslationEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// BLEU score for base model. - [Newtonsoft.Json.JsonPropertyAttribute("baseBleuScore")] - public virtual System.Nullable BaseBleuScore { get; set; } - - /// BLEU score. - [Newtonsoft.Json.JsonPropertyAttribute("bleuScore")] - public virtual System.Nullable BleuScore { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Translation preprocess response. - public class XPSTranslationPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Total example count parsed. - [Newtonsoft.Json.JsonPropertyAttribute("parsedExampleCount")] - public virtual System.Nullable ParsedExampleCount { get; set; } - - /// Total valid example count. - [Newtonsoft.Json.JsonPropertyAttribute("validExampleCount")] - public virtual System.Nullable ValidExampleCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Train response for translation. - public class XPSTranslationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the model. - [Newtonsoft.Json.JsonPropertyAttribute("modelType")] - public virtual string ModelType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a - /// standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users. - /// - public class XPSTuningTrial : Google.Apis.Requests.IDirectResponseSchema - { - /// Model parameters for the trial. - [Newtonsoft.Json.JsonPropertyAttribute("modelStructure")] - public virtual XPSTablesModelStructure ModelStructure { get; set; } - - /// The optimization objective evaluation of the eval split data. - [Newtonsoft.Json.JsonPropertyAttribute("trainingObjectivePoint")] - public virtual XPSTrainingObjectivePoint TrainingObjectivePoint { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The Evaluation metrics entry given a specific precision_window_length. - public class XPSVideoActionMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The mean average precision. - [Newtonsoft.Json.JsonPropertyAttribute("meanAveragePrecision")] - public virtual System.Nullable MeanAveragePrecision { get; set; } - - /// - /// This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's - /// timestamp is inside the time window whose center is the ground truth action's timestamp with this specific - /// length, the prediction result is treated as a true positive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("precisionWindowLength")] - public virtual object PrecisionWindowLength { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSVideoActionMetricsEntryConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// Output only. The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// Output only. Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Output only. Recall for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for video action recognition. - public class XPSVideoActionRecognitionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The number of ground truth actions used to create this evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedActionCount")] - public virtual System.Nullable EvaluatedActionCount { get; set; } - - /// Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s. - [Newtonsoft.Json.JsonPropertyAttribute("videoActionMetricsEntries")] - public virtual System.Collections.Generic.IList VideoActionMetricsEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoActionRecognitionTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSVideoModelArtifactSpec ModelArtifactSpec { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoBatchPredictOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// All the partial batch prediction results that are completed at the moment. Output examples are sorted by - /// completion time. The order will not be changed. Each output example should be the path of a single RecordIO - /// file of AnnotatedExamples. - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputExamples")] - public virtual System.Collections.Generic.IList OutputExamples { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoClassificationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSVideoModelArtifactSpec ModelArtifactSpec { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Information of downloadable models that are pre-generated as part of training flow and will be persisted in - /// AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models - /// to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend - /// will call xPS ExportModel API to generate the model on the fly with the requesting format. - /// - public class XPSVideoExportModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS - /// bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportModelOutputConfig")] - public virtual System.Collections.Generic.IList ExportModelOutputConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoModelArtifactSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// The model binary files in different formats for model export. - [Newtonsoft.Json.JsonPropertyAttribute("exportArtifact")] - public virtual System.Collections.Generic.IList ExportArtifact { get; set; } - - /// - /// The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API. - /// - [Newtonsoft.Json.JsonPropertyAttribute("servingArtifact")] - public virtual XPSModelArtifactItem ServingArtifact { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for ObjectTracking problems. Next tag: 10. - public class XPSVideoObjectTrackingEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all - /// bounding_box_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMeanAveragePrecision")] - public virtual System.Nullable BoundingBoxMeanAveragePrecision { get; set; } - - /// - /// Output only. The bounding boxes match metrics for each Intersection-over-union threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMetricsEntries")] - public virtual System.Collections.Generic.IList BoundingBoxMetricsEntries { get; set; } - - /// The number of bounding boxes used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedBoundingboxCount")] - public virtual System.Nullable EvaluatedBoundingboxCount { get; set; } - - /// The number of video frames used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedFrameCount")] - public virtual System.Nullable EvaluatedFrameCount { get; set; } - - /// The number of tracks used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedTrackCount")] - public virtual System.Nullable EvaluatedTrackCount { get; set; } - - /// - /// Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all - /// track_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMeanAveragePrecision")] - public virtual System.Nullable TrackMeanAveragePrecision { get; set; } - - /// - /// Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged - /// over all track_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMeanBoundingBoxIou")] - public virtual System.Nullable TrackMeanBoundingBoxIou { get; set; } - - /// - /// Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all - /// track_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMeanMismatchRate")] - public virtual System.Nullable TrackMeanMismatchRate { get; set; } - - /// - /// Output only. The tracks match metrics for each Intersection-over-union threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMetricsEntries")] - public virtual System.Collections.Generic.IList TrackMetricsEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoObjectTrackingTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Populated for AutoML request only. - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSVideoExportModelSpec ExportModelSpec { get; set; } - - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSVideoModelArtifactSpec ModelArtifactSpec { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoTrainingOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. - /// 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends - /// running your training job. The cost of one node running for one hour is a node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostMilliNodeHour")] - public virtual System.Nullable TrainCostMilliNodeHour { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The vision model error analysis configuration. Next tag: 3 - public class XPSVisionErrorAnalysisConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of query examples in error analysis. - [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] - public virtual System.Nullable ExampleCount { get; set; } - - /// The query type used in retrieval. The enum values are frozen in the foreseeable future. - [Newtonsoft.Json.JsonPropertyAttribute("queryType")] - public virtual string QueryType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVisionTrainingOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training - /// request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("explanationUsage")] - public virtual InfraUsage ExplanationUsage { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Visualization configurations for image explanation. - public class XPSVisualization : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62. - /// - [Newtonsoft.Json.JsonPropertyAttribute("clipPercentLowerbound")] - public virtual System.Nullable ClipPercentLowerbound { get; set; } - - /// - /// Excludes attributions above the specified percentile from the highlighted areas. Using the - /// clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and - /// making it easier to see areas of strong attribution. Defaults to 99.9. - /// - [Newtonsoft.Json.JsonPropertyAttribute("clipPercentUpperbound")] - public virtual System.Nullable ClipPercentUpperbound { get; set; } - - /// - /// The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients - /// attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI - /// attribution, which highlights the most influential regions in yellow and the least influential in blue. - /// - [Newtonsoft.Json.JsonPropertyAttribute("colorMap")] - public virtual string ColorMap { get; set; } - - /// - /// How the original image is displayed in the visualization. Adjusting the overlay can help increase visual - /// clarity if the original image makes it difficult to view the visualization. Defaults to NONE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("overlayType")] - public virtual string OverlayType { get; set; } - - /// - /// Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("polarity")] - public virtual string Polarity { get; set; } - - /// - /// Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions - /// of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES. - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSXpsOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data - /// importing, batch prediction). - /// - [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] - public virtual System.Nullable ExampleCount { get; set; } - - /// - /// Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned - /// from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist - /// if it's not empty, regardless of the response content or error type. If user is supposed to be charged in - /// case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any - /// billing, this field should be left unset. - /// - [Newtonsoft.Json.JsonPropertyAttribute("reportingMetrics")] - public virtual XPSReportingMetrics ReportingMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesTrainingOperationMetadata")] - public virtual XPSTablesTrainingOperationMetadata TablesTrainingOperationMetadata { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoBatchPredictOperationMetadata")] - public virtual XPSVideoBatchPredictOperationMetadata VideoBatchPredictOperationMetadata { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoTrainingOperationMetadata")] - public virtual XPSVideoTrainingOperationMetadata VideoTrainingOperationMetadata { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("visionTrainingOperationMetadata")] - public virtual XPSVisionTrainingOperationMetadata VisionTrainingOperationMetadata { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking - /// advantage of the model's fully differentiable structure. Refer to this paper for more details: - /// https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE). - /// - public class XPSXraiAttribution : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The number of steps for approximating the path integral. A good value to start is 50 and gradually increase - /// until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], - /// inclusively. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stepCount")] - public virtual System.Nullable StepCount { get; set; } + /// The content categories used for classification. + [Newtonsoft.Json.JsonPropertyAttribute("contentCategoriesVersion")] + public virtual string ContentCategoriesVersion { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj index 79269be808..e6ae0b9174 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1/Google.Apis.CloudNaturalLanguage.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudNaturalLanguage.v1 Client Library - 1.66.0.3337 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs index d22a24466c..142a4809c7 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.cs @@ -35,6 +35,8 @@ public CloudNaturalLanguageService() : this(new Google.Apis.Services.BaseClientS public CloudNaturalLanguageService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Documents = new DocumentsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://language.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://language.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudNaturalLanguageService(Google.Apis.Services.BaseClientService.Initia public override string Name => "language"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://language.googleapis.com/"; + 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 => "https://language.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -736,51 +738,7 @@ public class AnnotateTextRequest : Google.Apis.Requests.IDirectResponseSchema /// Required. The enabled features. [Newtonsoft.Json.JsonPropertyAttribute("features")] - public virtual AnnotateTextRequestFeatures Features { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that - /// specific analysis for the input. Next ID: 12 - /// - public class AnnotateTextRequestFeatures : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if - /// `classify_text` is set to true. - /// - [Newtonsoft.Json.JsonPropertyAttribute("classificationModelOptions")] - public virtual ClassificationModelOptions ClassificationModelOptions { get; set; } - - /// - /// Classify the full document into categories. If this is true, the API will use the default model which - /// classifies into a [predefined taxonomy](https://cloud.google.com/natural-language/docs/categories). - /// - [Newtonsoft.Json.JsonPropertyAttribute("classifyText")] - public virtual System.Nullable ClassifyText { get; set; } - - /// Extract document-level sentiment. - [Newtonsoft.Json.JsonPropertyAttribute("extractDocumentSentiment")] - public virtual System.Nullable ExtractDocumentSentiment { get; set; } - - /// Extract entities. - [Newtonsoft.Json.JsonPropertyAttribute("extractEntities")] - public virtual System.Nullable ExtractEntities { get; set; } - - /// Extract entities and their associated sentiment. - [Newtonsoft.Json.JsonPropertyAttribute("extractEntitySentiment")] - public virtual System.Nullable ExtractEntitySentiment { get; set; } - - /// Extract syntax information. - [Newtonsoft.Json.JsonPropertyAttribute("extractSyntax")] - public virtual System.Nullable ExtractSyntax { get; set; } - - /// Moderate the document for harmful and sensitive categories. - [Newtonsoft.Json.JsonPropertyAttribute("moderateText")] - public virtual System.Nullable ModerateText { get; set; } + public virtual Features Features { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -861,32 +819,14 @@ public class ClassificationModelOptions : Google.Apis.Requests.IDirectResponseSc /// support for this will be discontinued in the future. /// [Newtonsoft.Json.JsonPropertyAttribute("v1Model")] - public virtual ClassificationModelOptionsV1Model V1Model { get; set; } + public virtual V1Model V1Model { get; set; } /// /// Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a /// better performing model. /// [Newtonsoft.Json.JsonPropertyAttribute("v2Model")] - public virtual ClassificationModelOptionsV2Model V2Model { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Options for the V1 model. - public class ClassificationModelOptionsV1Model : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Options for the V2 model. - public class ClassificationModelOptionsV2Model : Google.Apis.Requests.IDirectResponseSchema - { - /// The content categories used for classification. - [Newtonsoft.Json.JsonPropertyAttribute("contentCategoriesVersion")] - public virtual string ContentCategoriesVersion { get; set; } + public virtual V2Model V2Model { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -920,101 +860,6 @@ public class ClassifyTextResponse : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// - /// Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and - /// from color representations in various languages over compactness. For example, the fields of this representation - /// can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to - /// UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily - /// formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the - /// absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and - /// BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, - /// implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha - /// values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static - /// java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? - /// protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), - /// protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) - /// color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator - /// = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / - /// denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( - /// FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } - /// // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor - /// red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor - /// alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor - /// colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, - /// green, blue, alpha; if (![color getRed:&amp;red green:&amp;green blue:&amp;blue - /// alpha:&amp;alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result - /// setGreen:green]; [result setBlue:blue]; if (alpha &lt;= 0.9999) { [result - /// setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // - /// ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = - /// rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = - /// Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return - /// rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, - /// blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, - /// green, blue) { var rgbNumber = new Number((red &lt;&lt; 16) | (green &lt;&lt; 8) | blue); var - /// hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var - /// i = 0; i &lt; missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return - /// resultBuilder.join(''); }; // ... - /// - public class Color : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by - /// the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a - /// value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent - /// color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish - /// between a default value and the value being unset. If omitted, this color object is rendered as a solid - /// color (as if the alpha value had been explicitly given a value of 1.0). - /// - [Newtonsoft.Json.JsonPropertyAttribute("alpha")] - public virtual System.Nullable Alpha { get; set; } - - /// The amount of blue in the color as a value in the interval [0, 1]. - [Newtonsoft.Json.JsonPropertyAttribute("blue")] - public virtual System.Nullable Blue { get; set; } - - /// The amount of green in the color as a value in the interval [0, 1]. - [Newtonsoft.Json.JsonPropertyAttribute("green")] - public virtual System.Nullable Green { get; set; } - - /// The amount of red in the color as a value in the interval [0, 1]. - [Newtonsoft.Json.JsonPropertyAttribute("red")] - public virtual System.Nullable Red { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metric for billing reports. - public class CpuMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Number of CPU cores. - [Newtonsoft.Json.JsonPropertyAttribute("coreNumber")] - public virtual System.Nullable CoreNumber { get; set; } - - /// Required. Total seconds of core usage, e.g. 4. - [Newtonsoft.Json.JsonPropertyAttribute("coreSec")] - public virtual System.Nullable CoreSec { get; set; } - - /// Required. Type of cpu, e.g. N2. - [Newtonsoft.Json.JsonPropertyAttribute("cpuType")] - public virtual string CpuType { get; set; } - - /// Required. Machine spec, e.g. N1_STANDARD_4. - [Newtonsoft.Json.JsonPropertyAttribute("machineSpec")] - public virtual string MachineSpec { get; set; } - - /// - /// Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra - /// itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": - /// "goog-k8s-cluster-name","value": "us-east1-b4rk" - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackingLabels")] - public virtual System.Collections.Generic.IDictionary TrackingLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents dependency parse tree information for a token. public class DependencyEdge : Google.Apis.Requests.IDirectResponseSchema { @@ -1034,20 +879,6 @@ public class DependencyEdge : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class DiskMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Type of Disk, e.g. REGIONAL_SSD. - [Newtonsoft.Json.JsonPropertyAttribute("diskType")] - public virtual string DiskType { get; set; } - - /// Required. Seconds of physical disk usage, e.g. 3600. - [Newtonsoft.Json.JsonPropertyAttribute("gibSec")] - public virtual System.Nullable GibSec { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents the input to API methods. public class Document : Google.Apis.Requests.IDirectResponseSchema { @@ -1170,54 +1001,45 @@ public class EntityMention : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class GpuMetric : Google.Apis.Requests.IDirectResponseSchema + /// + /// All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that + /// specific analysis for the input. Next ID: 12 + /// + public class Features : Google.Apis.Requests.IDirectResponseSchema { - /// Required. Seconds of GPU usage, e.g. 3600. - [Newtonsoft.Json.JsonPropertyAttribute("gpuSec")] - public virtual System.Nullable GpuSec { get; set; } - - /// Required. Type of GPU, e.g. NVIDIA_TESLA_V100. - [Newtonsoft.Json.JsonPropertyAttribute("gpuType")] - public virtual string GpuType { get; set; } - - /// Required. Machine spec, e.g. N1_STANDARD_4. - [Newtonsoft.Json.JsonPropertyAttribute("machineSpec")] - public virtual string MachineSpec { get; set; } - /// - /// Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra - /// itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": - /// "goog-k8s-cluster-name","value": "us-east1-b4rk" + /// Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if + /// `classify_text` is set to true. /// - [Newtonsoft.Json.JsonPropertyAttribute("trackingLabels")] - public virtual System.Collections.Generic.IDictionary TrackingLabels { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("classificationModelOptions")] + public virtual ClassificationModelOptions ClassificationModelOptions { get; set; } - /// The ETag of the item. - public virtual string ETag { get; set; } - } + /// + /// Classify the full document into categories. If this is true, the API will use the default model which + /// classifies into a [predefined taxonomy](https://cloud.google.com/natural-language/docs/categories). + /// + [Newtonsoft.Json.JsonPropertyAttribute("classifyText")] + public virtual System.Nullable ClassifyText { get; set; } - /// Infra Usage of billing metrics. Next ID: 6 - public class InfraUsage : Google.Apis.Requests.IDirectResponseSchema - { - /// Aggregated core metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("cpuMetrics")] - public virtual System.Collections.Generic.IList CpuMetrics { get; set; } + /// Extract document-level sentiment. + [Newtonsoft.Json.JsonPropertyAttribute("extractDocumentSentiment")] + public virtual System.Nullable ExtractDocumentSentiment { get; set; } - /// Aggregated persistent disk metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("diskMetrics")] - public virtual System.Collections.Generic.IList DiskMetrics { get; set; } + /// Extract entities. + [Newtonsoft.Json.JsonPropertyAttribute("extractEntities")] + public virtual System.Nullable ExtractEntities { get; set; } - /// Aggregated gpu metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("gpuMetrics")] - public virtual System.Collections.Generic.IList GpuMetrics { get; set; } + /// Extract entities and their associated sentiment. + [Newtonsoft.Json.JsonPropertyAttribute("extractEntitySentiment")] + public virtual System.Nullable ExtractEntitySentiment { get; set; } - /// Aggregated ram metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("ramMetrics")] - public virtual System.Collections.Generic.IList RamMetrics { get; set; } + /// Extract syntax information. + [Newtonsoft.Json.JsonPropertyAttribute("extractSyntax")] + public virtual System.Nullable ExtractSyntax { get; set; } - /// Aggregated tpu metrics since requested start_time. - [Newtonsoft.Json.JsonPropertyAttribute("tpuMetrics")] - public virtual System.Collections.Generic.IList TpuMetrics { get; set; } + /// Moderate the document for harmful and sensitive categories. + [Newtonsoft.Json.JsonPropertyAttribute("moderateText")] + public virtual System.Nullable ModerateText { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -1300,38 +1122,6 @@ public class PartOfSpeech : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class RamMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. VM memory in Gigabyte second, e.g. 3600. Using int64 type to match billing metrics definition. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gibSec")] - public virtual System.Nullable GibSec { get; set; } - - /// Required. Machine spec, e.g. N1_STANDARD_4. - [Newtonsoft.Json.JsonPropertyAttribute("machineSpec")] - public virtual string MachineSpec { get; set; } - - /// Required. VM memory in gb. - [Newtonsoft.Json.JsonPropertyAttribute("memories")] - public virtual System.Nullable Memories { get; set; } - - /// Required. Type of ram. - [Newtonsoft.Json.JsonPropertyAttribute("ramType")] - public virtual string RamType { get; set; } - - /// - /// Billing tracking labels. They do not contain any user data but only the labels set by Vertex Core Infra - /// itself. Tracking labels' keys are defined with special format: goog-[\p{Ll}\p{N}]+ E.g. "key": - /// "goog-k8s-cluster-name","value": "us-east1-b4rk" - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackingLabels")] - public virtual System.Collections.Generic.IDictionary TrackingLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// Represents a sentence in the input document. public class Sentence : Google.Apis.Requests.IDirectResponseSchema { @@ -1438,2833 +1228,19 @@ public class Token : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - public class TpuMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Seconds of TPU usage, e.g. 3600. - [Newtonsoft.Json.JsonPropertyAttribute("tpuSec")] - public virtual System.Nullable TpuSec { get; set; } - - /// Required. Type of TPU, e.g. TPU_V2, TPU_V3_POD. - [Newtonsoft.Json.JsonPropertyAttribute("tpuType")] - public virtual string TpuType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of ARRAY values. - public class XPSArrayStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// Stats of all the values of all arrays, as if they were a single long series of data. The type depends on the - /// element type of the array. - /// - [Newtonsoft.Json.JsonPropertyAttribute("memberStats")] - public virtual XPSDataStats MemberStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSBatchPredictResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Examples for batch prediction result. Under full API implementation, results are stored in shared RecordIO - /// of AnnotatedExample protobufs, the annotations field of which is populated by XPS backend. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exampleSet")] - public virtual XPSExampleSet ExampleSet { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Bounding box matching model metrics for a single intersection-over-union threshold and multiple label match - /// confidence thresholds. - /// - public class XPSBoundingBoxMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The intersection-over-union threshold value used to compute this metrics entry. - [Newtonsoft.Json.JsonPropertyAttribute("iouThreshold")] - public virtual System.Nullable IouThreshold { get; set; } - - /// The mean average precision. - [Newtonsoft.Json.JsonPropertyAttribute("meanAveragePrecision")] - public virtual System.Nullable MeanAveragePrecision { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSBoundingBoxMetricsEntryConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Recall for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of CATEGORY values. - public class XPSCategoryStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// The statistics of the top 20 CATEGORY values, ordered by CategoryStats.SingleCategoryStats.count. - /// - [Newtonsoft.Json.JsonPropertyAttribute("topCategoryStats")] - public virtual System.Collections.Generic.IList TopCategoryStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The statistics of a single CATEGORY value. - public class XPSCategoryStatsSingleCategoryStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of occurrences of this value in the series. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// The CATEGORY value. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Model evaluation metrics for classification problems. It can be used for image and video classification. Next - /// tag: 9. - /// - public class XPSClassificationEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// The Area under precision recall curve metric. - [Newtonsoft.Json.JsonPropertyAttribute("auPrc")] - public virtual System.Nullable AuPrc { get; set; } - - /// - /// The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("auRoc")] - public virtual System.Nullable AuRoc { get; set; } - - /// The Area under precision recall curve metric based on priors. - [Newtonsoft.Json.JsonPropertyAttribute("baseAuPrc")] - public virtual System.Nullable BaseAuPrc { get; set; } - - /// Metrics that have confidence thresholds. Precision-recall curve can be derived from it. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// - /// Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of - /// annotation specs is no more than 10. Only set for model level evaluation, not for evaluation per label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// The number of examples used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedExamplesCount")] - public virtual System.Nullable EvaluatedExamplesCount { get; set; } - - /// The Log Loss metric. - [Newtonsoft.Json.JsonPropertyAttribute("logLoss")] - public virtual System.Nullable LogLoss { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Map from color to display name. Will only be used by Image Segmentation for uCAIP. - public class XPSColorMap : Google.Apis.Requests.IDirectResponseSchema - { - /// Should be used during training. - [Newtonsoft.Json.JsonPropertyAttribute("annotationSpecIdToken")] - public virtual string AnnotationSpecIdToken { get; set; } - - /// - /// This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color - /// has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it - /// well we need to have some tolerance when converting to a discretized color. As such, the recommendation is - /// to have API surface still use google.type.Color while internally IntColor is used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("color")] - public virtual Color Color { get; set; } - - /// Should be used during preprocessing. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("intColor")] - public virtual XPSColorMapIntColor IntColor { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// RGB color and each channel is represented by an integer. - public class XPSColorMapIntColor : Google.Apis.Requests.IDirectResponseSchema - { - /// The value should be in range of [0, 255]. - [Newtonsoft.Json.JsonPropertyAttribute("blue")] - public virtual System.Nullable Blue { get; set; } - - /// The value should be in range of [0, 255]. - [Newtonsoft.Json.JsonPropertyAttribute("green")] - public virtual System.Nullable Green { get; set; } - - /// The value should be in range of [0, 255]. - [Newtonsoft.Json.JsonPropertyAttribute("red")] - public virtual System.Nullable Red { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSColumnSpec : Google.Apis.Requests.IDirectResponseSchema + /// Options for the V1 model. + public class V1Model : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The unique id of the column. When Preprocess, the Tables BE will popuate the order id of the column, which - /// reflects the order of the column inside the table, i.e. 0 means the first column in the table, N-1 means the - /// last column. AutoML BE will persist this order id in Spanner and set the order id here when calling - /// RefreshTablesStats and Train. Note: it's different than the column_spec_id that is generated in AutoML BE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("columnId")] - public virtual System.Nullable ColumnId { get; set; } - - /// - /// The data stats of the column. It's outputed in RefreshTablesStats and a required input for Train. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dataStats")] - public virtual XPSDataStats DataStats { get; set; } - - /// - /// The data type of the column. It's outputed in Preprocess rpc and a required input for RefreshTablesStats and - /// Train. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dataType")] - public virtual XPSDataType DataType { get; set; } - - /// - /// The display name of the column. It's outputed in Preprocess and a required input for RefreshTablesStats and - /// Train. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("forecastingMetadata")] - public virtual XPSColumnSpecForecastingMetadata ForecastingMetadata { get; set; } - - /// It's outputed in RefreshTablesStats, and a required input in Train. - [Newtonsoft.Json.JsonPropertyAttribute("topCorrelatedColumns")] - public virtual System.Collections.Generic.IList TopCorrelatedColumns { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } - /// Identifies a table's column, and its correlation with the column this ColumnSpec describes. - public class XPSColumnSpecCorrelatedColumn : Google.Apis.Requests.IDirectResponseSchema + /// Options for the V2 model. + public class V2Model : Google.Apis.Requests.IDirectResponseSchema { - [Newtonsoft.Json.JsonPropertyAttribute("columnId")] - public virtual System.Nullable ColumnId { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("correlationStats")] - public virtual XPSCorrelationStats CorrelationStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// =========================================================================== # The fields below are used - /// exclusively for Forecasting. - /// - public class XPSColumnSpecForecastingMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// The type of the column for FORECASTING model training purposes. - [Newtonsoft.Json.JsonPropertyAttribute("columnType")] - public virtual string ColumnType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Common statistics for a column with a specified data type. - public class XPSCommonStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("distinctValueCount")] - public virtual System.Nullable DistinctValueCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("nullValueCount")] - public virtual System.Nullable NullValueCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("validValueCount")] - public virtual System.Nullable ValidValueCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// ConfidenceMetricsEntry includes generic precision, recall, f1 score etc. Next tag: 16. - public class XPSConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Metrics are computed with an assumption that the model never return predictions with score lower than this - /// value. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// The harmonic mean of recall_at1 and precision_at1. - [Newtonsoft.Json.JsonPropertyAttribute("f1ScoreAt1")] - public virtual System.Nullable F1ScoreAt1 { get; set; } - - /// The number of ground truth labels that are not matched by a model created label. - [Newtonsoft.Json.JsonPropertyAttribute("falseNegativeCount")] - public virtual System.Nullable FalseNegativeCount { get; set; } - - /// The number of model created labels that do not match a ground truth label. - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveCount")] - public virtual System.Nullable FalsePositiveCount { get; set; } - - /// False Positive Rate for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveRate")] - public virtual System.Nullable FalsePositiveRate { get; set; } - - /// - /// The False Positive Rate when only considering the label that has the highest prediction score and not below - /// the confidence threshold for each example. - /// - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveRateAt1")] - public virtual System.Nullable FalsePositiveRateAt1 { get; set; } - - /// - /// Metrics are computed with an assumption that the model always returns at most this many predictions (ordered - /// by their score, descendingly), but they all still need to meet the confidence_threshold. - /// - [Newtonsoft.Json.JsonPropertyAttribute("positionThreshold")] - public virtual System.Nullable PositionThreshold { get; set; } - - /// Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// - /// The precision when only considering the label that has the highest prediction score and not below the - /// confidence threshold for each example. - /// - [Newtonsoft.Json.JsonPropertyAttribute("precisionAt1")] - public virtual System.Nullable PrecisionAt1 { get; set; } - - /// Recall (true positive rate) for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// - /// The recall (true positive rate) when only considering the label that has the highest prediction score and - /// not below the confidence threshold for each example. - /// - [Newtonsoft.Json.JsonPropertyAttribute("recallAt1")] - public virtual System.Nullable RecallAt1 { get; set; } - - /// - /// The number of labels that were not created by the model, but if they would, they would not match a ground - /// truth label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trueNegativeCount")] - public virtual System.Nullable TrueNegativeCount { get; set; } - - /// The number of model created labels that match a ground truth label. - [Newtonsoft.Json.JsonPropertyAttribute("truePositiveCount")] - public virtual System.Nullable TruePositiveCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Confusion matrix of the model running the classification. - public class XPSConfusionMatrix : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// For the following three repeated fields, only one is intended to be set. annotation_spec_id_token is - /// preferable to be set. ID tokens of the annotation specs used in the confusion matrix. - /// - [Newtonsoft.Json.JsonPropertyAttribute("annotationSpecIdToken")] - public virtual System.Collections.Generic.IList AnnotationSpecIdToken { get; set; } - - /// - /// Category (mainly for segmentation). Set only for image segmentation models. Note: uCAIP Image Segmentation - /// should use annotation_spec_id_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("category")] - public virtual System.Collections.Generic.IList> Category { get; set; } - - /// - /// Rows in the confusion matrix. The number of rows is equal to the size of `annotation_spec_id_token`. - /// `row[i].value[j]` is the number of examples that have ground truth of the `annotation_spec_id_token[i]` and - /// are predicted as `annotation_spec_id_token[j]` by the model being evaluated. - /// - [Newtonsoft.Json.JsonPropertyAttribute("row")] - public virtual System.Collections.Generic.IList Row { get; set; } - - /// - /// Sentiment labels used in the confusion matrix. Set only for text sentiment models. For AutoML Text Revamp, - /// use `annotation_spec_id_token` instead and leave this field empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sentimentLabel")] - public virtual System.Collections.Generic.IList> SentimentLabel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A row in the confusion matrix. - public class XPSConfusionMatrixRow : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Same as above except intended to represent other counts (for e.g. for segmentation this is pixel count). - /// NOTE(params): Only example_count or count is set (oneoff does not support repeated fields unless they are - /// embedded inside another message). - /// - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Collections.Generic.IList> Count { get; set; } - - /// - /// Value of the specific cell in the confusion matrix. The number of values each row has (i.e. the length of - /// the row) is equal to the length of the annotation_spec_id_token field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] - public virtual System.Collections.Generic.IList> ExampleCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A model format used for iOS mobile devices. - public class XPSCoreMlFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A correlation statistics between two series of DataType values. The series may have differing DataType-s, but - /// within a single series the DataType must be the same. - /// - public class XPSCorrelationStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The correlation value using the Cramer's V measure. - [Newtonsoft.Json.JsonPropertyAttribute("cramersV")] - public virtual System.Nullable CramersV { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Different types of errors and the stats associatesd with each error. - public class XPSDataErrors : Google.Apis.Requests.IDirectResponseSchema - { - /// Number of records having errors associated with the enum. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// Type of the error. - [Newtonsoft.Json.JsonPropertyAttribute("errorType")] - public virtual string ErrorType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of values that share the same DataType. - public class XPSDataStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The statistics for ARRAY DataType. - [Newtonsoft.Json.JsonPropertyAttribute("arrayStats")] - public virtual XPSArrayStats ArrayStats { get; set; } - - /// The statistics for CATEGORY DataType. - [Newtonsoft.Json.JsonPropertyAttribute("categoryStats")] - public virtual XPSCategoryStats CategoryStats { get; set; } - - /// The number of distinct values. - [Newtonsoft.Json.JsonPropertyAttribute("distinctValueCount")] - public virtual System.Nullable DistinctValueCount { get; set; } - - /// The statistics for FLOAT64 DataType. - [Newtonsoft.Json.JsonPropertyAttribute("float64Stats")] - public virtual XPSFloat64Stats Float64Stats { get; set; } - - /// The number of values that are null. - [Newtonsoft.Json.JsonPropertyAttribute("nullValueCount")] - public virtual System.Nullable NullValueCount { get; set; } - - /// The statistics for STRING DataType. - [Newtonsoft.Json.JsonPropertyAttribute("stringStats")] - public virtual XPSStringStats StringStats { get; set; } - - /// The statistics for STRUCT DataType. - [Newtonsoft.Json.JsonPropertyAttribute("structStats")] - public virtual XPSStructStats StructStats { get; set; } - - /// The statistics for TIMESTAMP DataType. - [Newtonsoft.Json.JsonPropertyAttribute("timestampStats")] - public virtual XPSTimestampStats TimestampStats { get; set; } - - /// The number of values that are valid. - [Newtonsoft.Json.JsonPropertyAttribute("validValueCount")] - public virtual System.Nullable ValidValueCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Indicated the type of data that can be stored in a structured data entity (e.g. a table). - public class XPSDataType : Google.Apis.Requests.IDirectResponseSchema - { - /// The highly compatible data types to this data type. - [Newtonsoft.Json.JsonPropertyAttribute("compatibleDataTypes")] - public virtual System.Collections.Generic.IList CompatibleDataTypes { get; set; } - - /// If type_code == ARRAY, then `list_element_type` is the type of the elements. - [Newtonsoft.Json.JsonPropertyAttribute("listElementType")] - public virtual XPSDataType ListElementType { get; set; } - - /// If true, this DataType can also be `null`. - [Newtonsoft.Json.JsonPropertyAttribute("nullable")] - public virtual System.Nullable Nullable { get; set; } - - /// - /// If type_code == STRUCT, then `struct_type` provides type information for the struct's fields. - /// - [Newtonsoft.Json.JsonPropertyAttribute("structType")] - public virtual XPSStructType StructType { get; set; } - - /// - /// If type_code == TIMESTAMP then `time_format` provides the format in which that time field is expressed. The - /// time_format must be written in `strftime` syntax. If time_format is not set, then the default format as - /// described on the field is used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeFormat")] - public virtual string TimeFormat { get; set; } - - /// Required. The TypeCode for this type. - [Newtonsoft.Json.JsonPropertyAttribute("typeCode")] - public virtual string TypeCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A model format used for Docker containers. Use the params field to customize the container. The container is - /// verified to work correctly on ubuntu 16.04 operating system. - /// - public class XPSDockerFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. Additional cpu information describing the requirements for the to be exported model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cpuArchitecture")] - public virtual string CpuArchitecture { get; set; } - - /// - /// Optional. Additional gpu information describing the requirements for the to be exported model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gpuArchitecture")] - public virtual string GpuArchitecture { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A model format used for [Edge TPU](https://cloud.google.com/edge-tpu/) devices. - public class XPSEdgeTpuTfLiteFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Contains xPS-specific model evaluation metrics either for a single annotation spec (label), or for the model - /// overall. Next tag: 18. - /// - public class XPSEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The annotation_spec for which this evaluation metrics instance had been created. Empty iff this is an - /// overall model evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The value - /// comes from the input annotations in AnnotatedExample. For MVP product or for text sentiment models where - /// annotation_spec_id_token is not available, set label instead. - /// - [Newtonsoft.Json.JsonPropertyAttribute("annotationSpecIdToken")] - public virtual string AnnotationSpecIdToken { get; set; } - - /// - /// The integer category label for which this evaluation metric instance had been created. Valid categories are - /// 0 or higher. Overall model evaluation should set this to negative values (rather than implicit zero). Only - /// used for Image Segmentation (prefer to set annotation_spec_id_token instead). Note: uCAIP Image Segmentation - /// should use annotation_spec_id_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("category")] - public virtual System.Nullable Category { get; set; } - - /// The number of examples used to create this evaluation metrics instance. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedExampleCount")] - public virtual System.Nullable EvaluatedExampleCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics ImageClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageObjectDetectionEvalMetrics")] - public virtual XPSImageObjectDetectionEvaluationMetrics ImageObjectDetectionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageSegmentationEvalMetrics")] - public virtual XPSImageSegmentationEvaluationMetrics ImageSegmentationEvalMetrics { get; set; } - - /// - /// The label for which this evaluation metrics instance had been created. Empty iff this is an overall model - /// evaluation (like Tables evaluation metrics), i.e. aggregated across all labels. The label maps to - /// AnnotationSpec.display_name in Public API protos. Only used by MVP implementation and text sentiment FULL - /// implementation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("label")] - public virtual string Label { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("regressionEvalMetrics")] - public virtual XPSRegressionEvaluationMetrics RegressionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics TablesClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesEvalMetrics")] - public virtual XPSTablesEvaluationMetrics TablesEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics TextClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textExtractionEvalMetrics")] - public virtual XPSTextExtractionEvaluationMetrics TextExtractionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textSentimentEvalMetrics")] - public virtual XPSTextSentimentEvaluationMetrics TextSentimentEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("translationEvalMetrics")] - public virtual XPSTranslationEvaluationMetrics TranslationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoActionRecognitionEvalMetrics")] - public virtual XPSVideoActionRecognitionEvaluationMetrics VideoActionRecognitionEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoClassificationEvalMetrics")] - public virtual XPSClassificationEvaluationMetrics VideoClassificationEvalMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoObjectTrackingEvalMetrics")] - public virtual XPSVideoObjectTrackingEvaluationMetrics VideoObjectTrackingEvalMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Specifies location of model evaluation metrics. - public class XPSEvaluationMetricsSet : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Inline EvaluationMetrics - should be relatively small. For passing large quantities of exhaustive metrics, - /// use file_spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("evaluationMetrics")] - public virtual System.Collections.Generic.IList EvaluationMetrics { get; set; } - - /// - /// File spec containing evaluation metrics of a model, must point to RecordIO file(s) of - /// intelligence.cloud.automl.xps.EvaluationMetrics messages. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fileSpec")] - public virtual XPSFileSpec FileSpec { get; set; } - - /// Number of the evaluation metrics (usually one per label plus overall). - [Newtonsoft.Json.JsonPropertyAttribute("numEvaluationMetrics")] - public virtual System.Nullable NumEvaluationMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Set of examples or input sources. - public class XPSExampleSet : Google.Apis.Requests.IDirectResponseSchema - { - /// File spec of the examples or input sources. - [Newtonsoft.Json.JsonPropertyAttribute("fileSpec")] - public virtual XPSFileSpec FileSpec { get; set; } - - /// Fingerprint of the example set. - [Newtonsoft.Json.JsonPropertyAttribute("fingerprint")] - public virtual System.Nullable Fingerprint { get; set; } - - /// Number of examples. - [Newtonsoft.Json.JsonPropertyAttribute("numExamples")] - public virtual System.Nullable NumExamples { get; set; } - - /// Number of input sources. - [Newtonsoft.Json.JsonPropertyAttribute("numInputSources")] - public virtual System.Nullable NumInputSources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSExportModelOutputConfig : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("coreMlFormat")] - public virtual XPSCoreMlFormat CoreMlFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("dockerFormat")] - public virtual XPSDockerFormat DockerFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("edgeTpuTfLiteFormat")] - public virtual XPSEdgeTpuTfLiteFormat EdgeTpuTfLiteFormat { get; set; } - - /// - /// For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt - /// file. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportFirebaseAuxiliaryInfo")] - public virtual System.Nullable ExportFirebaseAuxiliaryInfo { get; set; } - - /// - /// The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the - /// exported format is DOCKDER. - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputGcrUri")] - public virtual string OutputGcrUri { get; set; } - - /// - /// The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. - /// Format: gs://bucket/directory - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputGcsUri")] - public virtual string OutputGcsUri { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tfJsFormat")] - public virtual XPSTfJsFormat TfJsFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tfLiteFormat")] - public virtual XPSTfLiteFormat TfLiteFormat { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tfSavedModelFormat")] - public virtual XPSTfSavedModelFormat TfSavedModelFormat { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Spec of input and output files, on external file systems (CNS, GCS, etc). - public class XPSFileSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Deprecated. Use file_spec. - [Newtonsoft.Json.JsonPropertyAttribute("directoryPath")] - public virtual string DirectoryPath { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("fileFormat")] - public virtual string FileFormat { get; set; } - - /// - /// Single file path, or file pattern of format "/path/to/file@shard_count". E.g. /cns/cell-d/somewhere/file@2 - /// is expanded to two files: /cns/cell-d/somewhere/file-00000-of-00002 and - /// /cns/cell-d/somewhere/file-00001-of-00002. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fileSpec")] - public virtual string FileSpec { get; set; } - - /// Deprecated. Use file_spec. - [Newtonsoft.Json.JsonPropertyAttribute("singleFilePath")] - public virtual string SingleFilePath { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of FLOAT64 values. - public class XPSFloat64Stats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// Histogram buckets of the data series. Sorted by the min value of the bucket, ascendingly, and the number of - /// the buckets is dynamically generated. The buckets are non-overlapping and completely cover whole FLOAT64 - /// range with min of first bucket being `"-Infinity"`, and max of the last one being `"Infinity"`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("histogramBuckets")] - public virtual System.Collections.Generic.IList HistogramBuckets { get; set; } - - /// The mean of the series. - [Newtonsoft.Json.JsonPropertyAttribute("mean")] - public virtual System.Nullable Mean { get; set; } - - /// - /// Ordered from 0 to k k-quantile values of the data series of n values. The value at index i is, - /// approximately, the i*n/k-th smallest value in the series; for i = 0 and i = k these are, respectively, the - /// min and max values. - /// - [Newtonsoft.Json.JsonPropertyAttribute("quantiles")] - public virtual System.Collections.Generic.IList> Quantiles { get; set; } - - /// The standard deviation of the series. - [Newtonsoft.Json.JsonPropertyAttribute("standardDeviation")] - public virtual System.Nullable StandardDeviation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A bucket of a histogram. - public class XPSFloat64StatsHistogramBucket : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of data values that are in the bucket, i.e. are between min and max values. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// - /// The maximum value of the bucket, exclusive unless max = `"Infinity"`, in which case it's inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("max")] - public virtual System.Nullable Max { get; set; } - - /// The minimum value of the bucket, inclusive. - [Newtonsoft.Json.JsonPropertyAttribute("min")] - public virtual System.Nullable Min { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageClassificationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Total number of classes. - [Newtonsoft.Json.JsonPropertyAttribute("classCount")] - public virtual System.Nullable ClassCount { get; set; } - - /// - /// Information of downloadable models that are pre-generated as part of training flow and will be persisted in - /// AutoMl backend. Populated for AutoMl requests. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSImageExportModelSpec ExportModelSpec { get; set; } - - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSImageModelArtifactSpec ModelArtifactSpec { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("modelServingSpec")] - public virtual XPSImageModelServingSpec ModelServingSpec { get; set; } - - /// - /// Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED', 'MODEL_EARLY_STOPPED'. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stopReason")] - public virtual string StopReason { get; set; } - - /// - /// The actual cost to create this model. - For edge type model, the cost is expressed in node hour. - For cloud - /// type model,the cost is expressed in compute hour. - Populated for models created before GA. To be deprecated - /// after GA. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostInNodeTime")] - public virtual object TrainCostInNodeTime { get; set; } - - /// - /// The actual training cost, expressed in node seconds. Populated for models trained in node time. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Information of downloadable models that are pre-generated as part of training flow and will be persisted in - /// AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models - /// to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend - /// will call xPS ExportModel API to generate the model on the fly with the requesting format. - /// - public class XPSImageExportModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS - /// bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportModelOutputConfig")] - public virtual System.Collections.Generic.IList ExportModelOutputConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Stores the locations and related metadata of the model artifacts. Populated for uCAIP requests only. - /// - public class XPSImageModelArtifactSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// The Tensorflow checkpoint files. e.g. Used for resumable training. - [Newtonsoft.Json.JsonPropertyAttribute("checkpointArtifact")] - public virtual XPSModelArtifactItem CheckpointArtifact { get; set; } - - /// The model binary files in different formats for model export. - [Newtonsoft.Json.JsonPropertyAttribute("exportArtifact")] - public virtual System.Collections.Generic.IList ExportArtifact { get; set; } - - /// GCS uri of decoded labels file for model export 'dict.txt'. - [Newtonsoft.Json.JsonPropertyAttribute("labelGcsUri")] - public virtual string LabelGcsUri { get; set; } - - /// - /// The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI - /// Platform API. - /// - [Newtonsoft.Json.JsonPropertyAttribute("servingArtifact")] - public virtual XPSModelArtifactItem ServingArtifact { get; set; } - - /// GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated. - [Newtonsoft.Json.JsonPropertyAttribute("tfJsBinaryGcsPrefix")] - public virtual string TfJsBinaryGcsPrefix { get; set; } - - /// GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'. - [Newtonsoft.Json.JsonPropertyAttribute("tfLiteMetadataGcsUri")] - public virtual string TfLiteMetadataGcsUri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Serving specification for image models. - public class XPSImageModelServingSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Populate under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelThroughputEstimation")] - public virtual System.Collections.Generic.IList ModelThroughputEstimation { get; set; } - - /// - /// An estimated value of how much traffic a node can serve. Populated for AutoMl request only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nodeQps")] - public virtual System.Nullable NodeQps { get; set; } - - /// - /// ## The fields below are only populated under uCAIP request scope. - /// https://cloud.google.com/ml-engine/docs/runtime-version-list - /// - [Newtonsoft.Json.JsonPropertyAttribute("tfRuntimeVersion")] - public virtual string TfRuntimeVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageModelServingSpecModelThroughputEstimation : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("computeEngineAcceleratorType")] - public virtual string ComputeEngineAcceleratorType { get; set; } - - /// Estimated latency. - [Newtonsoft.Json.JsonPropertyAttribute("latencyInMilliseconds")] - public virtual System.Nullable LatencyInMilliseconds { get; set; } - - /// The approximate qps a deployed node can serve. - [Newtonsoft.Json.JsonPropertyAttribute("nodeQps")] - public virtual System.Nullable NodeQps { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("servomaticPartitionType")] - public virtual string ServomaticPartitionType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Model evaluation metrics for image object detection problems. Evaluates prediction quality of labeled bounding - /// boxes. - /// - public class XPSImageObjectDetectionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The single metric for bounding boxes evaluation: the mean_average_precision averaged over all - /// bounding_box_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMeanAveragePrecision")] - public virtual System.Nullable BoundingBoxMeanAveragePrecision { get; set; } - - /// - /// The bounding boxes match metrics for each Intersection-over-union threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMetricsEntries")] - public virtual System.Collections.Generic.IList BoundingBoxMetricsEntries { get; set; } - - /// - /// The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this - /// evaluation had. - /// - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedBoundingBoxCount")] - public virtual System.Nullable EvaluatedBoundingBoxCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageObjectDetectionModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Total number of classes. - [Newtonsoft.Json.JsonPropertyAttribute("classCount")] - public virtual System.Nullable ClassCount { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSImageExportModelSpec ExportModelSpec { get; set; } - - /// Max number of bounding box. - [Newtonsoft.Json.JsonPropertyAttribute("maxBoundingBoxCount")] - public virtual System.Nullable MaxBoundingBoxCount { get; set; } - - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSImageModelArtifactSpec ModelArtifactSpec { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("modelServingSpec")] - public virtual XPSImageModelServingSpec ModelServingSpec { get; set; } - - /// Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'. - [Newtonsoft.Json.JsonPropertyAttribute("stopReason")] - public virtual string StopReason { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for image segmentation problems. Next tag: 4. - public class XPSImageSegmentationEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Metrics that have confidence thresholds. Precision-recall curve can be derived from it. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// - /// Confusion matrix of the per confidence_threshold evaluation. Pixel counts are set here. Only set for model - /// level evaluation, not for evaluation per label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// DSC or the F1 score: The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("diceScoreCoefficient")] - public virtual System.Nullable DiceScoreCoefficient { get; set; } - - /// IOU score. - [Newtonsoft.Json.JsonPropertyAttribute("iouScore")] - public virtual System.Nullable IouScore { get; set; } - - /// Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Recall for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSImageSegmentationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Color map of the model. - [Newtonsoft.Json.JsonPropertyAttribute("colorMaps")] - public virtual System.Collections.Generic.IList ColorMaps { get; set; } - - /// NOTE: These fields are not used/needed in EAP but will be set later. - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSImageExportModelSpec ExportModelSpec { get; set; } - - /// - /// ## The fields below are only populated under uCAIP request scope. Model artifact spec stores and model gcs - /// pathes and related metadata - /// - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSImageModelArtifactSpec ModelArtifactSpec { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("modelServingSpec")] - public virtual XPSImageModelServingSpec ModelServingSpec { get; set; } - - /// Stop reason for training job, e.g. 'TRAIN_BUDGET_REACHED', 'MODEL_CONVERGED'. - [Newtonsoft.Json.JsonPropertyAttribute("stopReason")] - public virtual string StopReason { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// An attribution method that computes the Aumann-Shapley value taking advantage of the model's fully - /// differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 - /// - public class XPSIntegratedGradientsAttribution : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The number of steps for approximating the path integral. A good value to start is 50 and gradually increase - /// until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], - /// inclusively. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stepCount")] - public virtual System.Nullable StepCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSMetricEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to - /// Chemist as the "cloudbilling.googleapis.com/argentum_metric_id" label. Otherwise leave empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("argentumMetricId")] - public virtual string ArgentumMetricId { get; set; } - - /// A double value. - [Newtonsoft.Json.JsonPropertyAttribute("doubleValue")] - public virtual System.Nullable DoubleValue { get; set; } - - /// A signed 64-bit integer value. - [Newtonsoft.Json.JsonPropertyAttribute("int64Value")] - public virtual System.Nullable Int64Value { get; set; } - - /// The metric name defined in the service configuration. - [Newtonsoft.Json.JsonPropertyAttribute("metricName")] - public virtual string MetricName { get; set; } - - /// Billing system labels for this (metric, value) pair. - [Newtonsoft.Json.JsonPropertyAttribute("systemLabels")] - public virtual System.Collections.Generic.IList SystemLabels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSMetricEntryLabel : Google.Apis.Requests.IDirectResponseSchema - { - /// The name of the label. - [Newtonsoft.Json.JsonPropertyAttribute("labelName")] - public virtual string LabelName { get; set; } - - /// The value of the label. - [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] - public virtual string LabelValue { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single model artifact item. - public class XPSModelArtifactItem : Google.Apis.Requests.IDirectResponseSchema - { - /// The model artifact format. - [Newtonsoft.Json.JsonPropertyAttribute("artifactFormat")] - public virtual string ArtifactFormat { get; set; } - - /// The Google Cloud Storage (GCS) uri that stores the model binary files. - [Newtonsoft.Json.JsonPropertyAttribute("gcsUri")] - public virtual string GcsUri { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Next ID: 8 - public class XPSPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of - /// PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim - /// passed to Train() call in TrainExample.mvp_training_data. - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputExampleSet")] - public virtual XPSExampleSet OutputExampleSet { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("speechPreprocessResp")] - public virtual XPSSpeechPreprocessResponse SpeechPreprocessResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesPreprocessResponse")] - public virtual XPSTablesPreprocessResponse TablesPreprocessResponse { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("translationPreprocessResp")] - public virtual XPSTranslationPreprocessResponse TranslationPreprocessResp { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for regression problems. It can be used for Tables. - public class XPSRegressionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Mean Absolute Error (MAE). - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsoluteError")] - public virtual System.Nullable MeanAbsoluteError { get; set; } - - /// Mean absolute percentage error. Only set if all ground truth values are positive. - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsolutePercentageError")] - public virtual System.Nullable MeanAbsolutePercentageError { get; set; } - - /// R squared. - [Newtonsoft.Json.JsonPropertyAttribute("rSquared")] - public virtual System.Nullable RSquared { get; set; } - - /// A list of actual versus predicted points for the model being evaluated. - [Newtonsoft.Json.JsonPropertyAttribute("regressionMetricsEntries")] - public virtual System.Collections.Generic.IList RegressionMetricsEntries { get; set; } - - /// Root Mean Squared Error (RMSE). - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredError")] - public virtual System.Nullable RootMeanSquaredError { get; set; } - - /// Root mean squared log error. - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredLogError")] - public virtual System.Nullable RootMeanSquaredLogError { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A pair of actual & observed values for the model being evaluated. - public class XPSRegressionMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The observed value for a row in the dataset. - [Newtonsoft.Json.JsonPropertyAttribute("predictedValue")] - public virtual System.Nullable PredictedValue { get; set; } - - /// The actual target value for a row in the dataset. - [Newtonsoft.Json.JsonPropertyAttribute("trueValue")] - public virtual System.Nullable TrueValue { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSReportingMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML - /// BE doesn't use this. Don't set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("effectiveTrainingDuration")] - public virtual object EffectiveTrainingDuration { get; set; } - - /// One entry per metric name. The values must be aggregated per metric name. - [Newtonsoft.Json.JsonPropertyAttribute("metricEntries")] - public virtual System.Collections.Generic.IList MetricEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSResponseExplanationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Metadata of the input. - [Newtonsoft.Json.JsonPropertyAttribute("inputs")] - public virtual System.Collections.Generic.IDictionary Inputs { get; set; } - - /// Metadata of the output. - [Newtonsoft.Json.JsonPropertyAttribute("outputs")] - public virtual System.Collections.Generic.IDictionary Outputs { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata of the input of a feature. - public class XPSResponseExplanationMetadataInputMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Name of the input tensor for this model. Only needed in train response. - [Newtonsoft.Json.JsonPropertyAttribute("inputTensorName")] - public virtual string InputTensorName { get; set; } - - /// Modality of the feature. Valid values are: numeric, image. Defaults to numeric. - [Newtonsoft.Json.JsonPropertyAttribute("modality")] - public virtual string Modality { get; set; } - - /// Visualization configurations for image explanation. - [Newtonsoft.Json.JsonPropertyAttribute("visualizationConfig")] - public virtual XPSVisualization VisualizationConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata of the prediction output to be explained. - public class XPSResponseExplanationMetadataOutputMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Name of the output tensor. Only needed in train response. - [Newtonsoft.Json.JsonPropertyAttribute("outputTensorName")] - public virtual string OutputTensorName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSResponseExplanationParameters : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// An attribution method that computes Aumann-Shapley values taking advantage of the model's fully - /// differentiable structure. Refer to this paper for more details: https://arxiv.org/abs/1703.01365 - /// - [Newtonsoft.Json.JsonPropertyAttribute("integratedGradientsAttribution")] - public virtual XPSIntegratedGradientsAttribution IntegratedGradientsAttribution { get; set; } - - /// - /// An attribution method that redistributes Integrated Gradients attribution to segmented regions, taking - /// advantage of the model's fully differentiable structure. Refer to this paper for more details: - /// https://arxiv.org/abs/1906.02825 XRAI currently performs better on natural images, like a picture of a house - /// or an animal. If the images are taken in artificial environments, like a lab or manufacturing line, or from - /// diagnostic equipment, like x-rays or quality-control cameras, use Integrated Gradients instead. - /// - [Newtonsoft.Json.JsonPropertyAttribute("xraiAttribution")] - public virtual XPSXraiAttribution XraiAttribution { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for - /// context. - /// - public class XPSResponseExplanationSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Explanation type. For AutoML Image Classification models, possible values are: * - /// `image-integrated-gradients` * `image-xrai` - /// - [Newtonsoft.Json.JsonPropertyAttribute("explanationType")] - public virtual string ExplanationType { get; set; } - - /// Metadata describing the Model's input and output for explanation. - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual XPSResponseExplanationMetadata Metadata { get; set; } - - /// Parameters that configure explaining of the Model's predictions. - [Newtonsoft.Json.JsonPropertyAttribute("parameters")] - public virtual XPSResponseExplanationParameters Parameters { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSRow : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The ids of the columns. Note: The below `values` field must match order of this field, if this field is set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("columnIds")] - public virtual System.Collections.Generic.IList> ColumnIds { get; set; } - - /// - /// The values of the row cells, given in the same order as the column_ids. If column_ids is not set, then in - /// the same order as the input_feature_column_ids in TablesModelMetadata. - /// - [Newtonsoft.Json.JsonPropertyAttribute("values")] - public virtual System.Collections.Generic.IList Values { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Evaluation metrics for all submodels contained in this model. - [Newtonsoft.Json.JsonPropertyAttribute("subModelEvaluationMetrics")] - public virtual System.Collections.Generic.IList SubModelEvaluationMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechEvaluationMetricsSubModelEvaluationMetric : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the biasing model. - [Newtonsoft.Json.JsonPropertyAttribute("biasingModelType")] - public virtual string BiasingModelType { get; set; } - - /// If true then it means we have an enhanced version of the biasing models. - [Newtonsoft.Json.JsonPropertyAttribute("isEnhancedModel")] - public virtual System.Nullable IsEnhancedModel { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("numDeletions")] - public virtual System.Nullable NumDeletions { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("numInsertions")] - public virtual System.Nullable NumInsertions { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("numSubstitutions")] - public virtual System.Nullable NumSubstitutions { get; set; } - - /// Number of utterances used in the wer computation. - [Newtonsoft.Json.JsonPropertyAttribute("numUtterances")] - public virtual System.Nullable NumUtterances { get; set; } - - /// Number of words over which the word error rate was computed. - [Newtonsoft.Json.JsonPropertyAttribute("numWords")] - public virtual System.Nullable NumWords { get; set; } - - /// Below fields are used for debugging purposes - [Newtonsoft.Json.JsonPropertyAttribute("sentenceAccuracy")] - public virtual System.Nullable SentenceAccuracy { get; set; } - - /// Word error rate (standard error metric used for speech recognition). - [Newtonsoft.Json.JsonPropertyAttribute("wer")] - public virtual System.Nullable Wer { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required for speech xps backend. Speech xps has to use dataset_id and model_id as the primary key in db so - /// that speech API can query the db directly. - /// - [Newtonsoft.Json.JsonPropertyAttribute("datasetId")] - public virtual System.Nullable DatasetId { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("language")] - public virtual string Language { get; set; } - - /// Model specs for all submodels contained in this model. - [Newtonsoft.Json.JsonPropertyAttribute("subModelSpecs")] - public virtual System.Collections.Generic.IList SubModelSpecs { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechModelSpecSubModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the biasing model. - [Newtonsoft.Json.JsonPropertyAttribute("biasingModelType")] - public virtual string BiasingModelType { get; set; } - - /// In S3, Recognition ClientContextId.client_id - [Newtonsoft.Json.JsonPropertyAttribute("clientId")] - public virtual string ClientId { get; set; } - - /// In S3, Recognition ClientContextId.context_id - [Newtonsoft.Json.JsonPropertyAttribute("contextId")] - public virtual string ContextId { get; set; } - - /// If true then it means we have an enhanced version of the biasing models. - [Newtonsoft.Json.JsonPropertyAttribute("isEnhancedModel")] - public virtual System.Nullable IsEnhancedModel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Location od shards of sstables (test data) of DataUtterance protos. - [Newtonsoft.Json.JsonPropertyAttribute("cnsTestDataPath")] - public virtual string CnsTestDataPath { get; set; } - - /// Location of shards of sstables (training data) of DataUtterance protos. - [Newtonsoft.Json.JsonPropertyAttribute("cnsTrainDataPath")] - public virtual string CnsTrainDataPath { get; set; } - - /// - /// The metrics for prebuilt speech models. They are included here because there is no prebuilt speech models - /// stored in the AutoML. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prebuiltModelEvaluationMetrics")] - public virtual XPSSpeechEvaluationMetrics PrebuiltModelEvaluationMetrics { get; set; } - - /// Stats associated with the data. - [Newtonsoft.Json.JsonPropertyAttribute("speechPreprocessStats")] - public virtual XPSSpeechPreprocessStats SpeechPreprocessStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSSpeechPreprocessStats : Google.Apis.Requests.IDirectResponseSchema - { - /// Different types of data errors and the counts associated with them. - [Newtonsoft.Json.JsonPropertyAttribute("dataErrors")] - public virtual System.Collections.Generic.IList DataErrors { get; set; } - - /// The number of rows marked HUMAN_LABELLED - [Newtonsoft.Json.JsonPropertyAttribute("numHumanLabeledExamples")] - public virtual System.Nullable NumHumanLabeledExamples { get; set; } - - /// The number of samples found in the previously recorded logs data. - [Newtonsoft.Json.JsonPropertyAttribute("numLogsExamples")] - public virtual System.Nullable NumLogsExamples { get; set; } - - /// The number of rows marked as MACHINE_TRANSCRIBED - [Newtonsoft.Json.JsonPropertyAttribute("numMachineTranscribedExamples")] - public virtual System.Nullable NumMachineTranscribedExamples { get; set; } - - /// The number of examples labelled as TEST by Speech xps server. - [Newtonsoft.Json.JsonPropertyAttribute("testExamplesCount")] - public virtual System.Nullable TestExamplesCount { get; set; } - - /// The number of sentences in the test data set. - [Newtonsoft.Json.JsonPropertyAttribute("testSentencesCount")] - public virtual System.Nullable TestSentencesCount { get; set; } - - /// The number of words in the test data set. - [Newtonsoft.Json.JsonPropertyAttribute("testWordsCount")] - public virtual System.Nullable TestWordsCount { get; set; } - - /// The number of examples labeled as TRAIN by Speech xps server. - [Newtonsoft.Json.JsonPropertyAttribute("trainExamplesCount")] - public virtual System.Nullable TrainExamplesCount { get; set; } - - /// The number of sentences in the training data set. - [Newtonsoft.Json.JsonPropertyAttribute("trainSentencesCount")] - public virtual System.Nullable TrainSentencesCount { get; set; } - - /// The number of words in the training data set. - [Newtonsoft.Json.JsonPropertyAttribute("trainWordsCount")] - public virtual System.Nullable TrainWordsCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of STRING values. - public class XPSStringStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// The statistics of the top 20 unigrams, ordered by StringStats.UnigramStats.count. - [Newtonsoft.Json.JsonPropertyAttribute("topUnigramStats")] - public virtual System.Collections.Generic.IList TopUnigramStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The statistics of a unigram. - public class XPSStringStatsUnigramStats : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of occurrences of this unigram in the series. - [Newtonsoft.Json.JsonPropertyAttribute("count")] - public virtual System.Nullable Count { get; set; } - - /// The unigram. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of STRUCT values. - public class XPSStructStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// Map from a field name of the struct to data stats aggregated over series of all data in that field across - /// all the structs. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fieldStats")] - public virtual System.Collections.Generic.IDictionary FieldStats { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// `StructType` defines the DataType-s of a STRUCT type. - public class XPSStructType : Google.Apis.Requests.IDirectResponseSchema - { - /// Unordered map of struct field names to their data types. - [Newtonsoft.Json.JsonPropertyAttribute("fields")] - public virtual System.Collections.Generic.IDictionary Fields { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTableSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// Mapping from column id to column spec. - [Newtonsoft.Json.JsonPropertyAttribute("columnSpecs")] - public virtual System.Collections.Generic.IDictionary ColumnSpecs { get; set; } - - /// The total size of imported data of the table. - [Newtonsoft.Json.JsonPropertyAttribute("importedDataSizeInBytes")] - public virtual System.Nullable ImportedDataSizeInBytes { get; set; } - - /// The number of rows in the table. - [Newtonsoft.Json.JsonPropertyAttribute("rowCount")] - public virtual System.Nullable RowCount { get; set; } - - /// The id of the time column. - [Newtonsoft.Json.JsonPropertyAttribute("timeColumnId")] - public virtual System.Nullable TimeColumnId { get; set; } - - /// The number of valid rows. - [Newtonsoft.Json.JsonPropertyAttribute("validRowCount")] - public virtual System.Nullable ValidRowCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for Tables classification problems. - public class XPSTablesClassificationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Metrics building a curve. - [Newtonsoft.Json.JsonPropertyAttribute("curveMetrics")] - public virtual System.Collections.Generic.IList CurveMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics curve data point for a single value. - public class XPSTablesClassificationMetricsCurveMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// The area under the precision-recall curve. - [Newtonsoft.Json.JsonPropertyAttribute("aucPr")] - public virtual System.Nullable AucPr { get; set; } - - /// The area under receiver operating characteristic curve. - [Newtonsoft.Json.JsonPropertyAttribute("aucRoc")] - public virtual System.Nullable AucRoc { get; set; } - - /// - /// Metrics that have confidence thresholds. Precision-recall curve and ROC curve can be derived from them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The Log loss metric. - [Newtonsoft.Json.JsonPropertyAttribute("logLoss")] - public virtual System.Nullable LogLoss { get; set; } - - /// The position threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("positionThreshold")] - public virtual System.Nullable PositionThreshold { get; set; } - - /// The CATEGORY row value (for ARRAY unnested) the curve metrics are for. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual string Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSTablesConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// - /// The harmonic mean of recall and precision. (2 * precision * recall) / (precision + recall) - /// - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// False negative count. - [Newtonsoft.Json.JsonPropertyAttribute("falseNegativeCount")] - public virtual System.Nullable FalseNegativeCount { get; set; } - - /// False positive count. - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveCount")] - public virtual System.Nullable FalsePositiveCount { get; set; } - - /// FPR = #false positives / (#false positives + #true negatives) - [Newtonsoft.Json.JsonPropertyAttribute("falsePositiveRate")] - public virtual System.Nullable FalsePositiveRate { get; set; } - - /// Precision = #true positives / (#true positives + #false positives). - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Recall = #true positives / (#true positives + #false negatives). - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// True negative count. - [Newtonsoft.Json.JsonPropertyAttribute("trueNegativeCount")] - public virtual System.Nullable TrueNegativeCount { get; set; } - - /// True positive count. - [Newtonsoft.Json.JsonPropertyAttribute("truePositiveCount")] - public virtual System.Nullable TruePositiveCount { get; set; } - - /// TPR = #true positives / (#true positives + #false negatvies) - [Newtonsoft.Json.JsonPropertyAttribute("truePositiveRate")] - public virtual System.Nullable TruePositiveRate { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata for a dataset used for AutoML Tables. Next ID: 6 - public class XPSTablesDatasetMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Id the column to split the table. - [Newtonsoft.Json.JsonPropertyAttribute("mlUseColumnId")] - public virtual System.Nullable MlUseColumnId { get; set; } - - /// Primary table. - [Newtonsoft.Json.JsonPropertyAttribute("primaryTableSpec")] - public virtual XPSTableSpec PrimaryTableSpec { get; set; } - - /// (the column id : its CorrelationStats with target column). - [Newtonsoft.Json.JsonPropertyAttribute("targetColumnCorrelations")] - public virtual System.Collections.Generic.IDictionary TargetColumnCorrelations { get; set; } - - /// Id of the primary table column that should be used as the training label. - [Newtonsoft.Json.JsonPropertyAttribute("targetColumnId")] - public virtual System.Nullable TargetColumnId { get; set; } - - /// Id of the primary table column that should be used as the weight column. - [Newtonsoft.Json.JsonPropertyAttribute("weightColumnId")] - public virtual System.Nullable WeightColumnId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Classification metrics. - [Newtonsoft.Json.JsonPropertyAttribute("classificationMetrics")] - public virtual XPSTablesClassificationMetrics ClassificationMetrics { get; set; } - - /// Regression metrics. - [Newtonsoft.Json.JsonPropertyAttribute("regressionMetrics")] - public virtual XPSTablesRegressionMetrics RegressionMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// An information specific to given column and Tables Model, in context of the Model and the predictions created by - /// it. - /// - public class XPSTablesModelColumnInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the column. - [Newtonsoft.Json.JsonPropertyAttribute("columnId")] - public virtual System.Nullable ColumnId { get; set; } - - /// - /// When given as part of a Model: Measurement of how much model predictions correctness on the TEST data depend - /// on values in this column. A value between 0 and 1, higher means higher influence. These values are - /// normalized - for all input feature columns of a given model they add to 1. When given back by Predict or - /// Batch Predict: Measurement of how impactful for the prediction returned for the given row the value in this - /// column was. Specifically, the feature importance specifies the marginal contribution that the feature made - /// to the prediction score compared to the baseline score. These values are computed using the Sampled Shapley - /// method. - /// - [Newtonsoft.Json.JsonPropertyAttribute("featureImportance")] - public virtual System.Nullable FeatureImportance { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A description of Tables model structure. - public class XPSTablesModelStructure : Google.Apis.Requests.IDirectResponseSchema - { - /// A list of models. - [Newtonsoft.Json.JsonPropertyAttribute("modelParameters")] - public virtual System.Collections.Generic.IList ModelParameters { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model hyper-parameters for a model. - public class XPSTablesModelStructureModelParameters : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("hyperparameters")] - public virtual System.Collections.Generic.IList Hyperparameters { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesModelStructureModelParametersParameter : Google.Apis.Requests.IDirectResponseSchema - { - /// Float type parameter value. - [Newtonsoft.Json.JsonPropertyAttribute("floatValue")] - public virtual System.Nullable FloatValue { get; set; } - - /// Integer type parameter value. - [Newtonsoft.Json.JsonPropertyAttribute("intValue")] - public virtual System.Nullable IntValue { get; set; } - - /// Parameter name. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// String type parameter value. - [Newtonsoft.Json.JsonPropertyAttribute("stringValue")] - public virtual string StringValue { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The table/column id, column_name and the DataTypes of the columns will be populated. - [Newtonsoft.Json.JsonPropertyAttribute("tablesDatasetMetadata")] - public virtual XPSTablesDatasetMetadata TablesDatasetMetadata { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for Tables regression problems. - public class XPSTablesRegressionMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Mean absolute error. - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsoluteError")] - public virtual System.Nullable MeanAbsoluteError { get; set; } - - /// - /// Mean absolute percentage error, only set if all of the target column's values are positive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsolutePercentageError")] - public virtual System.Nullable MeanAbsolutePercentageError { get; set; } - - /// R squared. - [Newtonsoft.Json.JsonPropertyAttribute("rSquared")] - public virtual System.Nullable RSquared { get; set; } - - /// A list of actual versus predicted points for the model being evaluated. - [Newtonsoft.Json.JsonPropertyAttribute("regressionMetricsEntries")] - public virtual System.Collections.Generic.IList RegressionMetricsEntries { get; set; } - - /// Root mean squared error. - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredError")] - public virtual System.Nullable RootMeanSquaredError { get; set; } - - /// Root mean squared log error. - [Newtonsoft.Json.JsonPropertyAttribute("rootMeanSquaredLogError")] - public virtual System.Nullable RootMeanSquaredLogError { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("modelStructure")] - public virtual XPSTablesModelStructure ModelStructure { get; set; } - - /// Sample rows from the dataset this model was trained. - [Newtonsoft.Json.JsonPropertyAttribute("predictionSampleRows")] - public virtual System.Collections.Generic.IList PredictionSampleRows { get; set; } - - /// - /// Output only. Auxiliary information for each of the input_feature_column_specs, with respect to this - /// particular model. - /// - [Newtonsoft.Json.JsonPropertyAttribute("tablesModelColumnInfo")] - public virtual System.Collections.Generic.IList TablesModelColumnInfo { get; set; } - - /// - /// The actual training cost of the model, expressed in milli node hours, i.e. 1,000 value in this field means 1 - /// node hour. Guaranteed to not exceed the train budget. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostMilliNodeHours")] - public virtual System.Nullable TrainCostMilliNodeHours { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTablesTrainingOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// Current stage of creating model. - [Newtonsoft.Json.JsonPropertyAttribute("createModelStage")] - public virtual string CreateModelStage { get; set; } - - /// The optimization objective for model. - [Newtonsoft.Json.JsonPropertyAttribute("optimizationObjective")] - public virtual string OptimizationObjective { get; set; } - - /// - /// This field is for training. When the operation is terminated successfully, AutoML Backend post this field to - /// operation metadata in spanner. If the metadata has no trials returned, the training operation is supposed to - /// be a failure. - /// - [Newtonsoft.Json.JsonPropertyAttribute("topTrials")] - public virtual System.Collections.Generic.IList TopTrials { get; set; } - - /// Creating model budget. - [Newtonsoft.Json.JsonPropertyAttribute("trainBudgetMilliNodeHours")] - public virtual System.Nullable TrainBudgetMilliNodeHours { get; set; } - - /// - /// This field records the training objective value with respect to time, giving insight into how the model - /// architecture search is performing as training time elapses. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainingObjectivePoints")] - public virtual System.Collections.Generic.IList TrainingObjectivePoints { get; set; } - - private string _trainingStartTimeRaw; - - private object _trainingStartTime; - - /// Timestamp when training process starts. - [Newtonsoft.Json.JsonPropertyAttribute("trainingStartTime")] - public virtual string TrainingStartTimeRaw - { - get => _trainingStartTimeRaw; - set - { - _trainingStartTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _trainingStartTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use TrainingStartTimeDateTimeOffset instead.")] - public virtual object TrainingStartTime - { - get => _trainingStartTime; - set - { - _trainingStartTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _trainingStartTime = value; - } - } - - /// - /// representation of . - /// - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? TrainingStartTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(TrainingStartTimeRaw); - set => TrainingStartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Component model. Next ID: 10 - public class XPSTextComponentModel : Google.Apis.Requests.IDirectResponseSchema - { - /// The Cloud Storage resource path to hold batch prediction model. - [Newtonsoft.Json.JsonPropertyAttribute("batchPredictionModelGcsUri")] - public virtual string BatchPredictionModelGcsUri { get; set; } - - /// The Cloud Storage resource path to hold online prediction model. - [Newtonsoft.Json.JsonPropertyAttribute("onlinePredictionModelGcsUri")] - public virtual string OnlinePredictionModelGcsUri { get; set; } - - /// - /// The partition where the model is deployed. Populated by uCAIP BE as part of online PredictRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("partition")] - public virtual string Partition { get; set; } - - /// - /// The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud Ai - /// Platform API. - /// - [Newtonsoft.Json.JsonPropertyAttribute("servingArtifact")] - public virtual XPSModelArtifactItem ServingArtifact { get; set; } - - /// The name of servo model. Populated by uCAIP BE as part of online PredictRequest. - [Newtonsoft.Json.JsonPropertyAttribute("servoModelName")] - public virtual string ServoModelName { get; set; } - - /// The name of the trained NL submodel. - [Newtonsoft.Json.JsonPropertyAttribute("submodelName")] - public virtual string SubmodelName { get; set; } - - /// The type of trained NL submodel - [Newtonsoft.Json.JsonPropertyAttribute("submodelType")] - public virtual string SubmodelType { get; set; } - - /// - /// ## The fields below are only populated under uCAIP request scope. - /// https://cloud.google.com/ml-engine/docs/runtime-version-list - /// - [Newtonsoft.Json.JsonPropertyAttribute("tfRuntimeVersion")] - public virtual string TfRuntimeVersion { get; set; } - - /// - /// The servomatic model version number. Populated by uCAIP BE as part of online PredictRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("versionNumber")] - public virtual System.Nullable VersionNumber { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTextExtractionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Values are at the highest F1 score on the precision-recall curve. Only confidence_threshold, recall, - /// precision, and f1_score will be set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("bestF1ConfidenceMetrics")] - public virtual XPSConfidenceMetricsEntry BestF1ConfidenceMetrics { get; set; } - - /// - /// If the enclosing EvaluationMetrics.label is empty, confidence_metrics_entries is an evaluation of the entire - /// model across all labels. If the enclosing EvaluationMetrics.label is set, confidence_metrics_entries applies - /// to that label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// - /// Confusion matrix of the model, at the default confidence threshold (0.0). Only set for whole-model - /// evaluation, not for evaluation per label. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// Only recall, precision, and f1_score will be set. - [Newtonsoft.Json.JsonPropertyAttribute("perLabelConfidenceMetrics")] - public virtual System.Collections.Generic.IDictionary PerLabelConfidenceMetrics { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for text sentiment problems. - public class XPSTextSentimentEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Confusion matrix of the evaluation. Only set for the overall model evaluation, not for - /// evaluation of a single annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confusionMatrix")] - public virtual XPSConfusionMatrix ConfusionMatrix { get; set; } - - /// Output only. The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// - /// Output only. Linear weighted kappa. Only set for the overall model evaluation, not for evaluation of a - /// single annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("linearKappa")] - public virtual System.Nullable LinearKappa { get; set; } - - /// - /// Output only. Mean absolute error. Only set for the overall model evaluation, not for evaluation of a single - /// annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("meanAbsoluteError")] - public virtual System.Nullable MeanAbsoluteError { get; set; } - - /// - /// Output only. Mean squared error. Only set for the overall model evaluation, not for evaluation of a single - /// annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("meanSquaredError")] - public virtual System.Nullable MeanSquaredError { get; set; } - - /// Output only. Precision. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// - /// Output only. Quadratic weighted kappa. Only set for the overall model evaluation, not for evaluation of a - /// single annotation spec. - /// - [Newtonsoft.Json.JsonPropertyAttribute("quadraticKappa")] - public virtual System.Nullable QuadraticKappa { get; set; } - - /// Output only. Recall. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// TextToSpeech train response - public class XPSTextToSpeechTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTextTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Component submodels. - [Newtonsoft.Json.JsonPropertyAttribute("componentModel")] - public virtual System.Collections.Generic.IList ComponentModel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A [TensorFlow.js](https://www.tensorflow.org/js) model that can be used in the browser and in Node.js using - /// JavaScript. - /// - public class XPSTfJsFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// LINT.IfChange A model format used for mobile and IoT devices. See https://www.tensorflow.org/lite. - /// - public class XPSTfLiteFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A tensorflow model format in SavedModel format. - public class XPSTfSavedModelFormat : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The data statistics of a series of TIMESTAMP values. - public class XPSTimestampStats : Google.Apis.Requests.IDirectResponseSchema - { - [Newtonsoft.Json.JsonPropertyAttribute("commonStats")] - public virtual XPSCommonStats CommonStats { get; set; } - - /// - /// The string key is the pre-defined granularity. Currently supported: hour_of_day, day_of_week, month_of_year. - /// Granularities finer that the granularity of timestamp data are not populated (e.g. if timestamps are at day - /// granularity, then hour_of_day is not populated). - /// - [Newtonsoft.Json.JsonPropertyAttribute("granularStats")] - public virtual System.Collections.Generic.IDictionary GranularStats { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("medianTimestampNanos")] - public virtual System.Nullable MedianTimestampNanos { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Stats split by a defined in context granularity. - public class XPSTimestampStatsGranularStats : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A map from granularity key to example count for that key. E.g. for hour_of_day `13` means 1pm, or for - /// month_of_year `5` means May). - /// - [Newtonsoft.Json.JsonPropertyAttribute("buckets")] - public virtual System.Collections.Generic.IDictionary> Buckets { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Track matching model metrics for a single track match threshold and multiple label match confidence thresholds. - /// Next tag: 6. - /// - public class XPSTrackMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// Precision-recall curve is derived from them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// - /// Output only. The intersection-over-union threshold value between bounding boxes across frames used to - /// compute this metric entry. - /// - [Newtonsoft.Json.JsonPropertyAttribute("iouThreshold")] - public virtual System.Nullable IouThreshold { get; set; } - - /// Output only. The mean bounding box iou over all confidence thresholds. - [Newtonsoft.Json.JsonPropertyAttribute("meanBoundingBoxIou")] - public virtual System.Nullable MeanBoundingBoxIou { get; set; } - - /// Output only. The mean mismatch rate over all confidence thresholds. - [Newtonsoft.Json.JsonPropertyAttribute("meanMismatchRate")] - public virtual System.Nullable MeanMismatchRate { get; set; } - - /// Output only. The mean average precision over all confidence thresholds. - [Newtonsoft.Json.JsonPropertyAttribute("meanTrackingAveragePrecision")] - public virtual System.Nullable MeanTrackingAveragePrecision { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. Next tag: 6. - public class XPSTrackMetricsEntryConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Bounding box intersection-over-union precision. Measures how well the bounding boxes overlap - /// between each other (e.g. complete overlap or just barely above iou_threshold). - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxIou")] - public virtual System.Nullable BoundingBoxIou { get; set; } - - /// Output only. The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// - /// Output only. Mismatch rate, which measures the tracking consistency, i.e. correctness of instance ID - /// continuity. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mismatchRate")] - public virtual System.Nullable MismatchRate { get; set; } - - /// Output only. Tracking precision. - [Newtonsoft.Json.JsonPropertyAttribute("trackingPrecision")] - public virtual System.Nullable TrackingPrecision { get; set; } - - /// Output only. Tracking recall. - [Newtonsoft.Json.JsonPropertyAttribute("trackingRecall")] - public virtual System.Nullable TrackingRecall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Next ID: 18 - public class XPSTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Estimated model size in bytes once deployed. - [Newtonsoft.Json.JsonPropertyAttribute("deployedModelSizeBytes")] - public virtual System.Nullable DeployedModelSizeBytes { get; set; } - - /// - /// Optional vision model error analysis configuration. The field is set when model error analysis is enabled in - /// the training request. The results of error analysis will be binded together with evaluation results (in the - /// format of AnnotatedExample). - /// - [Newtonsoft.Json.JsonPropertyAttribute("errorAnalysisConfigs")] - public virtual System.Collections.Generic.IList ErrorAnalysisConfigs { get; set; } - - /// - /// Examples used to evaluate the model (usually the test set), with the predicted annotations. The file_spec - /// should point to recordio file(s) of AnnotatedExample. For each returned example, the example_id_token and - /// annotations predicted by the model must be set. The example payload can and is recommended to be omitted. - /// - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedExampleSet")] - public virtual XPSExampleSet EvaluatedExampleSet { get; set; } - - /// The trained model evaluation metrics. This can be optionally returned. - [Newtonsoft.Json.JsonPropertyAttribute("evaluationMetricsSet")] - public virtual XPSEvaluationMetricsSet EvaluationMetricsSet { get; set; } - - /// - /// VisionExplanationConfig for XAI on test set. Optional for when XAI is enable in training request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("explanationConfigs")] - public virtual System.Collections.Generic.IList ExplanationConfigs { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageClassificationTrainResp")] - public virtual XPSImageClassificationTrainResponse ImageClassificationTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageObjectDetectionTrainResp")] - public virtual XPSImageObjectDetectionModelSpec ImageObjectDetectionTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("imageSegmentationTrainResp")] - public virtual XPSImageSegmentationTrainResponse ImageSegmentationTrainResp { get; set; } - - /// - /// Token that represents the trained model. This is considered immutable and is persisted in AutoML. xPS can - /// put their own proto in the byte string, to e.g. point to the model checkpoints. The token is passed to other - /// xPS APIs to refer to the model. - /// - [Newtonsoft.Json.JsonPropertyAttribute("modelToken")] - public virtual string ModelToken { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("speechTrainResp")] - public virtual XPSSpeechModelSpec SpeechTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesTrainResp")] - public virtual XPSTablesTrainResponse TablesTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("textToSpeechTrainResp")] - public virtual XPSTextToSpeechTrainResponse TextToSpeechTrainResp { get; set; } - - /// Will only be needed for uCAIP from Beta. - [Newtonsoft.Json.JsonPropertyAttribute("textTrainResp")] - public virtual XPSTextTrainResponse TextTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("translationTrainResp")] - public virtual XPSTranslationTrainResponse TranslationTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoActionRecognitionTrainResp")] - public virtual XPSVideoActionRecognitionTrainResponse VideoActionRecognitionTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoClassificationTrainResp")] - public virtual XPSVideoClassificationTrainResponse VideoClassificationTrainResp { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoObjectTrackingTrainResp")] - public virtual XPSVideoObjectTrackingTrainResponse VideoObjectTrackingTrainResp { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSTrainingObjectivePoint : Google.Apis.Requests.IDirectResponseSchema - { - private string _createTimeRaw; - - private object _createTime; - - /// The time at which this point was recorded. - [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); - } - - /// The objective value when this point was recorded. - [Newtonsoft.Json.JsonPropertyAttribute("value")] - public virtual System.Nullable Value { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Evaluation metrics for the dataset. - public class XPSTranslationEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// BLEU score for base model. - [Newtonsoft.Json.JsonPropertyAttribute("baseBleuScore")] - public virtual System.Nullable BaseBleuScore { get; set; } - - /// BLEU score. - [Newtonsoft.Json.JsonPropertyAttribute("bleuScore")] - public virtual System.Nullable BleuScore { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Translation preprocess response. - public class XPSTranslationPreprocessResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Total example count parsed. - [Newtonsoft.Json.JsonPropertyAttribute("parsedExampleCount")] - public virtual System.Nullable ParsedExampleCount { get; set; } - - /// Total valid example count. - [Newtonsoft.Json.JsonPropertyAttribute("validExampleCount")] - public virtual System.Nullable ValidExampleCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Train response for translation. - public class XPSTranslationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Type of the model. - [Newtonsoft.Json.JsonPropertyAttribute("modelType")] - public virtual string ModelType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Metrics for a tuning job generated, will get forwarded to Stackdriver as model tuning logs. Setting this as a - /// standalone message out of CreateModelMetadata to avoid confusion as we expose this message only to users. - /// - public class XPSTuningTrial : Google.Apis.Requests.IDirectResponseSchema - { - /// Model parameters for the trial. - [Newtonsoft.Json.JsonPropertyAttribute("modelStructure")] - public virtual XPSTablesModelStructure ModelStructure { get; set; } - - /// The optimization objective evaluation of the eval split data. - [Newtonsoft.Json.JsonPropertyAttribute("trainingObjectivePoint")] - public virtual XPSTrainingObjectivePoint TrainingObjectivePoint { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The Evaluation metrics entry given a specific precision_window_length. - public class XPSVideoActionMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Metrics for each label-match confidence_threshold from 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("confidenceMetricsEntries")] - public virtual System.Collections.Generic.IList ConfidenceMetricsEntries { get; set; } - - /// The mean average precision. - [Newtonsoft.Json.JsonPropertyAttribute("meanAveragePrecision")] - public virtual System.Nullable MeanAveragePrecision { get; set; } - - /// - /// This VideoActionMetricsEntry is calculated based on this prediction window length. If the predicted action's - /// timestamp is inside the time window whose center is the ground truth action's timestamp with this specific - /// length, the prediction result is treated as a true positive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("precisionWindowLength")] - public virtual object PrecisionWindowLength { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metrics for a single confidence threshold. - public class XPSVideoActionMetricsEntryConfidenceMetricsEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The confidence threshold value used to compute the metrics. - [Newtonsoft.Json.JsonPropertyAttribute("confidenceThreshold")] - public virtual System.Nullable ConfidenceThreshold { get; set; } - - /// Output only. The harmonic mean of recall and precision. - [Newtonsoft.Json.JsonPropertyAttribute("f1Score")] - public virtual System.Nullable F1Score { get; set; } - - /// Output only. Precision for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("precision")] - public virtual System.Nullable Precision { get; set; } - - /// Output only. Recall for the given confidence threshold. - [Newtonsoft.Json.JsonPropertyAttribute("recall")] - public virtual System.Nullable Recall { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for video action recognition. - public class XPSVideoActionRecognitionEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The number of ground truth actions used to create this evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedActionCount")] - public virtual System.Nullable EvaluatedActionCount { get; set; } - - /// Output only. The metric entries for precision window lengths: 1s,2s,3s,4s, 5s. - [Newtonsoft.Json.JsonPropertyAttribute("videoActionMetricsEntries")] - public virtual System.Collections.Generic.IList VideoActionMetricsEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoActionRecognitionTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSVideoModelArtifactSpec ModelArtifactSpec { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoBatchPredictOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// All the partial batch prediction results that are completed at the moment. Output examples are sorted by - /// completion time. The order will not be changed. Each output example should be the path of a single RecordIO - /// file of AnnotatedExamples. - /// - [Newtonsoft.Json.JsonPropertyAttribute("outputExamples")] - public virtual System.Collections.Generic.IList OutputExamples { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoClassificationTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSVideoModelArtifactSpec ModelArtifactSpec { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Information of downloadable models that are pre-generated as part of training flow and will be persisted in - /// AutoMl backend. Upon receiving ExportModel request from user, AutoMl backend can serve the pre-generated models - /// to user if exists (by copying the files from internal path to user provided location), otherwise, AutoMl backend - /// will call xPS ExportModel API to generate the model on the fly with the requesting format. - /// - public class XPSVideoExportModelSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS - /// bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exportModelOutputConfig")] - public virtual System.Collections.Generic.IList ExportModelOutputConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoModelArtifactSpec : Google.Apis.Requests.IDirectResponseSchema - { - /// The model binary files in different formats for model export. - [Newtonsoft.Json.JsonPropertyAttribute("exportArtifact")] - public virtual System.Collections.Generic.IList ExportArtifact { get; set; } - - /// - /// The default model binary file used for serving (e.g. batch predict) via public Cloud AI Platform API. - /// - [Newtonsoft.Json.JsonPropertyAttribute("servingArtifact")] - public virtual XPSModelArtifactItem ServingArtifact { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Model evaluation metrics for ObjectTracking problems. Next tag: 10. - public class XPSVideoObjectTrackingEvaluationMetrics : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all - /// bounding_box_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMeanAveragePrecision")] - public virtual System.Nullable BoundingBoxMeanAveragePrecision { get; set; } - - /// - /// Output only. The bounding boxes match metrics for each Intersection-over-union threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("boundingBoxMetricsEntries")] - public virtual System.Collections.Generic.IList BoundingBoxMetricsEntries { get; set; } - - /// The number of bounding boxes used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedBoundingboxCount")] - public virtual System.Nullable EvaluatedBoundingboxCount { get; set; } - - /// The number of video frames used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedFrameCount")] - public virtual System.Nullable EvaluatedFrameCount { get; set; } - - /// The number of tracks used for model evaluation. - [Newtonsoft.Json.JsonPropertyAttribute("evaluatedTrackCount")] - public virtual System.Nullable EvaluatedTrackCount { get; set; } - - /// - /// Output only. The single metric for tracks accuracy evaluation: the mean_average_precision averaged over all - /// track_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMeanAveragePrecision")] - public virtual System.Nullable TrackMeanAveragePrecision { get; set; } - - /// - /// Output only. The single metric for tracks bounding box iou evaluation: the mean_bounding_box_iou averaged - /// over all track_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMeanBoundingBoxIou")] - public virtual System.Nullable TrackMeanBoundingBoxIou { get; set; } - - /// - /// Output only. The single metric for tracking consistency evaluation: the mean_mismatch_rate averaged over all - /// track_metrics_entries. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMeanMismatchRate")] - public virtual System.Nullable TrackMeanMismatchRate { get; set; } - - /// - /// Output only. The tracks match metrics for each Intersection-over-union threshold - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackMetricsEntries")] - public virtual System.Collections.Generic.IList TrackMetricsEntries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoObjectTrackingTrainResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Populated for AutoML request only. - [Newtonsoft.Json.JsonPropertyAttribute("exportModelSpec")] - public virtual XPSVideoExportModelSpec ExportModelSpec { get; set; } - - /// ## The fields below are only populated under uCAIP request scope. - [Newtonsoft.Json.JsonPropertyAttribute("modelArtifactSpec")] - public virtual XPSVideoModelArtifactSpec ModelArtifactSpec { get; set; } - - /// - /// The actual train cost of creating this model, expressed in node seconds, i.e. 3,600 value in this field - /// means 1 node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostNodeSeconds")] - public virtual System.Nullable TrainCostNodeSeconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVideoTrainingOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// This is an estimation of the node hours necessary for training a model, expressed in milli node hours (i.e. - /// 1,000 value in this field means 1 node hour). A node hour represents the time a virtual machine spends - /// running your training job. The cost of one node running for one hour is a node hour. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trainCostMilliNodeHour")] - public virtual System.Nullable TrainCostMilliNodeHour { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The vision model error analysis configuration. Next tag: 3 - public class XPSVisionErrorAnalysisConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of query examples in error analysis. - [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] - public virtual System.Nullable ExampleCount { get; set; } - - /// The query type used in retrieval. The enum values are frozen in the foreseeable future. - [Newtonsoft.Json.JsonPropertyAttribute("queryType")] - public virtual string QueryType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSVisionTrainingOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Aggregated infra usage within certain time period, for billing report purpose if XAI is enable in training - /// request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("explanationUsage")] - public virtual InfraUsage ExplanationUsage { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Visualization configurations for image explanation. - public class XPSVisualization : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Excludes attributions below the specified percentile, from the highlighted areas. Defaults to 62. - /// - [Newtonsoft.Json.JsonPropertyAttribute("clipPercentLowerbound")] - public virtual System.Nullable ClipPercentLowerbound { get; set; } - - /// - /// Excludes attributions above the specified percentile from the highlighted areas. Using the - /// clip_percent_upperbound and clip_percent_lowerbound together can be useful for filtering out noise and - /// making it easier to see areas of strong attribution. Defaults to 99.9. - /// - [Newtonsoft.Json.JsonPropertyAttribute("clipPercentUpperbound")] - public virtual System.Nullable ClipPercentUpperbound { get; set; } - - /// - /// The color scheme used for the highlighted areas. Defaults to PINK_GREEN for Integrated Gradients - /// attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI - /// attribution, which highlights the most influential regions in yellow and the least influential in blue. - /// - [Newtonsoft.Json.JsonPropertyAttribute("colorMap")] - public virtual string ColorMap { get; set; } - - /// - /// How the original image is displayed in the visualization. Adjusting the overlay can help increase visual - /// clarity if the original image makes it difficult to view the visualization. Defaults to NONE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("overlayType")] - public virtual string OverlayType { get; set; } - - /// - /// Whether to only highlight pixels with positive contributions, negative or both. Defaults to POSITIVE. - /// - [Newtonsoft.Json.JsonPropertyAttribute("polarity")] - public virtual string Polarity { get; set; } - - /// - /// Type of the image visualization. Only applicable to Integrated Gradients attribution. OUTLINES shows regions - /// of attribution, while PIXELS shows per-pixel attribution. Defaults to OUTLINES. - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class XPSXpsOperationMetadata : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Optional. XPS server can opt to provide example count of the long running operation (e.g. training, data - /// importing, batch prediction). - /// - [Newtonsoft.Json.JsonPropertyAttribute("exampleCount")] - public virtual System.Nullable ExampleCount { get; set; } - - /// - /// Metrics for the operation. By the time the operation is terminated (whether succeeded or failed) as returned - /// from XPS, AutoML BE assumes the metrics are finalized. AutoML BE transparently posts the metrics to Chemist - /// if it's not empty, regardless of the response content or error type. If user is supposed to be charged in - /// case of cancellation/error, this field should be set. In the case where the type of LRO doesn't require any - /// billing, this field should be left unset. - /// - [Newtonsoft.Json.JsonPropertyAttribute("reportingMetrics")] - public virtual XPSReportingMetrics ReportingMetrics { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("tablesTrainingOperationMetadata")] - public virtual XPSTablesTrainingOperationMetadata TablesTrainingOperationMetadata { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoBatchPredictOperationMetadata")] - public virtual XPSVideoBatchPredictOperationMetadata VideoBatchPredictOperationMetadata { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("videoTrainingOperationMetadata")] - public virtual XPSVideoTrainingOperationMetadata VideoTrainingOperationMetadata { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("visionTrainingOperationMetadata")] - public virtual XPSVisionTrainingOperationMetadata VisionTrainingOperationMetadata { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// An explanation method that redistributes Integrated Gradients attributions to segmented regions, taking - /// advantage of the model's fully differentiable structure. Refer to this paper for more details: - /// https://arxiv.org/abs/1906.02825 Only supports image Models (modality is IMAGE). - /// - public class XPSXraiAttribution : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The number of steps for approximating the path integral. A good value to start is 50 and gradually increase - /// until the sum to diff property is met within the desired error range. Valid range of its value is [1, 100], - /// inclusively. - /// - [Newtonsoft.Json.JsonPropertyAttribute("stepCount")] - public virtual System.Nullable StepCount { get; set; } + /// The content categories used for classification. + [Newtonsoft.Json.JsonPropertyAttribute("contentCategoriesVersion")] + public virtual string ContentCategoriesVersion { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj index 37639225a6..9178a58481 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v1beta2/Google.Apis.CloudNaturalLanguage.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudNaturalLanguage.v1beta2 Client Library - 1.66.0.3328 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.cs b/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.cs index 1e4adb22ab..a51959bb60 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.cs +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.cs @@ -35,6 +35,8 @@ public CloudNaturalLanguageService() : this(new Google.Apis.Services.BaseClientS public CloudNaturalLanguageService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Documents = new DocumentsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://language.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://language.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudNaturalLanguageService(Google.Apis.Services.BaseClientService.Initia public override string Name => "language"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://language.googleapis.com/"; + 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 => "https://language.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.csproj b/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.csproj index dba6594ce7..c5dff0d9da 100644 --- a/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.csproj +++ b/Src/Generated/Google.Apis.CloudNaturalLanguage.v2/Google.Apis.CloudNaturalLanguage.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudNaturalLanguage.v2 Client Library - 1.66.0.3334 + 1.67.0.3334 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.cs index 5acb7e91b7..cd91225155 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.cs @@ -35,6 +35,8 @@ public CloudOSLoginService() : this(new Google.Apis.Services.BaseClientService.I public CloudOSLoginService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://oslogin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://oslogin.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudOSLoginService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "oslogin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://oslogin.googleapis.com/"; + 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 => "https://oslogin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.csproj index 58f9e91fc9..fba9e5b6d0 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1/Google.Apis.CloudOSLogin.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1 Client Library - 1.66.0.3272 + 1.67.0.3272 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs index ad1e5e3b9b..d007cd2b4e 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.cs @@ -35,6 +35,8 @@ public CloudOSLoginService() : this(new Google.Apis.Services.BaseClientService.I public CloudOSLoginService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://oslogin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://oslogin.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudOSLoginService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "oslogin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://oslogin.googleapis.com/"; + 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 => "https://oslogin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj index d991d0f09c..8513ea875c 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1alpha/Google.Apis.CloudOSLogin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1alpha Client Library - 1.66.0.3272 + 1.67.0.3272 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs index 35111124b6..3754a81c0c 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.cs @@ -35,6 +35,8 @@ public CloudOSLoginService() : this(new Google.Apis.Services.BaseClientService.I public CloudOSLoginService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://oslogin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://oslogin.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudOSLoginService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "oslogin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://oslogin.googleapis.com/"; + 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 => "https://oslogin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj index 6a7e65b453..d13573bb33 100644 --- a/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudOSLogin.v1beta/Google.Apis.CloudOSLogin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudOSLogin.v1beta Client Library - 1.66.0.3272 + 1.67.0.3272 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs index 77bc7635fa..fe22720a8a 100644 --- a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs +++ b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.cs @@ -35,6 +35,8 @@ public CloudProfilerService() : this(new Google.Apis.Services.BaseClientService. public CloudProfilerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudprofiler.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudprofiler.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudProfilerService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "cloudprofiler"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudprofiler.googleapis.com/"; + 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 => "https://cloudprofiler.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj index 145bcc0087..b5f12a4e25 100644 --- a/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj +++ b/Src/Generated/Google.Apis.CloudProfiler.v2/Google.Apis.CloudProfiler.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudProfiler.v2 Client Library - 1.66.0.3336 + 1.67.0.3336 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs index 731890dd55..833ab213e1 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs +++ b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.cs @@ -35,6 +35,8 @@ public CloudRedisService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudRedisService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://redis.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://redis.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRedisService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "redis"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://redis.googleapis.com/"; + 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 => "https://redis.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj index 43b5bd8f18..619e1e4276 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRedis.v1/Google.Apis.CloudRedis.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRedis.v1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs index 84b7c487dc..64e969a936 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.cs @@ -35,6 +35,8 @@ public CloudRedisService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudRedisService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://redis.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://redis.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRedisService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "redis"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://redis.googleapis.com/"; + 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 => "https://redis.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj index 04a267733e..d552199fa1 100644 --- a/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRedis.v1beta1/Google.Apis.CloudRedis.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRedis.v1beta1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs index be39465fa7..24184f0d2f 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs @@ -39,6 +39,8 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia Operations = new OperationsResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudresourcemanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudresourcemanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia public override string Name => "cloudresourcemanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudresourcemanager.googleapis.com/"; + 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 => "https://cloudresourcemanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj index 85fd2cb10c..7ef3a7f43f 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v1 Client Library - 1.66.0.3314 + 1.67.0.3314 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs index 2b75b122ab..71e7f9030a 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs @@ -36,6 +36,8 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudresourcemanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudresourcemanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia public override string Name => "cloudresourcemanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudresourcemanager.googleapis.com/"; + 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 => "https://cloudresourcemanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj index 220821269a..548b66da4d 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v1beta1 Client Library - 1.66.0.3314 + 1.67.0.3314 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.cs b/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.cs index 627b3b1dca..9c5079d121 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.cs @@ -36,6 +36,8 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia { Folders = new FoldersResource(this); Operations = new OperationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudresourcemanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudresourcemanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia public override string Name => "cloudresourcemanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudresourcemanager.googleapis.com/"; + 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 => "https://cloudresourcemanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj index 56a533ba55..534ec0d3c9 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v2 Client Library - 1.66.0.3314 + 1.67.0.3314 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.cs b/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.cs index 00fd7029dd..d5f6f8103a 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.cs @@ -36,6 +36,8 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia { Folders = new FoldersResource(this); Operations = new OperationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudresourcemanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudresourcemanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia public override string Name => "cloudresourcemanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudresourcemanager.googleapis.com/"; + 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 => "https://cloudresourcemanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj index a704e825b0..0101f57656 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v2beta1 Client Library - 1.66.0.3314 + 1.67.0.3314 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs index 85be534a1a..694970b576 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs @@ -43,6 +43,8 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia TagBindings = new TagBindingsResource(this); TagKeys = new TagKeysResource(this); TagValues = new TagValuesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudresourcemanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudresourcemanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -52,13 +54,13 @@ public CloudResourceManagerService(Google.Apis.Services.BaseClientService.Initia public override string Name => "cloudresourcemanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudresourcemanager.googleapis.com/"; + 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 => "https://cloudresourcemanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj index 4901f2978f..a6e4414c7a 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v3 Client Library - 1.66.0.3314 + 1.67.0.3314 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs index 2144beea6a..1efcf869a0 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs +++ b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs @@ -35,6 +35,8 @@ public CloudRetailService() : this(new Google.Apis.Services.BaseClientService.In public CloudRetailService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://retail.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://retail.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRetailService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "retail"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://retail.googleapis.com/"; + 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 => "https://retail.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj index 4ff605dc6a..75bfa690aa 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj +++ b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRetail.v2 Client Library - 1.66.0.3329 + 1.67.0.3329 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs index 58c02600a2..1e47d02492 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs +++ b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs @@ -35,6 +35,8 @@ public CloudRetailService() : this(new Google.Apis.Services.BaseClientService.In public CloudRetailService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://retail.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://retail.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRetailService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "retail"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://retail.googleapis.com/"; + 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 => "https://retail.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj index 8cb76ff281..aa46f51622 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj +++ b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRetail.v2alpha Client Library - 1.66.0.3329 + 1.67.0.3329 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs index e3073b1e19..acde2449c3 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs +++ b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs @@ -35,6 +35,8 @@ public CloudRetailService() : this(new Google.Apis.Services.BaseClientService.In public CloudRetailService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://retail.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://retail.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRetailService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "retail"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://retail.googleapis.com/"; + 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 => "https://retail.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj index 9fea4be836..05e0ca6f2d 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj +++ b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRetail.v2beta Client Library - 1.66.0.3329 + 1.67.0.3329 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs index f8319edafe..a5c266c5e3 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs +++ b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs @@ -36,6 +36,8 @@ public CloudRunService(Google.Apis.Services.BaseClientService.Initializer initia { Namespaces = new NamespacesResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://run.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://run.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudRunService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "run"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://run.googleapis.com/"; + 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 => "https://run.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj index 9e5d11c0d2..2ee1086565 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v1 Client Library - 1.66.0.3321 + 1.67.0.3321 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs index e949094de1..e280b50c08 100644 --- a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs +++ b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs @@ -35,6 +35,8 @@ public CloudRunService() : this(new Google.Apis.Services.BaseClientService.Initi public CloudRunService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://run.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://run.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRunService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "run"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://run.googleapis.com/"; + 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 => "https://run.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj index b300ba03f8..3a5b5dfb30 100644 --- a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v2 Client Library - 1.66.0.3328 + 1.67.0.3328 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs index 147ce326a4..7cc287306d 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.cs @@ -35,6 +35,8 @@ public CloudRuntimeConfigService() : this(new Google.Apis.Services.BaseClientSer public CloudRuntimeConfigService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Operations = new OperationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://runtimeconfig.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://runtimeconfig.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRuntimeConfigService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "runtimeconfig"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://runtimeconfig.googleapis.com/"; + 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 => "https://runtimeconfig.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj index de922d4cd5..38b057aeb1 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1/Google.Apis.CloudRuntimeConfig.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRuntimeConfig.v1 Client Library - 1.66.0.3136 + 1.67.0.3136 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs index 1fb81ecfe1..df0ccdd91a 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.cs @@ -35,6 +35,8 @@ public CloudRuntimeConfigService() : this(new Google.Apis.Services.BaseClientSer public CloudRuntimeConfigService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://runtimeconfig.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://runtimeconfig.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudRuntimeConfigService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "runtimeconfig"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://runtimeconfig.googleapis.com/"; + 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 => "https://runtimeconfig.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.csproj b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.csproj index 2a967c131a..16c65e6493 100644 --- a/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudRuntimeConfig.v1beta1/Google.Apis.CloudRuntimeConfig.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRuntimeConfig.v1beta1 Client Library - 1.66.0.3284 + 1.67.0.3284 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.cs b/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.cs index ea87f74705..c8f3c5aa7f 100644 --- a/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.cs +++ b/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.cs @@ -35,6 +35,8 @@ public CloudSchedulerService() : this(new Google.Apis.Services.BaseClientService public CloudSchedulerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudscheduler.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudscheduler.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudSchedulerService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "cloudscheduler"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudscheduler.googleapis.com/"; + 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 => "https://cloudscheduler.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.csproj b/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.csproj index 5a848776d1..d85ef0c1c5 100644 --- a/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.csproj +++ b/Src/Generated/Google.Apis.CloudScheduler.v1/Google.Apis.CloudScheduler.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudScheduler.v1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.cs b/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.cs index c4148aa84c..ce20df0927 100644 --- a/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.cs @@ -35,6 +35,8 @@ public CloudSchedulerService() : this(new Google.Apis.Services.BaseClientService public CloudSchedulerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudscheduler.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudscheduler.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudSchedulerService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "cloudscheduler"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudscheduler.googleapis.com/"; + 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 => "https://cloudscheduler.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.csproj b/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.csproj index ee972b5b1f..9d52e641fe 100644 --- a/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudScheduler.v1beta1/Google.Apis.CloudScheduler.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudScheduler.v1beta1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.cs b/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.cs index f5c396029d..c8cebdd1ae 100644 --- a/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.cs +++ b/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.cs @@ -42,6 +42,8 @@ public CloudSearchService(Google.Apis.Services.BaseClientService.Initializer ini Settings = new SettingsResource(this); Stats = new StatsResource(this); V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudsearch.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudsearch.googleapis.com/batch"); } /// Gets the service supported features. @@ -51,13 +53,13 @@ public CloudSearchService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "cloudsearch"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudsearch.googleapis.com/"; + 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 => "https://cloudsearch.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.csproj b/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.csproj index c8a30d99c2..4463ae6592 100644 --- a/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.csproj +++ b/Src/Generated/Google.Apis.CloudSearch.v1/Google.Apis.CloudSearch.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSearch.v1 Client Library - 1.66.0.3164 + 1.67.0.3164 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs index afdf7ed2f0..6b009d30f3 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs @@ -35,6 +35,8 @@ public CloudSecurityTokenService() : this(new Google.Apis.Services.BaseClientSer public CloudSecurityTokenService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://sts.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://sts.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudSecurityTokenService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "sts"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://sts.googleapis.com/"; + 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 => "https://sts.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj index 7ee434bc81..51274cd9ff 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSecurityToken.v1 Client Library - 1.66.0.3315 + 1.67.0.3315 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs index 94dcdf2660..e1feea10ee 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs @@ -35,6 +35,8 @@ public CloudSecurityTokenService() : this(new Google.Apis.Services.BaseClientSer public CloudSecurityTokenService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { V1beta = new V1betaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://sts.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://sts.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudSecurityTokenService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "sts"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://sts.googleapis.com/"; + 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 => "https://sts.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj index b0c8751ecb..1044436c09 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSecurityToken.v1beta Client Library - 1.66.0.3315 + 1.67.0.3315 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.cs b/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.cs index 5027ca024e..4b27e1493f 100644 --- a/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.cs +++ b/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.cs @@ -36,6 +36,8 @@ public CloudShellService(Google.Apis.Services.BaseClientService.Initializer init { Operations = new OperationsResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudshell.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudshell.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudShellService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudshell"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudshell.googleapis.com/"; + 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 => "https://cloudshell.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.csproj b/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.csproj index c3f8f1ed8a..985c43e62d 100644 --- a/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.csproj +++ b/Src/Generated/Google.Apis.CloudShell.v1/Google.Apis.CloudShell.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudShell.v1 Client Library - 1.66.0.3140 + 1.67.0.3140 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs index c205143ab1..ef216c3e20 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.cs @@ -35,6 +35,8 @@ public CloudSourceRepositoriesService() : this(new Google.Apis.Services.BaseClie public CloudSourceRepositoriesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://sourcerepo.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://sourcerepo.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudSourceRepositoriesService(Google.Apis.Services.BaseClientService.Ini public override string Name => "sourcerepo"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://sourcerepo.googleapis.com/"; + 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 => "https://sourcerepo.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.csproj b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.csproj index 5f516d94c1..5a7b6c2930 100644 --- a/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.csproj +++ b/Src/Generated/Google.Apis.CloudSourceRepositories.v1/Google.Apis.CloudSourceRepositories.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSourceRepositories.v1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.cs b/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.cs index e199c0efa3..613ab9cf5e 100644 --- a/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.cs +++ b/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.cs @@ -37,6 +37,8 @@ public CloudSupportService(Google.Apis.Services.BaseClientService.Initializer in CaseClassifications = new CaseClassificationsResource(this); Cases = new CasesResource(this); Media = new MediaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudsupport.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudsupport.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public CloudSupportService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "cloudsupport"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudsupport.googleapis.com/"; + 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 => "https://cloudsupport.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.csproj b/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.csproj index 7581b48106..ecd075cbac 100644 --- a/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.csproj +++ b/Src/Generated/Google.Apis.CloudSupport.v2/Google.Apis.CloudSupport.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSupport.v2 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.cs b/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.cs index ebbbf1ef8f..f151fe3fe1 100644 --- a/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.cs +++ b/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.cs @@ -37,6 +37,8 @@ public CloudSupportService(Google.Apis.Services.BaseClientService.Initializer in CaseClassifications = new CaseClassificationsResource(this); Cases = new CasesResource(this); Media = new MediaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudsupport.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudsupport.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public CloudSupportService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "cloudsupport"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudsupport.googleapis.com/"; + 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 => "https://cloudsupport.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.csproj b/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.csproj index c5edb93f3b..11adb308d0 100644 --- a/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.csproj +++ b/Src/Generated/Google.Apis.CloudSupport.v2beta/Google.Apis.CloudSupport.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSupport.v2beta Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.cs b/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.cs index 565d12ebbf..1bd23c21bd 100644 --- a/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.cs +++ b/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.cs @@ -35,6 +35,8 @@ public CloudTalentSolutionService() : this(new Google.Apis.Services.BaseClientSe public CloudTalentSolutionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://jobs.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://jobs.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTalentSolutionService(Google.Apis.Services.BaseClientService.Initial public override string Name => "jobs"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://jobs.googleapis.com/"; + 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 => "https://jobs.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.csproj b/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.csproj index 799e34ae8e..99239ea049 100644 --- a/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.csproj +++ b/Src/Generated/Google.Apis.CloudTalentSolution.v3/Google.Apis.CloudTalentSolution.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTalentSolution.v3 Client Library - 1.66.0.3155 + 1.67.0.3155 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.cs b/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.cs index 0709e5cd14..13657a2d23 100644 --- a/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.cs +++ b/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.cs @@ -35,6 +35,8 @@ public CloudTalentSolutionService() : this(new Google.Apis.Services.BaseClientSe public CloudTalentSolutionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://jobs.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://jobs.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTalentSolutionService(Google.Apis.Services.BaseClientService.Initial public override string Name => "jobs"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://jobs.googleapis.com/"; + 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 => "https://jobs.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.csproj b/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.csproj index ee30f1048c..883074fe3d 100644 --- a/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudTalentSolution.v3p1beta1/Google.Apis.CloudTalentSolution.v3p1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTalentSolution.v3p1beta1 Client Library - 1.66.0.3155 + 1.67.0.3155 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.cs b/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.cs index 81cd6d66ff..ffee26ced7 100644 --- a/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.cs +++ b/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.cs @@ -35,6 +35,8 @@ public CloudTalentSolutionService() : this(new Google.Apis.Services.BaseClientSe public CloudTalentSolutionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://jobs.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://jobs.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTalentSolutionService(Google.Apis.Services.BaseClientService.Initial public override string Name => "jobs"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://jobs.googleapis.com/"; + 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 => "https://jobs.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.csproj b/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.csproj index 3ffdf96482..5545c747ec 100644 --- a/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.csproj +++ b/Src/Generated/Google.Apis.CloudTalentSolution.v4/Google.Apis.CloudTalentSolution.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTalentSolution.v4 Client Library - 1.66.0.3155 + 1.67.0.3155 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs index e164496b24..1d5017b73b 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs +++ b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.cs @@ -35,6 +35,8 @@ public CloudTasksService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudTasksService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudtasks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudtasks.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTasksService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudtasks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudtasks.googleapis.com/"; + 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 => "https://cloudtasks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj index 426a565e0d..3ace6fd4db 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj +++ b/Src/Generated/Google.Apis.CloudTasks.v2/Google.Apis.CloudTasks.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTasks.v2 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.cs b/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.cs index b03bd2a4fe..6dab9e144e 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.cs +++ b/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.cs @@ -36,6 +36,8 @@ public CloudTasksService(Google.Apis.Services.BaseClientService.Initializer init { Api = new ApiResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudtasks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudtasks.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public CloudTasksService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudtasks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudtasks.googleapis.com/"; + 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 => "https://cloudtasks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.csproj b/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.csproj index 8e7f39ccea..3a51a190ed 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.csproj +++ b/Src/Generated/Google.Apis.CloudTasks.v2beta2/Google.Apis.CloudTasks.v2beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTasks.v2beta2 Client Library - 1.66.0.3322 + 1.67.0.3322 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.cs b/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.cs index 8b78a7cb05..b85bc0ab24 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.cs +++ b/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.cs @@ -35,6 +35,8 @@ public CloudTasksService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudTasksService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudtasks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudtasks.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTasksService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudtasks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudtasks.googleapis.com/"; + 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 => "https://cloudtasks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.csproj b/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.csproj index 9eae17555b..b5d24abc8f 100644 --- a/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.csproj +++ b/Src/Generated/Google.Apis.CloudTasks.v2beta3/Google.Apis.CloudTasks.v2beta3.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTasks.v2beta3 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.cs b/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.cs index 1e2fe135d3..a8effe3155 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.cs +++ b/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.cs @@ -35,6 +35,8 @@ public CloudTraceService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudTraceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudtrace.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudtrace.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTraceService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudtrace"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudtrace.googleapis.com/"; + 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 => "https://cloudtrace.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.csproj b/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.csproj index 57d3ad1a6b..f7f1b5d62e 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.csproj +++ b/Src/Generated/Google.Apis.CloudTrace.v1/Google.Apis.CloudTrace.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTrace.v1 Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.cs b/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.cs index aa69ae1332..f0d2c741c3 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.cs +++ b/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.cs @@ -35,6 +35,8 @@ public CloudTraceService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudTraceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudtrace.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudtrace.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTraceService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudtrace"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudtrace.googleapis.com/"; + 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 => "https://cloudtrace.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.csproj b/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.csproj index b02d6a7aae..7200e66b2f 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.csproj +++ b/Src/Generated/Google.Apis.CloudTrace.v2/Google.Apis.CloudTrace.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTrace.v2 Client Library - 1.66.0.3052 + 1.67.0.3052 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.cs b/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.cs index b029d14893..87a131e1ca 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.cs +++ b/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.cs @@ -35,6 +35,8 @@ public CloudTraceService() : this(new Google.Apis.Services.BaseClientService.Ini public CloudTraceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudtrace.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudtrace.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudTraceService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "cloudtrace"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudtrace.googleapis.com/"; + 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 => "https://cloudtrace.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.csproj b/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.csproj index 14df12382a..5775179c78 100644 --- a/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.csproj +++ b/Src/Generated/Google.Apis.CloudTrace.v2beta1/Google.Apis.CloudTrace.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudTrace.v2beta1 Client Library - 1.66.0.2667 + 1.67.0.2667 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.cs b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.cs index 4acb85bbcc..a8f0c27c74 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.cs +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.cs @@ -37,6 +37,8 @@ public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Init Operations = new OperationsResource(this); Projects = new ProjectsResource(this); Videos = new VideosResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://videointelligence.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://videointelligence.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Init public override string Name => "videointelligence"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://videointelligence.googleapis.com/"; + 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 => "https://videointelligence.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.csproj b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.csproj index 02083e9067..8ff1337f9d 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.csproj +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1/Google.Apis.CloudVideoIntelligence.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudVideoIntelligence.v1 Client Library - 1.66.0.3269 + 1.67.0.3269 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.cs b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.cs index 6b82c463f8..fa6857c793 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.cs +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.cs @@ -35,6 +35,8 @@ public CloudVideoIntelligenceService() : this(new Google.Apis.Services.BaseClien public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Videos = new VideosResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://videointelligence.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://videointelligence.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Init public override string Name => "videointelligence"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://videointelligence.googleapis.com/"; + 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 => "https://videointelligence.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.csproj b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.csproj index c898e2a560..49d10f73d9 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.csproj +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1beta2/Google.Apis.CloudVideoIntelligence.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudVideoIntelligence.v1beta2 Client Library - 1.66.0.3269 + 1.67.0.3269 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.cs b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.cs index e19bf6bb14..7044cbd3ce 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.cs +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.cs @@ -35,6 +35,8 @@ public CloudVideoIntelligenceService() : this(new Google.Apis.Services.BaseClien public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Videos = new VideosResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://videointelligence.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://videointelligence.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Init public override string Name => "videointelligence"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://videointelligence.googleapis.com/"; + 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 => "https://videointelligence.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.csproj b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.csproj index 7796ba368c..5a261c2caf 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p1beta1/Google.Apis.CloudVideoIntelligence.v1p1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudVideoIntelligence.v1p1beta1 Client Library - 1.66.0.3269 + 1.67.0.3269 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.cs b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.cs index e1e420f58f..19874d7478 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.cs +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.cs @@ -35,6 +35,8 @@ public CloudVideoIntelligenceService() : this(new Google.Apis.Services.BaseClien public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Videos = new VideosResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://videointelligence.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://videointelligence.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Init public override string Name => "videointelligence"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://videointelligence.googleapis.com/"; + 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 => "https://videointelligence.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.csproj b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.csproj index 0f236114b0..4d9dd3e3cf 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.csproj +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p2beta1/Google.Apis.CloudVideoIntelligence.v1p2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudVideoIntelligence.v1p2beta1 Client Library - 1.66.0.3269 + 1.67.0.3269 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.cs b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.cs index 5104c906cf..cf9eaa6298 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.cs +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.cs @@ -35,6 +35,8 @@ public CloudVideoIntelligenceService() : this(new Google.Apis.Services.BaseClien public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Videos = new VideosResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://videointelligence.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://videointelligence.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudVideoIntelligenceService(Google.Apis.Services.BaseClientService.Init public override string Name => "videointelligence"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://videointelligence.googleapis.com/"; + 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 => "https://videointelligence.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.csproj b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.csproj index e894392376..5cc0b7a2c0 100644 --- a/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.csproj +++ b/Src/Generated/Google.Apis.CloudVideoIntelligence.v1p3beta1/Google.Apis.CloudVideoIntelligence.v1p3beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudVideoIntelligence.v1p3beta1 Client Library - 1.66.0.3269 + 1.67.0.3269 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs index 0704877167..8ad495deee 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs @@ -35,6 +35,8 @@ public CloudWorkstationsService() : this(new Google.Apis.Services.BaseClientServ public CloudWorkstationsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workstations.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workstations.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudWorkstationsService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "workstations"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workstations.googleapis.com/"; + 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 => "https://workstations.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj index 832f924d89..6914921042 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudWorkstations.v1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs index 8943ca8920..4f41041a1f 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs @@ -35,6 +35,8 @@ public CloudWorkstationsService() : this(new Google.Apis.Services.BaseClientServ public CloudWorkstationsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workstations.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workstations.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CloudWorkstationsService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "workstations"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workstations.googleapis.com/"; + 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 => "https://workstations.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj index 36284637ec..e2d92b7462 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudWorkstations.v1beta Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs index b16199aa11..7a563babb2 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.cs @@ -38,6 +38,8 @@ public CloudbillingService(Google.Apis.Services.BaseClientService.Initializer in Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudbilling.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudbilling.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public CloudbillingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "cloudbilling"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudbilling.googleapis.com/"; + 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 => "https://cloudbilling.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.csproj b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.csproj index cbb52d2640..24db74536b 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudbilling.v1/Google.Apis.Cloudbilling.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Cloudbilling.v1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.cs b/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.cs index 254e7d4f45..4241a3d40d 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.cs +++ b/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.cs @@ -38,6 +38,8 @@ public CloudbillingService(Google.Apis.Services.BaseClientService.Initializer in SkuGroups = new SkuGroupsResource(this); Skus = new SkusResource(this); V1beta = new V1betaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudbilling.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudbilling.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public CloudbillingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "cloudbilling"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudbilling.googleapis.com/"; + 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 => "https://cloudbilling.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.csproj b/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.csproj index 9a74288860..282ed92669 100644 --- a/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.csproj +++ b/Src/Generated/Google.Apis.Cloudbilling.v1beta/Google.Apis.Cloudbilling.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Cloudbilling.v1beta Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs index 9531ae43e4..ffb462bdd4 100644 --- a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs +++ b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs @@ -37,6 +37,8 @@ public CloudchannelService(Google.Apis.Services.BaseClientService.Initializer in Accounts = new AccountsResource(this); Operations = new OperationsResource(this); Products = new ProductsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://cloudchannel.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://cloudchannel.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public CloudchannelService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "cloudchannel"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://cloudchannel.googleapis.com/"; + 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 => "https://cloudchannel.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj index c52ed413fa..f4537bd023 100644 --- a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Cloudchannel.v1 Client Library - 1.66.0.3295 + 1.67.0.3295 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs index bd069e5993..e7aed1fc1b 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.cs @@ -35,6 +35,8 @@ public ClouderrorreportingService() : this(new Google.Apis.Services.BaseClientSe public ClouderrorreportingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://clouderrorreporting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://clouderrorreporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ClouderrorreportingService(Google.Apis.Services.BaseClientService.Initial public override string Name => "clouderrorreporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://clouderrorreporting.googleapis.com/"; + 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 => "https://clouderrorreporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.csproj b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.csproj index 4eb39cd719..e7a0042e9a 100644 --- a/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Clouderrorreporting.v1beta1/Google.Apis.Clouderrorreporting.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Clouderrorreporting.v1beta1 Client Library - 1.66.0.3231 + 1.67.0.3231 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs index a98e696581..729c17d03d 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs @@ -141,6 +141,8 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial ZoneOperations = new ZoneOperationsResource(this); ZoneQueuedResources = new ZoneQueuedResourcesResource(this); Zones = new ZonesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://compute.googleapis.com/compute/alpha/"); + BatchUri = GetEffectiveUri(null, "https://compute.googleapis.com/batch/compute/alpha"); } /// Gets the service supported features. @@ -150,13 +152,13 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "compute"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://compute.googleapis.com/compute/alpha/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "compute/alpha/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://compute.googleapis.com/batch/compute/alpha"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/compute/alpha"; diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj index 47d1f36ea8..d8d4ac7da8 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.alpha Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs index 17459597b8..efaa5f231d 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs @@ -134,6 +134,8 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial VpnTunnels = new VpnTunnelsResource(this); ZoneOperations = new ZoneOperationsResource(this); Zones = new ZonesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://compute.googleapis.com/compute/beta/"); + BatchUri = GetEffectiveUri(null, "https://compute.googleapis.com/batch/compute/beta"); } /// Gets the service supported features. @@ -143,13 +145,13 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "compute"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://compute.googleapis.com/compute/beta/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "compute/beta/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://compute.googleapis.com/batch/compute/beta"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/compute/beta"; @@ -716,14 +718,20 @@ public AcceleratorTypesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of accelerator types. + /// + /// Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of accelerator types. + /// + /// Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -813,7 +821,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -1071,7 +1080,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -1163,14 +1173,20 @@ public AddressesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of addresses. + /// + /// Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of addresses. + /// + /// Retrieves an aggregated list of addresses. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -1260,7 +1276,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -1702,7 +1719,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -2081,14 +2099,20 @@ public AutoscalersResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of autoscalers. + /// + /// Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of autoscalers. + /// + /// Retrieves an aggregated list of autoscalers. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -2178,7 +2202,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -2616,7 +2641,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -3562,7 +3588,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -4148,6 +4175,7 @@ protected override void InitParameters() /// /// Retrieves the list of all BackendService resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -4157,6 +4185,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all BackendService resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -4247,7 +4276,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -4891,7 +4921,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5047,7 +5078,8 @@ public ListUsableRequest(Google.Apis.Services.IClientService service, string pro /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5645,14 +5677,20 @@ public DiskTypesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of disk types. + /// + /// Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of disk types. + /// + /// Retrieves an aggregated list of disk types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -5742,7 +5780,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -6000,7 +6039,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -6199,14 +6239,20 @@ protected override void InitParameters() } } - /// Retrieves an aggregated list of persistent disks. + /// + /// Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of persistent disks. + /// + /// Retrieves an aggregated list of persistent disks. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -6296,7 +6342,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -7064,7 +7111,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -8360,7 +8408,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -9273,7 +9322,8 @@ public ListRequest(Google.Apis.Services.IClientService service) : base(service) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -10196,7 +10246,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -10535,14 +10586,20 @@ public ForwardingRulesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of forwarding rules. + /// + /// Retrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of forwarding rules. + /// + /// Retrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -10632,7 +10689,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -11080,7 +11138,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -11574,14 +11633,20 @@ public FutureReservationsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of future reservations. + /// + /// Retrieves an aggregated list of future reservations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of future reservations. + /// + /// Retrieves an aggregated list of future reservations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -11671,7 +11736,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -12212,7 +12278,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -12730,7 +12797,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -13347,7 +13415,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -14259,7 +14328,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -14427,7 +14497,8 @@ public ListNetworkEndpointsRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -14519,14 +14590,20 @@ public GlobalOperationsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of all operations. + /// + /// Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of all operations. + /// + /// Retrieves an aggregated list of all operations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -14616,7 +14693,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -14913,7 +14991,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -15277,7 +15356,8 @@ public ListRequest(Google.Apis.Services.IClientService service) : base(service) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -15665,7 +15745,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -15843,7 +15924,8 @@ public HealthChecksResource(Google.Apis.Services.IClientService service) } /// - /// Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. + /// Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -15852,7 +15934,8 @@ public virtual AggregatedListRequest AggregatedList(string project) } /// - /// Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. + /// Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -15943,7 +16026,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -16337,7 +16421,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -16974,7 +17059,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -17611,7 +17697,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -18599,7 +18686,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -19554,7 +19642,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -19773,14 +19862,20 @@ protected override void InitParameters() } } - /// Retrieves the list of managed instance groups and groups them by zone. + /// + /// Retrieves the list of managed instance groups and groups them by zone. To prevent failure, Google recommends + /// that you set the `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves the list of managed instance groups and groups them by zone. + /// + /// Retrieves the list of managed instance groups and groups them by zone. To prevent failure, Google recommends + /// that you set the `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -19870,7 +19965,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -20747,7 +20843,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -20939,7 +21036,8 @@ public ListErrorsRequest(Google.Apis.Services.IClientService service, string pro /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -21137,7 +21235,8 @@ public ListManagedInstancesRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -21333,7 +21432,8 @@ public ListPerInstanceConfigsRequest(Google.Apis.Services.IClientService service /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -23282,14 +23382,20 @@ protected override void InitParameters() } } - /// Retrieves the list of instance groups and sorts them by zone. + /// + /// Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you + /// set the `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves the list of instance groups and sorts them by zone. + /// + /// Retrieves the list of instance groups and sorts them by zone. To prevent failure, Google recommends that you + /// set the `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -23379,7 +23485,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -23841,7 +23948,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -24031,7 +24139,8 @@ public ListInstancesRequest(Google.Apis.Services.IClientService service, Google. /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -24605,7 +24714,7 @@ public InstanceTemplatesResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -24615,7 +24724,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -24706,7 +24815,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -25185,7 +25295,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -25628,7 +25739,8 @@ protected override void InitParameters() /// /// Retrieves an aggregated list of all of the instances in your project across all regions and zones. The /// performance of this method degrades when a filter is specified on a project that has a very large number of - /// instances. + /// instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to + /// `true`. /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -25639,7 +25751,8 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves an aggregated list of all of the instances in your project across all regions and zones. The /// performance of this method degrades when a filter is specified on a project that has a very large number of - /// instances. + /// instances. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to + /// `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -25730,7 +25843,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -27255,7 +27369,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -27445,7 +27560,8 @@ public ListReferrersRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -30989,14 +31105,20 @@ public InstantSnapshotsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of instantSnapshots. + /// + /// Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of instantSnapshots. + /// + /// Retrieves an aggregated list of instantSnapshots. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -31086,7 +31208,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -31623,7 +31746,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -31984,14 +32108,20 @@ public InterconnectAttachmentsResource(Google.Apis.Services.IClientService servi this.service = service; } - /// Retrieves an aggregated list of interconnect attachments. + /// + /// Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set + /// the `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of interconnect attachments. + /// + /// Retrieves an aggregated list of interconnect attachments. To prevent failure, Google recommends that you set + /// the `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -32081,7 +32211,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -32535,7 +32666,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -33074,7 +33206,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -33310,7 +33443,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -33824,7 +33958,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -34699,7 +34834,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -35326,7 +35462,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -35544,14 +35681,20 @@ public MachineTypesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of machine types. + /// + /// Retrieves an aggregated list of machine types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of machine types. + /// + /// Retrieves an aggregated list of machine types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -35641,7 +35784,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -35899,7 +36043,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -35993,7 +36138,7 @@ public NetworkAttachmentsResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -36003,7 +36148,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -36094,7 +36239,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -36627,7 +36773,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -36989,7 +37136,8 @@ public NetworkEdgeSecurityServicesResource(Google.Apis.Services.IClientService s } /// - /// Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. + /// Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -36998,7 +37146,8 @@ public virtual AggregatedListRequest AggregatedList(string project) } /// - /// Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. + /// Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -37089,7 +37238,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -37585,14 +37735,20 @@ public NetworkEndpointGroupsResource(Google.Apis.Services.IClientService service this.service = service; } - /// Retrieves the list of network endpoint groups and sorts them by zone. + /// + /// Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends + /// that you set the `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves the list of network endpoint groups and sorts them by zone. + /// + /// Retrieves the list of network endpoint groups and sorts them by zone. To prevent failure, Google recommends + /// that you set the `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -37682,7 +37838,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -38380,7 +38537,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -38568,7 +38726,8 @@ public ListNetworkEndpointsRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -39580,7 +39739,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -40610,7 +40770,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -40799,7 +40960,8 @@ public enum DirectionEnum /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -41437,7 +41599,7 @@ protected override void InitParameters() /// /// Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each - /// group. + /// group. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -41447,7 +41609,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each - /// group. + /// group. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -41538,7 +41700,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -42196,7 +42359,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -42372,7 +42536,8 @@ public ListNodesRequest(Google.Apis.Services.IClientService service, string proj /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -43040,14 +43205,20 @@ public NodeTemplatesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of node templates. + /// + /// Retrieves an aggregated list of node templates. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of node templates. + /// + /// Retrieves an aggregated list of node templates. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -43137,7 +43308,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -43668,7 +43840,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -43922,14 +44095,20 @@ public NodeTypesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of node types. + /// + /// Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of node types. + /// + /// Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -44019,7 +44198,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -44277,7 +44457,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -44990,7 +45171,8 @@ public ListRequest(Google.Apis.Services.IClientService service) : base(service) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -45506,14 +45688,20 @@ public PacketMirroringsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of packetMirrorings. + /// + /// Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of packetMirrorings. + /// + /// Retrieves an aggregated list of packetMirrorings. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -45603,7 +45791,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -46051,7 +46240,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -46810,7 +47000,8 @@ public GetXpnResourcesRequest(Google.Apis.Services.IClientService service, strin /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -46968,7 +47159,8 @@ public ListXpnHostsRequest(Google.Apis.Services.IClientService service, Google.A /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -47201,6 +47393,85 @@ protected override void InitParameters() } } + /// + /// Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the billing account of the project must + /// be subscribed to Cloud Armor Enterprise. See Subscribing to Cloud Armor Enterprise for more information. + /// + /// The body of the request. + /// Project ID for this request. + public virtual SetCloudArmorTierRequest SetCloudArmorTier(Google.Apis.Compute.beta.Data.ProjectsSetCloudArmorTierRequest body, string project) + { + return new SetCloudArmorTierRequest(this.service, body, project); + } + + /// + /// Sets the Cloud Armor tier of the project. To set ENTERPRISE or above the billing account of the project must + /// be subscribed to Cloud Armor Enterprise. See Subscribing to Cloud Armor Enterprise for more information. + /// + public class SetCloudArmorTierRequest : ComputeBaseServiceRequest + { + /// Constructs a new SetCloudArmorTier request. + public SetCloudArmorTierRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.beta.Data.ProjectsSetCloudArmorTierRequest body, string project) : base(service) + { + Project = project; + 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; } + + /// + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your + /// request, the server will know to ignore the request if it has already been completed. For example, + /// consider a situation where you make an initial request and the request times out. If you make the + /// request again with the same request ID, the server can check if original operation with the same request + /// ID was received, and if so, will ignore the second request. This prevents clients from accidentally + /// creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is + /// not supported ( 00000000-0000-0000-0000-000000000000). + /// + [Google.Apis.Util.RequestParameterAttribute("requestId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.Compute.beta.Data.ProjectsSetCloudArmorTierRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "setCloudArmorTier"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/setCloudArmorTier"; + + /// Initializes SetCloudArmorTier 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("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Sets metadata common to all instances within the specified project using the data included in the request. /// @@ -47917,7 +48188,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -48176,7 +48448,8 @@ public PublicDelegatedPrefixesResource(Google.Apis.Services.IClientService servi } /// - /// Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. + /// Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent + /// failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -48185,7 +48458,8 @@ public virtual AggregatedListRequest AggregatedList(string project) } /// - /// Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. + /// Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes. To prevent + /// failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -48276,7 +48550,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -48819,7 +49094,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -49463,7 +49739,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -50367,7 +50644,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -50545,7 +50823,8 @@ public ListUsableRequest(Google.Apis.Services.IClientService service, string pro /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -51128,14 +51407,20 @@ public RegionCommitmentsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of commitments by region. + /// + /// Retrieves an aggregated list of commitments by region. To prevent failure, Google recommends that you set + /// the `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of commitments by region. + /// + /// Retrieves an aggregated list of commitments by region. To prevent failure, Google recommends that you set + /// the `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -51225,7 +51510,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -51570,7 +51856,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -52140,7 +52427,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -52994,7 +53282,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -54346,7 +54635,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -54981,7 +55271,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -56250,7 +56541,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -56438,7 +56730,8 @@ public ListErrorsRequest(Google.Apis.Services.IClientService service, string pro /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -56632,7 +56925,8 @@ public ListManagedInstancesRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -56824,7 +57118,8 @@ public ListPerInstanceConfigsRequest(Google.Apis.Services.IClientService service /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -58811,7 +59106,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -58999,7 +59295,8 @@ public ListInstancesRequest(Google.Apis.Services.IClientService service, Google. /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -59649,7 +59946,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -60292,7 +60590,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -61261,7 +61560,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -61447,7 +61747,8 @@ public ListNetworkEndpointsRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -62583,7 +62884,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -63613,7 +63915,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -64025,7 +64328,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -64744,7 +65048,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -65525,7 +65830,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -66066,7 +66372,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -66236,7 +66543,8 @@ public ListAvailableFeaturesRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -66870,7 +67178,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -67500,7 +67809,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -68340,7 +68650,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -68950,7 +69261,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -69499,7 +69811,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -69763,7 +70076,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -69847,14 +70161,20 @@ public ReservationsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of reservations. + /// + /// Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of reservations. + /// + /// Retrieves an aggregated list of reservations. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -69944,7 +70264,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -70475,7 +70796,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -70960,14 +71282,20 @@ public ResourcePoliciesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of resource policies. + /// + /// Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of resource policies. + /// + /// Retrieves an aggregated list of resource policies. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -71057,7 +71385,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -71588,7 +71917,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -71955,14 +72285,20 @@ public RoutersResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of routers. + /// + /// Retrieves an aggregated list of routers. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of routers. + /// + /// Retrieves an aggregated list of routers. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -72052,7 +72388,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -72510,7 +72847,8 @@ public GetNatMappingInfoRequest(Google.Apis.Services.IClientService service, str /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -72860,7 +73198,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -73634,7 +73973,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -73866,6 +74206,7 @@ protected override void InitParameters() /// /// Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -73875,6 +74216,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -73965,7 +74307,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -74438,7 +74781,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -74594,7 +74938,8 @@ public ListPreconfiguredExpressionSetsRequest(Google.Apis.Services.IClientServic /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -75105,7 +75450,7 @@ public ServiceAttachmentsResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -75115,7 +75460,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -75206,7 +75551,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -75739,7 +76085,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -76642,7 +76989,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -76933,6 +77281,7 @@ public SslCertificatesResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -76942,6 +77291,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all SslCertificate resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -77032,7 +77382,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -77426,7 +77777,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -77578,7 +77930,8 @@ public SslPoliciesResource(Google.Apis.Services.IClientService service) } /// - /// Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. + /// Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -77587,7 +77940,8 @@ public virtual AggregatedListRequest AggregatedList(string project) } /// - /// Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. + /// Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -77678,7 +78032,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -78082,7 +78437,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -78238,7 +78594,8 @@ public ListAvailableFeaturesRequest(Google.Apis.Services.IClientService service, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -78480,14 +78837,20 @@ public SubnetworksResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of subnetworks. + /// + /// Retrieves an aggregated list of subnetworks. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of subnetworks. + /// + /// Retrieves an aggregated list of subnetworks. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -78577,7 +78940,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -79205,7 +79569,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -79369,7 +79734,8 @@ public ListUsableRequest(Google.Apis.Services.IClientService service, string pro /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -80169,7 +80535,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -80415,7 +80782,7 @@ public TargetHttpProxiesResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -80425,7 +80792,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -80516,7 +80883,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -80910,7 +81278,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -81243,7 +81612,7 @@ public TargetHttpsProxiesResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -81253,7 +81622,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified - /// project. + /// project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -81344,7 +81713,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -81738,7 +82108,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -82445,14 +82816,20 @@ public TargetInstancesResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of target instances. + /// + /// Retrieves an aggregated list of target instances. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of target instances. + /// + /// Retrieves an aggregated list of target instances. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -82542,7 +82919,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -82984,7 +83362,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -83472,14 +83851,20 @@ protected override void InitParameters() } } - /// Retrieves an aggregated list of target pools. + /// + /// Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of target pools. + /// + /// Retrieves an aggregated list of target pools. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -83569,7 +83954,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -84098,7 +84484,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -85001,7 +85388,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -85613,6 +86001,7 @@ public TargetTcpProxiesResource(Google.Apis.Services.IClientService service) /// /// Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -85622,6 +86011,7 @@ public virtual AggregatedListRequest AggregatedList(string project) /// /// Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. + /// To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -85712,7 +86102,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -86106,7 +86497,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -86433,14 +86825,20 @@ public TargetVpnGatewaysResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of target VPN gateways. + /// + /// Retrieves an aggregated list of target VPN gateways. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of target VPN gateways. + /// + /// Retrieves an aggregated list of target VPN gateways. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -86530,7 +86928,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -86972,7 +87371,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -87253,7 +87653,8 @@ public UrlMapsResource(Google.Apis.Services.IClientService service) } /// - /// Retrieves the list of all UrlMap resources, regional and global, available to the specified project. + /// Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// /// Name of the project scoping this request. public virtual AggregatedListRequest AggregatedList(string project) @@ -87262,7 +87663,8 @@ public virtual AggregatedListRequest AggregatedList(string project) } /// - /// Retrieves the list of all UrlMap resources, regional and global, available to the specified project. + /// Retrieves the list of all UrlMap resources, regional and global, available to the specified project. To + /// prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. /// public class AggregatedListRequest : ComputeBaseServiceRequest { @@ -87353,7 +87755,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -87840,7 +88243,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -88244,14 +88648,20 @@ public VpnGatewaysResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of VPN gateways. + /// + /// Retrieves an aggregated list of VPN gateways. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of VPN gateways. + /// + /// Retrieves an aggregated list of VPN gateways. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -88341,7 +88751,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -88856,7 +89267,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -89134,14 +89546,20 @@ public VpnTunnelsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves an aggregated list of VPN tunnels. + /// + /// Retrieves an aggregated list of VPN tunnels. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// /// Project ID for this request. public virtual AggregatedListRequest AggregatedList(string project) { return new AggregatedListRequest(this.service, project); } - /// Retrieves an aggregated list of VPN tunnels. + /// + /// Retrieves an aggregated list of VPN tunnels. To prevent failure, Google recommends that you set the + /// `returnPartialSuccess` parameter to `true`. + /// public class AggregatedListRequest : ComputeBaseServiceRequest { /// Constructs a new AggregatedList request. @@ -89231,7 +89649,8 @@ public AggregatedListRequest(Google.Apis.Services.IClientService service, string /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -89673,7 +90092,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -90190,7 +90610,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project, /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -90517,7 +90938,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string project) /// /// Opt-in for partial success behavior which provides partial results in case of failure. The default value - /// is false. + /// is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope + /// either returns all resources in the zone or no resources, with an error code. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -91849,7 +92271,7 @@ public class AttachedDiskInitializeParams : Google.Apis.Requests.IDirectResponse /// /// Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second - /// that the disk can handle. Values must be between 1 and 7,124. + /// that the disk can handle. Values must greater than or equal to 1. /// [Newtonsoft.Json.JsonPropertyAttribute("provisionedThroughput")] public virtual System.Nullable ProvisionedThroughput { get; set; } @@ -95579,7 +96001,7 @@ public class Disk : Google.Apis.Requests.IDirectResponseSchema /// /// Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second - /// that the disk can handle. Values must be between 1 and 7,124. + /// that the disk can handle. Values must be greater than or equal to 1. /// [Newtonsoft.Json.JsonPropertyAttribute("provisionedThroughput")] public virtual System.Nullable ProvisionedThroughput { get; set; } @@ -109046,6 +109468,13 @@ public class NetworkEndpoint : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("annotations")] public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// + /// Represents the port number to which PSC consumer sends packets. Only valid for network endpoint groups + /// created with CLIENT_PORT_PER_ENDPOINT mapping mode. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clientPort")] + public virtual System.Nullable ClientPort { get; set; } + /// /// Optional fully qualified domain name of network endpoint. This can only be specified when /// NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. @@ -109108,6 +109537,10 @@ public class NetworkEndpointGroup : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("appEngine")] public virtual NetworkEndpointGroupAppEngine AppEngine { get; set; } + /// Only valid when networkEndpointType is GCE_VM_IP_PORT and the NEG is regional. + [Newtonsoft.Json.JsonPropertyAttribute("clientPortMappingMode")] + public virtual string ClientPortMappingMode { get; set; } + /// /// Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be /// set. @@ -113054,6 +113487,13 @@ public class PreservedStatePreservedNetworkIpIpAddress : Google.Apis.Requests.ID /// public class Project : Google.Apis.Requests.IDirectResponseSchema { + /// + /// [Output Only] The Cloud Armor tier for this project. It can be one of the following values: CA_STANDARD, + /// CA_ENTERPRISE_PAYGO. If this field is not specified, it is assumed to be CA_STANDARD. + /// + [Newtonsoft.Json.JsonPropertyAttribute("cloudArmorTier")] + public virtual string CloudArmorTier { get; set; } + /// /// Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more /// information. @@ -113199,6 +113639,16 @@ public class ProjectsListXpnHostsRequest : Google.Apis.Requests.IDirectResponseS public virtual string ETag { get; set; } } + public class ProjectsSetCloudArmorTierRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Managed protection tier to be set. + [Newtonsoft.Json.JsonPropertyAttribute("cloudArmorTier")] + public virtual string CloudArmorTier { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class ProjectsSetDefaultNetworkTierRequest : Google.Apis.Requests.IDirectResponseSchema { /// Default network tier to be set. @@ -117851,6 +118301,9 @@ public class Scheduling : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("onHostMaintenance")] public virtual string OnHostMaintenance { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("onInstanceStopAction")] + public virtual SchedulingOnInstanceStopAction OnInstanceStopAction { get; set; } + /// /// Defines whether the instance is preemptible. This can only be set during instance creation or while the /// instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on @@ -117897,6 +118350,20 @@ public class SchedulingNodeAffinity : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Defines the behaviour for instances with the instance_termination_action STOP. + public class SchedulingOnInstanceStopAction : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be + /// preserved when the instance is stopped at the end of the run duration/termination time. + /// + [Newtonsoft.Json.JsonPropertyAttribute("discardLocalSsd")] + public virtual System.Nullable DiscardLocalSsd { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// An instance's screenshot. public class Screenshot : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj index 847f8107b4..560bd08e4f 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.beta Client Library - 1.66.0.3316 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,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 be01486ae3..3b0acf59d1 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 @@ -130,6 +130,8 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial VpnTunnels = new VpnTunnelsResource(this); ZoneOperations = new ZoneOperationsResource(this); Zones = new ZonesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://compute.googleapis.com/compute/v1/"); + BatchUri = GetEffectiveUri(null, "https://compute.googleapis.com/batch/compute/v1"); } /// Gets the service supported features. @@ -139,13 +141,13 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "compute"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://compute.googleapis.com/compute/v1/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "compute/v1/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://compute.googleapis.com/batch/compute/v1"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/compute/v1"; 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 07f854fe1e..074cec86be 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.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs index 9618c96aa7..80301fd632 100644 --- a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs +++ b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.cs @@ -35,6 +35,8 @@ public ConnectorsService() : this(new Google.Apis.Services.BaseClientService.Ini public ConnectorsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://connectors.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://connectors.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ConnectorsService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "connectors"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://connectors.googleapis.com/"; + 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 => "https://connectors.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj index f7543e458b..3c2dbcd6f4 100644 --- a/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj +++ b/Src/Generated/Google.Apis.Connectors.v1/Google.Apis.Connectors.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Connectors.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs index f72c6365c3..68407fe3e6 100644 --- a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs +++ b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.cs @@ -35,6 +35,8 @@ public ConnectorsService() : this(new Google.Apis.Services.BaseClientService.Ini public ConnectorsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://connectors.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://connectors.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ConnectorsService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "connectors"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://connectors.googleapis.com/"; + 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 => "https://connectors.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj index 6d020ee992..c5197f6272 100644 --- a/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj +++ b/Src/Generated/Google.Apis.Connectors.v2/Google.Apis.Connectors.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Connectors.v2 Client Library - 1.66.0.3268 + 1.67.0.3268 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs index fa9505b7dc..32646afd35 100644 --- a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs +++ b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs @@ -35,6 +35,8 @@ public ContactcenterinsightsService() : this(new Google.Apis.Services.BaseClient public ContactcenterinsightsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://contactcenterinsights.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://contactcenterinsights.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ContactcenterinsightsService(Google.Apis.Services.BaseClientService.Initi public override string Name => "contactcenterinsights"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://contactcenterinsights.googleapis.com/"; + 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 => "https://contactcenterinsights.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj index 6eebf0d220..fd93343cd3 100644 --- a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj +++ b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Contactcenterinsights.v1 Client Library - 1.66.0.3329 + 1.67.0.3329 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs index 887da8f059..c40192f545 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs @@ -35,6 +35,8 @@ public ContainerService() : this(new Google.Apis.Services.BaseClientService.Init public ContainerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://container.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://container.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ContainerService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "container"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://container.googleapis.com/"; + 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 => "https://container.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj index 3aaf49e3de..41aacf787c 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Container.v1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs index ab5b76e4f6..d414837fce 100644 --- a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs +++ b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs @@ -35,6 +35,8 @@ public ContainerService() : this(new Google.Apis.Services.BaseClientService.Init public ContainerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://container.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://container.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ContainerService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "container"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://container.googleapis.com/"; + 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 => "https://container.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj index 3a79c7d206..0d1d07540a 100644 --- a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Container.v1beta1 Client Library - 1.66.0.3302 + 1.67.0.3302 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.cs b/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.cs index 5c451389b9..9176f68b1f 100644 --- a/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.cs +++ b/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.cs @@ -35,6 +35,8 @@ public ContainerAnalysisService() : this(new Google.Apis.Services.BaseClientServ public ContainerAnalysisService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://containeranalysis.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://containeranalysis.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ContainerAnalysisService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "containeranalysis"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://containeranalysis.googleapis.com/"; + 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 => "https://containeranalysis.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.csproj b/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.csproj index 5d3bac659f..64ab39ab6f 100644 --- a/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.csproj +++ b/Src/Generated/Google.Apis.ContainerAnalysis.v1/Google.Apis.ContainerAnalysis.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ContainerAnalysis.v1 Client Library - 1.66.0.3291 + 1.67.0.3291 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.cs b/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.cs index 70f8391e87..5403072860 100644 --- a/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.cs +++ b/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.cs @@ -36,6 +36,8 @@ public ContainerAnalysisService(Google.Apis.Services.BaseClientService.Initializ { Projects = new ProjectsResource(this); Providers = new ProvidersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://containeranalysis.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://containeranalysis.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ContainerAnalysisService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "containeranalysis"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://containeranalysis.googleapis.com/"; + 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 => "https://containeranalysis.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.csproj b/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.csproj index 7fc0ed0cfb..ad6eedcafd 100644 --- a/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.ContainerAnalysis.v1alpha1/Google.Apis.ContainerAnalysis.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.ContainerAnalysis.v1alpha1 Client Library - 1.66.0.3291 + 1.67.0.3291 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.cs b/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.cs index a7c901e5f6..19caff4b63 100644 --- a/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.cs +++ b/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.cs @@ -35,6 +35,8 @@ public ContainerAnalysisService() : this(new Google.Apis.Services.BaseClientServ public ContainerAnalysisService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://containeranalysis.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://containeranalysis.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ContainerAnalysisService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "containeranalysis"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://containeranalysis.googleapis.com/"; + 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 => "https://containeranalysis.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.csproj b/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.csproj index efefb58b5b..84229f9a9a 100644 --- a/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ContainerAnalysis.v1beta1/Google.Apis.ContainerAnalysis.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ContainerAnalysis.v1beta1 Client Library - 1.66.0.3291 + 1.67.0.3291 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.cs b/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.cs index 5576d6cbe0..d8fa9008bf 100644 --- a/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.cs +++ b/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.cs @@ -35,6 +35,8 @@ public CustomSearchAPIService() : this(new Google.Apis.Services.BaseClientServic public CustomSearchAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Cse = new CseResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://customsearch.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://customsearch.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public CustomSearchAPIService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "customsearch"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://customsearch.googleapis.com/"; + 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 => "https://customsearch.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.csproj b/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.csproj index bf8e4008be..401d4dca50 100644 --- a/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.csproj +++ b/Src/Generated/Google.Apis.CustomSearchAPI.v1/Google.Apis.CustomSearchAPI.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CustomSearchAPI.v1 Client Library - 1.66.0.3290 + 1.67.0.3290 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs index d2eee4f54a..00b30c393c 100644 --- a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs +++ b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.cs @@ -38,6 +38,8 @@ public DLPService(Google.Apis.Services.BaseClientService.Initializer initializer Locations = new LocationsResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dlp.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dlp.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public DLPService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "dlp"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dlp.googleapis.com/"; + 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 => "https://dlp.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj index 4a961388c7..a98a1a7279 100644 --- a/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj +++ b/Src/Generated/Google.Apis.DLP.v2/Google.Apis.DLP.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DLP.v2 Client Library - 1.66.0.3321 + 1.67.0.3321 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs index e6e30fff0b..33fef6f0f6 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs +++ b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.cs @@ -37,6 +37,8 @@ public DataCatalogService(Google.Apis.Services.BaseClientService.Initializer ini Catalog = new CatalogResource(this); Entries = new EntriesResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datacatalog.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datacatalog.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public DataCatalogService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "datacatalog"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datacatalog.googleapis.com/"; + 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 => "https://datacatalog.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj index 1f3b037837..354156a9e0 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj +++ b/Src/Generated/Google.Apis.DataCatalog.v1/Google.Apis.DataCatalog.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataCatalog.v1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs index 1bcbd48f0b..3fad212650 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs +++ b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.cs @@ -37,6 +37,8 @@ public DataCatalogService(Google.Apis.Services.BaseClientService.Initializer ini Catalog = new CatalogResource(this); Entries = new EntriesResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datacatalog.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datacatalog.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public DataCatalogService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "datacatalog"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datacatalog.googleapis.com/"; + 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 => "https://datacatalog.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj index eab7c86fc0..c8c06d9b88 100644 --- a/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj +++ b/Src/Generated/Google.Apis.DataCatalog.v1beta1/Google.Apis.DataCatalog.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataCatalog.v1beta1 Client Library - 1.66.0.3323 + 1.67.0.3323 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.cs b/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.cs index 58ddcacd93..167fe9001a 100644 --- a/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.cs +++ b/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.cs @@ -35,6 +35,8 @@ public DataFusionService() : this(new Google.Apis.Services.BaseClientService.Ini public DataFusionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datafusion.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datafusion.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DataFusionService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "datafusion"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datafusion.googleapis.com/"; + 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 => "https://datafusion.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.csproj b/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.csproj index d926640ea9..07878f5eca 100644 --- a/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.csproj +++ b/Src/Generated/Google.Apis.DataFusion.v1/Google.Apis.DataFusion.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataFusion.v1 Client Library - 1.66.0.3297 + 1.67.0.3297 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.cs b/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.cs index 293820a454..27a4de0ba8 100644 --- a/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.cs +++ b/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.cs @@ -35,6 +35,8 @@ public DataFusionService() : this(new Google.Apis.Services.BaseClientService.Ini public DataFusionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datafusion.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datafusion.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DataFusionService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "datafusion"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datafusion.googleapis.com/"; + 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 => "https://datafusion.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.csproj b/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.csproj index 4a0ab46ec5..9d2cbe1a0c 100644 --- a/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.csproj +++ b/Src/Generated/Google.Apis.DataFusion.v1beta1/Google.Apis.DataFusion.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataFusion.v1beta1 Client Library - 1.66.0.3297 + 1.67.0.3297 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.cs b/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.cs index def8c45031..c6eea243a7 100644 --- a/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.cs +++ b/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.cs @@ -35,6 +35,8 @@ public DataLabelingService() : this(new Google.Apis.Services.BaseClientService.I public DataLabelingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datalabeling.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datalabeling.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DataLabelingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "datalabeling"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datalabeling.googleapis.com/"; + 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 => "https://datalabeling.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.csproj b/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.csproj index f7ccdda8f5..c9f51528ec 100644 --- a/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.csproj +++ b/Src/Generated/Google.Apis.DataLabeling.v1beta1/Google.Apis.DataLabeling.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataLabeling.v1beta1 Client Library - 1.66.0.3195 + 1.67.0.3195 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.cs b/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.cs index e69b3b8086..63014eb041 100644 --- a/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.cs +++ b/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.cs @@ -37,6 +37,8 @@ public DataPortabilityService(Google.Apis.Services.BaseClientService.Initializer ArchiveJobs = new ArchiveJobsResource(this); Authorization = new AuthorizationResource(this); PortabilityArchive = new PortabilityArchiveResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dataportability.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dataportability.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public DataPortabilityService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "dataportability"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dataportability.googleapis.com/"; + 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 => "https://dataportability.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -432,10 +434,10 @@ public ArchiveJobsResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Retrieves the state of a Takeout Archive job for the Portability API. + /// Retrieves the state of an Archive job for the Portability API. /// - /// Required. The archive job ID that is returned when you request the state of the job from Takeout. The format - /// is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the + /// Required. The archive job ID that is returned when you request the state of the job. The format is: + /// archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the /// InitiatePortabilityArchiveResponse. /// public virtual GetPortabilityArchiveStateRequest GetPortabilityArchiveState(string name) @@ -443,7 +445,7 @@ public virtual GetPortabilityArchiveStateRequest GetPortabilityArchiveState(stri return new GetPortabilityArchiveStateRequest(this.service, name); } - /// Retrieves the state of a Takeout Archive job for the Portability API. + /// Retrieves the state of an Archive job for the Portability API. public class GetPortabilityArchiveStateRequest : DataPortabilityBaseServiceRequest { /// Constructs a new GetPortabilityArchiveState request. @@ -454,8 +456,8 @@ public GetPortabilityArchiveStateRequest(Google.Apis.Services.IClientService ser } /// - /// Required. The archive job ID that is returned when you request the state of the job from Takeout. The - /// format is: archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the + /// Required. The archive job ID that is returned when you request the state of the job. The format is: + /// archiveJobs/{archive_job}/portabilityArchiveState. archive_job is the job ID returned by the /// InitiatePortabilityArchiveResponse. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] @@ -488,8 +490,8 @@ protected override void InitParameters() /// Retries a failed Portability Archive job. /// The body of the request. /// - /// Required. The archive job ID returned by the InitiatePortabilityArchiveResponse to be retried. Retrying is - /// only executed if the initial job failed. + /// Required. The Archive job ID you're retrying. This is returned by the InitiatePortabilityArchiveResponse. + /// Retrying is only executed if the initial job failed. /// public virtual RetryRequest Retry(Google.Apis.DataPortability.v1beta.Data.RetryPortabilityArchiveRequest body, string name) { @@ -508,8 +510,8 @@ public RetryRequest(Google.Apis.Services.IClientService service, Google.Apis.Dat } /// - /// Required. The archive job ID returned by the InitiatePortabilityArchiveResponse to be retried. Retrying - /// is only executed if the initial job failed. + /// Required. The Archive job ID you're retrying. This is returned by the + /// InitiatePortabilityArchiveResponse. Retrying is only executed if the initial job failed. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -561,9 +563,9 @@ public AuthorizationResource(Google.Apis.Services.IClientService service) /// /// Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate - /// a Takeout request after a new consent is granted. This method also indicates that previous archives can be - /// garbage collected. You should call this method when all jobs are complete and all archives are downloaded. - /// Do not call it only when you start a new job. + /// a request after a new consent is granted. This method also indicates that previous archives can be garbage + /// collected. You should call this method when all jobs are complete and all archives are downloaded. Do not + /// call it only when you start a new job. /// /// The body of the request. public virtual ResetRequest Reset(Google.Apis.DataPortability.v1beta.Data.ResetAuthorizationRequest body) @@ -573,9 +575,9 @@ public virtual ResetRequest Reset(Google.Apis.DataPortability.v1beta.Data.ResetA /// /// Revokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate - /// a Takeout request after a new consent is granted. This method also indicates that previous archives can be - /// garbage collected. You should call this method when all jobs are complete and all archives are downloaded. - /// Do not call it only when you start a new job. + /// a request after a new consent is granted. This method also indicates that previous archives can be garbage + /// collected. You should call this method when all jobs are complete and all archives are downloaded. Do not + /// call it only when you start a new job. /// public class ResetRequest : DataPortabilityBaseServiceRequest { @@ -623,14 +625,14 @@ public PortabilityArchiveResource(Google.Apis.Services.IClientService service) this.service = service; } - /// Initiates a new Takeout Archive job for the Portability API. + /// Initiates a new Archive job for the Portability API. /// The body of the request. public virtual InitiateRequest Initiate(Google.Apis.DataPortability.v1beta.Data.InitiatePortabilityArchiveRequest body) { return new InitiateRequest(this.service, body); } - /// Initiates a new Takeout Archive job for the Portability API. + /// Initiates a new Archive job for the Portability API. public class InitiateRequest : DataPortabilityBaseServiceRequest { /// Constructs a new Initiate request. @@ -676,7 +678,7 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Request to kick off a Takeout Archive job. + /// Request to kick off an Archive job. public class InitiatePortabilityArchiveRequest : Google.Apis.Requests.IDirectResponseSchema { /// @@ -690,11 +692,11 @@ public class InitiatePortabilityArchiveRequest : Google.Apis.Requests.IDirectRes public virtual string ETag { get; set; } } - /// Response from initiating a Take Archive job. + /// Response from initiating an Archive job. public class InitiatePortabilityArchiveResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// The archive job ID that is initiated in the Takeout API. This can be used to get the state of the job. + /// The archive job ID that is initiated in the API. This can be used to get the state of the job. /// [Newtonsoft.Json.JsonPropertyAttribute("archiveJobId")] public virtual string ArchiveJobId { get; set; } @@ -703,7 +705,7 @@ public class InitiatePortabilityArchiveResponse : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } - /// Resource that contains the state of a Takeout Archive job. + /// Resource that contains the state of an Archive job. public class PortabilityArchiveState : Google.Apis.Requests.IDirectResponseSchema { /// @@ -713,7 +715,7 @@ public class PortabilityArchiveState : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } - /// Resource that represents the state of the Takeout Archive job. + /// Resource that represents the state of the Archive job. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } @@ -745,7 +747,8 @@ public class RetryPortabilityArchiveRequest : Google.Apis.Requests.IDirectRespon public class RetryPortabilityArchiveResponse : Google.Apis.Requests.IDirectResponseSchema { /// - /// The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new job + /// The archive job ID that is initiated by the retry endpoint. This can be used to get the state of the new + /// job. /// [Newtonsoft.Json.JsonPropertyAttribute("archiveJobId")] public virtual string ArchiveJobId { get; set; } diff --git a/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.csproj b/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.csproj index 672bff4969..4070369075 100644 --- a/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.csproj +++ b/Src/Generated/Google.Apis.DataPortability.v1beta/Google.Apis.DataPortability.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.DataPortability.v1beta Client Library - 1.66.0.3330 + 1.67.0.3338 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs index 5c6cde7299..f66c66bef6 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.cs @@ -35,6 +35,8 @@ public DatabaseMigrationServiceService() : this(new Google.Apis.Services.BaseCli public DatabaseMigrationServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datamigration.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datamigration.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatabaseMigrationServiceService(Google.Apis.Services.BaseClientService.In public override string Name => "datamigration"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datamigration.googleapis.com/"; + 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 => "https://datamigration.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj index 7229fe3e83..b6141c54eb 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1/Google.Apis.DatabaseMigrationService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DatabaseMigrationService.v1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.cs b/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.cs index ac8bc44de2..8cd3bd5ba3 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.cs +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.cs @@ -35,6 +35,8 @@ public DatabaseMigrationServiceService() : this(new Google.Apis.Services.BaseCli public DatabaseMigrationServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datamigration.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datamigration.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatabaseMigrationServiceService(Google.Apis.Services.BaseClientService.In public override string Name => "datamigration"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datamigration.googleapis.com/"; + 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 => "https://datamigration.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.csproj b/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.csproj index 252f06407e..2c5162ea23 100644 --- a/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.csproj +++ b/Src/Generated/Google.Apis.DatabaseMigrationService.v1beta1/Google.Apis.DatabaseMigrationService.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.DatabaseMigrationService.v1beta1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs index 8172e2cc26..fb09e5af1b 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs @@ -35,6 +35,8 @@ public DataflowService() : this(new Google.Apis.Services.BaseClientService.Initi public DataflowService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dataflow.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dataflow.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DataflowService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "dataflow"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dataflow.googleapis.com/"; + 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 => "https://dataflow.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj index 74ec384a1b..ac62ad5c53 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataflow.v1b3 Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs index da7360afd8..08f7358698 100644 --- a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs +++ b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs @@ -35,6 +35,8 @@ public DataformService() : this(new Google.Apis.Services.BaseClientService.Initi 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. @@ -44,13 +46,13 @@ public DataformService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "dataform"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dataform.googleapis.com/"; + 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 => "https://dataform.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj index fe0f9ef07a..d619ca21b6 100644 --- a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataform.v1beta1 Client Library - 1.66.0.3320 + 1.67.0.3320 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.cs b/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.cs index 9367da0b36..0f9a09dda6 100644 --- a/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.cs +++ b/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.cs @@ -35,6 +35,8 @@ public DatapipelinesService() : this(new Google.Apis.Services.BaseClientService. public DatapipelinesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datapipelines.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datapipelines.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatapipelinesService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "datapipelines"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datapipelines.googleapis.com/"; + 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 => "https://datapipelines.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.csproj b/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.csproj index 841030c548..cdf327fae5 100644 --- a/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.csproj +++ b/Src/Generated/Google.Apis.Datapipelines.v1/Google.Apis.Datapipelines.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Datapipelines.v1 Client Library - 1.66.0.2900 + 1.67.0.2900 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs index e37bdcaa28..8fcae3f944 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs +++ b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.cs @@ -35,6 +35,8 @@ public DataprocService() : this(new Google.Apis.Services.BaseClientService.Initi public DataprocService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dataproc.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dataproc.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DataprocService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "dataproc"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dataproc.googleapis.com/"; + 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 => "https://dataproc.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj index 071f969f74..43c74450c4 100644 --- a/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj +++ b/Src/Generated/Google.Apis.Dataproc.v1/Google.Apis.Dataproc.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataproc.v1 Client Library - 1.66.0.3326 + 1.67.0.3326 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs index 863f99a1a1..c70f125302 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs +++ b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.cs @@ -35,6 +35,8 @@ public DatastoreService() : this(new Google.Apis.Services.BaseClientService.Init public DatastoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datastore.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datastore.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatastoreService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "datastore"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datastore.googleapis.com/"; + 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 => "https://datastore.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.csproj b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.csproj index 1cbde0f357..07bbc62063 100644 --- a/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1/Google.Apis.Datastore.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Datastore.v1 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs index 36fc895a32..fe80846dd1 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.cs @@ -35,6 +35,8 @@ public DatastoreService() : this(new Google.Apis.Services.BaseClientService.Init public DatastoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datastore.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datastore.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatastoreService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "datastore"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datastore.googleapis.com/"; + 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 => "https://datastore.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.csproj b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.csproj index 0fde9abd16..8a274bcbdc 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta1/Google.Apis.Datastore.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Datastore.v1beta1 Client Library - 1.66.0.3139 + 1.67.0.3139 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs index 24687802fa..02c3d4037f 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.cs @@ -35,6 +35,8 @@ public DatastoreService() : this(new Google.Apis.Services.BaseClientService.Init public DatastoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datastore.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datastore.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatastoreService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "datastore"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datastore.googleapis.com/"; + 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 => "https://datastore.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.csproj b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.csproj index e72b18162c..5dd81ec832 100644 --- a/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.csproj +++ b/Src/Generated/Google.Apis.Datastore.v1beta3/Google.Apis.Datastore.v1beta3.csproj @@ -3,7 +3,7 @@ Google.Apis.Datastore.v1beta3 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.cs b/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.cs index e95915bcd1..ce41c8671d 100644 --- a/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.cs +++ b/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.cs @@ -35,6 +35,8 @@ public DatastreamService() : this(new Google.Apis.Services.BaseClientService.Ini public DatastreamService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datastream.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datastream.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatastreamService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "datastream"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datastream.googleapis.com/"; + 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 => "https://datastream.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.csproj b/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.csproj index 2bebc4bded..083ddebdb1 100644 --- a/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.csproj +++ b/Src/Generated/Google.Apis.Datastream.v1/Google.Apis.Datastream.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Datastream.v1 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.cs b/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.cs index 989f26c89f..be556cc34e 100644 --- a/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.cs +++ b/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.cs @@ -35,6 +35,8 @@ public DatastreamService() : this(new Google.Apis.Services.BaseClientService.Ini public DatastreamService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://datastream.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://datastream.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DatastreamService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "datastream"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://datastream.googleapis.com/"; + 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 => "https://datastream.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.csproj b/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.csproj index f28f958273..21f9389ed8 100644 --- a/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Datastream.v1alpha1/Google.Apis.Datastream.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.Datastream.v1alpha1 Client Library - 1.66.0.3135 + 1.67.0.3135 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs index 662c4b3c34..9b9d369ff2 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.cs @@ -41,6 +41,8 @@ public DeploymentManagerService(Google.Apis.Services.BaseClientService.Initializ Resources = new ResourcesResource(this); TypeProviders = new TypeProvidersResource(this); Types = new TypesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://deploymentmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://deploymentmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -50,13 +52,13 @@ public DeploymentManagerService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "deploymentmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://deploymentmanager.googleapis.com/"; + 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 => "https://deploymentmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj index 1d26e8eaed..37e6637024 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.alpha/Google.Apis.DeploymentManager.alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.DeploymentManager.alpha Client Library - 1.66.0.3331 + 1.67.0.3331 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs index a7df824217..dcf3c8cfd2 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.cs @@ -39,6 +39,8 @@ public DeploymentManagerService(Google.Apis.Services.BaseClientService.Initializ Operations = new OperationsResource(this); Resources = new ResourcesResource(this); Types = new TypesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://deploymentmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://deploymentmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public DeploymentManagerService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "deploymentmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://deploymentmanager.googleapis.com/"; + 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 => "https://deploymentmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj index 8c118048e3..078fdba588 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.v2/Google.Apis.DeploymentManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DeploymentManager.v2 Client Library - 1.66.0.3331 + 1.67.0.3331 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs index 30050c063f..f49c57bea5 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs +++ b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.cs @@ -41,6 +41,8 @@ public DeploymentManagerService(Google.Apis.Services.BaseClientService.Initializ Resources = new ResourcesResource(this); TypeProviders = new TypeProvidersResource(this); Types = new TypesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://deploymentmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://deploymentmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -50,13 +52,13 @@ public DeploymentManagerService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "deploymentmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://deploymentmanager.googleapis.com/"; + 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 => "https://deploymentmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj index 808a393aa8..e5897512b5 100644 --- a/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj +++ b/Src/Generated/Google.Apis.DeploymentManager.v2beta/Google.Apis.DeploymentManager.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.DeploymentManager.v2beta Client Library - 1.66.0.3331 + 1.67.0.3331 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.cs b/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.cs index 871cb63ee9..8deb06c5e7 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.cs +++ b/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.cs @@ -35,6 +35,8 @@ public DfareportingService() : this(new Google.Apis.Services.BaseClientService.I public DfareportingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Media = new MediaResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dfareporting.googleapis.com/dfareporting/v3.5/"); + BatchUri = GetEffectiveUri(null, "https://dfareporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DfareportingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "dfareporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dfareporting.googleapis.com/dfareporting/v3.5/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "dfareporting/v3.5/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://dfareporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.csproj b/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.csproj index b87a94cffb..f864897381 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.csproj +++ b/Src/Generated/Google.Apis.Dfareporting.v3_5/Google.Apis.Dfareporting.v3_5.csproj @@ -3,7 +3,7 @@ Google.Apis.Dfareporting.v3_5 Client Library - 1.66.0.3064 + 1.67.0.3064 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.cs b/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.cs index b4392eb70d..b60f46bc45 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.cs +++ b/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.cs @@ -97,6 +97,8 @@ public DfareportingService(Google.Apis.Services.BaseClientService.Initializer in UserRolePermissions = new UserRolePermissionsResource(this); UserRoles = new UserRolesResource(this); VideoFormats = new VideoFormatsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dfareporting.googleapis.com/dfareporting/v4/"); + BatchUri = GetEffectiveUri(null, "https://dfareporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -106,13 +108,13 @@ public DfareportingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "dfareporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dfareporting.googleapis.com/dfareporting/v4/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "dfareporting/v4/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://dfareporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.csproj b/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.csproj index 0d5739ba8a..5353b000e6 100644 --- a/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.csproj +++ b/Src/Generated/Google.Apis.Dfareporting.v4/Google.Apis.Dfareporting.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.Dfareporting.v4 Client Library - 1.66.0.3318 + 1.67.0.3318 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs index 909cef0464..38b4db3fab 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs @@ -35,6 +35,8 @@ public DialogflowService() : this(new Google.Apis.Services.BaseClientService.Ini public DialogflowService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dialogflow.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dialogflow.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DialogflowService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "dialogflow"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dialogflow.googleapis.com/"; + 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 => "https://dialogflow.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj index 9ac5d6a5c6..9584c56bbb 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs index 958a85f301..7c9c70bd50 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs @@ -35,6 +35,8 @@ public DialogflowService() : this(new Google.Apis.Services.BaseClientService.Ini public DialogflowService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dialogflow.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dialogflow.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DialogflowService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "dialogflow"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dialogflow.googleapis.com/"; + 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 => "https://dialogflow.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj index 77f4b87b2d..fc217f55d1 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2beta1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs index a6512b8584..fedd5e3d86 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs @@ -35,6 +35,8 @@ public DialogflowService() : this(new Google.Apis.Services.BaseClientService.Ini public DialogflowService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dialogflow.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dialogflow.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DialogflowService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "dialogflow"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dialogflow.googleapis.com/"; + 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 => "https://dialogflow.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; @@ -10749,6 +10751,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } + /// The affected language code of the change. + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + /// /// The unique identifier of the changelog. Format: `projects//locations//agents//changelogs/`. /// diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj index 81e8885c19..d1b3ea47fc 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3 Client Library - 1.66.0.3317 + 1.67.0.3336 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs index f3479e8436..acbdc51974 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs @@ -35,6 +35,8 @@ public DialogflowService() : this(new Google.Apis.Services.BaseClientService.Ini public DialogflowService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dialogflow.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dialogflow.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DialogflowService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "dialogflow"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dialogflow.googleapis.com/"; + 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 => "https://dialogflow.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj index ccb9192a2c..449e2da0fb 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3beta1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.cs b/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.cs index a46ff44241..f9a1447fa9 100644 --- a/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.cs +++ b/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.cs @@ -36,6 +36,8 @@ public DigitalassetlinksService(Google.Apis.Services.BaseClientService.Initializ { Assetlinks = new AssetlinksResource(this); Statements = new StatementsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://digitalassetlinks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://digitalassetlinks.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public DigitalassetlinksService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "digitalassetlinks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://digitalassetlinks.googleapis.com/"; + 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 => "https://digitalassetlinks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.csproj b/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.csproj index 2f9978e076..a6dbe8c988 100644 --- a/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.csproj +++ b/Src/Generated/Google.Apis.Digitalassetlinks.v1/Google.Apis.Digitalassetlinks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Digitalassetlinks.v1 Client Library - 1.66.0.2578 + 1.67.0.2578 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs index 5cf29b66cc..01f21e3dd7 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs +++ b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.cs @@ -35,6 +35,8 @@ public DiscoveryService() : this(new Google.Apis.Services.BaseClientService.Init public DiscoveryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Apis = new ApisResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/discovery/v1/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/discovery/v1"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DiscoveryService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "discovery"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/discovery/v1/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "discovery/v1/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/discovery/v1"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/discovery/v1"; diff --git a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.csproj b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.csproj index 8bdc52b2fa..c9da46a11d 100644 --- a/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.csproj +++ b/Src/Generated/Google.Apis.Discovery.v1/Google.Apis.Discovery.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Discovery.v1 Client Library - 1.66.0.0 + 1.67.0.0 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + 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 9bfb532988..2c37821493 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 @@ -36,6 +36,8 @@ public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer { Locations = new LocationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://discoveryengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://discoveryengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "discoveryengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://discoveryengine.googleapis.com/"; + 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 => "https://discoveryengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 932795ac7a..33d6768e1e 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.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + 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 48367b8689..841682a88b 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 @@ -35,6 +35,8 @@ public DiscoveryEngineService() : this(new Google.Apis.Services.BaseClientServic public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://discoveryengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://discoveryengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "discoveryengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://discoveryengine.googleapis.com/"; + 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 => "https://discoveryengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 e66e350687..36f3466ba1 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.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs b/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs deleted file mode 100644 index c8dfdb076f..0000000000 --- a/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.cs +++ /dev/null @@ -1,27374 +0,0 @@ -// Copyright 2024 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.DisplayVideo.v1 -{ - /// The DisplayVideo Service. - public class DisplayVideoService : 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 DisplayVideoService() : this(new Google.Apis.Services.BaseClientService.Initializer()) - { - } - - /// Constructs a new service. - /// The service initializer. - public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) - { - Advertisers = new AdvertisersResource(this); - CombinedAudiences = new CombinedAudiencesResource(this); - CustomBiddingAlgorithms = new CustomBiddingAlgorithmsResource(this); - CustomLists = new CustomListsResource(this); - FirstAndThirdPartyAudiences = new FirstAndThirdPartyAudiencesResource(this); - FloodlightGroups = new FloodlightGroupsResource(this); - GoogleAudiences = new GoogleAudiencesResource(this); - GuaranteedOrders = new GuaranteedOrdersResource(this); - InventorySourceGroups = new InventorySourceGroupsResource(this); - InventorySources = new InventorySourcesResource(this); - Media = new MediaResource(this); - Partners = new PartnersResource(this); - Sdfdownloadtasks = new SdfdownloadtasksResource(this); - TargetingTypes = new TargetingTypesResource(this); - Users = new UsersResource(this); - } - - /// Gets the service supported features. - public override System.Collections.Generic.IList Features => new string[0]; - - /// Gets the service name. - public override string Name => "displayvideo"; - - /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://displayvideo.googleapis.com/"; - - /// Gets the service base path. - public override string BasePath => ""; - - /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://displayvideo.googleapis.com/batch"; - - /// Gets the batch base path; null if unspecified. - public override string BatchPath => "batch"; - - /// Available OAuth 2.0 scopes for use with the Display & Video 360 API. - public class Scope - { - /// - /// Create, see, edit, and permanently delete your Display &amp; Video 360 entities and reports - /// - public static string DisplayVideo = "https://www.googleapis.com/auth/display-video"; - - /// - /// Create, see, and edit Display &amp; Video 360 Campaign entities and see billing invoices - /// - public static string DisplayVideoMediaplanning = "https://www.googleapis.com/auth/display-video-mediaplanning"; - - /// Private Service: https://www.googleapis.com/auth/display-video-user-management - public static string DisplayVideoUserManagement = "https://www.googleapis.com/auth/display-video-user-management"; - - /// View and manage your reports in DoubleClick Bid Manager - public static string Doubleclickbidmanager = "https://www.googleapis.com/auth/doubleclickbidmanager"; - } - - /// Available OAuth 2.0 scope constants for use with the Display & Video 360 API. - public static class ScopeConstants - { - /// - /// Create, see, edit, and permanently delete your Display &amp; Video 360 entities and reports - /// - public const string DisplayVideo = "https://www.googleapis.com/auth/display-video"; - - /// - /// Create, see, and edit Display &amp; Video 360 Campaign entities and see billing invoices - /// - public const string DisplayVideoMediaplanning = "https://www.googleapis.com/auth/display-video-mediaplanning"; - - /// Private Service: https://www.googleapis.com/auth/display-video-user-management - public const string DisplayVideoUserManagement = "https://www.googleapis.com/auth/display-video-user-management"; - - /// View and manage your reports in DoubleClick Bid Manager - public const string Doubleclickbidmanager = "https://www.googleapis.com/auth/doubleclickbidmanager"; - } - - /// Gets the Advertisers resource. - public virtual AdvertisersResource Advertisers { get; } - - /// Gets the CombinedAudiences resource. - public virtual CombinedAudiencesResource CombinedAudiences { get; } - - /// Gets the CustomBiddingAlgorithms resource. - public virtual CustomBiddingAlgorithmsResource CustomBiddingAlgorithms { get; } - - /// Gets the CustomLists resource. - public virtual CustomListsResource CustomLists { get; } - - /// Gets the FirstAndThirdPartyAudiences resource. - public virtual FirstAndThirdPartyAudiencesResource FirstAndThirdPartyAudiences { get; } - - /// Gets the FloodlightGroups resource. - public virtual FloodlightGroupsResource FloodlightGroups { get; } - - /// Gets the GoogleAudiences resource. - public virtual GoogleAudiencesResource GoogleAudiences { get; } - - /// Gets the GuaranteedOrders resource. - public virtual GuaranteedOrdersResource GuaranteedOrders { get; } - - /// Gets the InventorySourceGroups resource. - public virtual InventorySourceGroupsResource InventorySourceGroups { get; } - - /// Gets the InventorySources resource. - public virtual InventorySourcesResource InventorySources { get; } - - /// Gets the Media resource. - public virtual MediaResource Media { get; } - - /// Gets the Partners resource. - public virtual PartnersResource Partners { get; } - - /// Gets the Sdfdownloadtasks resource. - public virtual SdfdownloadtasksResource Sdfdownloadtasks { get; } - - /// Gets the TargetingTypes resource. - public virtual TargetingTypesResource TargetingTypes { get; } - - /// Gets the Users resource. - public virtual UsersResource Users { get; } - } - - /// A base abstract class for DisplayVideo requests. - public abstract class DisplayVideoBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest - { - /// Constructs a new DisplayVideoBaseServiceRequest instance. - protected DisplayVideoBaseServiceRequest(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 DisplayVideo 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 "advertisers" collection of methods. - public class AdvertisersResource - { - private const string Resource = "advertisers"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AdvertisersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Assets = new AssetsResource(service); - Campaigns = new CampaignsResource(service); - Channels = new ChannelsResource(service); - Creatives = new CreativesResource(service); - InsertionOrders = new InsertionOrdersResource(service); - Invoices = new InvoicesResource(service); - LineItems = new LineItemsResource(service); - LocationLists = new LocationListsResource(service); - ManualTriggers = new ManualTriggersResource(service); - NegativeKeywordLists = new NegativeKeywordListsResource(service); - TargetingTypes = new TargetingTypesResource(service); - } - - /// Gets the Assets resource. - public virtual AssetsResource Assets { get; } - - /// The "assets" collection of methods. - public class AssetsResource - { - private const string Resource = "assets"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssetsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should - /// be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the - /// [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using - /// provided client libraries can be found in our [Creating Creatives - /// guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset). - /// - /// The body of the request. - /// Required. The ID of the advertiser this asset belongs to. - public virtual UploadRequest Upload(Google.Apis.DisplayVideo.v1.Data.CreateAssetRequest body, long advertiserId) - { - return new UploadRequest(this.service, body, advertiserId); - } - - /// - /// Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should - /// be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the - /// [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using - /// provided client libraries can be found in our [Creating Creatives - /// guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset). - /// - public class UploadRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Upload request. - public UploadRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CreateAssetRequest body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser this asset belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.CreateAssetRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "upload"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/assets"; - - /// Initializes Upload parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should - /// be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the - /// [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using - /// provided client libraries can be found in our [Creating Creatives - /// guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset). - /// - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before - /// reading commences. If is not seekable, then it will be read from its current - /// position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - /// The body of the request. - /// Required. The ID of the advertiser this asset belongs to. - /// The stream to upload. See remarks for further information. - /// The content type of the stream to upload. - public virtual UploadMediaUpload Upload(Google.Apis.DisplayVideo.v1.Data.CreateAssetRequest body, long advertiserId, System.IO.Stream stream, string contentType) - { - return new UploadMediaUpload(service, body, advertiserId, stream, contentType); - } - - /// Upload media upload which supports resumable upload. - public class UploadMediaUpload : Google.Apis.Upload.ResumableUpload - { - /// 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; } - - /// Required. The ID of the advertiser this asset belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Constructs a new Upload media upload instance. - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before - /// reading commences. If is not seekable, then it will be read from its - /// current position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is - /// completed - /// - /// - /// - /// Caller is responsible for closing the - /// - /// - /// - public UploadMediaUpload(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CreateAssetRequest body, long advertiserId, System.IO.Stream stream, string contentType) - : base(service, string.Format("/{0}/{1}{2}", "upload", service.BasePath, "v1/advertisers/{+advertiserId}/assets"), "POST", stream, contentType) - { - AdvertiserId = advertiserId; - Body = body; - } - } - } - - /// Gets the Campaigns resource. - public virtual CampaignsResource Campaigns { get; } - - /// The "campaigns" collection of methods. - public class CampaignsResource - { - private const string Resource = "campaigns"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public CampaignsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - TargetingTypes = new TargetingTypesResource(service); - } - - /// Gets the TargetingTypes resource. - public virtual TargetingTypesResource TargetingTypes { get; } - - /// The "targetingTypes" collection of methods. - public class TargetingTypesResource - { - private const string Resource = "targetingTypes"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingTypesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedTargetingOptions = new AssignedTargetingOptionsResource(service); - } - - /// Gets the AssignedTargetingOptions resource. - public virtual AssignedTargetingOptionsResource AssignedTargetingOptions { get; } - - /// The "assignedTargetingOptions" collection of methods. - public class AssignedTargetingOptionsResource - { - private const string Resource = "assignedTargetingOptions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedTargetingOptionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a single targeting option assigned to a campaign. - /// Required. The ID of the advertiser the campaign belongs to. - /// - /// Required. The ID of the campaign the assigned targeting option belongs to. - /// - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` - /// - /// - /// Required. An identifier unique to the targeting type in this campaign that identifies the - /// assigned targeting option being requested. - /// - public virtual GetRequest Get(long advertiserId, long campaignId, GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new GetRequest(this.service, advertiserId, campaignId, targetingType, assignedTargetingOptionId); - } - - /// Gets a single targeting option assigned to a campaign. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long campaignId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - AdvertiserId = advertiserId; - CampaignId = campaignId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the advertiser the campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the campaign the assigned targeting option belongs to. - /// - [Google.Apis.Util.RequestParameterAttribute("campaignId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CampaignId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: - /// * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: - /// * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Required. An identifier unique to the targeting type in this campaign that identifies the - /// assigned targeting option being requested. - /// - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("campaignId", new Google.Apis.Discovery.Parameter - { - Name = "campaignId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists the targeting options assigned to a campaign for a specified targeting type. - /// - /// Required. The ID of the advertiser the campaign belongs to. - /// - /// Required. The ID of the campaign to list assigned targeting options for. - /// - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: - /// * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` - /// - public virtual ListRequest List(long advertiserId, long campaignId, ListRequest.TargetingTypeEnum targetingType) - { - return new ListRequest(this.service, advertiserId, campaignId, targetingType); - } - - /// - /// Lists the targeting options assigned to a campaign for a specified targeting type. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, long campaignId, TargetingTypeEnum targetingType) : base(service) - { - AdvertiserId = advertiserId; - CampaignId = campaignId; - TargetingType = targetingType; - InitParameters(); - } - - /// Required. The ID of the advertiser the campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the campaign to list assigned targeting options for. - [Google.Apis.Util.RequestParameterAttribute("campaignId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CampaignId { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting - /// types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting - /// types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY` - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions - /// are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical - /// operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must - /// use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * - /// `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2 - /// `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` - /// resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` - /// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this - /// field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` - /// (default) The default sorting order is ascending. To specify descending order for a field, a - /// suffix "desc" should be added to the field name. Example: `assignedTargetingOptionId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value - /// of next_page_token returned from the previous call to `ListCampaignAssignedTargetingOptions` - /// method. If not specified, the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("campaignId", new Google.Apis.Discovery.Parameter - { - Name = "campaignId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - } - } - } - } - - /// Lists assigned targeting options of a campaign across targeting types. - /// Required. The ID of the advertiser the campaign belongs to. - /// - /// Required. The ID of the campaign to list assigned targeting options for. - /// - public virtual BulkListCampaignAssignedTargetingOptionsRequest BulkListCampaignAssignedTargetingOptions(long advertiserId, long campaignId) - { - return new BulkListCampaignAssignedTargetingOptionsRequest(this.service, advertiserId, campaignId); - } - - /// Lists assigned targeting options of a campaign across targeting types. - public class BulkListCampaignAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkListCampaignAssignedTargetingOptions request. - public BulkListCampaignAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, long advertiserId, long campaignId) : base(service) - { - AdvertiserId = advertiserId; - CampaignId = campaignId; - InitParameters(); - } - - /// Required. The ID of the advertiser the campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the campaign to list assigned targeting options for. - [Google.Apis.Util.RequestParameterAttribute("campaignId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CampaignId { get; private set; } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * - /// A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` - /// operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` - /// resources of targeting type `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`: - /// `targetingType="TARGETING_TYPE_LANGUAGE" OR targetingType="TARGETING_TYPE_GENDER"` * - /// `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or - /// `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added - /// to the field name. Example: `targetingType desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default - /// is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token that lets the client fetch the next page of results. Typically, this is the value of - /// next_page_token returned from the previous call to `BulkListCampaignAssignedTargetingOptions` - /// method. If not specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "bulkListCampaignAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/campaigns/{+campaignId}:bulkListCampaignAssignedTargetingOptions"; - - /// Initializes BulkListCampaignAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("campaignId", new Google.Apis.Discovery.Parameter - { - Name = "campaignId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 new campaign. Returns the newly created campaign if successful. - /// The body of the request. - /// Output only. The unique ID of the advertiser the campaign belongs to. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Campaign body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// Creates a new campaign. Returns the newly created campaign if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Campaign body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Campaign 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/advertisers/{+advertiserId}/campaigns"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived - /// first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. - /// - /// The ID of the advertiser this campaign belongs to. - /// The ID of the campaign we need to delete. - public virtual DeleteRequest Delete(long advertiserId, long campaignId) - { - return new DeleteRequest(this.service, advertiserId, campaignId); - } - - /// - /// Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived - /// first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long campaignId) : base(service) - { - AdvertiserId = advertiserId; - CampaignId = campaignId; - InitParameters(); - } - - /// The ID of the advertiser this campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// The ID of the campaign we need to delete. - [Google.Apis.Util.RequestParameterAttribute("campaignId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CampaignId { 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/advertisers/{+advertiserId}/campaigns/{+campaignId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("campaignId", new Google.Apis.Discovery.Parameter - { - Name = "campaignId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a campaign. - /// Required. The ID of the advertiser this campaign belongs to. - /// Required. The ID of the campaign to fetch. - public virtual GetRequest Get(long advertiserId, long campaignId) - { - return new GetRequest(this.service, advertiserId, campaignId); - } - - /// Gets a campaign. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long campaignId) : base(service) - { - AdvertiserId = advertiserId; - CampaignId = campaignId; - InitParameters(); - } - - /// Required. The ID of the advertiser this campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the campaign to fetch. - [Google.Apis.Util.RequestParameterAttribute("campaignId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CampaignId { 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/advertisers/{+advertiserId}/campaigns/{+campaignId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("campaignId", new Google.Apis.Discovery.Parameter - { - Name = "campaignId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in the - /// results. - /// - /// The ID of the advertiser to list campaigns for. - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// - /// Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, campaigns with `ENTITY_STATUS_ARCHIVED` will not be included in the - /// results. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// The ID of the advertiser to list campaigns for. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by campaign fields. Supported syntax: * Filter expressions are made up of one or - /// more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of - /// restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * - /// The `updateTime` field must use the `GREATER THAN OR EQUAL TO (&gt;=)` or `LESS THAN OR EQUAL TO - /// (&lt;=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * - /// `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or - /// `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns - /// under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED")` - /// * All campaigns with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): - /// `updateTime&lt;="2020-11-04T18:54:47Z"` * All campaigns with an update time greater than or - /// equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime&gt;="2020-11-04T18:54:47Z"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * - /// `updateTime` The default sorting order is ascending. To specify descending order for a field, a - /// suffix "desc" should be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListCampaigns` method. If not specified, the - /// first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/campaigns"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 an existing campaign. Returns the updated campaign if successful. - /// The body of the request. - /// Output only. The unique ID of the advertiser the campaign belongs to. - /// Output only. The unique ID of the campaign. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.Campaign body, long advertiserId, long campaignId) - { - return new PatchRequest(this.service, body, advertiserId, campaignId); - } - - /// Updates an existing campaign. Returns the updated campaign if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Campaign body, long advertiserId, long campaignId) : base(service) - { - AdvertiserId = advertiserId; - CampaignId = campaignId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the campaign belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the campaign. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("campaignId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CampaignId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.Campaign 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/advertisers/{+advertiserId}/campaigns/{+campaignId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("campaignId", new Google.Apis.Discovery.Parameter - { - Name = "campaignId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the Channels resource. - public virtual ChannelsResource Channels { get; } - - /// The "channels" collection of methods. - public class ChannelsResource - { - private const string Resource = "channels"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ChannelsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Sites = new SitesResource(service); - } - - /// Gets the Sites resource. - public virtual SitesResource Sites { get; } - - /// The "sites" collection of methods. - public class SitesResource - { - private const string Resource = "sites"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public SitesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Bulk edits sites under a single channel. The operation will delete the sites provided in - /// BulkEditSitesRequest.deleted_sites and then create the sites provided in - /// BulkEditSitesRequest.created_sites. - /// - /// The body of the request. - /// The ID of the advertiser that owns the parent channel. - /// Required. The ID of the parent channel to which the sites belong. - public virtual BulkEditRequest BulkEdit(Google.Apis.DisplayVideo.v1.Data.BulkEditSitesRequest body, long advertiserId, long channelId) - { - return new BulkEditRequest(this.service, body, advertiserId, channelId); - } - - /// - /// Bulk edits sites under a single channel. The operation will delete the sites provided in - /// BulkEditSitesRequest.deleted_sites and then create the sites provided in - /// BulkEditSitesRequest.created_sites. - /// - public class BulkEditRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEdit request. - public BulkEditRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditSitesRequest body, long advertiserId, long channelId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the parent channel to which the sites belong. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditSitesRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEdit"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit"; - - /// Initializes BulkEdit parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Creates a site in a channel. - /// The body of the request. - /// The ID of the advertiser that owns the parent channel. - /// - /// Required. The ID of the parent channel in which the site will be created. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Site body, long advertiserId, long channelId) - { - return new CreateRequest(this.service, body, advertiserId, channelId); - } - - /// Creates a site in a channel. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Site body, long advertiserId, long channelId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the parent channel in which the site will be created. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Site 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/advertisers/{advertiserId}/channels/{+channelId}/sites"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Deletes a site from a channel. - /// The ID of the advertiser that owns the parent channel. - /// Required. The ID of the parent channel to which the site belongs. - /// Required. The URL or app ID of the site to delete. - public virtual DeleteRequest Delete(long advertiserId, long channelId, string urlOrAppId) - { - return new DeleteRequest(this.service, advertiserId, channelId, urlOrAppId); - } - - /// Deletes a site from a channel. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long channelId, string urlOrAppId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - UrlOrAppId = urlOrAppId; - InitParameters(); - } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the parent channel to which the site belongs. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// Required. The URL or app ID of the site to delete. - [Google.Apis.Util.RequestParameterAttribute("urlOrAppId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string UrlOrAppId { get; private set; } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("urlOrAppId", new Google.Apis.Discovery.Parameter - { - Name = "urlOrAppId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists sites in a channel. - /// The ID of the advertiser that owns the parent channel. - /// - /// Required. The ID of the parent channel to which the requested sites belong. - /// - public virtual ListRequest List(long advertiserId, long channelId) - { - return new ListRequest(this.service, advertiserId, channelId); - } - - /// Lists sites in a channel. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, long channelId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - InitParameters(); - } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the parent channel to which the requested sites belong. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// - /// Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can - /// only contain at most one restriction. * A restriction has the form of `{field} {operator} - /// {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` - /// Examples: * All sites for which the URL or app ID contains "google": `urlOrAppId : "google"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix " desc" should be - /// added to the field name. Example: `urlOrAppId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListSites` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/advertisers/{+advertiserId}/channels/{+channelId}/sites"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Replaces all of the sites under a single channel. The operation will replace the sites under a - /// channel with the sites provided in ReplaceSitesRequest.new_sites. - /// - /// The body of the request. - /// The ID of the advertiser that owns the parent channel. - /// Required. The ID of the parent channel whose sites will be replaced. - public virtual ReplaceRequest Replace(Google.Apis.DisplayVideo.v1.Data.ReplaceSitesRequest body, long advertiserId, long channelId) - { - return new ReplaceRequest(this.service, body, advertiserId, channelId); - } - - /// - /// Replaces all of the sites under a single channel. The operation will replace the sites under a - /// channel with the sites provided in ReplaceSitesRequest.new_sites. - /// - public class ReplaceRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Replace request. - public ReplaceRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.ReplaceSitesRequest body, long advertiserId, long channelId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the parent channel whose sites will be replaced. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.ReplaceSitesRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "replace"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{advertiserId}/channels/{+channelId}/sites:replace"; - - /// Initializes Replace parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - } - - /// Creates a new channel. Returns the newly created channel if successful. - /// The body of the request. - /// The ID of the advertiser that owns the created channel. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Channel body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// Creates a new channel. Returns the newly created channel if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Channel body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// The ID of the partner that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Channel 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/advertisers/{+advertiserId}/channels"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Gets a channel for a partner or advertiser. - /// The ID of the advertiser that owns the fetched channel. - /// Required. The ID of the channel to fetch. - public virtual GetRequest Get(long advertiserId, long channelId) - { - return new GetRequest(this.service, advertiserId, channelId); - } - - /// Gets a channel for a partner or advertiser. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long channelId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - InitParameters(); - } - - /// The ID of the advertiser that owns the fetched channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the channel to fetch. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the partner that owns the fetched channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/advertisers/{+advertiserId}/channels/{+channelId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists channels for a partner or advertiser. - /// The ID of the advertiser that owns the channels. - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// Lists channels for a partner or advertiser. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// The ID of the advertiser that owns the channels. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only - /// contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All - /// fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels - /// for which the display name contains "google": `displayName : "google"`. The length of this field - /// should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The - /// default sorting order is ascending. To specify descending order for a field, a suffix " desc" should - /// be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListChannels` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that owns the channels. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/advertisers/{+advertiserId}/channels"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Updates a channel. Returns the updated channel if successful. - /// The body of the request. - /// The ID of the advertiser that owns the created channel. - /// Output only. The unique ID of the channel. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.Channel body, long advertiserId, long channelId) - { - return new PatchRequest(this.service, body, advertiserId, channelId); - } - - /// Updates a channel. Returns the updated channel if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Channel body, long advertiserId, long channelId) : base(service) - { - AdvertiserId = advertiserId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the channel. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the partner that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.Channel 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/advertisers/{+advertiserId}/channels/{channelId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the Creatives resource. - public virtual CreativesResource Creatives { get; } - - /// The "creatives" collection of methods. - public class CreativesResource - { - private const string Resource = "creatives"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public CreativesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Creates a new creative. Returns the newly created creative if successful. A ["Standard" user - /// role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner - /// is required to make this request. - /// - /// The body of the request. - /// Output only. The unique ID of the advertiser the creative belongs to. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Creative body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// - /// Creates a new creative. Returns the newly created creative if successful. A ["Standard" user - /// role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner - /// is required to make this request. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Creative body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the creative belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Creative 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/advertisers/{+advertiserId}/creatives"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should - /// be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A - /// ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent - /// advertiser or partner is required to make this request. - /// - /// The ID of the advertiser this creative belongs to. - /// The ID of the creative to be deleted. - public virtual DeleteRequest Delete(long advertiserId, long creativeId) - { - return new DeleteRequest(this.service, advertiserId, creativeId); - } - - /// - /// Deletes a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should - /// be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A - /// ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent - /// advertiser or partner is required to make this request. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long creativeId) : base(service) - { - AdvertiserId = advertiserId; - CreativeId = creativeId; - InitParameters(); - } - - /// The ID of the advertiser this creative belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// The ID of the creative to be deleted. - [Google.Apis.Util.RequestParameterAttribute("creativeId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CreativeId { 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/advertisers/{+advertiserId}/creatives/{+creativeId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("creativeId", new Google.Apis.Discovery.Parameter - { - Name = "creativeId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a creative. - /// Required. The ID of the advertiser this creative belongs to. - /// Required. The ID of the creative to fetch. - public virtual GetRequest Get(long advertiserId, long creativeId) - { - return new GetRequest(this.service, advertiserId, creativeId); - } - - /// Gets a creative. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long creativeId) : base(service) - { - AdvertiserId = advertiserId; - CreativeId = creativeId; - InitParameters(); - } - - /// Required. The ID of the advertiser this creative belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the creative to fetch. - [Google.Apis.Util.RequestParameterAttribute("creativeId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CreativeId { 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/advertisers/{+advertiserId}/creatives/{+creativeId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("creativeId", new Google.Apis.Discovery.Parameter - { - Name = "creativeId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, creatives with `ENTITY_STATUS_ARCHIVED` will not be included in the - /// results. - /// - /// Required. The ID of the advertiser to list creatives for. - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// - /// Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, creatives with `ENTITY_STATUS_ARCHIVED` will not be included in the - /// results. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to list creatives for. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by creative fields. Supported syntax: * Filter expressions are made up of one or - /// more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of - /// restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * - /// The `lineItemIds` field must use the `HAS (:)` operator. * The `updateTime` field must use the - /// `GREATER THAN OR EQUAL TO (&gt;=)` or `LESS THAN OR EQUAL TO (&lt;=)` operators. * All other - /// fields must use the `EQUALS (=)` operator. * For `entityStatus`, `minDuration`, `maxDuration`, - /// `updateTime`, and `dynamic` fields, there may be at most one restriction. Supported Fields: * - /// `approvalStatus` * `creativeId` * `creativeType` * `dimensions` (input in the form of - /// `{width}x{height}`) * `dynamic` * `entityStatus` * `exchangeReviewStatus` (input in the form of - /// `{exchange}-{reviewStatus}`) * `lineItemIds` * `maxDuration` (input in the form of `{duration}s`. - /// Only seconds are supported) * `minDuration` (input in the form of `{duration}s`. Only seconds are - /// supported) * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Notes: * For - /// `updateTime`, a creative resource's field value reflects the last time that a creative has been - /// updated, which includes updates made by the system (e.g. creative review updates). Examples: * All - /// native creatives: `creativeType="CREATIVE_TYPE_NATIVE"` * All active creatives with 300x400 or - /// 50x100 dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR - /// dimensions="50x100")` * All dynamic creatives that are approved by AdX or AppNexus, with a minimum - /// duration of 5 seconds and 200ms: `dynamic="true" AND minDuration="5.2s" AND - /// (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED" OR - /// exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")` * All video creatives that are - /// associated with line item ID 1 or 2: `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR - /// lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2` * All - /// creatives with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): - /// `updateTime&gt;="2020-11-04T18:54:47Z"` The length of this field should be no more than 500 - /// characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide - /// for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `creativeId` (default) * `createTime` * - /// `mediaDuration` * `dimensions` (sorts by width first, then by height) The default sorting order is - /// ascending. To specify descending order for a field, a suffix "desc" should be added to the field - /// name. Example: `createTime desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListCreatives` method. If not specified, the - /// first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/creatives"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 an existing creative. Returns the updated creative if successful. A ["Standard" user - /// role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner - /// is required to make this request. - /// - /// The body of the request. - /// Output only. The unique ID of the advertiser the creative belongs to. - /// Output only. The unique ID of the creative. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.Creative body, long advertiserId, long creativeId) - { - return new PatchRequest(this.service, body, advertiserId, creativeId); - } - - /// - /// Updates an existing creative. Returns the updated creative if successful. A ["Standard" user - /// role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner - /// is required to make this request. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Creative body, long advertiserId, long creativeId) : base(service) - { - AdvertiserId = advertiserId; - CreativeId = creativeId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the creative belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the creative. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("creativeId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CreativeId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.Creative 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/advertisers/{+advertiserId}/creatives/{+creativeId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("creativeId", new Google.Apis.Discovery.Parameter - { - Name = "creativeId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the InsertionOrders resource. - public virtual InsertionOrdersResource InsertionOrders { get; } - - /// The "insertionOrders" collection of methods. - public class InsertionOrdersResource - { - private const string Resource = "insertionOrders"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public InsertionOrdersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - TargetingTypes = new TargetingTypesResource(service); - } - - /// Gets the TargetingTypes resource. - public virtual TargetingTypesResource TargetingTypes { get; } - - /// The "targetingTypes" collection of methods. - public class TargetingTypesResource - { - private const string Resource = "targetingTypes"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingTypesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedTargetingOptions = new AssignedTargetingOptionsResource(service); - } - - /// Gets the AssignedTargetingOptions resource. - public virtual AssignedTargetingOptionsResource AssignedTargetingOptions { get; } - - /// The "assignedTargetingOptions" collection of methods. - public class AssignedTargetingOptionsResource - { - private const string Resource = "assignedTargetingOptions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedTargetingOptionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a single targeting option assigned to an insertion order. - /// - /// Required. The ID of the advertiser the insertion order belongs to. - /// - /// - /// Required. The ID of the insertion order the assigned targeting option belongs to. - /// - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * - /// `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` - /// * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - /// - /// Required. An identifier unique to the targeting type in this insertion order that identifies the - /// assigned targeting option being requested. - /// - public virtual GetRequest Get(long advertiserId, long insertionOrderId, GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new GetRequest(this.service, advertiserId, insertionOrderId, targetingType, assignedTargetingOptionId); - } - - /// Gets a single targeting option assigned to an insertion order. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long insertionOrderId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - AdvertiserId = advertiserId; - InsertionOrderId = insertionOrderId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the advertiser the insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the insertion order the assigned targeting option belongs to. - /// - [Google.Apis.Util.RequestParameterAttribute("insertionOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InsertionOrderId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Required. An identifier unique to the targeting type in this insertion order that identifies - /// the assigned targeting option being requested. - /// - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("insertionOrderId", new Google.Apis.Discovery.Parameter - { - Name = "insertionOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists the targeting options assigned to an insertion order. - /// - /// Required. The ID of the advertiser the insertion order belongs to. - /// - /// - /// Required. The ID of the insertion order to list assigned targeting options for. - /// - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * - /// `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` - /// * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - public virtual ListRequest List(long advertiserId, long insertionOrderId, ListRequest.TargetingTypeEnum targetingType) - { - return new ListRequest(this.service, advertiserId, insertionOrderId, targetingType); - } - - /// Lists the targeting options assigned to an insertion order. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, long insertionOrderId, TargetingTypeEnum targetingType) : base(service) - { - AdvertiserId = advertiserId; - InsertionOrderId = insertionOrderId; - TargetingType = targetingType; - InitParameters(); - } - - /// Required. The ID of the advertiser the insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the insertion order to list assigned targeting options for. - /// - [Google.Apis.Util.RequestParameterAttribute("insertionOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InsertionOrderId { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting - /// types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * - /// `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * - /// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * - /// `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting - /// types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * - /// `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * - /// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * - /// `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions - /// are made up of one or more restrictions. * Restrictions can be combined by the logical - /// operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields - /// must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * - /// `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: - /// `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` - /// resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: - /// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this - /// field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` - /// (default) The default sorting order is ascending. To specify descending order for a field, a - /// suffix "desc" should be added to the field name. Example: `assignedTargetingOptionId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value - /// of next_page_token returned from the previous call to - /// `ListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of - /// results will be returned. - /// - [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/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("insertionOrderId", new Google.Apis.Discovery.Parameter - { - Name = "insertionOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - } - } - } - } - - /// Lists assigned targeting options of an insertion order across targeting types. - /// Required. The ID of the advertiser the insertion order belongs to. - /// - /// Required. The ID of the insertion order to list assigned targeting options for. - /// - public virtual BulkListInsertionOrderAssignedTargetingOptionsRequest BulkListInsertionOrderAssignedTargetingOptions(long advertiserId, long insertionOrderId) - { - return new BulkListInsertionOrderAssignedTargetingOptionsRequest(this.service, advertiserId, insertionOrderId); - } - - /// Lists assigned targeting options of an insertion order across targeting types. - public class BulkListInsertionOrderAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkListInsertionOrderAssignedTargetingOptions request. - public BulkListInsertionOrderAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, long advertiserId, long insertionOrderId) : base(service) - { - AdvertiserId = advertiserId; - InsertionOrderId = insertionOrderId; - InitParameters(); - } - - /// Required. The ID of the advertiser the insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the insertion order to list assigned targeting options for. - [Google.Apis.Util.RequestParameterAttribute("insertionOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InsertionOrderId { get; private set; } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * - /// A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` - /// operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` - /// resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: - /// `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="TARGETING_TYPE_CHANNEL"` * - /// `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or - /// `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added - /// to the field name. Example: `targetingType desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default - /// is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token that lets the client fetch the next page of results. Typically, this is the value of - /// next_page_token returned from the previous call to `BulkListInsertionOrderAssignedTargetingOptions` - /// method. If not specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "bulkListInsertionOrderAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:bulkListInsertionOrderAssignedTargetingOptions"; - - /// Initializes BulkListInsertionOrderAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("insertionOrderId", new Google.Apis.Discovery.Parameter - { - Name = "insertionOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 new insertion order. Returns the newly created insertion order if successful. - /// - /// The body of the request. - /// - /// Output only. The unique ID of the advertiser the insertion order belongs to. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.InsertionOrder body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// - /// Creates a new insertion order. Returns the newly created insertion order if successful. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.InsertionOrder body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.InsertionOrder 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/advertisers/{+advertiserId}/insertionOrders"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The - /// insertion order should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able - /// to delete it. - /// - /// The ID of the advertiser this insertion order belongs to. - /// The ID of the insertion order to delete. - public virtual DeleteRequest Delete(long advertiserId, long insertionOrderId) - { - return new DeleteRequest(this.service, advertiserId, insertionOrderId); - } - - /// - /// Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. The - /// insertion order should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able - /// to delete it. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long insertionOrderId) : base(service) - { - AdvertiserId = advertiserId; - InsertionOrderId = insertionOrderId; - InitParameters(); - } - - /// The ID of the advertiser this insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// The ID of the insertion order to delete. - [Google.Apis.Util.RequestParameterAttribute("insertionOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InsertionOrderId { 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/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("insertionOrderId", new Google.Apis.Discovery.Parameter - { - Name = "insertionOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. - /// - /// Required. The ID of the advertiser this insertion order belongs to. - /// Required. The ID of the insertion order to fetch. - public virtual GetRequest Get(long advertiserId, long insertionOrderId) - { - return new GetRequest(this.service, advertiserId, insertionOrderId); - } - - /// - /// Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order does not exist. - /// - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long insertionOrderId) : base(service) - { - AdvertiserId = advertiserId; - InsertionOrderId = insertionOrderId; - InitParameters(); - } - - /// Required. The ID of the advertiser this insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the insertion order to fetch. - [Google.Apis.Util.RequestParameterAttribute("insertionOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InsertionOrderId { 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/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("insertionOrderId", new Google.Apis.Discovery.Parameter - { - Name = "insertionOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in - /// the results. - /// - /// Required. The ID of the advertiser to list insertion orders for. - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// - /// Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in - /// the results. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to list insertion orders for. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of - /// one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A - /// sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} - /// {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (&gt;=)` or `LESS THAN - /// OR EQUAL TO (&lt;=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported - /// fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or - /// `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId="1234"` * All - /// `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: - /// `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED")` * All insertion - /// orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): - /// `updateTime&lt;="2020-11-04T18:54:47Z"` * All insertion orders with an update time greater than - /// or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime&gt;="2020-11-04T18:54:47Z"` - /// The length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * "displayName" (default) * "entityStatus" * - /// "updateTime" The default sorting order is ascending. To specify descending order for a field, a - /// suffix "desc" should be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, - /// the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/insertionOrders"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 an existing insertion order. Returns the updated insertion order if successful. - /// - /// The body of the request. - /// - /// Output only. The unique ID of the advertiser the insertion order belongs to. - /// - /// - /// Output only. The unique ID of the insertion order. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.InsertionOrder body, long advertiserId, long insertionOrderId) - { - return new PatchRequest(this.service, body, advertiserId, insertionOrderId); - } - - /// - /// Updates an existing insertion order. Returns the updated insertion order if successful. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.InsertionOrder body, long advertiserId, long insertionOrderId) : base(service) - { - AdvertiserId = advertiserId; - InsertionOrderId = insertionOrderId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the insertion order belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the insertion order. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("insertionOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InsertionOrderId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.InsertionOrder 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/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("insertionOrderId", new Google.Apis.Discovery.Parameter - { - Name = "insertionOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the Invoices resource. - public virtual InvoicesResource Invoices { get; } - - /// The "invoices" collection of methods. - public class InvoicesResource - { - private const string Resource = "invoices"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public InvoicesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a - /// "Partner" invoice level are not retrievable through this method. - /// - /// Required. The ID of the advertiser to list invoices for. - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// - /// Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a - /// "Partner" invoice level are not retrievable through this method. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to list invoices for. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// The month to list the invoices for. If not set, the request will retrieve invoices for the previous - /// month. Must be in the format YYYYMM. - /// - [Google.Apis.Util.RequestParameterAttribute("issueMonth", Google.Apis.Util.RequestParameterType.Query)] - public virtual string IssueMonth { get; set; } - - /// - /// Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable to Loi Sapin - /// advertisers. Will be ignored otherwise. - /// - [Google.Apis.Util.RequestParameterAttribute("loiSapinInvoiceType", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable LoiSapinInvoiceType { get; set; } - - /// - /// Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable to Loi Sapin - /// advertisers. Will be ignored otherwise. - /// - public enum LoiSapinInvoiceTypeEnum - { - /// Value is not specified. - [Google.Apis.Util.StringValueAttribute("LOI_SAPIN_INVOICE_TYPE_UNSPECIFIED")] - LOISAPININVOICETYPEUNSPECIFIED = 0, - - /// Invoices with Media cost. - [Google.Apis.Util.StringValueAttribute("LOI_SAPIN_INVOICE_TYPE_MEDIA")] - LOISAPININVOICETYPEMEDIA = 1, - - /// Invoices with Platform fee. - [Google.Apis.Util.StringValueAttribute("LOI_SAPIN_INVOICE_TYPE_PLATFORM")] - LOISAPININVOICETYPEPLATFORM = 2, - } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListInvoices` method. If not specified, the - /// first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/invoices"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("issueMonth", new Google.Apis.Discovery.Parameter - { - Name = "issueMonth", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("loiSapinInvoiceType", new Google.Apis.Discovery.Parameter - { - Name = "loiSapinInvoiceType", - 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, - }); - } - } - - /// Retrieves the invoice currency used by an advertiser in a given month. - /// Required. The ID of the advertiser to lookup currency for. - public virtual LookupInvoiceCurrencyRequest LookupInvoiceCurrency(long advertiserId) - { - return new LookupInvoiceCurrencyRequest(this.service, advertiserId); - } - - /// Retrieves the invoice currency used by an advertiser in a given month. - public class LookupInvoiceCurrencyRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new LookupInvoiceCurrency request. - public LookupInvoiceCurrencyRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to lookup currency for. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Month for which the currency is needed. If not set, the request will return existing currency - /// settings for the advertiser. Must be in the format YYYYMM. - /// - [Google.Apis.Util.RequestParameterAttribute("invoiceMonth", Google.Apis.Util.RequestParameterType.Query)] - public virtual string InvoiceMonth { get; set; } - - /// Gets the method name. - public override string MethodName => "lookupInvoiceCurrency"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency"; - - /// Initializes LookupInvoiceCurrency parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("invoiceMonth", new Google.Apis.Discovery.Parameter - { - Name = "invoiceMonth", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the LineItems resource. - public virtual LineItemsResource LineItems { get; } - - /// The "lineItems" collection of methods. - public class LineItemsResource - { - private const string Resource = "lineItems"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public LineItemsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - TargetingTypes = new TargetingTypesResource(service); - } - - /// Gets the TargetingTypes resource. - public virtual TargetingTypesResource TargetingTypes { get; } - - /// The "targetingTypes" collection of methods. - public class TargetingTypesResource - { - private const string Resource = "targetingTypes"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingTypesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedTargetingOptions = new AssignedTargetingOptionsResource(service); - } - - /// Gets the AssignedTargetingOptions resource. - public virtual AssignedTargetingOptionsResource AssignedTargetingOptions { get; } - - /// The "assignedTargetingOptions" collection of methods. - public class AssignedTargetingOptionsResource - { - private const string Resource = "assignedTargetingOptions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedTargetingOptionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Assigns a targeting option to a line item. Returns the assigned targeting option if successful. - /// Requests to this endpoint cannot be made concurrently with the following requests updating the - /// same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * - /// lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube &amp; Partners line items - /// cannot be created or updated using the API. - /// - /// The body of the request. - /// Required. The ID of the advertiser the line item belongs to. - /// - /// Required. The ID of the line item the assigned targeting option will belong to. - /// - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * - /// `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` - /// * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption body, long advertiserId, long lineItemId, CreateRequest.TargetingTypeEnum targetingType) - { - return new CreateRequest(this.service, body, advertiserId, lineItemId, targetingType); - } - - /// - /// Assigns a targeting option to a line item. Returns the assigned targeting option if successful. - /// Requests to this endpoint cannot be made concurrently with the following requests updating the - /// same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * - /// lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube &amp; Partners line items - /// cannot be created or updated using the API. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption body, long advertiserId, long lineItemId, TargetingTypeEnum targetingType) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - TargetingType = targetingType; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the line item the assigned targeting option will belong to. - /// - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption 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/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made - /// concurrently with the following requests updating the same line item: * - /// lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * - /// CreateLineItemAssignedTargetingOption YouTube &amp; Partners line items cannot be created or - /// updated using the API. - /// - /// Required. The ID of the advertiser the line item belongs to. - /// - /// Required. The ID of the line item the assigned targeting option belongs to. - /// - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * - /// `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` - /// * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - /// - /// Required. The ID of the assigned targeting option to delete. - /// - public virtual DeleteRequest Delete(long advertiserId, long lineItemId, DeleteRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new DeleteRequest(this.service, advertiserId, lineItemId, targetingType, assignedTargetingOptionId); - } - - /// - /// Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made - /// concurrently with the following requests updating the same line item: * - /// lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * - /// CreateLineItemAssignedTargetingOption YouTube &amp; Partners line items cannot be created or - /// updated using the API. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long lineItemId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the line item the assigned targeting option belongs to. - /// - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Required. The ID of the assigned targeting option to delete. - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a single targeting option assigned to a line item. - /// Required. The ID of the advertiser the line item belongs to. - /// - /// Required. The ID of the line item the assigned targeting option belongs to. - /// - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * - /// `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` - /// * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` - /// line items) - /// - /// - /// Required. An identifier unique to the targeting type in this line item that identifies the - /// assigned targeting option being requested. - /// - public virtual GetRequest Get(long advertiserId, long lineItemId, GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new GetRequest(this.service, advertiserId, lineItemId, targetingType, assignedTargetingOptionId); - } - - /// Gets a single targeting option assigned to a line item. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long lineItemId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the line item the assigned targeting option belongs to. - /// - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * - /// `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * - /// `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * - /// `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` - /// * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Required. An identifier unique to the targeting type in this line item that identifies the - /// assigned targeting option being requested. - /// - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists the targeting options assigned to a line item. - /// Required. The ID of the advertiser the line item belongs to. - /// - /// Required. The ID of the line item to list assigned targeting options for. - /// - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types - /// include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * - /// `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` - /// * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` (only for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` - /// line items) - /// - public virtual ListRequest List(long advertiserId, long lineItemId, ListRequest.TargetingTypeEnum targetingType) - { - return new ListRequest(this.service, advertiserId, lineItemId, targetingType); - } - - /// Lists the targeting options assigned to a line item. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, long lineItemId, TargetingTypeEnum targetingType) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - TargetingType = targetingType; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the line item to list assigned targeting options for. - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting - /// types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * - /// `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * - /// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * - /// `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting - /// types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * - /// `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * - /// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * - /// `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` (only for - /// `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) - /// - public enum TargetingTypeEnum - { - /// - /// Default value when type is not specified or is unknown in this version. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, - /// pre-roll, mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist - /// on a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// - /// Target ads to a specific household income range (for example, top 10%). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for - /// example, Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is - /// assigned, the resource uses the "Authorized Direct Sellers and Resellers" option by - /// default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions - /// are made up of one or more restrictions. * Restrictions can be combined by the logical - /// operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields - /// must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * - /// `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: - /// `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` - /// resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: - /// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The length of this - /// field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` - /// (default) The default sorting order is ascending. To specify descending order for a field, a - /// suffix "desc" should be added to the field name. Example: `assignedTargetingOptionId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value - /// of next_page_token returned from the previous call to `ListLineItemAssignedTargetingOptions` - /// method. If not specified, the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - } - } - } - } - - /// - /// Bulk edits targeting options under a single line item. The operation will delete the assigned targeting - /// options provided in BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then create the - /// assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.create_requests. - /// Requests to this endpoint cannot be made concurrently with the following requests updating the same line - /// item: * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube - /// &amp; Partners line items cannot be created or updated using the API. - /// - /// The body of the request. - /// Required. The ID of the advertiser the line item belongs to. - /// - /// Required. The ID of the line item the assigned targeting option will belong to. - /// - public virtual BulkEditLineItemAssignedTargetingOptionsRequest BulkEditLineItemAssignedTargetingOptions(Google.Apis.DisplayVideo.v1.Data.BulkEditLineItemAssignedTargetingOptionsRequest body, long advertiserId, long lineItemId) - { - return new BulkEditLineItemAssignedTargetingOptionsRequest(this.service, body, advertiserId, lineItemId); - } - - /// - /// Bulk edits targeting options under a single line item. The operation will delete the assigned targeting - /// options provided in BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then create the - /// assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.create_requests. - /// Requests to this endpoint cannot be made concurrently with the following requests updating the same line - /// item: * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube - /// &amp; Partners line items cannot be created or updated using the API. - /// - public class BulkEditLineItemAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEditLineItemAssignedTargetingOptions request. - public BulkEditLineItemAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditLineItemAssignedTargetingOptionsRequest body, long advertiserId, long lineItemId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the line item the assigned targeting option will belong to. - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditLineItemAssignedTargetingOptionsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEditLineItemAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkEditLineItemAssignedTargetingOptions"; - - /// Initializes BulkEditLineItemAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists assigned targeting options of a line item across targeting types. - /// Required. The ID of the advertiser the line item belongs to. - /// - /// Required. The ID of the line item to list assigned targeting options for. - /// - public virtual BulkListLineItemAssignedTargetingOptionsRequest BulkListLineItemAssignedTargetingOptions(long advertiserId, long lineItemId) - { - return new BulkListLineItemAssignedTargetingOptionsRequest(this.service, advertiserId, lineItemId); - } - - /// Lists assigned targeting options of a line item across targeting types. - public class BulkListLineItemAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkListLineItemAssignedTargetingOptions request. - public BulkListLineItemAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, long advertiserId, long lineItemId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the line item to list assigned targeting options for. - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * - /// A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` - /// operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` - /// resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: - /// `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="TARGETING_TYPE_CHANNEL"` * - /// `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or - /// `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added - /// to the field name. Example: `targetingType desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default - /// is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token that lets the client fetch the next page of results. Typically, this is the value of - /// next_page_token returned from the previous call to `BulkListLineItemAssignedTargetingOptions` - /// method. If not specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "bulkListLineItemAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkListLineItemAssignedTargetingOptions"; - - /// Initializes BulkListLineItemAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 new line item. Returns the newly created line item if successful. YouTube &amp; Partners - /// line items cannot be created or updated using the API. - /// - /// The body of the request. - /// - /// Output only. The unique ID of the advertiser the line item belongs to. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.LineItem body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// - /// Creates a new line item. Returns the newly created line item if successful. YouTube &amp; Partners - /// line items cannot be created or updated using the API. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.LineItem body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.LineItem 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/advertisers/{+advertiserId}/lineItems"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Deletes a line item. Returns error code `NOT_FOUND` if the line item does not exist. The line item - /// should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. - /// YouTube &amp; Partners line items cannot be created or updated using the API. - /// - /// The ID of the advertiser this line item belongs to. - /// The ID of the line item to delete. - public virtual DeleteRequest Delete(long advertiserId, long lineItemId) - { - return new DeleteRequest(this.service, advertiserId, lineItemId); - } - - /// - /// Deletes a line item. Returns error code `NOT_FOUND` if the line item does not exist. The line item - /// should be archived first, i.e. set entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. - /// YouTube &amp; Partners line items cannot be created or updated using the API. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long lineItemId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - InitParameters(); - } - - /// The ID of the advertiser this line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// The ID of the line item to delete. - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { 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/advertisers/{+advertiserId}/lineItems/{+lineItemId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Creates a new line item with settings (including targeting) inherited from the insertion order and an - /// `ENTITY_STATUS_DRAFT` entity_status. Returns the newly created line item if successful. There are - /// default values based on the three fields: * The insertion order's insertion_order_type * The insertion - /// order's automation_type * The given line_item_type YouTube &amp; Partners line items cannot be - /// created or updated using the API. - /// - /// The body of the request. - /// Required. The ID of the advertiser this line item belongs to. - public virtual GenerateDefaultRequest GenerateDefault(Google.Apis.DisplayVideo.v1.Data.GenerateDefaultLineItemRequest body, long advertiserId) - { - return new GenerateDefaultRequest(this.service, body, advertiserId); - } - - /// - /// Creates a new line item with settings (including targeting) inherited from the insertion order and an - /// `ENTITY_STATUS_DRAFT` entity_status. Returns the newly created line item if successful. There are - /// default values based on the three fields: * The insertion order's insertion_order_type * The insertion - /// order's automation_type * The given line_item_type YouTube &amp; Partners line items cannot be - /// created or updated using the API. - /// - public class GenerateDefaultRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new GenerateDefault request. - public GenerateDefaultRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.GenerateDefaultLineItemRequest body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser this line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.GenerateDefaultLineItemRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "generateDefault"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/lineItems:generateDefault"; - - /// Initializes GenerateDefault parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a line item. - /// Required. The ID of the advertiser this line item belongs to. - /// Required. The ID of the line item to fetch. - public virtual GetRequest Get(long advertiserId, long lineItemId) - { - return new GetRequest(this.service, advertiserId, lineItemId); - } - - /// Gets a line item. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long lineItemId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - InitParameters(); - } - - /// Required. The ID of the advertiser this line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the line item to fetch. - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { 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/advertisers/{+advertiserId}/lineItems/{+lineItemId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, line items with `ENTITY_STATUS_ARCHIVED` will not be included in the - /// results. - /// - /// Required. The ID of the advertiser to list line items for. - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// - /// Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by - /// entity_status is not specified, line items with `ENTITY_STATUS_ARCHIVED` will not be included in the - /// results. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to list line items for. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by line item fields. Supported syntax: * Filter expressions are made up of one or - /// more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of - /// restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * - /// The `updateTime` field must use the `GREATER THAN OR EQUAL TO (&gt;=)` or `LESS THAN OR EQUAL TO - /// (&lt;=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * - /// `campaignId` * `displayName` * `entityStatus` * `insertionOrderId` * `lineItemId` * `lineItemType` * - /// `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All line items under - /// an insertion order: `insertionOrderId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` - /// and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: - /// `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND - /// lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items with an update time less than or - /// equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime&lt;="2020-11-04T18:54:47Z"` * - /// All line items with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO - /// 8601): `updateTime&gt;="2020-11-04T18:54:47Z"` The length of this field should be no more than - /// 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) - /// guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * - /// `updateTime` The default sorting order is ascending. To specify descending order for a field, a - /// suffix "desc" should be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListLineItems` method. If not specified, the - /// first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/lineItems"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 an existing line item. Returns the updated line item if successful. Requests to this endpoint - /// cannot be made concurrently with the following requests updating the same line item: * - /// BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * - /// assignedTargetingOptions.delete YouTube &amp; Partners line items cannot be created or updated using - /// the API. - /// - /// The body of the request. - /// - /// Output only. The unique ID of the advertiser the line item belongs to. - /// - /// Output only. The unique ID of the line item. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.LineItem body, long advertiserId, long lineItemId) - { - return new PatchRequest(this.service, body, advertiserId, lineItemId); - } - - /// - /// Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint - /// cannot be made concurrently with the following requests updating the same line item: * - /// BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * - /// assignedTargetingOptions.delete YouTube &amp; Partners line items cannot be created or updated using - /// the API. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.LineItem body, long advertiserId, long lineItemId) : base(service) - { - AdvertiserId = advertiserId; - LineItemId = lineItemId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the line item. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("lineItemId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LineItemId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.LineItem 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/advertisers/{+advertiserId}/lineItems/{+lineItemId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("lineItemId", new Google.Apis.Discovery.Parameter - { - Name = "lineItemId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the LocationLists resource. - public virtual LocationListsResource LocationLists { get; } - - /// The "locationLists" collection of methods. - public class LocationListsResource - { - private const string Resource = "locationLists"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public LocationListsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedLocations = new AssignedLocationsResource(service); - } - - /// Gets the AssignedLocations resource. - public virtual AssignedLocationsResource AssignedLocations { get; } - - /// The "assignedLocations" collection of methods. - public class AssignedLocationsResource - { - private const string Resource = "assignedLocations"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedLocationsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Bulk edits multiple assignments between locations and a single location list. The operation will - /// delete the assigned locations provided in deletedAssignedLocations and then create the assigned - /// locations provided in createdAssignedLocations. - /// - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the location list belongs. - /// - /// - /// Required. The ID of the location list to which these assignments are assigned. - /// - public virtual BulkEditRequest BulkEdit(Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedLocationsRequest body, long advertiserId, long locationListId) - { - return new BulkEditRequest(this.service, body, advertiserId, locationListId); - } - - /// - /// Bulk edits multiple assignments between locations and a single location list. The operation will - /// delete the assigned locations provided in deletedAssignedLocations and then create the assigned - /// locations provided in createdAssignedLocations. - /// - public class BulkEditRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEdit request. - public BulkEditRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedLocationsRequest body, long advertiserId, long locationListId) : base(service) - { - AdvertiserId = advertiserId; - LocationListId = locationListId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the DV360 advertiser to which the location list belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the location list to which these assignments are assigned. - /// - [Google.Apis.Util.RequestParameterAttribute("locationListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LocationListId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedLocationsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEdit"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit"; - - /// Initializes BulkEdit parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("locationListId", new Google.Apis.Discovery.Parameter - { - Name = "locationListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Creates an assignment between a location and a location list. - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the location list belongs. - /// - /// - /// Required. The ID of the location list for which the assignment will be created. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.AssignedLocation body, long advertiserId, long locationListId) - { - return new CreateRequest(this.service, body, advertiserId, locationListId); - } - - /// Creates an assignment between a location and a location list. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.AssignedLocation body, long advertiserId, long locationListId) : base(service) - { - AdvertiserId = advertiserId; - LocationListId = locationListId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the DV360 advertiser to which the location list belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the location list for which the assignment will be created. - /// - [Google.Apis.Util.RequestParameterAttribute("locationListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LocationListId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.AssignedLocation 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/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("locationListId", new Google.Apis.Discovery.Parameter - { - Name = "locationListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Deletes the assignment between a location and a location list. - /// - /// Required. The ID of the DV360 advertiser to which the location list belongs. - /// - /// - /// Required. The ID of the location list to which this assignment is assigned. - /// - /// Required. The ID of the assigned location to delete. - public virtual DeleteRequest Delete(long advertiserId, long locationListId, long assignedLocationId) - { - return new DeleteRequest(this.service, advertiserId, locationListId, assignedLocationId); - } - - /// Deletes the assignment between a location and a location list. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long locationListId, long assignedLocationId) : base(service) - { - AdvertiserId = advertiserId; - LocationListId = locationListId; - AssignedLocationId = assignedLocationId; - InitParameters(); - } - - /// Required. The ID of the DV360 advertiser to which the location list belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the location list to which this assignment is assigned. - [Google.Apis.Util.RequestParameterAttribute("locationListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LocationListId { get; private set; } - - /// Required. The ID of the assigned location to delete. - [Google.Apis.Util.RequestParameterAttribute("assignedLocationId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AssignedLocationId { 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/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("locationListId", new Google.Apis.Discovery.Parameter - { - Name = "locationListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("assignedLocationId", new Google.Apis.Discovery.Parameter - { - Name = "assignedLocationId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists locations assigned to a location list. - /// - /// Required. The ID of the DV360 advertiser to which the location list belongs. - /// - /// - /// Required. The ID of the location list to which these assignments are assigned. - /// - public virtual ListRequest List(long advertiserId, long locationListId) - { - return new ListRequest(this.service, advertiserId, locationListId); - } - - /// Lists locations assigned to a location list. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, long locationListId) : base(service) - { - AdvertiserId = advertiserId; - LocationListId = locationListId; - InitParameters(); - } - - /// Required. The ID of the DV360 advertiser to which the location list belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the location list to which these assignments are assigned. - /// - [Google.Apis.Util.RequestParameterAttribute("locationListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LocationListId { get; private set; } - - /// - /// Allows filtering by location list assignment fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the `OR` logical - /// operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use - /// the `EQUALS (=)` operator. Supported fields: * `assignedLocationId` The length of this field - /// should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedLocationId` (default) The - /// default sorting order is ascending. To specify descending order for a field, a suffix " desc" - /// should be added to the field name. Example: `assignedLocationId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListAssignedLocations` method. If not - /// specified, the first page of results will be returned. - /// - [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/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("locationListId", new Google.Apis.Discovery.Parameter - { - Name = "locationListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - 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 new location list. Returns the newly created location list if successful. - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the location list belongs. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.LocationList body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// Creates a new location list. Returns the newly created location list if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.LocationList body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the DV360 advertiser to which the location list belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.LocationList 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/advertisers/{+advertiserId}/locationLists"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a location list. - /// - /// Required. The ID of the DV360 advertiser to which the fetched location list belongs. - /// - /// Required. The ID of the location list to fetch. - public virtual GetRequest Get(long advertiserId, long locationListId) - { - return new GetRequest(this.service, advertiserId, locationListId); - } - - /// Gets a location list. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long locationListId) : base(service) - { - AdvertiserId = advertiserId; - LocationListId = locationListId; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the fetched location list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the location list to fetch. - [Google.Apis.Util.RequestParameterAttribute("locationListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LocationListId { 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/advertisers/{+advertiserId}/locationLists/{+locationListId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("locationListId", new Google.Apis.Discovery.Parameter - { - Name = "locationListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists location lists based on a given advertiser id. - /// - /// Required. The ID of the DV360 advertiser to which the fetched location lists belong. - /// - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// Lists location lists based on a given advertiser id. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the fetched location lists belong. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by location list fields. Supported syntax: * Filter expressions are made up of one - /// or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence - /// of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. - /// * All fields must use the `EQUALS (=)` operator. Supported fields: * `locationType` Examples: * All - /// regional location list: `locationType="TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location - /// list: `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"` The length of this field should be no more - /// than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `locationListId` (default) * `displayName` - /// The default sorting order is ascending. To specify descending order for a field, a suffix "desc" - /// should be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code - /// `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListLocationLists` method. If not specified, the - /// first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/locationLists"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 location list. Returns the updated location list if successful. - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the location lists belongs. - /// - /// - /// Output only. The unique ID of the location list. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.LocationList body, long advertiserId, long locationListId) - { - return new PatchRequest(this.service, body, advertiserId, locationListId); - } - - /// Updates a location list. Returns the updated location list if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.LocationList body, long advertiserId, long locationListId) : base(service) - { - AdvertiserId = advertiserId; - LocationListId = locationListId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the DV360 advertiser to which the location lists belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the location list. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("locationListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long LocationListId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.LocationList 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/advertisers/{+advertiserId}/locationLists/{locationListId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("locationListId", new Google.Apis.Discovery.Parameter - { - Name = "locationListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the ManualTriggers resource. - public virtual ManualTriggersResource ManualTriggers { get; } - - /// The "manualTriggers" collection of methods. - public class ManualTriggersResource - { - private const string Resource = "manualTriggers"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ManualTriggersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, - /// otherwise an error will be returned. **Warning:** Line Items using manual triggers no longer serve in - /// Display &amp; Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - /// The body of the request. - /// Required. The ID of the advertiser that the manual trigger belongs. - /// Required. The ID of the manual trigger to activate. - public virtual ActivateRequest Activate(Google.Apis.DisplayVideo.v1.Data.ActivateManualTriggerRequest body, long advertiserId, long triggerId) - { - return new ActivateRequest(this.service, body, advertiserId, triggerId); - } - - /// - /// Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, - /// otherwise an error will be returned. **Warning:** Line Items using manual triggers no longer serve in - /// Display &amp; Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class ActivateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Activate request. - public ActivateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.ActivateManualTriggerRequest body, long advertiserId, long triggerId) : base(service) - { - AdvertiserId = advertiserId; - TriggerId = triggerId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser that the manual trigger belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the manual trigger to activate. - [Google.Apis.Util.RequestParameterAttribute("triggerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long TriggerId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.ActivateManualTriggerRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "activate"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:activate"; - - /// Initializes Activate parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("triggerId", new Google.Apis.Discovery.Parameter - { - Name = "triggerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Creates a new manual trigger. Returns the newly created manual trigger if successful. **Warning:** Line - /// Items using manual triggers no longer serve in Display &amp; Video 360. This method will sunset on - /// August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - /// The body of the request. - /// - /// Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.ManualTrigger body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// - /// Creates a new manual trigger. Returns the newly created manual trigger if successful. **Warning:** Line - /// Items using manual triggers no longer serve in Display &amp; Video 360. This method will sunset on - /// August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.ManualTrigger body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// - /// Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.ManualTrigger 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/advertisers/{+advertiserId}/manualTriggers"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Deactivates a manual trigger. **Warning:** Line Items using manual triggers no longer serve in Display - /// &amp; Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - /// The body of the request. - /// Required. The ID of the advertiser that the manual trigger belongs. - /// Required. The ID of the manual trigger to deactivate. - public virtual DeactivateRequest Deactivate(Google.Apis.DisplayVideo.v1.Data.DeactivateManualTriggerRequest body, long advertiserId, long triggerId) - { - return new DeactivateRequest(this.service, body, advertiserId, triggerId); - } - - /// - /// Deactivates a manual trigger. **Warning:** Line Items using manual triggers no longer serve in Display - /// &amp; Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class DeactivateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Deactivate request. - public DeactivateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.DeactivateManualTriggerRequest body, long advertiserId, long triggerId) : base(service) - { - AdvertiserId = advertiserId; - TriggerId = triggerId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser that the manual trigger belongs. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the manual trigger to deactivate. - [Google.Apis.Util.RequestParameterAttribute("triggerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long TriggerId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.DeactivateManualTriggerRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "deactivate"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:deactivate"; - - /// Initializes Deactivate parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("triggerId", new Google.Apis.Discovery.Parameter - { - Name = "triggerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Gets a manual trigger. **Warning:** Line Items using manual triggers no longer serve in Display - /// &amp; Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - /// Required. The ID of the advertiser this manual trigger belongs to. - /// Required. The ID of the manual trigger to fetch. - public virtual GetRequest Get(long advertiserId, long triggerId) - { - return new GetRequest(this.service, advertiserId, triggerId); - } - - /// - /// Gets a manual trigger. **Warning:** Line Items using manual triggers no longer serve in Display - /// &amp; Video 360. This method will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long triggerId) : base(service) - { - AdvertiserId = advertiserId; - TriggerId = triggerId; - InitParameters(); - } - - /// Required. The ID of the advertiser this manual trigger belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the manual trigger to fetch. - [Google.Apis.Util.RequestParameterAttribute("triggerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long TriggerId { 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/advertisers/{+advertiserId}/manualTriggers/{+triggerId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("triggerId", new Google.Apis.Discovery.Parameter - { - Name = "triggerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is - /// defined by the order_by parameter. A single advertiser_id is required. **Warning:** Line Items using - /// manual triggers no longer serve in Display &amp; Video 360. This method will sunset on August 1, - /// 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - /// - /// Required. The ID of the advertiser that the fetched manual triggers belong to. - /// - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// - /// Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is - /// defined by the order_by parameter. A single advertiser_id is required. **Warning:** Line Items using - /// manual triggers no longer serve in Display &amp; Video 360. This method will sunset on August 1, - /// 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser that the fetched manual triggers belong to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by manual trigger fields. Supported syntax: * Filter expressions are made up of one - /// or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence - /// of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. - /// * All fields must use the `EQUALS (=)` operator. Supported fields: * `displayName` * `state` - /// Examples: * All active manual triggers under an advertiser: `state="ACTIVE"` The length of this - /// field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * `state` The - /// default sorting order is ascending. To specify descending order for a field, a suffix "desc" should - /// be added to the field name. For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListManualTriggers` method. If not specified, - /// the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/manualTriggers"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 manual trigger. Returns the updated manual trigger if successful. **Warning:** Line Items - /// using manual triggers no longer serve in Display &amp; Video 360. This method will sunset on August - /// 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - /// The body of the request. - /// - /// Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. - /// - /// Output only. The unique ID of the manual trigger. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.ManualTrigger body, long advertiserId, long triggerId) - { - return new PatchRequest(this.service, body, advertiserId, triggerId); - } - - /// - /// Updates a manual trigger. Returns the updated manual trigger if successful. **Warning:** Line Items - /// using manual triggers no longer serve in Display &amp; Video 360. This method will sunset on August - /// 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.ManualTrigger body, long advertiserId, long triggerId) : base(service) - { - AdvertiserId = advertiserId; - TriggerId = triggerId; - Body = body; - InitParameters(); - } - - /// - /// Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the manual trigger. - [Google.Apis.Util.RequestParameterAttribute("triggerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long TriggerId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.ManualTrigger 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/advertisers/{+advertiserId}/manualTriggers/{+triggerId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("triggerId", new Google.Apis.Discovery.Parameter - { - Name = "triggerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the NegativeKeywordLists resource. - public virtual NegativeKeywordListsResource NegativeKeywordLists { get; } - - /// The "negativeKeywordLists" collection of methods. - public class NegativeKeywordListsResource - { - private const string Resource = "negativeKeywordLists"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public NegativeKeywordListsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - NegativeKeywords = new NegativeKeywordsResource(service); - } - - /// Gets the NegativeKeywords resource. - public virtual NegativeKeywordsResource NegativeKeywords { get; } - - /// The "negativeKeywords" collection of methods. - public class NegativeKeywordsResource - { - private const string Resource = "negativeKeywords"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public NegativeKeywordsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Bulk edits negative keywords in a single negative keyword list. The operation will delete the - /// negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then - /// create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. - /// This operation is guaranteed to be atomic and will never result in a partial success or partial - /// failure. - /// - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - /// - /// Required. The ID of the parent negative keyword list to which the negative keywords belong. - /// - public virtual BulkEditRequest BulkEdit(Google.Apis.DisplayVideo.v1.Data.BulkEditNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId) - { - return new BulkEditRequest(this.service, body, advertiserId, negativeKeywordListId); - } - - /// - /// Bulk edits negative keywords in a single negative keyword list. The operation will delete the - /// negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then - /// create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. - /// This operation is guaranteed to be atomic and will never result in a partial success or partial - /// failure. - /// - public class BulkEditRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEdit request. - public BulkEditRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the parent negative keyword list to which the negative keywords belong. - /// - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditNegativeKeywordsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEdit"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit"; - - /// Initializes BulkEdit parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Creates a negative keyword in a negative keyword list. - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - /// - /// Required. The ID of the parent negative keyword list in which the negative keyword will be created. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.NegativeKeyword body, long advertiserId, long negativeKeywordListId) - { - return new CreateRequest(this.service, body, advertiserId, negativeKeywordListId); - } - - /// Creates a negative keyword in a negative keyword list. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.NegativeKeyword body, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the parent negative keyword list in which the negative keyword will be - /// created. - /// - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.NegativeKeyword 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/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Deletes a negative keyword from a negative keyword list. - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - /// - /// Required. The ID of the parent negative keyword list to which the negative keyword belongs. - /// - /// Required. The keyword value of the negative keyword to delete. - public virtual DeleteRequest Delete(long advertiserId, long negativeKeywordListId, string keywordValue) - { - return new DeleteRequest(this.service, advertiserId, negativeKeywordListId, keywordValue); - } - - /// Deletes a negative keyword from a negative keyword list. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long negativeKeywordListId, string keywordValue) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - KeywordValue = keywordValue; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the parent negative keyword list to which the negative keyword belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { get; private set; } - - /// Required. The keyword value of the negative keyword to delete. - [Google.Apis.Util.RequestParameterAttribute("keywordValue", Google.Apis.Util.RequestParameterType.Path)] - public virtual string KeywordValue { 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/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("keywordValue", new Google.Apis.Discovery.Parameter - { - Name = "keywordValue", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists negative keywords in a negative keyword list. - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - /// - /// Required. The ID of the parent negative keyword list to which the requested negative keywords - /// belong. - /// - public virtual ListRequest List(long advertiserId, long negativeKeywordListId) - { - return new ListRequest(this.service, advertiserId, negativeKeywordListId); - } - - /// Lists negative keywords in a negative keyword list. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the parent negative keyword list to which the requested negative keywords - /// belong. - /// - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { get; private set; } - - /// - /// Allows filtering by negative keyword fields. Supported syntax: * Filter expressions for negative - /// keywords can only contain at most one restriction. * A restriction has the form of `{field} - /// {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * - /// `keywordValue` Examples: * All negative keywords for which the keyword value contains "google": - /// `keywordValue : "google"` The length of this field should be no more than 500 characters. - /// Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more - /// information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `keywordValue` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix " desc" should be - /// added to the field name. Example: `keywordValue desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `1000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListNegativeKeywords` method. If not - /// specified, the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - } - } - - /// - /// Replaces all negative keywords in a single negative keyword list. The operation will replace the - /// keywords in a negative keyword list with keywords provided in - /// ReplaceNegativeKeywordsRequest.new_negative_keywords. - /// - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - /// - /// Required. The ID of the parent negative keyword list to which the negative keywords belong. - /// - public virtual ReplaceRequest Replace(Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId) - { - return new ReplaceRequest(this.service, body, advertiserId, negativeKeywordListId); - } - - /// - /// Replaces all negative keywords in a single negative keyword list. The operation will replace the - /// keywords in a negative keyword list with keywords provided in - /// ReplaceNegativeKeywordsRequest.new_negative_keywords. - /// - public class ReplaceRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Replace request. - public ReplaceRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsRequest body, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. The ID of the parent negative keyword list to which the negative keywords belong. - /// - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.ReplaceNegativeKeywordsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "replace"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace"; - - /// Initializes Replace parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - } - - /// - /// Creates a new negative keyword list. Returns the newly created negative keyword list if successful. - /// - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the negative keyword list will belong. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.NegativeKeywordList body, long advertiserId) - { - return new CreateRequest(this.service, body, advertiserId); - } - - /// - /// Creates a new negative keyword list. Returns the newly created negative keyword list if successful. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.NegativeKeywordList body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the negative keyword list will belong. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.NegativeKeywordList 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/advertisers/{+advertiserId}/negativeKeywordLists"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Deletes a negative keyword list given an advertiser ID and a negative keyword list ID. - /// - /// - /// Required. The ID of the DV360 advertiser to which the negative keyword list belongs. - /// - /// Required. The ID of the negative keyword list to delete. - public virtual DeleteRequest Delete(long advertiserId, long negativeKeywordListId) - { - return new DeleteRequest(this.service, advertiserId, negativeKeywordListId); - } - - /// - /// Deletes a negative keyword list given an advertiser ID and a negative keyword list ID. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the negative keyword list to delete. - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { 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/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a negative keyword list given an advertiser ID and a negative keyword list ID. - /// - /// Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs. - /// - /// Required. The ID of the negative keyword list to fetch. - public virtual GetRequest Get(long advertiserId, long negativeKeywordListId) - { - return new GetRequest(this.service, advertiserId, negativeKeywordListId); - } - - /// Gets a negative keyword list given an advertiser ID and a negative keyword list ID. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The ID of the negative keyword list to fetch. - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { 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/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists negative keyword lists based on a given advertiser id. - /// - /// Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong. - /// - public virtual ListRequest List(long advertiserId) - { - return new ListRequest(this.service, advertiserId); - } - - /// Lists negative keyword lists based on a given advertiser id. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Requested page size. Must be between `1` and `200`. Defaults to `100` if not set. Returns error code - /// `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListNegativeKeywordLists` method. If not - /// specified, the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/negativeKeywordLists"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 negative keyword list. Returns the updated negative keyword list if successful. - /// - /// The body of the request. - /// - /// Required. The ID of the DV360 advertiser to which the negative keyword list belongs. - /// - /// - /// Output only. The unique ID of the negative keyword list. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.NegativeKeywordList body, long advertiserId, long negativeKeywordListId) - { - return new PatchRequest(this.service, body, advertiserId, negativeKeywordListId); - } - - /// - /// Updates a negative keyword list. Returns the updated negative keyword list if successful. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.NegativeKeywordList body, long advertiserId, long negativeKeywordListId) : base(service) - { - AdvertiserId = advertiserId; - NegativeKeywordListId = negativeKeywordListId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the DV360 advertiser to which the negative keyword list belongs. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Output only. The unique ID of the negative keyword list. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("negativeKeywordListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long NegativeKeywordListId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.NegativeKeywordList 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/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("negativeKeywordListId", new Google.Apis.Discovery.Parameter - { - Name = "negativeKeywordListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the TargetingTypes resource. - public virtual TargetingTypesResource TargetingTypes { get; } - - /// The "targetingTypes" collection of methods. - public class TargetingTypesResource - { - private const string Resource = "targetingTypes"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingTypesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedTargetingOptions = new AssignedTargetingOptionsResource(service); - } - - /// Gets the AssignedTargetingOptions resource. - public virtual AssignedTargetingOptionsResource AssignedTargetingOptions { get; } - - /// The "assignedTargetingOptions" collection of methods. - public class AssignedTargetingOptionsResource - { - private const string Resource = "assignedTargetingOptions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedTargetingOptionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful. - /// - /// The body of the request. - /// Required. The ID of the advertiser. - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` - /// * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption body, long advertiserId, CreateRequest.TargetingTypeEnum targetingType) - { - return new CreateRequest(this.service, body, advertiserId, targetingType); - } - - /// - /// Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption body, long advertiserId, TargetingTypeEnum targetingType) : base(service) - { - AdvertiserId = advertiserId; - TargetingType = targetingType; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption 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/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Deletes an assigned targeting option from an advertiser. - /// Required. The ID of the advertiser. - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` - /// * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - /// - /// Required. The ID of the assigned targeting option to delete. - /// - public virtual DeleteRequest Delete(long advertiserId, DeleteRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new DeleteRequest(this.service, advertiserId, targetingType, assignedTargetingOptionId); - } - - /// Deletes an assigned targeting option from an advertiser. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - AdvertiserId = advertiserId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the advertiser. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Required. The ID of the assigned targeting option to delete. - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a single targeting option assigned to an advertiser. - /// Required. The ID of the advertiser. - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` - /// * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * - /// `TARGETING_TYPE_YOUTUBE_CHANNEL` - /// - /// - /// Required. An identifier unique to the targeting type in this advertiser that identifies the assigned - /// targeting option being requested. - /// - public virtual GetRequest Get(long advertiserId, GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new GetRequest(this.service, advertiserId, targetingType, assignedTargetingOptionId); - } - - /// Gets a single targeting option assigned to an advertiser. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - AdvertiserId = advertiserId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the advertiser. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Required. An identifier unique to the targeting type in this advertiser that identifies the - /// assigned targeting option being requested. - /// - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists the targeting options assigned to an advertiser. - /// Required. The ID of the advertiser. - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` - /// * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * - /// `TARGETING_TYPE_YOUTUBE_CHANNEL` - /// - public virtual ListRequest List(long advertiserId, ListRequest.TargetingTypeEnum targetingType) - { - return new ListRequest(this.service, advertiserId, targetingType); - } - - /// Lists the targeting options assigned to an advertiser. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long advertiserId, TargetingTypeEnum targetingType) : base(service) - { - AdvertiserId = advertiserId; - TargetingType = targetingType; - InitParameters(); - } - - /// Required. The ID of the advertiser. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: - /// * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: - /// * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - /// `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the `OR` logical - /// operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use - /// the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * - /// `AssignedTargetingOption` with ID 123456: `assignedTargetingOptionId="123456"` The length of - /// this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) - /// The default sorting order is ascending. To specify descending order for a field, a suffix "desc" - /// should be added to the field name. Example: `assignedTargetingOptionId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListAdvertiserAssignedTargetingOptions` - /// method. If not specified, the first page of results will be returned. - /// - [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/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - } - } - } - } - - /// - /// Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. - /// Used entities count towards their respective resource limit. See - /// https://support.google.com/displayvideo/answer/6071450. - /// - /// Required. The ID of the advertiser to audit. - public virtual AuditRequest Audit(long advertiserId) - { - return new AuditRequest(this.service, advertiserId); - } - - /// - /// Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. - /// Used entities count towards their respective resource limit. See - /// https://support.google.com/displayvideo/answer/6071450. - /// - public class AuditRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Audit request. - public AuditRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to audit. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Optional. The specific fields to return. If no mask is specified, all fields in the response proto will - /// be filled. Valid values are: * usedLineItemsCount * usedInsertionOrdersCount * usedCampaignsCount * - /// channelsCount * negativelyTargetedChannelsCount * negativeKeywordListsCount * adGroupCriteriaCount * - /// campaignCriteriaCount - /// - [Google.Apis.Util.RequestParameterAttribute("readMask", Google.Apis.Util.RequestParameterType.Query)] - public virtual object ReadMask { get; set; } - - /// Gets the method name. - public override string MethodName => "audit"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}:audit"; - - /// Initializes Audit parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("readMask", new Google.Apis.Discovery.Parameter - { - Name = "readMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Bulk edits targeting options under a single advertiser. The operation will delete the assigned targeting - /// options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the - /// assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests . - /// - /// The body of the request. - /// Required. The ID of the advertiser. - public virtual BulkEditAdvertiserAssignedTargetingOptionsRequest BulkEditAdvertiserAssignedTargetingOptions(Google.Apis.DisplayVideo.v1.Data.BulkEditAdvertiserAssignedTargetingOptionsRequest body, long advertiserId) - { - return new BulkEditAdvertiserAssignedTargetingOptionsRequest(this.service, body, advertiserId); - } - - /// - /// Bulk edits targeting options under a single advertiser. The operation will delete the assigned targeting - /// options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the - /// assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests . - /// - public class BulkEditAdvertiserAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEditAdvertiserAssignedTargetingOptions request. - public BulkEditAdvertiserAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditAdvertiserAssignedTargetingOptionsRequest body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the advertiser. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditAdvertiserAssignedTargetingOptionsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEditAdvertiserAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions"; - - /// Initializes BulkEditAdvertiserAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists assigned targeting options of an advertiser across targeting types. - /// Required. The ID of the advertiser the line item belongs to. - public virtual BulkListAdvertiserAssignedTargetingOptionsRequest BulkListAdvertiserAssignedTargetingOptions(long advertiserId) - { - return new BulkListAdvertiserAssignedTargetingOptionsRequest(this.service, advertiserId); - } - - /// Lists assigned targeting options of an advertiser across targeting types. - public class BulkListAdvertiserAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkListAdvertiserAssignedTargetingOptions request. - public BulkListAdvertiserAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser the line item belongs to. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up - /// of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A - /// restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=) - /// operator`. Supported fields: * `targetingType` Examples: * targetingType with value - /// TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"` The length of this field should be no - /// more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting - /// order is ascending. To specify descending order for a field, a suffix "desc" should be added to the - /// field name. Example: `targetingType desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is - /// '5000'. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token that lets the client fetch the next page of results. Typically, this is the value of - /// next_page_token returned from the previous call to `BulkListAdvertiserAssignedTargetingOptions` method. - /// If not specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "bulkListAdvertiserAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions"; - - /// Initializes BulkListAdvertiserAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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 new advertiser. Returns the newly created advertiser if successful. This method can take up to 180 - /// seconds to complete. - /// - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Advertiser body) - { - return new CreateRequest(this.service, body); - } - - /// - /// Creates a new advertiser. Returns the newly created advertiser if successful. This method can take up to 180 - /// seconds to complete. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Advertiser body) : base(service) - { - Body = body; - InitParameters(); - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Advertiser 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/advertisers"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - } - } - - /// - /// Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, - /// campaigns, insertion orders and line items. A deleted advertiser cannot be recovered. - /// - /// The ID of the advertiser we need to delete. - public virtual DeleteRequest Delete(long advertiserId) - { - return new DeleteRequest(this.service, advertiserId); - } - - /// - /// Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, - /// campaigns, insertion orders and line items. A deleted advertiser cannot be recovered. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// The ID of the advertiser we need to delete. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { 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/advertisers/{+advertiserId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets an advertiser. - /// Required. The ID of the advertiser to fetch. - public virtual GetRequest Get(long advertiserId) - { - return new GetRequest(this.service, advertiserId); - } - - /// Gets an advertiser. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - InitParameters(); - } - - /// Required. The ID of the advertiser to fetch. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { 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/advertisers/{+advertiserId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A - /// single partner_id is required. Cross-partner listing is not supported. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A - /// single partner_id is required. Cross-partner listing is not supported. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// - /// Allows filtering by advertiser fields. Supported syntax: * Filter expressions are made up of one or more - /// restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. * A restriction has the - /// form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO - /// (&gt;=)` or `LESS THAN OR EQUAL TO (&lt;=)` operators. * All other fields must use the `EQUALS - /// (=)` operator. Supported fields: * `advertiserId` * `displayName` * `entityStatus` * `updateTime` (input - /// in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All active advertisers under a partner: - /// `entityStatus="ENTITY_STATUS_ACTIVE"` * All advertisers with an update time less than or equal to - /// 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime&lt;="2020-11-04T18:54:47Z"` * All advertisers - /// with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): - /// `updateTime&gt;="2020-11-04T18:54:47Z"` The length of this field should be no more than 500 - /// characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for - /// more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * `entityStatus` * - /// `updateTime` The default sorting order is ascending. To specify descending order for a field, a suffix - /// "desc" should be added to the field name. For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListAdvertisers` method. If not specified, the first - /// page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// - /// Required. The ID of the partner that the fetched advertisers should all belong to. The system only - /// supports listing advertisers for one partner at a time. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/advertisers"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - 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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Updates an existing advertiser. Returns the updated advertiser if successful. - /// The body of the request. - /// Output only. The unique ID of the advertiser. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.Advertiser body, long advertiserId) - { - return new PatchRequest(this.service, body, advertiserId); - } - - /// Updates an existing advertiser. Returns the updated advertiser if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Advertiser body, long advertiserId) : base(service) - { - AdvertiserId = advertiserId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the advertiser. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AdvertiserId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.Advertiser 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/advertisers/{+advertiserId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "combinedAudiences" collection of methods. - public class CombinedAudiencesResource - { - private const string Resource = "combinedAudiences"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public CombinedAudiencesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a combined audience. - /// Required. The ID of the combined audience to fetch. - public virtual GetRequest Get(long combinedAudienceId) - { - return new GetRequest(this.service, combinedAudienceId); - } - - /// Gets a combined audience. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long combinedAudienceId) : base(service) - { - CombinedAudienceId = combinedAudienceId; - InitParameters(); - } - - /// Required. The ID of the combined audience to fetch. - [Google.Apis.Util.RequestParameterAttribute("combinedAudienceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CombinedAudienceId { get; private set; } - - /// The ID of the advertiser that has access to the fetched combined audience. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that has access to the fetched combined audience. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/combinedAudiences/{+combinedAudienceId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("combinedAudienceId", new Google.Apis.Discovery.Parameter - { - Name = "combinedAudienceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists combined audiences. The order is defined by the order_by parameter. - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// Lists combined audiences. The order is defined by the order_by parameter. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// The ID of the advertiser that has access to the fetched combined audiences. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by combined audience fields. Supported syntax: * Filter expressions for combined - /// audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} - /// {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * - /// All combined audiences for which the display name contains "Google": `displayName : "Google"`. The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `combinedAudienceId` (default) * `displayName` - /// The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should - /// be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error - /// code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListCombinedAudiences` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that has access to the fetched combined audiences. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/combinedAudiences"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "customBiddingAlgorithms" collection of methods. - public class CustomBiddingAlgorithmsResource - { - private const string Resource = "customBiddingAlgorithms"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public CustomBiddingAlgorithmsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Scripts = new ScriptsResource(service); - } - - /// Gets the Scripts resource. - public virtual ScriptsResource Scripts { get; } - - /// The "scripts" collection of methods. - public class ScriptsResource - { - private const string Resource = "scripts"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ScriptsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Creates a new custom bidding script. Returns the newly created script if successful. - /// The body of the request. - /// - /// Required. The ID of the custom bidding algorithm that owns the script. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.CustomBiddingScript body, long customBiddingAlgorithmId) - { - return new CreateRequest(this.service, body, customBiddingAlgorithmId); - } - - /// Creates a new custom bidding script. Returns the newly created script if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CustomBiddingScript body, long customBiddingAlgorithmId) : base(service) - { - CustomBiddingAlgorithmId = customBiddingAlgorithmId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the custom bidding algorithm that owns the script. - [Google.Apis.Util.RequestParameterAttribute("customBiddingAlgorithmId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingAlgorithmId { get; private set; } - - /// The ID of the advertiser that owns the parent custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have - /// write access to this custom bidding script. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.CustomBiddingScript 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/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customBiddingAlgorithmId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingAlgorithmId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Gets a custom bidding script. - /// - /// Required. The ID of the custom bidding algorithm owns the script. - /// - /// Required. The ID of the custom bidding script to fetch. - public virtual GetRequest Get(long customBiddingAlgorithmId, long customBiddingScriptId) - { - return new GetRequest(this.service, customBiddingAlgorithmId, customBiddingScriptId); - } - - /// Gets a custom bidding script. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long customBiddingAlgorithmId, long customBiddingScriptId) : base(service) - { - CustomBiddingAlgorithmId = customBiddingAlgorithmId; - CustomBiddingScriptId = customBiddingScriptId; - InitParameters(); - } - - /// Required. The ID of the custom bidding algorithm owns the script. - [Google.Apis.Util.RequestParameterAttribute("customBiddingAlgorithmId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingAlgorithmId { get; private set; } - - /// Required. The ID of the custom bidding script to fetch. - [Google.Apis.Util.RequestParameterAttribute("customBiddingScriptId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingScriptId { get; private set; } - - /// The ID of the advertiser that owns the parent custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have - /// write access to this custom bidding script. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts/{+customBiddingScriptId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customBiddingAlgorithmId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingAlgorithmId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("customBiddingScriptId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingScriptId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by - /// parameter. - /// - /// - /// Required. The ID of the custom bidding algorithm owns the script. - /// - public virtual ListRequest List(long customBiddingAlgorithmId) - { - return new ListRequest(this.service, customBiddingAlgorithmId); - } - - /// - /// Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by - /// parameter. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long customBiddingAlgorithmId) : base(service) - { - CustomBiddingAlgorithmId = customBiddingAlgorithmId; - InitParameters(); - } - - /// Required. The ID of the custom bidding algorithm owns the script. - [Google.Apis.Util.RequestParameterAttribute("customBiddingAlgorithmId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingAlgorithmId { get; private set; } - - /// The ID of the advertiser that owns the parent custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `createTime desc` (default) The default - /// sorting order is descending. To specify ascending order for a field, the suffix "desc" should be - /// removed. Example: `createTime`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListCustomBiddingScripts` method. If not - /// specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// - /// The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have - /// write access to this custom bidding script. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customBiddingAlgorithmId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingAlgorithmId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// - /// Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful. - /// - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.CustomBiddingAlgorithm body) - { - return new CreateRequest(this.service, body); - } - - /// - /// Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CustomBiddingAlgorithm body) : base(service) - { - Body = body; - InitParameters(); - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.CustomBiddingAlgorithm 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/customBiddingAlgorithms"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - } - } - - /// Gets a custom bidding algorithm. - /// Required. The ID of the custom bidding algorithm to fetch. - public virtual GetRequest Get(long customBiddingAlgorithmId) - { - return new GetRequest(this.service, customBiddingAlgorithmId); - } - - /// Gets a custom bidding algorithm. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long customBiddingAlgorithmId) : base(service) - { - CustomBiddingAlgorithmId = customBiddingAlgorithmId; - InitParameters(); - } - - /// Required. The ID of the custom bidding algorithm to fetch. - [Google.Apis.Util.RequestParameterAttribute("customBiddingAlgorithmId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingAlgorithmId { get; private set; } - - /// The ID of the DV360 partner that has access to the custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the DV360 partner that has access to the custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/customBiddingAlgorithms/{+customBiddingAlgorithmId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customBiddingAlgorithmId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingAlgorithmId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Lists custom bidding algorithms that are accessible to the current user and can be used in bidding - /// stratgies. The order is defined by the order_by parameter. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists custom bidding algorithms that are accessible to the current user and can be used in bidding - /// stratgies. The order is defined by the order_by parameter. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// The ID of the DV360 advertiser that has access to the custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by custom bidding algorithm fields. Supported syntax: * Filter expressions are made up - /// of one or more restrictions. * Restrictions can be combined by `AND`. A sequence of restrictions - /// implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The - /// `customBiddingAlgorithmType` field must use the `EQUALS (=)` operator. * The `displayName` field must - /// use the `HAS (:)` operator. Supported fields: * `customBiddingAlgorithmType` * `displayName` Examples: * - /// All custom bidding algorithms for which the display name contains "politics": `displayName:"politics"`. - /// * All custom bidding algorithms for which the type is "SCRIPT_BASED": - /// `customBiddingAlgorithmType=SCRIPT_BASED` The length of this field should be no more than 500 - /// characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for - /// more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting - /// order is ascending. To specify descending order for a field, a suffix "desc" should be added to the - /// field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error - /// code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListCustomBiddingAlgorithms` method. If not - /// specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the DV360 partner that has access to the custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/customBiddingAlgorithms"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. - /// - /// The body of the request. - /// - /// Output only. The unique ID of the custom bidding algorithm. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.CustomBiddingAlgorithm body, long customBiddingAlgorithmId) - { - return new PatchRequest(this.service, body, customBiddingAlgorithmId); - } - - /// - /// Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CustomBiddingAlgorithm body, long customBiddingAlgorithmId) : base(service) - { - CustomBiddingAlgorithmId = customBiddingAlgorithmId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the custom bidding algorithm. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("customBiddingAlgorithmId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingAlgorithmId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.CustomBiddingAlgorithm 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/customBiddingAlgorithms/{+customBiddingAlgorithmId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customBiddingAlgorithmId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingAlgorithmId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Creates a custom bidding script reference object for a script file. The resulting reference object provides - /// a resource path to which the script file should be uploaded. This reference object should be included in - /// when creating a new custom bidding script object. - /// - /// - /// Required. The ID of the custom bidding algorithm owns the script. - /// - public virtual UploadScriptRequest UploadScript(long customBiddingAlgorithmId) - { - return new UploadScriptRequest(this.service, customBiddingAlgorithmId); - } - - /// - /// Creates a custom bidding script reference object for a script file. The resulting reference object provides - /// a resource path to which the script file should be uploaded. This reference object should be included in - /// when creating a new custom bidding script object. - /// - public class UploadScriptRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new UploadScript request. - public UploadScriptRequest(Google.Apis.Services.IClientService service, long customBiddingAlgorithmId) : base(service) - { - CustomBiddingAlgorithmId = customBiddingAlgorithmId; - InitParameters(); - } - - /// Required. The ID of the custom bidding algorithm owns the script. - [Google.Apis.Util.RequestParameterAttribute("customBiddingAlgorithmId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomBiddingAlgorithmId { get; private set; } - - /// The ID of the advertiser that owns the parent custom bidding algorithm. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write - /// access to this custom bidding script. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets the method name. - public override string MethodName => "uploadScript"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadScript"; - - /// Initializes UploadScript parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customBiddingAlgorithmId", new Google.Apis.Discovery.Parameter - { - Name = "customBiddingAlgorithmId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "customLists" collection of methods. - public class CustomListsResource - { - private const string Resource = "customLists"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public CustomListsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a custom list. - /// Required. The ID of the custom list to fetch. - public virtual GetRequest Get(long customListId) - { - return new GetRequest(this.service, customListId); - } - - /// Gets a custom list. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long customListId) : base(service) - { - CustomListId = customListId; - InitParameters(); - } - - /// Required. The ID of the custom list to fetch. - [Google.Apis.Util.RequestParameterAttribute("customListId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long CustomListId { get; private set; } - - /// The ID of the DV360 advertiser that has access to the fetched custom lists. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; 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/customLists/{+customListId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("customListId", new Google.Apis.Discovery.Parameter - { - Name = "customListId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists custom lists. The order is defined by the order_by parameter. - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// Lists custom lists. The order is defined by the order_by parameter. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// The ID of the DV360 advertiser that has access to the fetched custom lists. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by custom list fields. Supported syntax: * Filter expressions for custom lists can only - /// contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All - /// fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All custom lists - /// for which the display name contains "Google": `displayName:"Google"`. The length of this field should be - /// no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `customListId` (default) * `displayName` The - /// default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be - /// added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error - /// code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListCustomLists` method. If not specified, the first - /// page of results will be returned. - /// - [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/customLists"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - } - } - } - - /// The "firstAndThirdPartyAudiences" collection of methods. - public class FirstAndThirdPartyAudiencesResource - { - private const string Resource = "firstAndThirdPartyAudiences"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public FirstAndThirdPartyAudiencesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Creates a FirstAndThirdPartyAudience. Only supported for the following audience_type: * - /// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience body) - { - return new CreateRequest(this.service, body); - } - - /// - /// Creates a FirstAndThirdPartyAudience. Only supported for the following audience_type: * - /// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience body) : base(service) - { - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the advertiser under whom the FirstAndThirdPartyAudience will be created. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience 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/firstAndThirdPartyAudiences"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Updates the member list of a Customer Match audience. Only supported for the following audience_type: * - /// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - /// The body of the request. - /// - /// Required. The ID of the Customer Match FirstAndThirdPartyAudience whose members will be edited. - /// - public virtual EditCustomerMatchMembersRequest EditCustomerMatchMembers(Google.Apis.DisplayVideo.v1.Data.EditCustomerMatchMembersRequest body, long firstAndThirdPartyAudienceId) - { - return new EditCustomerMatchMembersRequest(this.service, body, firstAndThirdPartyAudienceId); - } - - /// - /// Updates the member list of a Customer Match audience. Only supported for the following audience_type: * - /// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - public class EditCustomerMatchMembersRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new EditCustomerMatchMembers request. - public EditCustomerMatchMembersRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.EditCustomerMatchMembersRequest body, long firstAndThirdPartyAudienceId) : base(service) - { - FirstAndThirdPartyAudienceId = firstAndThirdPartyAudienceId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the Customer Match FirstAndThirdPartyAudience whose members will be edited. - /// - [Google.Apis.Util.RequestParameterAttribute("firstAndThirdPartyAudienceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long FirstAndThirdPartyAudienceId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.EditCustomerMatchMembersRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "editCustomerMatchMembers"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}:editCustomerMatchMembers"; - - /// Initializes EditCustomerMatchMembers parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("firstAndThirdPartyAudienceId", new Google.Apis.Discovery.Parameter - { - Name = "firstAndThirdPartyAudienceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a first and third party audience. - /// - /// Required. The ID of the first and third party audience to fetch. - /// - public virtual GetRequest Get(long firstAndThirdPartyAudienceId) - { - return new GetRequest(this.service, firstAndThirdPartyAudienceId); - } - - /// Gets a first and third party audience. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long firstAndThirdPartyAudienceId) : base(service) - { - FirstAndThirdPartyAudienceId = firstAndThirdPartyAudienceId; - InitParameters(); - } - - /// Required. The ID of the first and third party audience to fetch. - [Google.Apis.Util.RequestParameterAttribute("firstAndThirdPartyAudienceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long FirstAndThirdPartyAudienceId { get; private set; } - - /// - /// The ID of the advertiser that has access to the fetched first and third party audience. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that has access to the fetched first and third party audience. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("firstAndThirdPartyAudienceId", new Google.Apis.Discovery.Parameter - { - Name = "firstAndThirdPartyAudienceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists first and third party audiences. The order is defined by the order_by parameter. - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// Lists first and third party audiences. The order is defined by the order_by parameter. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// - /// The ID of the advertiser that has access to the fetched first and third party audiences. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by first and third party audience fields. Supported syntax: * Filter expressions for - /// first and third party audiences can only contain at most one restriction. * A restriction has the form - /// of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * - /// `displayName` Examples: * All first and third party audiences for which the display name contains - /// "Google": `displayName:"Google"`. The length of this field should be no more than 500 characters. - /// Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more - /// information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `firstAndThirdPartyAudienceId` (default) * - /// `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix - /// "desc" should be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error - /// code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListFirstAndThirdPartyAudiences` method. If not - /// specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that has access to the fetched first and third party audiences. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/firstAndThirdPartyAudiences"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: * - /// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - /// The body of the request. - /// - /// Output only. The unique ID of the first and third party audience. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience body, long firstAndThirdPartyAudienceId) - { - return new PatchRequest(this.service, body, firstAndThirdPartyAudienceId); - } - - /// - /// Updates an existing FirstAndThirdPartyAudience. Only supported for the following audience_type: * - /// `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.FirstAndThirdPartyAudience body, long firstAndThirdPartyAudienceId) : base(service) - { - FirstAndThirdPartyAudienceId = firstAndThirdPartyAudienceId; - Body = body; - InitParameters(); - } - - /// - /// Output only. The unique ID of the first and third party audience. Assigned by the system. - /// - [Google.Apis.Util.RequestParameterAttribute("firstAndThirdPartyAudienceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long FirstAndThirdPartyAudienceId { get; private set; } - - /// Required. The ID of the owner advertiser of the updated FirstAndThirdPartyAudience. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Required. The mask to control which fields to update. Updates are only supported for the following - /// fields: * `displayName` * `description` * `membershipDurationDays` - /// - [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.DisplayVideo.v1.Data.FirstAndThirdPartyAudience 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/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("firstAndThirdPartyAudienceId", new Google.Apis.Discovery.Parameter - { - Name = "firstAndThirdPartyAudienceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "floodlightGroups" collection of methods. - public class FloodlightGroupsResource - { - private const string Resource = "floodlightGroups"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public FloodlightGroupsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a Floodlight group. - /// Required. The ID of the Floodlight group to fetch. - public virtual GetRequest Get(long floodlightGroupId) - { - return new GetRequest(this.service, floodlightGroupId); - } - - /// Gets a Floodlight group. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long floodlightGroupId) : base(service) - { - FloodlightGroupId = floodlightGroupId; - InitParameters(); - } - - /// Required. The ID of the Floodlight group to fetch. - [Google.Apis.Util.RequestParameterAttribute("floodlightGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long FloodlightGroupId { get; private set; } - - /// Required. The partner context by which the Floodlight group is being accessed. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/floodlightGroups/{+floodlightGroupId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("floodlightGroupId", new Google.Apis.Discovery.Parameter - { - Name = "floodlightGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Updates an existing Floodlight group. Returns the updated Floodlight group if successful. - /// The body of the request. - /// - /// Output only. The unique ID of the Floodlight group. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.FloodlightGroup body, long floodlightGroupId) - { - return new PatchRequest(this.service, body, floodlightGroupId); - } - - /// Updates an existing Floodlight group. Returns the updated Floodlight group if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.FloodlightGroup body, long floodlightGroupId) : base(service) - { - FloodlightGroupId = floodlightGroupId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the Floodlight group. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("floodlightGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long FloodlightGroupId { get; private set; } - - /// Required. The partner context by which the Floodlight group is being accessed. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.FloodlightGroup 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/floodlightGroups/{floodlightGroupId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("floodlightGroupId", new Google.Apis.Discovery.Parameter - { - Name = "floodlightGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "googleAudiences" collection of methods. - public class GoogleAudiencesResource - { - private const string Resource = "googleAudiences"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public GoogleAudiencesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a Google audience. - /// Required. The ID of the Google audience to fetch. - public virtual GetRequest Get(long googleAudienceId) - { - return new GetRequest(this.service, googleAudienceId); - } - - /// Gets a Google audience. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long googleAudienceId) : base(service) - { - GoogleAudienceId = googleAudienceId; - InitParameters(); - } - - /// Required. The ID of the Google audience to fetch. - [Google.Apis.Util.RequestParameterAttribute("googleAudienceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long GoogleAudienceId { get; private set; } - - /// The ID of the advertiser that has access to the fetched Google audience. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that has access to the fetched Google audience. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/googleAudiences/{+googleAudienceId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("googleAudienceId", new Google.Apis.Discovery.Parameter - { - Name = "googleAudienceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists Google audiences. The order is defined by the order_by parameter. - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// Lists Google audiences. The order is defined by the order_by parameter. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// The ID of the advertiser that has access to the fetched Google audiences. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by Google audience fields. Supported syntax: * Filter expressions for Google audiences - /// can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. - /// * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All Google - /// audiences for which the display name contains "Google": `displayName:"Google"`. The length of this field - /// should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `googleAudienceId` (default) * `displayName` - /// The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should - /// be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error - /// code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListGoogleAudiences` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that has access to the fetched Google audiences. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/googleAudiences"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "guaranteedOrders" collection of methods. - public class GuaranteedOrdersResource - { - private const string Resource = "guaranteedOrders"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public GuaranteedOrdersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Creates a new guaranteed order. Returns the newly created guaranteed order if successful. - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder body) - { - return new CreateRequest(this.service, body); - } - - /// Creates a new guaranteed order. Returns the newly created guaranteed order if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder body) : base(service) - { - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder 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/guaranteedOrders"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Edits read advertisers of a guaranteed order. - /// The body of the request. - /// - /// Required. The ID of the guaranteed order to edit. The ID is of the format - /// `{exchange}-{legacy_guaranteed_order_id}` - /// - public virtual EditGuaranteedOrderReadAccessorsRequest EditGuaranteedOrderReadAccessors(Google.Apis.DisplayVideo.v1.Data.EditGuaranteedOrderReadAccessorsRequest body, string guaranteedOrderId) - { - return new EditGuaranteedOrderReadAccessorsRequest(this.service, body, guaranteedOrderId); - } - - /// Edits read advertisers of a guaranteed order. - public class EditGuaranteedOrderReadAccessorsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new EditGuaranteedOrderReadAccessors request. - public EditGuaranteedOrderReadAccessorsRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.EditGuaranteedOrderReadAccessorsRequest body, string guaranteedOrderId) : base(service) - { - GuaranteedOrderId = guaranteedOrderId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the guaranteed order to edit. The ID is of the format - /// `{exchange}-{legacy_guaranteed_order_id}` - /// - [Google.Apis.Util.RequestParameterAttribute("guaranteedOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string GuaranteedOrderId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.EditGuaranteedOrderReadAccessorsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "editGuaranteedOrderReadAccessors"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/guaranteedOrders/{+guaranteedOrderId}:editGuaranteedOrderReadAccessors"; - - /// Initializes EditGuaranteedOrderReadAccessors parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("guaranteedOrderId", new Google.Apis.Discovery.Parameter - { - Name = "guaranteedOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a guaranteed order. - /// - /// Required. The ID of the guaranteed order to fetch. The ID is of the format - /// `{exchange}-{legacy_guaranteed_order_id}` - /// - public virtual GetRequest Get(string guaranteedOrderId) - { - return new GetRequest(this.service, guaranteedOrderId); - } - - /// Gets a guaranteed order. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string guaranteedOrderId) : base(service) - { - GuaranteedOrderId = guaranteedOrderId; - InitParameters(); - } - - /// - /// Required. The ID of the guaranteed order to fetch. The ID is of the format - /// `{exchange}-{legacy_guaranteed_order_id}` - /// - [Google.Apis.Util.RequestParameterAttribute("guaranteedOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string GuaranteedOrderId { get; private set; } - - /// The ID of the advertiser that has access to the guaranteed order. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that has access to the guaranteed order. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/guaranteedOrders/{+guaranteedOrderId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("guaranteedOrderId", new Google.Apis.Discovery.Parameter - { - Name = "guaranteedOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by - /// parameter. If a filter by entity_status is not specified, guaranteed orders with entity status - /// `ENTITY_STATUS_ARCHIVED` will not be included in the results. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by - /// parameter. If a filter by entity_status is not specified, guaranteed orders with entity status - /// `ENTITY_STATUS_ARCHIVED` will not be included in the results. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// The ID of the advertiser that has access to the guaranteed order. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by guaranteed order fields. * Filter expressions are made up of one or more - /// restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of - /// restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All - /// fields must use the `EQUALS (=)` operator. Supported fields: * `guaranteed_order_id` * `exchange` * - /// `display_name` * `status.entityStatus` Examples: * All active guaranteed orders: - /// `status.entityStatus="ENTITY_STATUS_ACTIVE"` * Guaranteed orders belonging to Google Ad Manager or - /// Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"` The length of - /// this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting - /// order is ascending. To specify descending order for a field, a suffix "desc" should be added to the - /// field name. For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListGuaranteedOrders` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that has access to the guaranteed order. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/guaranteedOrders"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Updates an existing guaranteed order. Returns the updated guaranteed order if successful. - /// The body of the request. - /// - /// Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format - /// `{exchange}-{legacy_guaranteed_order_id}`. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder body, string guaranteedOrderId) - { - return new PatchRequest(this.service, body, guaranteedOrderId); - } - - /// Updates an existing guaranteed order. Returns the updated guaranteed order if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.GuaranteedOrder body, string guaranteedOrderId) : base(service) - { - GuaranteedOrderId = guaranteedOrderId; - Body = body; - InitParameters(); - } - - /// - /// Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format - /// `{exchange}-{legacy_guaranteed_order_id}`. - /// - [Google.Apis.Util.RequestParameterAttribute("guaranteedOrderId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string GuaranteedOrderId { get; private set; } - - /// The ID of the advertiser that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.GuaranteedOrder 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/guaranteedOrders/{+guaranteedOrderId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("guaranteedOrderId", new Google.Apis.Discovery.Parameter - { - Name = "guaranteedOrderId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "inventorySourceGroups" collection of methods. - public class InventorySourceGroupsResource - { - private const string Resource = "inventorySourceGroups"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public InventorySourceGroupsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedInventorySources = new AssignedInventorySourcesResource(service); - } - - /// Gets the AssignedInventorySources resource. - public virtual AssignedInventorySourcesResource AssignedInventorySources { get; } - - /// The "assignedInventorySources" collection of methods. - public class AssignedInventorySourcesResource - { - private const string Resource = "assignedInventorySources"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedInventorySourcesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Bulk edits multiple assignments between inventory sources and a single inventory source group. The - /// operation will delete the assigned inventory sources provided in - /// BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned - /// inventory sources provided in - /// BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources. - /// - /// The body of the request. - /// - /// Required. The ID of the inventory source group to which the assignments are assigned. - /// - public virtual BulkEditRequest BulkEdit(Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedInventorySourcesRequest body, long inventorySourceGroupId) - { - return new BulkEditRequest(this.service, body, inventorySourceGroupId); - } - - /// - /// Bulk edits multiple assignments between inventory sources and a single inventory source group. The - /// operation will delete the assigned inventory sources provided in - /// BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned - /// inventory sources provided in - /// BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources. - /// - public class BulkEditRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEdit request. - public BulkEditRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedInventorySourcesRequest body, long inventorySourceGroupId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the inventory source group to which the assignments are assigned. - /// - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedInventorySourcesRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEdit"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit"; - - /// Initializes BulkEdit parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Creates an assignment between an inventory source and an inventory source group. - /// The body of the request. - /// - /// Required. The ID of the inventory source group to which the assignment will be assigned. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.AssignedInventorySource body, long inventorySourceGroupId) - { - return new CreateRequest(this.service, body, inventorySourceGroupId); - } - - /// Creates an assignment between an inventory source and an inventory source group. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.AssignedInventorySource body, long inventorySourceGroupId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - Body = body; - InitParameters(); - } - - /// - /// Required. The ID of the inventory source group to which the assignment will be assigned. - /// - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// - /// The ID of the advertiser that owns the parent inventory source group. The parent partner will not - /// have access to this assigned inventory source. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the parent inventory source group. Only this partner will have write - /// access to this assigned inventory source. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.AssignedInventorySource 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/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Deletes the assignment between an inventory source and an inventory source group. - /// - /// Required. The ID of the inventory source group to which this assignment is assigned. - /// - /// - /// Required. The ID of the assigned inventory source to delete. - /// - public virtual DeleteRequest Delete(long inventorySourceGroupId, long assignedInventorySourceId) - { - return new DeleteRequest(this.service, inventorySourceGroupId, assignedInventorySourceId); - } - - /// Deletes the assignment between an inventory source and an inventory source group. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long inventorySourceGroupId, long assignedInventorySourceId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - AssignedInventorySourceId = assignedInventorySourceId; - InitParameters(); - } - - /// - /// Required. The ID of the inventory source group to which this assignment is assigned. - /// - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// Required. The ID of the assigned inventory source to delete. - [Google.Apis.Util.RequestParameterAttribute("assignedInventorySourceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long AssignedInventorySourceId { get; private set; } - - /// - /// The ID of the advertiser that owns the parent inventory source group. The parent partner does not - /// have access to this assigned inventory source. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the parent inventory source group. Only this partner has write - /// access to this assigned inventory source. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedInventorySourceId", new Google.Apis.Discovery.Parameter - { - Name = "assignedInventorySourceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists inventory sources assigned to an inventory source group. - /// - /// Required. The ID of the inventory source group to which these assignments are assigned. - /// - public virtual ListRequest List(long inventorySourceGroupId) - { - return new ListRequest(this.service, inventorySourceGroupId); - } - - /// Lists inventory sources assigned to an inventory source group. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long inventorySourceGroupId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - InitParameters(); - } - - /// - /// Required. The ID of the inventory source group to which these assignments are assigned. - /// - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// - /// The ID of the advertiser that has access to the assignment. If the parent inventory source group is - /// partner-owned, only advertisers to which the parent group is explicitly shared can access the - /// assigned inventory source. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by assigned inventory source fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * - /// A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` - /// operator. Supported fields: * `assignedInventorySourceId` The length of this field should be no more - /// than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedInventorySourceId` (default) The - /// default sorting order is ascending. To specify descending order for a field, a suffix " desc" should - /// be added to the field name. Example: `assignedInventorySourceId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListAssignedInventorySources` method. If not - /// specified, the first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// - /// The ID of the partner that has access to the assignment. If the parent inventory source group is - /// advertiser-owned, the assignment cannot be accessed via a partner. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// - /// Creates a new inventory source group. Returns the newly created inventory source group if successful. - /// - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup body) - { - return new CreateRequest(this.service, body); - } - - /// - /// Creates a new inventory source group. Returns the newly created inventory source group if successful. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup body) : base(service) - { - Body = body; - InitParameters(); - } - - /// - /// The ID of the advertiser that owns the inventory source group. The parent partner will not have access - /// to this group. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the inventory source group. Only this partner will have write access to - /// this group. Only advertisers to which this group is explicitly shared will have read access to this - /// group. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup 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/inventorySourceGroups"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Deletes an inventory source group. - /// Required. The ID of the inventory source group to delete. - public virtual DeleteRequest Delete(long inventorySourceGroupId) - { - return new DeleteRequest(this.service, inventorySourceGroupId); - } - - /// Deletes an inventory source group. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long inventorySourceGroupId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - InitParameters(); - } - - /// Required. The ID of the inventory source group to delete. - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// - /// The ID of the advertiser that owns the inventory source group. The parent partner does not have access - /// to this group. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the inventory source group. Only this partner has write access to this - /// group. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/inventorySourceGroups/{+inventorySourceGroupId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Gets an inventory source group. - /// Required. The ID of the inventory source group to fetch. - public virtual GetRequest Get(long inventorySourceGroupId) - { - return new GetRequest(this.service, inventorySourceGroupId); - } - - /// Gets an inventory source group. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long inventorySourceGroupId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - InitParameters(); - } - - /// Required. The ID of the inventory source group to fetch. - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// - /// The ID of the advertiser that has access to the inventory source group. If an inventory source group is - /// partner-owned, only advertisers to which the group is explicitly shared can access the group. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that has access to the inventory source group. A partner cannot access an - /// advertiser-owned inventory source group. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/inventorySourceGroups/{+inventorySourceGroupId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Lists inventory source groups that are accessible to the current user. The order is defined by the order_by - /// parameter. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists inventory source groups that are accessible to the current user. The order is defined by the order_by - /// parameter. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// - /// The ID of the advertiser that has access to the inventory source group. If an inventory source group is - /// partner-owned, only advertisers to which the group is explicitly shared can access the group. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by inventory source group fields. Supported syntax: * Filter expressions are made up of - /// one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction - /// has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported - /// fields: * `inventorySourceGroupId` The length of this field should be no more than 500 characters. - /// Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more - /// information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * - /// `inventorySourceGroupId` The default sorting order is ascending. To specify descending order for a - /// field, a suffix "desc" should be added to the field name. For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// - /// The ID of the partner that has access to the inventory source group. A partner cannot access - /// advertiser-owned inventory source groups. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/inventorySourceGroups"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Updates an inventory source group. Returns the updated inventory source group if successful. - /// - /// The body of the request. - /// - /// Output only. The unique ID of the inventory source group. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup body, long inventorySourceGroupId) - { - return new PatchRequest(this.service, body, inventorySourceGroupId); - } - - /// - /// Updates an inventory source group. Returns the updated inventory source group if successful. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup body, long inventorySourceGroupId) : base(service) - { - InventorySourceGroupId = inventorySourceGroupId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the inventory source group. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("inventorySourceGroupId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceGroupId { get; private set; } - - /// - /// The ID of the advertiser that owns the inventory source group. The parent partner does not have access - /// to this group. - /// - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The ID of the partner that owns the inventory source group. Only this partner has write access to this - /// group. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.InventorySourceGroup 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/inventorySourceGroups/{inventorySourceGroupId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceGroupId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceGroupId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "inventorySources" collection of methods. - public class InventorySourcesResource - { - private const string Resource = "inventorySources"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public InventorySourcesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Creates a new inventory source. Returns the newly created inventory source if successful. - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.InventorySource body) - { - return new CreateRequest(this.service, body); - } - - /// Creates a new inventory source. Returns the newly created inventory source if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.InventorySource body) : base(service) - { - Body = body; - InitParameters(); - } - - /// The ID of the advertiser that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.InventorySource 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/inventorySources"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the - /// inventory source. - /// - /// The body of the request. - /// Required. The ID of inventory source to update. - public virtual EditInventorySourceReadWriteAccessorsRequest EditInventorySourceReadWriteAccessors(Google.Apis.DisplayVideo.v1.Data.EditInventorySourceReadWriteAccessorsRequest body, long inventorySourceId) - { - return new EditInventorySourceReadWriteAccessorsRequest(this.service, body, inventorySourceId); - } - - /// - /// Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the - /// inventory source. - /// - public class EditInventorySourceReadWriteAccessorsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new EditInventorySourceReadWriteAccessors request. - public EditInventorySourceReadWriteAccessorsRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.EditInventorySourceReadWriteAccessorsRequest body, long inventorySourceId) : base(service) - { - InventorySourceId = inventorySourceId; - Body = body; - InitParameters(); - } - - /// Required. The ID of inventory source to update. - [Google.Apis.Util.RequestParameterAttribute("inventorySourceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.EditInventorySourceReadWriteAccessorsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "editInventorySourceReadWriteAccessors"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors"; - - /// Initializes EditInventorySourceReadWriteAccessors parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets an inventory source. - /// Required. The ID of the inventory source to fetch. - public virtual GetRequest Get(long inventorySourceId) - { - return new GetRequest(this.service, inventorySourceId); - } - - /// Gets an inventory source. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long inventorySourceId) : base(service) - { - InventorySourceId = inventorySourceId; - InitParameters(); - } - - /// Required. The ID of the inventory source to fetch. - [Google.Apis.Util.RequestParameterAttribute("inventorySourceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceId { get; private set; } - - /// - /// Required. The ID of the DV360 partner to which the fetched inventory source is permissioned. - /// - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; 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/inventorySources/{+inventorySourceId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Lists inventory sources that are accessible to the current user. The order is defined by the order_by - /// parameter. If a filter by entity_status is not specified, inventory sources with entity status - /// `ENTITY_STATUS_ARCHIVED` will not be included in the results. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists inventory sources that are accessible to the current user. The order is defined by the order_by - /// parameter. If a filter by entity_status is not specified, inventory sources with entity status - /// `ENTITY_STATUS_ARCHIVED` will not be included in the results. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// The ID of the advertiser that has access to the inventory source. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by inventory source fields. Supported syntax: * Filter expressions are made up of one - /// or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of - /// restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All - /// fields must use the `EQUALS (=)` operator. Supported fields: * `status.entityStatus` * `commitment` * - /// `deliveryMethod` * `rateDetails.rateType` * `exchange` Examples: * All active inventory sources: - /// `status.entityStatus="ENTITY_STATUS_ACTIVE"` * Inventory sources belonging to Google Ad Manager or - /// Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"` The length of - /// this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting - /// order is ascending. To specify descending order for a field, a suffix "desc" should be added to the - /// field name. For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the - /// first page of results will be returned. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// The ID of the partner that has access to the inventory source. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { 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/inventorySources"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Updates an existing inventory source. Returns the updated inventory source if successful. - /// The body of the request. - /// - /// Output only. The unique ID of the inventory source. Assigned by the system. - /// - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.InventorySource body, long inventorySourceId) - { - return new PatchRequest(this.service, body, inventorySourceId); - } - - /// Updates an existing inventory source. Returns the updated inventory source if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.InventorySource body, long inventorySourceId) : base(service) - { - InventorySourceId = inventorySourceId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the inventory source. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("inventorySourceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long InventorySourceId { get; private set; } - - /// The ID of the advertiser that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ID of the partner that the request is being made within. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PartnerId { get; set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.InventorySource 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/inventorySources/{+inventorySourceId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("inventorySourceId", new Google.Apis.Discovery.Parameter - { - Name = "inventorySourceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "media" collection of methods. - public class MediaResource - { - private const string Resource = "media"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public MediaResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: - /// Download requests will not be successful without including `alt=media` query string. - /// - /// - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - /// - public virtual DownloadRequest Download(string resourceName) - { - return new DownloadRequest(this.service, resourceName); - } - - /// - /// Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: - /// Download requests will not be successful without including `alt=media` query string. - /// - public class DownloadRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Download request. - public DownloadRequest(Google.Apis.Services.IClientService service, string resourceName) : base(service) - { - ResourceName = resourceName; - MediaDownloader = new Google.Apis.Download.MediaDownloader(service); - InitParameters(); - } - - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ResourceName { get; private set; } - - /// Gets the method name. - public override string MethodName => "download"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "download/{+resourceName}"; - - /// Initializes Download parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("resourceName", new Google.Apis.Discovery.Parameter - { - Name = "resourceName", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^.*$", - }); - } - - /// Gets the media downloader. - public Google.Apis.Download.IMediaDownloader MediaDownloader { get; private set; } - - /// - /// Synchronously download the media into the given stream. - /// - /// Warning: This method hides download errors; use - /// instead. - /// - /// - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual void Download(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Synchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - /// The final status of the download; including whether the download succeeded or failed. - public virtual Google.Apis.Download.IDownloadProgress DownloadWithStatus(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream, - System.Threading.CancellationToken cancellationToken) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - - /// Synchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.Stream stream, System.Net.Http.Headers.RangeHeaderValue range) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadRangeAsync(System.IO.Stream stream, - System.Net.Http.Headers.RangeHeaderValue range, - System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - } - - /// - /// Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` - /// **Note**: Upload requests will not be successful without including `upload_type=media` query string. - /// - /// The body of the request. - /// - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - /// - public virtual UploadRequest Upload(Google.Apis.DisplayVideo.v1.Data.GoogleBytestreamMedia body, string resourceName) - { - return new UploadRequest(this.service, body, resourceName); - } - - /// - /// Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` - /// **Note**: Upload requests will not be successful without including `upload_type=media` query string. - /// - public class UploadRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Upload request. - public UploadRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.GoogleBytestreamMedia body, string resourceName) : base(service) - { - ResourceName = resourceName; - Body = body; - InitParameters(); - } - - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ResourceName { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.GoogleBytestreamMedia Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "upload"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "media/{+resourceName}"; - - /// Initializes Upload parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("resourceName", new Google.Apis.Discovery.Parameter - { - Name = "resourceName", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^.*$", - }); - } - } - - /// - /// Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` - /// **Note**: Upload requests will not be successful without including `upload_type=media` query string. - /// - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before reading - /// commences. If is not seekable, then it will be read from its current position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - /// The body of the request. - /// - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - /// - /// The stream to upload. See remarks for further information. - /// The content type of the stream to upload. - public virtual UploadMediaUpload Upload(Google.Apis.DisplayVideo.v1.Data.GoogleBytestreamMedia body, string resourceName, System.IO.Stream stream, string contentType) - { - return new UploadMediaUpload(service, body, resourceName, stream, contentType); - } - - /// Upload media upload which supports resumable upload. - public class UploadMediaUpload : Google.Apis.Upload.ResumableUpload - { - /// 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; } - - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ResourceName { get; private set; } - - /// Constructs a new Upload media upload instance. - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before - /// reading commences. If is not seekable, then it will be read from its current - /// position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - public UploadMediaUpload(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.GoogleBytestreamMedia body, string resourceName, System.IO.Stream stream, string contentType) - : base(service, string.Format("/{0}/{1}{2}", "upload", service.BasePath, "media/{+resourceName}"), "POST", stream, contentType) - { - ResourceName = resourceName; - Body = body; - } - } - } - - /// The "partners" collection of methods. - public class PartnersResource - { - private const string Resource = "partners"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public PartnersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Channels = new ChannelsResource(service); - TargetingTypes = new TargetingTypesResource(service); - } - - /// Gets the Channels resource. - public virtual ChannelsResource Channels { get; } - - /// The "channels" collection of methods. - public class ChannelsResource - { - private const string Resource = "channels"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ChannelsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Sites = new SitesResource(service); - } - - /// Gets the Sites resource. - public virtual SitesResource Sites { get; } - - /// The "sites" collection of methods. - public class SitesResource - { - private const string Resource = "sites"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public SitesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Bulk edits sites under a single channel. The operation will delete the sites provided in - /// BulkEditSitesRequest.deleted_sites and then create the sites provided in - /// BulkEditSitesRequest.created_sites. - /// - /// The body of the request. - /// The ID of the partner that owns the parent channel. - /// Required. The ID of the parent channel to which the sites belong. - public virtual BulkEditRequest BulkEdit(Google.Apis.DisplayVideo.v1.Data.BulkEditSitesRequest body, long partnerId, long channelId) - { - return new BulkEditRequest(this.service, body, partnerId, channelId); - } - - /// - /// Bulk edits sites under a single channel. The operation will delete the sites provided in - /// BulkEditSitesRequest.deleted_sites and then create the sites provided in - /// BulkEditSitesRequest.created_sites. - /// - public class BulkEditRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEdit request. - public BulkEditRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditSitesRequest body, long partnerId, long channelId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Required. The ID of the parent channel to which the sites belong. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditSitesRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEdit"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit"; - - /// Initializes BulkEdit parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Creates a site in a channel. - /// The body of the request. - /// The ID of the partner that owns the parent channel. - /// - /// Required. The ID of the parent channel in which the site will be created. - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Site body, long partnerId, long channelId) - { - return new CreateRequest(this.service, body, partnerId, channelId); - } - - /// Creates a site in a channel. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Site body, long partnerId, long channelId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Required. The ID of the parent channel in which the site will be created. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Site 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/partners/{partnerId}/channels/{+channelId}/sites"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Deletes a site from a channel. - /// The ID of the partner that owns the parent channel. - /// Required. The ID of the parent channel to which the site belongs. - /// Required. The URL or app ID of the site to delete. - public virtual DeleteRequest Delete(long partnerId, long channelId, string urlOrAppId) - { - return new DeleteRequest(this.service, partnerId, channelId, urlOrAppId); - } - - /// Deletes a site from a channel. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long partnerId, long channelId, string urlOrAppId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - UrlOrAppId = urlOrAppId; - InitParameters(); - } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Required. The ID of the parent channel to which the site belongs. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// Required. The URL or app ID of the site to delete. - [Google.Apis.Util.RequestParameterAttribute("urlOrAppId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string UrlOrAppId { get; private set; } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { 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/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("urlOrAppId", new Google.Apis.Discovery.Parameter - { - Name = "urlOrAppId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists sites in a channel. - /// The ID of the partner that owns the parent channel. - /// - /// Required. The ID of the parent channel to which the requested sites belong. - /// - public virtual ListRequest List(long partnerId, long channelId) - { - return new ListRequest(this.service, partnerId, channelId); - } - - /// Lists sites in a channel. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long partnerId, long channelId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - InitParameters(); - } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Required. The ID of the parent channel to which the requested sites belong. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the advertiser that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by site fields. Supported syntax: * Filter expressions for site retrieval can - /// only contain at most one restriction. * A restriction has the form of `{field} {operator} - /// {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `urlOrAppId` - /// Examples: * All sites for which the URL or app ID contains "google": `urlOrAppId : "google"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix " desc" should be - /// added to the field name. Example: `urlOrAppId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListSites` method. If not specified, the - /// first page of results will be returned. - /// - [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/partners/{+partnerId}/channels/{+channelId}/sites"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - } - } - - /// - /// Replaces all of the sites under a single channel. The operation will replace the sites under a - /// channel with the sites provided in ReplaceSitesRequest.new_sites. - /// - /// The body of the request. - /// The ID of the partner that owns the parent channel. - /// Required. The ID of the parent channel whose sites will be replaced. - public virtual ReplaceRequest Replace(Google.Apis.DisplayVideo.v1.Data.ReplaceSitesRequest body, long partnerId, long channelId) - { - return new ReplaceRequest(this.service, body, partnerId, channelId); - } - - /// - /// Replaces all of the sites under a single channel. The operation will replace the sites under a - /// channel with the sites provided in ReplaceSitesRequest.new_sites. - /// - public class ReplaceRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Replace request. - public ReplaceRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.ReplaceSitesRequest body, long partnerId, long channelId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the partner that owns the parent channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Required. The ID of the parent channel whose sites will be replaced. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.ReplaceSitesRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "replace"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/partners/{partnerId}/channels/{+channelId}/sites:replace"; - - /// Initializes Replace parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - } - - /// Creates a new channel. Returns the newly created channel if successful. - /// The body of the request. - /// The ID of the partner that owns the created channel. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.Channel body, long partnerId) - { - return new CreateRequest(this.service, body, partnerId); - } - - /// Creates a new channel. Returns the newly created channel if successful. - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Channel body, long partnerId) : base(service) - { - PartnerId = partnerId; - Body = body; - InitParameters(); - } - - /// The ID of the partner that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// The ID of the advertiser that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.Channel 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/partners/{+partnerId}/channels"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Gets a channel for a partner or advertiser. - /// The ID of the partner that owns the fetched channel. - /// Required. The ID of the channel to fetch. - public virtual GetRequest Get(long partnerId, long channelId) - { - return new GetRequest(this.service, partnerId, channelId); - } - - /// Gets a channel for a partner or advertiser. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long partnerId, long channelId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - InitParameters(); - } - - /// The ID of the partner that owns the fetched channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Required. The ID of the channel to fetch. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the advertiser that owns the fetched channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; 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/partners/{+partnerId}/channels/{+channelId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists channels for a partner or advertiser. - /// The ID of the partner that owns the channels. - public virtual ListRequest List(long partnerId) - { - return new ListRequest(this.service, partnerId); - } - - /// Lists channels for a partner or advertiser. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long partnerId) : base(service) - { - PartnerId = partnerId; - InitParameters(); - } - - /// The ID of the partner that owns the channels. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// The ID of the advertiser that owns the channels. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only - /// contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All - /// fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels - /// for which the display name contains "google": `displayName : "google"`. The length of this field - /// should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The - /// default sorting order is ascending. To specify descending order for a field, a suffix " desc" should - /// be added to the field name. Example: `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListChannels` method. If not specified, the - /// first page of results will be returned. - /// - [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/partners/{+partnerId}/channels"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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 channel. Returns the updated channel if successful. - /// The body of the request. - /// The ID of the partner that owns the created channel. - /// Output only. The unique ID of the channel. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.Channel body, long partnerId, long channelId) - { - return new PatchRequest(this.service, body, partnerId, channelId); - } - - /// Updates a channel. Returns the updated channel if successful. - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.Channel body, long partnerId, long channelId) : base(service) - { - PartnerId = partnerId; - ChannelId = channelId; - Body = body; - InitParameters(); - } - - /// The ID of the partner that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Output only. The unique ID of the channel. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("channelId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long ChannelId { get; private set; } - - /// The ID of the advertiser that owns the created channel. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.Channel 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/partners/{+partnerId}/channels/{channelId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("channelId", new Google.Apis.Discovery.Parameter - { - Name = "channelId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the TargetingTypes resource. - public virtual TargetingTypesResource TargetingTypes { get; } - - /// The "targetingTypes" collection of methods. - public class TargetingTypesResource - { - private const string Resource = "targetingTypes"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingTypesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - AssignedTargetingOptions = new AssignedTargetingOptionsResource(service); - } - - /// Gets the AssignedTargetingOptions resource. - public virtual AssignedTargetingOptionsResource AssignedTargetingOptions { get; } - - /// The "assignedTargetingOptions" collection of methods. - public class AssignedTargetingOptionsResource - { - private const string Resource = "assignedTargetingOptions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssignedTargetingOptionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Assigns a targeting option to a partner. Returns the assigned targeting option if successful. - /// - /// The body of the request. - /// Required. The ID of the partner. - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption body, long partnerId, CreateRequest.TargetingTypeEnum targetingType) - { - return new CreateRequest(this.service, body, partnerId, targetingType); - } - - /// - /// Assigns a targeting option to a partner. Returns the assigned targeting option if successful. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption body, long partnerId, TargetingTypeEnum targetingType) : base(service) - { - PartnerId = partnerId; - TargetingType = targetingType; - Body = body; - InitParameters(); - } - - /// Required. The ID of the partner. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.AssignedTargetingOption 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/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Deletes an assigned targeting option from a partner. - /// Required. The ID of the partner. - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - /// - /// Required. The ID of the assigned targeting option to delete. - /// - public virtual DeleteRequest Delete(long partnerId, DeleteRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new DeleteRequest(this.service, partnerId, targetingType, assignedTargetingOptionId); - } - - /// Deletes an assigned targeting option from a partner. - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long partnerId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - PartnerId = partnerId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the partner. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Required. The ID of the assigned targeting option to delete. - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a single targeting option assigned to a partner. - /// Required. The ID of the partner. - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - /// - /// Required. An identifier unique to the targeting type in this partner that identifies the assigned - /// targeting option being requested. - /// - public virtual GetRequest Get(long partnerId, GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId) - { - return new GetRequest(this.service, partnerId, targetingType, assignedTargetingOptionId); - } - - /// Gets a single targeting option assigned to a partner. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long partnerId, TargetingTypeEnum targetingType, string assignedTargetingOptionId) : base(service) - { - PartnerId = partnerId; - TargetingType = targetingType; - AssignedTargetingOptionId = assignedTargetingOptionId; - InitParameters(); - } - - /// Required. The ID of the partner. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of this assigned targeting option. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Required. An identifier unique to the targeting type in this partner that identifies the - /// assigned targeting option being requested. - /// - [Google.Apis.Util.RequestParameterAttribute("assignedTargetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string AssignedTargetingOptionId { 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/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("assignedTargetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "assignedTargetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Lists the targeting options assigned to a partner. - /// Required. The ID of the partner. - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: * - /// `TARGETING_TYPE_CHANNEL` - /// - public virtual ListRequest List(long partnerId, ListRequest.TargetingTypeEnum targetingType) - { - return new ListRequest(this.service, partnerId, targetingType); - } - - /// Lists the targeting options assigned to a partner. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long partnerId, TargetingTypeEnum targetingType) : base(service) - { - PartnerId = partnerId; - TargetingType = targetingType; - InitParameters(); - } - - /// Required. The ID of the partner. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: - /// * `TARGETING_TYPE_CHANNEL` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. Identifies the type of assigned targeting options to list. Supported targeting types: - /// * `TARGETING_TYPE_CHANNEL` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// - /// Target ads to the specified points of interest on a proximity location list. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// - /// Target ads to a specific device type (for example, tablet or connected TV). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on - /// a single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable - /// only for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// - /// Target ads to a specific device make or model (for example, Roku or Samsung). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, - /// the resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// - /// Target ads to a specific regional location (for example, a city or state). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street - /// address, or latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// - /// Target ads around locations of a business chain within a specific geo region. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// - /// Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are - /// made up of one or more restrictions. * Restrictions can be combined by the logical operator - /// `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the - /// `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` Examples: * - /// `AssignedTargetingOption` resource with ID 123456: `assignedTargetingOptionId="123456"` The - /// length of this field should be no more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) - /// The default sorting order is ascending. To specify descending order for a field, a suffix "desc" - /// should be added to the field name. Example: `assignedTargetingOptionId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// Returns error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListPartnerAssignedTargetingOptions` method. - /// If not specified, the first page of results will be returned. - /// - [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/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - 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, - }); - } - } - } - } - - /// - /// Bulk edits targeting options under a single partner. The operation will delete the assigned targeting - /// options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the - /// assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests . - /// - /// The body of the request. - /// Required. The ID of the partner. - public virtual BulkEditPartnerAssignedTargetingOptionsRequest BulkEditPartnerAssignedTargetingOptions(Google.Apis.DisplayVideo.v1.Data.BulkEditPartnerAssignedTargetingOptionsRequest body, long partnerId) - { - return new BulkEditPartnerAssignedTargetingOptionsRequest(this.service, body, partnerId); - } - - /// - /// Bulk edits targeting options under a single partner. The operation will delete the assigned targeting - /// options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the - /// assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests . - /// - public class BulkEditPartnerAssignedTargetingOptionsRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEditPartnerAssignedTargetingOptions request. - public BulkEditPartnerAssignedTargetingOptionsRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditPartnerAssignedTargetingOptionsRequest body, long partnerId) : base(service) - { - PartnerId = partnerId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the partner. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditPartnerAssignedTargetingOptionsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEditPartnerAssignedTargetingOptions"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions"; - - /// Initializes BulkEditPartnerAssignedTargetingOptions parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// Gets a partner. - /// Required. The ID of the partner to fetch. - public virtual GetRequest Get(long partnerId) - { - return new GetRequest(this.service, partnerId); - } - - /// Gets a partner. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long partnerId) : base(service) - { - PartnerId = partnerId; - InitParameters(); - } - - /// Required. The ID of the partner to fetch. - [Google.Apis.Util.RequestParameterAttribute("partnerId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long PartnerId { 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/partners/{+partnerId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("partnerId", new Google.Apis.Discovery.Parameter - { - Name = "partnerId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists partners that are accessible to the current user. The order is defined by the order_by parameter. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists partners that are accessible to the current user. The order is defined by the order_by parameter. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// - /// Allows filtering by partner fields. Supported syntax: * Filter expressions are made up of one or more - /// restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of - /// restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All - /// fields must use the `EQUALS (=)` operator. Supported fields: * `entityStatus` Examples: * All active - /// partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be no more than 500 - /// characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for - /// more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` The default sorting order is - /// ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. - /// For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListPartners` method. If not specified, the first - /// page of results will be returned. - /// - [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/partners"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - 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, - }); - } - } - } - - /// The "sdfdownloadtasks" collection of methods. - public class SdfdownloadtasksResource - { - private const string Resource = "sdfdownloadtasks"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public SdfdownloadtasksResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Operations = new OperationsResource(service); - } - - /// 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; - } - - /// - /// Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at - /// intervals of 30 seconds. - /// - /// The name of the operation resource. - public virtual GetRequest Get(string name) - { - return new GetRequest(this.service, name); - } - - /// - /// Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at - /// intervals of 30 seconds. - /// - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// 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 = @"^sdfdownloadtasks/operations/[^/]+$", - }); - } - } - } - - /// - /// Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous - /// operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the - /// response type of the operation is SdfDownloadTask. The response will not include the download files, which - /// must be retrieved with media.download. The state of operation can be retrieved with - /// sdfdownloadtask.operations.get. Any errors can be found in the error.message. Note that error.details is - /// expected to be empty. - /// - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.CreateSdfDownloadTaskRequest body) - { - return new CreateRequest(this.service, body); - } - - /// - /// Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous - /// operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the - /// response type of the operation is SdfDownloadTask. The response will not include the download files, which - /// must be retrieved with media.download. The state of operation can be retrieved with - /// sdfdownloadtask.operations.get. Any errors can be found in the error.message. Note that error.details is - /// expected to be empty. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.CreateSdfDownloadTaskRequest body) : base(service) - { - Body = body; - InitParameters(); - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.CreateSdfDownloadTaskRequest 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/sdfdownloadtasks"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - } - } - } - - /// The "targetingTypes" collection of methods. - public class TargetingTypesResource - { - private const string Resource = "targetingTypes"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingTypesResource(Google.Apis.Services.IClientService service) - { - this.service = service; - TargetingOptions = new TargetingOptionsResource(service); - } - - /// Gets the TargetingOptions resource. - public virtual TargetingOptionsResource TargetingOptions { get; } - - /// The "targetingOptions" collection of methods. - public class TargetingOptionsResource - { - private const string Resource = "targetingOptions"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public TargetingOptionsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Gets a single targeting option. - /// - /// Required. The type of targeting option to retrieve. Accepted values are: * `TARGETING_TYPE_APP_CATEGORY` - /// * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * - /// `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_PARENTAL_STATUS` * - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * - /// `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * - /// `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_CARRIER_AND_ISP` * - /// `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * - /// `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * - /// `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_GEO_REGION` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - /// `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * - /// `TARGETING_TYPE_OMID` - /// - /// Required. The ID of the of targeting option to retrieve. - public virtual GetRequest Get(GetRequest.TargetingTypeEnum targetingType, string targetingOptionId) - { - return new GetRequest(this.service, targetingType, targetingOptionId); - } - - /// Gets a single targeting option. - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, TargetingTypeEnum targetingType, string targetingOptionId) : base(service) - { - TargetingType = targetingType; - TargetingOptionId = targetingOptionId; - InitParameters(); - } - - /// - /// Required. The type of targeting option to retrieve. Accepted values are: * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` - /// * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * - /// `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. The type of targeting option to retrieve. Accepted values are: * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` - /// * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * - /// `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// Target ads to the specified points of interest on a proximity location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// Target ads to a specific device type (for example, tablet or connected TV). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a - /// single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only - /// for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// Target ads to a specific device make or model (for example, Roku or Samsung). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the - /// resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// Target ads to a specific regional location (for example, a city or state). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street address, or - /// latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// Target ads around locations of a business chain within a specific geo region. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Required. The ID of the of targeting option to retrieve. - [Google.Apis.Util.RequestParameterAttribute("targetingOptionId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string TargetingOptionId { get; private set; } - - /// Required. The Advertiser this request is being made in the context of. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; 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/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("targetingOptionId", new Google.Apis.Discovery.Parameter - { - Name = "targetingOptionId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists targeting options of a given type. - /// - /// Required. The type of targeting option to be listed. Accepted values are: * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_BROWSER` * - /// `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * - /// `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` - /// - public virtual ListRequest List(ListRequest.TargetingTypeEnum targetingType) - { - return new ListRequest(this.service, targetingType); - } - - /// Lists targeting options of a given type. - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, TargetingTypeEnum targetingType) : base(service) - { - TargetingType = targetingType; - InitParameters(); - } - - /// - /// Required. The type of targeting option to be listed. Accepted values are: * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` - /// * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * - /// `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. The type of targeting option to be listed. Accepted values are: * - /// `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_GENDER` * - /// `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * - /// `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DEVICE_TYPE` * - /// `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_ON_SCREEN_POSITION` * - /// `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_OPERATING_SYSTEM` * - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_CATEGORY` * - /// `TARGETING_TYPE_VIEWABILITY` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_LANGUAGE` - /// * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_EXCHANGE` * - /// `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_OMID` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// Target ads to the specified points of interest on a proximity location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// Target ads to a specific device type (for example, tablet or connected TV). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a - /// single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only - /// for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// Target ads to a specific device make or model (for example, Roku or Samsung). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the - /// resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// Target ads to a specific regional location (for example, a city or state). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street address, or - /// latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// Target ads around locations of a business chain within a specific geo region. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Required. The Advertiser this request is being made in the context of. - [Google.Apis.Util.RequestParameterAttribute("advertiserId", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Allows filtering by targeting option fields. Supported syntax: * Filter expressions are made up of - /// one or more restrictions. * Restrictions can be combined by `OR` logical operators. * A restriction - /// has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. - /// Supported fields: * `carrierAndIspDetails.type` * `geoRegionDetails.geoRegionType` * - /// `targetingOptionId` Examples: * All `GEO REGION` targeting options that belong to sub type - /// `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: - /// `geoRegionDetails.geoRegionType="GEO_REGION_TYPE_COUNTRY" OR - /// geoRegionDetails.geoRegionType="GEO_REGION_TYPE_STATE"` * All `CARRIER AND ISP` targeting options - /// that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`: - /// `carrierAndIspDetails.type="CARRIER_AND_ISP_TYPE_CARRIER"` The length of this field should be no - /// more than 500 characters. Reference our [filter `LIST` - /// requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `targetingOptionId` (default) The default - /// sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added - /// to the field name. Example: `targetingOptionId desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns - /// error code `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListTargetingOptions` method. If not specified, - /// the first page of results will be returned. - /// - [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/targetingTypes/{+targetingType}/targetingOptions"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("advertiserId", new Google.Apis.Discovery.Parameter - { - Name = "advertiserId", - 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("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, - }); - } - } - - /// Searches for targeting options of a given type based on the given search terms. - /// The body of the request. - /// - /// Required. The type of targeting options to retrieve. Accepted values are: * `TARGETING_TYPE_GEO_REGION` - /// * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN` - /// - public virtual SearchRequest Search(Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsRequest body, SearchRequest.TargetingTypeEnum targetingType) - { - return new SearchRequest(this.service, body, targetingType); - } - - /// Searches for targeting options of a given type based on the given search terms. - public class SearchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Search request. - public SearchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsRequest body, TargetingTypeEnum targetingType) : base(service) - { - TargetingType = targetingType; - Body = body; - InitParameters(); - } - - /// - /// Required. The type of targeting options to retrieve. Accepted values are: * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN` - /// - [Google.Apis.Util.RequestParameterAttribute("targetingType", Google.Apis.Util.RequestParameterType.Path)] - public virtual TargetingTypeEnum TargetingType { get; private set; } - - /// - /// Required. The type of targeting options to retrieve. Accepted values are: * - /// `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_BUSINESS_CHAIN` - /// - public enum TargetingTypeEnum - { - /// Default value when type is not specified or is unknown in this version. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_UNSPECIFIED")] - TARGETINGTYPEUNSPECIFIED = 0, - - /// Target a channel (a custom group of related websites or apps). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CHANNEL")] - TARGETINGTYPECHANNEL = 1, - - /// Target an app category (for example, education or puzzle games). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP_CATEGORY")] - TARGETINGTYPEAPPCATEGORY = 2, - - /// Target a specific app (for example, Angry Birds). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_APP")] - TARGETINGTYPEAPP = 3, - - /// Target a specific url (for example, quora.com). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_URL")] - TARGETINGTYPEURL = 4, - - /// Target ads during a chosen time period on a specific day. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DAY_AND_TIME")] - TARGETINGTYPEDAYANDTIME = 5, - - /// Target ads to a specific age range (for example, 18-24). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AGE_RANGE")] - TARGETINGTYPEAGERANGE = 6, - - /// Target ads to the specified regions on a regional location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_REGIONAL_LOCATION_LIST")] - TARGETINGTYPEREGIONALLOCATIONLIST = 7, - - /// Target ads to the specified points of interest on a proximity location list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PROXIMITY_LOCATION_LIST")] - TARGETINGTYPEPROXIMITYLOCATIONLIST = 8, - - /// Target ads to a specific gender (for example, female or male). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GENDER")] - TARGETINGTYPEGENDER = 9, - - /// Target a specific video player size for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIDEO_PLAYER_SIZE")] - TARGETINGTYPEVIDEOPLAYERSIZE = 10, - - /// Target user rewarded content for video ads. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_USER_REWARDED_CONTENT")] - TARGETINGTYPEUSERREWARDEDCONTENT = 11, - - /// - /// Target ads to a specific parental status (for example, parent or not a parent). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_PARENTAL_STATUS")] - TARGETINGTYPEPARENTALSTATUS = 12, - - /// - /// Target video or audio ads in a specific content instream position (for example, pre-roll, - /// mid-roll, or post-roll). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_INSTREAM_POSITION")] - TARGETINGTYPECONTENTINSTREAMPOSITION = 13, - - /// Target ads in a specific content outstream position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION")] - TARGETINGTYPECONTENTOUTSTREAMPOSITION = 14, - - /// Target ads to a specific device type (for example, tablet or connected TV). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_TYPE")] - TARGETINGTYPEDEVICETYPE = 15, - - /// - /// Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a - /// single Lineitem at a time. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIENCE_GROUP")] - TARGETINGTYPEAUDIENCEGROUP = 16, - - /// Target ads to specific web browsers (for example, Chrome). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BROWSER")] - TARGETINGTYPEBROWSER = 17, - - /// Target ads to a specific household income range (for example, top 10%). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_HOUSEHOLD_INCOME")] - TARGETINGTYPEHOUSEHOLDINCOME = 18, - - /// Target ads in a specific on screen position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ON_SCREEN_POSITION")] - TARGETINGTYPEONSCREENPOSITION = 19, - - /// - /// Filter web sites through third party verification (for example, IAS or DoubleVerify). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_THIRD_PARTY_VERIFIER")] - TARGETINGTYPETHIRDPARTYVERIFIER = 20, - - /// - /// Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only - /// for mature audiences). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION")] - TARGETINGTYPEDIGITALCONTENTLABELEXCLUSION = 21, - - /// Filter website content by sensitive categories (for example, adult). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION")] - TARGETINGTYPESENSITIVECATEGORYEXCLUSION = 22, - - /// Target ads to a specific environment (for example, web or app). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_ENVIRONMENT")] - TARGETINGTYPEENVIRONMENT = 23, - - /// - /// Target ads to a specific network carrier or internet service provider (ISP) (for example, - /// Comcast or Orange). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CARRIER_AND_ISP")] - TARGETINGTYPECARRIERANDISP = 24, - - /// Target ads to a specific operating system (for example, macOS). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OPERATING_SYSTEM")] - TARGETINGTYPEOPERATINGSYSTEM = 25, - - /// Target ads to a specific device make or model (for example, Roku or Samsung). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_DEVICE_MAKE_MODEL")] - TARGETINGTYPEDEVICEMAKEMODEL = 26, - - /// Target ads to a specific keyword (for example, dog or retriever). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_KEYWORD")] - TARGETINGTYPEKEYWORD = 27, - - /// Target ads to a specific negative keyword list. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NEGATIVE_KEYWORD_LIST")] - TARGETINGTYPENEGATIVEKEYWORDLIST = 28, - - /// Target ads to a specific viewability (for example, 80% viewable). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_VIEWABILITY")] - TARGETINGTYPEVIEWABILITY = 29, - - /// - /// Target ads to a specific content category (for example, arts &amp; entertainment). - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CATEGORY")] - TARGETINGTYPECATEGORY = 30, - - /// Purchase impressions from specific deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE")] - TARGETINGTYPEINVENTORYSOURCE = 31, - - /// Target ads to a specific language (for example, English or Japanese). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_LANGUAGE")] - TARGETINGTYPELANGUAGE = 32, - - /// - /// Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the - /// resource uses the "Authorized Direct Sellers and Resellers" option by default. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUTHORIZED_SELLER_STATUS")] - TARGETINGTYPEAUTHORIZEDSELLERSTATUS = 33, - - /// Target ads to a specific regional location (for example, a city or state). - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_GEO_REGION")] - TARGETINGTYPEGEOREGION = 34, - - /// Purchase impressions from a group of deals and auction packages. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_INVENTORY_SOURCE_GROUP")] - TARGETINGTYPEINVENTORYSOURCEGROUP = 35, - - /// Purchase impressions from specific exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_EXCHANGE")] - TARGETINGTYPEEXCHANGE = 36, - - /// Purchase impressions from specific sub-exchanges. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_SUB_EXCHANGE")] - TARGETINGTYPESUBEXCHANGE = 37, - - /// - /// Target ads around a specific point of interest, such as a notable building, a street address, or - /// latitude/longitude coordinates. - /// - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_POI")] - TARGETINGTYPEPOI = 39, - - /// Target ads around locations of a business chain within a specific geo region. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_BUSINESS_CHAIN")] - TARGETINGTYPEBUSINESSCHAIN = 40, - - /// Target ads to a specific video content duration. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_DURATION")] - TARGETINGTYPECONTENTDURATION = 43, - - /// Target ads to a specific video content stream type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_STREAM_TYPE")] - TARGETINGTYPECONTENTSTREAMTYPE = 44, - - /// Target ads to a specific native content position. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_NATIVE_CONTENT_POSITION")] - TARGETINGTYPENATIVECONTENTPOSITION = 38, - - /// Target ads in an Open Measurement enabled inventory. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_OMID")] - TARGETINGTYPEOMID = 41, - - /// Target ads to a specific audio content type. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_AUDIO_CONTENT_TYPE")] - TARGETINGTYPEAUDIOCONTENTTYPE = 42, - - /// Target ads to a specific content genre. - [Google.Apis.Util.StringValueAttribute("TARGETING_TYPE_CONTENT_GENRE")] - TARGETINGTYPECONTENTGENRE = 45, - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "search"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/targetingTypes/{+targetingType}/targetingOptions:search"; - - /// Initializes Search parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("targetingType", new Google.Apis.Discovery.Parameter - { - Name = "targetingType", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - } - } - - /// The "users" collection of methods. - public class UsersResource - { - private const string Resource = "users"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public UsersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Bulk edits user roles for a user. The operation will delete the assigned user roles provided in - /// BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in - /// BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication - /// requirements. Read the prerequisites in our [Managing Users - /// guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - /// The body of the request. - /// Required. The ID of the user to which the assigned user roles belong. - public virtual BulkEditAssignedUserRolesRequest BulkEditAssignedUserRoles(Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedUserRolesRequest body, long userId) - { - return new BulkEditAssignedUserRolesRequest(this.service, body, userId); - } - - /// - /// Bulk edits user roles for a user. The operation will delete the assigned user roles provided in - /// BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in - /// BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication - /// requirements. Read the prerequisites in our [Managing Users - /// guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - public class BulkEditAssignedUserRolesRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new BulkEditAssignedUserRoles request. - public BulkEditAssignedUserRolesRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedUserRolesRequest body, long userId) : base(service) - { - UserId = userId; - Body = body; - InitParameters(); - } - - /// Required. The ID of the user to which the assigned user roles belong. - [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long UserId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.BulkEditAssignedUserRolesRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "bulkEditAssignedUserRoles"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1/users/{+userId}:bulkEditAssignedUserRoles"; - - /// Initializes BulkEditAssignedUserRoles parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("userId", new Google.Apis.Discovery.Parameter - { - Name = "userId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Creates a new user. Returns the newly created user if successful. This method has unique authentication - /// requirements. Read the prerequisites in our [Managing Users - /// guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - /// The body of the request. - public virtual CreateRequest Create(Google.Apis.DisplayVideo.v1.Data.User body) - { - return new CreateRequest(this.service, body); - } - - /// - /// Creates a new user. Returns the newly created user if successful. This method has unique authentication - /// requirements. Read the prerequisites in our [Managing Users - /// guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - public class CreateRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.User body) : base(service) - { - Body = body; - InitParameters(); - } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v1.Data.User 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/users"; - - /// Initializes Create parameter list. - protected override void InitParameters() - { - base.InitParameters(); - } - } - - /// - /// Deletes a user. This method has unique authentication requirements. Read the prerequisites in our [Managing - /// Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - /// Required. The ID of the user to delete. - public virtual DeleteRequest Delete(long userId) - { - return new DeleteRequest(this.service, userId); - } - - /// - /// Deletes a user. This method has unique authentication requirements. Read the prerequisites in our [Managing - /// Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - public class DeleteRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long userId) : base(service) - { - UserId = userId; - InitParameters(); - } - - /// Required. The ID of the user to delete. - [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long UserId { 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/users/{+userId}"; - - /// Initializes Delete parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("userId", new Google.Apis.Discovery.Parameter - { - Name = "userId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Gets a user. This method has unique authentication requirements. Read the prerequisites in our [Managing - /// Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - /// Required. The ID of the user to fetch. - public virtual GetRequest Get(long userId) - { - return new GetRequest(this.service, userId); - } - - /// - /// Gets a user. This method has unique authentication requirements. Read the prerequisites in our [Managing - /// Users guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long userId) : base(service) - { - UserId = userId; - InitParameters(); - } - - /// Required. The ID of the user to fetch. - [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long UserId { 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/users/{+userId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("userId", new Google.Apis.Discovery.Parameter - { - Name = "userId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - } - } - - /// - /// Lists users that are accessible to the current user. If two users have user roles on the same partner or - /// advertiser, they can access each other. This method has unique authentication requirements. Read the - /// prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before - /// using this method. The "Try this method" feature does not work for this method. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists users that are accessible to the current user. If two users have user roles on the same partner or - /// advertiser, they can access each other. This method has unique authentication requirements. Read the - /// prerequisites in our [Managing Users guide](/display-video/api/guides/users/overview#prerequisites) before - /// using this method. The "Try this method" feature does not work for this method. - /// - public class ListRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// - /// Allows filtering by user fields. Supported syntax: * Filter expressions are made up of one or more - /// restrictions. * Restrictions can be combined by the logical operator `AND`. * A restriction has the form - /// of `{field} {operator} {value}`. * The `budget.budget_segments.date_range.end_date` field must use the - /// `LESS THAN (&lt;)` operator. * The `displayName and `email` field must use the `HAS (:)` operator. * - /// All other fields must use the `EQUALS (=)` operator. Supported fields: * `assignedUserRole.advertiserId` - /// * `assignedUserRole.entityType` * This is synthetic field of `AssignedUserRole` used for filtering. - /// Identifies the type of entity to which the user role is assigned. Valid values are `Partner` and - /// `Advertiser`. * `assignedUserRole.parentPartnerId` * This is a synthetic field of `AssignedUserRole` - /// used for filtering. Identifies the parent partner of the entity to which the user role is assigned. * - /// `assignedUserRole.partnerId` * `assignedUserRole.userRole` * `displayName` * `email` Examples: * The - /// user with `displayName` containing "foo": `displayName:"foo"` * The user with `email` containing "bar": - /// `email:"bar"` * All users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All users - /// with user roles for partner 123: `assignedUserRole.partnerId="123"` * All users with user roles for - /// advertiser 123: `assignedUserRole.advertiserId="123"` * All users with partner level user roles: - /// `entityType="PARTNER"` * All users with user roles for partner 123 and advertisers under partner 123: - /// `parentPartnerId="123"` The length of this field should be no more than 500 characters. Reference our - /// [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information. - /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } - - /// - /// Field by which to sort the list. Acceptable values are: * `displayName` (default) The default sorting - /// order is ascending. To specify descending order for a field, a suffix "desc" should be added to the - /// field name. For example, `displayName desc`. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `ListUsers` method. If not specified, the first page - /// of results will be returned. - /// - [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/users"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - 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 an existing user. Returns the updated user if successful. This method has unique authentication - /// requirements. Read the prerequisites in our [Managing Users - /// guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - /// The body of the request. - /// Output only. The unique ID of the user. Assigned by the system. - public virtual PatchRequest Patch(Google.Apis.DisplayVideo.v1.Data.User body, long userId) - { - return new PatchRequest(this.service, body, userId); - } - - /// - /// Updates an existing user. Returns the updated user if successful. This method has unique authentication - /// requirements. Read the prerequisites in our [Managing Users - /// guide](/display-video/api/guides/users/overview#prerequisites) before using this method. The "Try this - /// method" feature does not work for this method. - /// - public class PatchRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v1.Data.User body, long userId) : base(service) - { - UserId = userId; - Body = body; - InitParameters(); - } - - /// Output only. The unique ID of the user. Assigned by the system. - [Google.Apis.Util.RequestParameterAttribute("userId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long UserId { get; private set; } - - /// Required. The mask to control which 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.DisplayVideo.v1.Data.User 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/users/{+userId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("userId", new Google.Apis.Discovery.Parameter - { - Name = "userId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^[^/]+$", - }); - RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter - { - Name = "updateMask", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } -} -namespace Google.Apis.DisplayVideo.v1.Data -{ - /// Request message for ManualTriggerService.ActivateManualTrigger. - public class ActivateManualTriggerRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Configuration for custom Active View video viewability metrics. - public class ActiveViewVideoViewabilityMetricConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The display name of the custom metric. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// The minimum visible video duration required (in seconds) in order for an impression to be recorded. You must - /// specify minimum_duration, minimum_quartile or both. If both are specified, an impression meets the metric - /// criteria if either requirement is met (whichever happens first). - /// - [Newtonsoft.Json.JsonPropertyAttribute("minimumDuration")] - public virtual string MinimumDuration { get; set; } - - /// - /// The minimum visible video duration required, based on the video quartiles, in order for an impression to be - /// recorded. You must specify minimum_duration, minimum_quartile or both. If both are specified, an impression - /// meets the metric criteria if either requirement is met (whichever happens first). - /// - [Newtonsoft.Json.JsonPropertyAttribute("minimumQuartile")] - public virtual string MinimumQuartile { get; set; } - - /// - /// Required. The minimum percentage of the video ad's pixels visible on the screen in order for an impression - /// to be recorded. - /// - [Newtonsoft.Json.JsonPropertyAttribute("minimumViewability")] - public virtual string MinimumViewability { get; set; } - - /// - /// Required. The minimum percentage of the video ad's volume required in order for an impression to be - /// recorded. - /// - [Newtonsoft.Json.JsonPropertyAttribute("minimumVolume")] - public virtual string MinimumVolume { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of Adloox settings. - public class Adloox : Google.Apis.Requests.IDirectResponseSchema - { - /// Adloox's brand safety settings. - [Newtonsoft.Json.JsonPropertyAttribute("excludedAdlooxCategories")] - public virtual System.Collections.Generic.IList ExcludedAdlooxCategories { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single advertiser in Display & Video 360 (DV360). - public class Advertiser : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Immutable. Ad server related settings of the advertiser. - [Newtonsoft.Json.JsonPropertyAttribute("adServerConfig")] - public virtual AdvertiserAdServerConfig AdServerConfig { get; set; } - - /// Output only. The unique ID of the advertiser. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Required. Creative related settings of the advertiser. - [Newtonsoft.Json.JsonPropertyAttribute("creativeConfig")] - public virtual AdvertiserCreativeConfig CreativeConfig { get; set; } - - /// Settings that control how advertiser data may be accessed. - [Newtonsoft.Json.JsonPropertyAttribute("dataAccessConfig")] - public virtual AdvertiserDataAccessConfig DataAccessConfig { get; set; } - - /// - /// Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets - /// and bid on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_PAUSED` and - /// `ENTITY_STATUS_SCHEDULED_FOR_DELETION`. * If set to `ENTITY_STATUS_SCHEDULED_FOR_DELETION`, the advertiser - /// will be deleted 30 days from when it was first scheduled for deletion. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// Required. General settings of the advertiser. - [Newtonsoft.Json.JsonPropertyAttribute("generalConfig")] - public virtual AdvertiserGeneralConfig GeneralConfig { get; set; } - - /// - /// Integration details of the advertiser. Only integrationCode is currently applicable to advertiser. Other - /// fields of IntegrationDetails are not supported and will be ignored if provided. - /// - [Newtonsoft.Json.JsonPropertyAttribute("integrationDetails")] - public virtual IntegrationDetails IntegrationDetails { get; set; } - - /// Output only. The resource name of the advertiser. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. Immutable. The unique ID of the partner that the advertiser belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// - /// Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you agree to the following: On - /// behalf of my company, I authorize Mediaocean (Prisma) to send budget segment plans to Google, and I - /// authorize Google to send corresponding reporting and invoices from DV360 to Mediaocean for the purposes of - /// budget planning, billing, and reconciliation for this advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prismaEnabled")] - public virtual System.Nullable PrismaEnabled { get; set; } - - /// Targeting settings related to ad serving of the advertiser. - [Newtonsoft.Json.JsonPropertyAttribute("servingConfig")] - public virtual AdvertiserTargetingConfig ServingConfig { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Output only. The timestamp when the advertiser was last updated. Assigned by the system. - [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; } - } - - /// Ad server related settings of an advertiser. - public class AdvertiserAdServerConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The configuration for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmHybridConfig")] - public virtual CmHybridConfig CmHybridConfig { get; set; } - - /// The configuration for advertisers that use third-party ad servers only. - [Newtonsoft.Json.JsonPropertyAttribute("thirdPartyOnlyConfig")] - public virtual ThirdPartyOnlyConfig ThirdPartyOnlyConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Creatives related settings of an advertiser. - public class AdvertiserCreativeConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Whether or not the advertiser is enabled for dynamic creatives. - [Newtonsoft.Json.JsonPropertyAttribute("dynamicCreativeEnabled")] - public virtual System.Nullable DynamicCreativeEnabled { get; set; } - - /// - /// An ID for configuring campaign monitoring provided by Integral Ad Service (IAS). The DV360 system will - /// append an IAS "Campaign Monitor" tag containing this ID to the creative tag. - /// - [Newtonsoft.Json.JsonPropertyAttribute("iasClientId")] - public virtual System.Nullable IasClientId { get; set; } - - /// - /// Whether or not to use DV360's Online Behavioral Advertising (OBA) compliance. Starting on February 9, 2024, - /// this field will be affected by an update to the Display &amp; Video 360 API Terms of Service. See our - /// [announcement](//ads-developers.googleblog.com/2024/01/update-to-display-video-360-api-terms.html) for more - /// detail. Warning: Changing OBA settings may cause the audit status of your creatives to be reset by some ad - /// exchanges, making them ineligible to serve until they are re-approved. - /// - [Newtonsoft.Json.JsonPropertyAttribute("obaComplianceDisabled")] - public virtual System.Nullable ObaComplianceDisabled { get; set; } - - /// - /// By setting this field to `true`, you, on behalf of your company, authorize Google to use video creatives - /// associated with this Display &amp; Video 360 advertiser to provide reporting and features related to the - /// advertiser's television campaigns. Applicable only when the advertiser has a CM360 hybrid ad server - /// configuration. - /// - [Newtonsoft.Json.JsonPropertyAttribute("videoCreativeDataSharingAuthorized")] - public virtual System.Nullable VideoCreativeDataSharingAuthorized { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control how advertiser related data may be accessed. - public class AdvertiserDataAccessConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Structured Data Files (SDF) settings for the advertiser. If not specified, the SDF settings of the parent - /// partner are used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sdfConfig")] - public virtual AdvertiserSdfConfig SdfConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// General settings of an advertiser. - public class AdvertiserGeneralConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Immutable. Advertiser's currency in ISO 4217 format. Accepted codes and the currencies they - /// represent are: Currency Code : Currency Name * `ARS` : Argentine Peso * `AUD` : Australian Dollar * `BRL` : - /// Brazilian Real * `CAD` : Canadian Dollar * `CHF` : Swiss Franc * `CLP` : Chilean Peso * `CNY` : Chinese Yuan - /// * `COP` : Colombian Peso * `CZK` : Czech Koruna * `DKK` : Danish Krone * `EGP` : Egyption Pound * `EUR` : - /// Euro * `GBP` : British Pound * `HKD` : Hong Kong Dollar * `HUF` : Hungarian Forint * `IDR` : Indonesian - /// Rupiah * `ILS` : Israeli Shekel * `INR` : Indian Rupee * `JPY` : Japanese Yen * `KRW` : South Korean Won * - /// `MXN` : Mexican Pesos * `MYR` : Malaysian Ringgit * `NGN` : Nigerian Naira * `NOK` : Norwegian Krone * `NZD` - /// : New Zealand Dollar * `PEN` : Peruvian Nuevo Sol * `PLN` : Polish Zloty * `RON` : New Romanian Leu * `RUB` - /// : Russian Ruble * `SEK` : Swedish Krona * `TRY` : Turkish Lira * `TWD` : New Taiwan Dollar * `USD` : US - /// Dollar * `ZAR` : South African Rand - /// - [Newtonsoft.Json.JsonPropertyAttribute("currencyCode")] - public virtual string CurrencyCode { get; set; } - - /// - /// Required. The domain URL of the advertiser's primary website. The system will send this information to - /// publishers that require website URL to associate a campaign with an advertiser. Provide a URL with no path - /// or query string, beginning with `http:` or `https:`. For example, http://www.example.com - /// - [Newtonsoft.Json.JsonPropertyAttribute("domainUrl")] - public virtual string DomainUrl { get; set; } - - /// - /// Output only. The standard TZ database name of the advertiser's time zone. For example, `America/New_York`. - /// See more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones For CM360 hybrid advertisers, the - /// time zone is the same as that of the associated CM360 account; for third-party only advertisers, the time - /// zone is the same as that of the parent partner. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] - public virtual string TimeZone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Structured Data Files (SDF) settings of an advertiser. - public class AdvertiserSdfConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Whether or not this advertiser overrides the SDF configuration of its parent partner. By default, an - /// advertiser inherits the SDF configuration from the parent partner. To override the partner configuration, - /// set this field to `true` and provide the new configuration in sdfConfig. - /// - [Newtonsoft.Json.JsonPropertyAttribute("overridePartnerSdfConfig")] - public virtual System.Nullable OverridePartnerSdfConfig { get; set; } - - /// - /// The SDF configuration for the advertiser. * Required when overridePartnerSdfConfig is `true`. * Output only - /// when overridePartnerSdfConfig is `false`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sdfConfig")] - public virtual SdfConfig SdfConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Targeting settings related to ad serving of an advertiser. - public class AdvertiserTargetingConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Whether or not connected TV devices are exempt from viewability targeting for all video line items under the - /// advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exemptTvFromViewabilityTargeting")] - public virtual System.Nullable ExemptTvFromViewabilityTargeting { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable age range. This will be populated in the details field of an AssignedTargetingOption - /// when targeting_type is `TARGETING_TYPE_AGE_RANGE`. - /// - public class AgeRangeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The age range of an audience. We only support targeting a continuous age range of an audience. - /// Thus, the age range represented in this field can be 1) targeted solely, or, 2) part of a larger continuous - /// age range. The reach of a continuous age range targeting can be expanded by also targeting an audience of an - /// unknown age. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ageRange")] - public virtual string AgeRange { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AGE_RANGE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable age range. This will be populated in the age_range_details field when targeting_type is - /// `TARGETING_TYPE_AGE_RANGE`. - /// - public class AgeRangeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The age range of an audience. - [Newtonsoft.Json.JsonPropertyAttribute("ageRange")] - public virtual string AgeRange { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned app targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. - /// - public class AppAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. - /// Apple's App store app ID uses 9 digit string, for example `422689480`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("appId")] - public virtual string AppId { get; set; } - - /// - /// Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed - /// to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID. - /// - [Newtonsoft.Json.JsonPropertyAttribute("appPlatform")] - public virtual string AppPlatform { get; set; } - - /// Output only. The display name of the app. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned app category targeting option. This will be populated in the app_category_details field of - /// an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP_CATEGORY`. - /// - public class AppCategoryAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the app category. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable collection of apps. A collection lets you target dynamic groups of related apps that are - /// maintained by the platform, for example `All Apps/Google Play/Games`. This will be populated in the - /// app_category_details field when targeting_type is `TARGETING_TYPE_APP_CATEGORY`. - /// - public class AppCategoryTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The name of the app collection. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single asset. - public class Asset : Google.Apis.Requests.IDirectResponseSchema - { - /// The asset content. For uploaded assets, the content is the serving path. - [Newtonsoft.Json.JsonPropertyAttribute("content")] - public virtual string Content { get; set; } - - /// - /// Media ID of the uploaded asset. This is a unique identifier for the asset. This ID can be passed to other - /// API calls, e.g. CreateCreative to associate the asset with a creative. The Media ID space updated on **April - /// 5, 2023**. Update media IDs cached before **April 5, 2023** by retrieving the new media ID from associated - /// creative resources or re-uploading the asset. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mediaId")] - public virtual System.Nullable MediaId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Asset association for the creative. - public class AssetAssociation : Google.Apis.Requests.IDirectResponseSchema - { - /// The associated asset. - [Newtonsoft.Json.JsonPropertyAttribute("asset")] - public virtual Asset Asset { get; set; } - - /// The role of this asset for the creative. - [Newtonsoft.Json.JsonPropertyAttribute("role")] - public virtual string Role { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// An assignment between a targetable inventory source and an inventory source group. - public class AssignedInventorySource : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory - /// source group. It may be reused in other contexts. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignedInventorySourceId")] - public virtual System.Nullable AssignedInventorySourceId { get; set; } - - /// Required. The ID of the inventory source entity being targeted. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceId")] - public virtual string InventorySourceId { get; set; } - - /// Output only. The resource name of the assigned inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// An assignment between a location list and a relevant targeting option. - public class AssignedLocation : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be - /// reused in other contexts. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignedLocationId")] - public virtual System.Nullable AssignedLocationId { get; set; } - - /// Output only. The resource name of the assigned location. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The ID of the targeting option assigned to the location list. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A single assigned targeting option, which defines the state of a targeting option for an entity with targeting - /// settings. - /// - public class AssignedTargetingOption : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Age range details. This field will be populated when the targeting_type is `TARGETING_TYPE_AGE_RANGE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ageRangeDetails")] - public virtual AgeRangeAssignedTargetingOptionDetails AgeRangeDetails { get; set; } - - /// - /// App category details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP_CATEGORY`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("appCategoryDetails")] - public virtual AppCategoryAssignedTargetingOptionDetails AppCategoryDetails { get; set; } - - /// - /// App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("appDetails")] - public virtual AppAssignedTargetingOptionDetails AppDetails { get; set; } - - /// - /// Output only. The unique ID of the assigned targeting option. The ID is only unique within a given resource - /// and targeting type. It may be reused in other contexts. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptionId")] - public virtual string AssignedTargetingOptionId { get; set; } - - /// - /// Audience targeting details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_AUDIENCE_GROUP`. You can only target one audience group option per resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("audienceGroupDetails")] - public virtual AudienceGroupAssignedTargetingOptionDetails AudienceGroupDetails { get; set; } - - /// - /// Audio content type details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("audioContentTypeDetails")] - public virtual AudioContentTypeAssignedTargetingOptionDetails AudioContentTypeDetails { get; set; } - - /// - /// Authorized seller status details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. You can only target one authorized seller status option per - /// resource. If a resource doesn't have an authorized seller status option, all authorized sellers indicated as - /// DIRECT or RESELLER in the ads.txt file are targeted by default. - /// - [Newtonsoft.Json.JsonPropertyAttribute("authorizedSellerStatusDetails")] - public virtual AuthorizedSellerStatusAssignedTargetingOptionDetails AuthorizedSellerStatusDetails { get; set; } - - /// - /// Browser details. This field will be populated when the targeting_type is `TARGETING_TYPE_BROWSER`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("browserDetails")] - public virtual BrowserAssignedTargetingOptionDetails BrowserDetails { get; set; } - - /// - /// Business chain details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_BUSINESS_CHAIN`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("businessChainDetails")] - public virtual BusinessChainAssignedTargetingOptionDetails BusinessChainDetails { get; set; } - - /// - /// Carrier and ISP details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_CARRIER_AND_ISP`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("carrierAndIspDetails")] - public virtual CarrierAndIspAssignedTargetingOptionDetails CarrierAndIspDetails { get; set; } - - /// - /// Category details. This field will be populated when the targeting_type is `TARGETING_TYPE_CATEGORY`. - /// Targeting a category will also target its subcategories. If a category is excluded from targeting and a - /// subcategory is included, the exclusion will take precedence. - /// - [Newtonsoft.Json.JsonPropertyAttribute("categoryDetails")] - public virtual CategoryAssignedTargetingOptionDetails CategoryDetails { get; set; } - - /// - /// Channel details. This field will be populated when the targeting_type is `TARGETING_TYPE_CHANNEL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("channelDetails")] - public virtual ChannelAssignedTargetingOptionDetails ChannelDetails { get; set; } - - /// - /// Content duration details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_CONTENT_DURATION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("contentDurationDetails")] - public virtual ContentDurationAssignedTargetingOptionDetails ContentDurationDetails { get; set; } - - /// - /// Content genre details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_CONTENT_GENRE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("contentGenreDetails")] - public virtual ContentGenreAssignedTargetingOptionDetails ContentGenreDetails { get; set; } - - /// - /// Content instream position details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("contentInstreamPositionDetails")] - public virtual ContentInstreamPositionAssignedTargetingOptionDetails ContentInstreamPositionDetails { get; set; } - - /// - /// Content outstream position details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("contentOutstreamPositionDetails")] - public virtual ContentOutstreamPositionAssignedTargetingOptionDetails ContentOutstreamPositionDetails { get; set; } - - /// - /// Content duration details. This field will be populated when the TargetingType is - /// `TARGETING_TYPE_CONTENT_STREAM_TYPE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("contentStreamTypeDetails")] - public virtual ContentStreamTypeAssignedTargetingOptionDetails ContentStreamTypeDetails { get; set; } - - /// - /// Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dayAndTimeDetails")] - public virtual DayAndTimeAssignedTargetingOptionDetails DayAndTimeDetails { get; set; } - - /// - /// Device make and model details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_DEVICE_MAKE_MODEL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deviceMakeModelDetails")] - public virtual DeviceMakeModelAssignedTargetingOptionDetails DeviceMakeModelDetails { get; set; } - - /// - /// Device Type details. This field will be populated when the targeting_type is `TARGETING_TYPE_DEVICE_TYPE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deviceTypeDetails")] - public virtual DeviceTypeAssignedTargetingOptionDetails DeviceTypeDetails { get; set; } - - /// - /// Digital content label details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. Digital content labels are targeting exclusions. - /// Advertiser level digital content label exclusions, if set, are always applied in serving (even though they - /// aren't visible in resource settings). Resource settings can exclude content labels in addition to advertiser - /// exclusions, but can't override them. A line item won't serve if all the digital content labels are excluded. - /// - [Newtonsoft.Json.JsonPropertyAttribute("digitalContentLabelExclusionDetails")] - public virtual DigitalContentLabelAssignedTargetingOptionDetails DigitalContentLabelExclusionDetails { get; set; } - - /// - /// Environment details. This field will be populated when the targeting_type is `TARGETING_TYPE_ENVIRONMENT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("environmentDetails")] - public virtual EnvironmentAssignedTargetingOptionDetails EnvironmentDetails { get; set; } - - /// - /// Exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_EXCHANGE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exchangeDetails")] - public virtual ExchangeAssignedTargetingOptionDetails ExchangeDetails { get; set; } - - /// - /// Gender details. This field will be populated when the targeting_type is `TARGETING_TYPE_GENDER`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("genderDetails")] - public virtual GenderAssignedTargetingOptionDetails GenderDetails { get; set; } - - /// - /// Geographic region details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_GEO_REGION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionDetails")] - public virtual GeoRegionAssignedTargetingOptionDetails GeoRegionDetails { get; set; } - - /// - /// Household income details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_HOUSEHOLD_INCOME`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("householdIncomeDetails")] - public virtual HouseholdIncomeAssignedTargetingOptionDetails HouseholdIncomeDetails { get; set; } - - /// Output only. The inheritance status of the assigned targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("inheritance")] - public virtual string Inheritance { get; set; } - - /// - /// Inventory source details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_INVENTORY_SOURCE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceDetails")] - public virtual InventorySourceAssignedTargetingOptionDetails InventorySourceDetails { get; set; } - - /// - /// Inventory source group details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceGroupDetails")] - public virtual InventorySourceGroupAssignedTargetingOptionDetails InventorySourceGroupDetails { get; set; } - - /// - /// Keyword details. This field will be populated when the targeting_type is `TARGETING_TYPE_KEYWORD`. A maximum - /// of 5000 direct negative keywords can be assigned to a resource. No limit on number of positive keywords that - /// can be assigned. - /// - [Newtonsoft.Json.JsonPropertyAttribute("keywordDetails")] - public virtual KeywordAssignedTargetingOptionDetails KeywordDetails { get; set; } - - /// - /// Language details. This field will be populated when the targeting_type is `TARGETING_TYPE_LANGUAGE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("languageDetails")] - public virtual LanguageAssignedTargetingOptionDetails LanguageDetails { get; set; } - - /// Output only. The resource name for this assigned targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Native content position details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nativeContentPositionDetails")] - public virtual NativeContentPositionAssignedTargetingOptionDetails NativeContentPositionDetails { get; set; } - - /// - /// Keyword details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. A maximum of 4 negative keyword lists can be assigned to a resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywordListDetails")] - public virtual NegativeKeywordListAssignedTargetingOptionDetails NegativeKeywordListDetails { get; set; } - - /// - /// Open Measurement enabled inventory details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_OMID`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("omidDetails")] - public virtual OmidAssignedTargetingOptionDetails OmidDetails { get; set; } - - /// - /// On screen position details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_ON_SCREEN_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("onScreenPositionDetails")] - public virtual OnScreenPositionAssignedTargetingOptionDetails OnScreenPositionDetails { get; set; } - - /// - /// Operating system details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_OPERATING_SYSTEM`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("operatingSystemDetails")] - public virtual OperatingSystemAssignedTargetingOptionDetails OperatingSystemDetails { get; set; } - - /// - /// Parental status details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_PARENTAL_STATUS`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentalStatusDetails")] - public virtual ParentalStatusAssignedTargetingOptionDetails ParentalStatusDetails { get; set; } - - /// - /// POI details. This field will be populated when the targeting_type is `TARGETING_TYPE_POI`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("poiDetails")] - public virtual PoiAssignedTargetingOptionDetails PoiDetails { get; set; } - - /// - /// Proximity location list details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("proximityLocationListDetails")] - public virtual ProximityLocationListAssignedTargetingOptionDetails ProximityLocationListDetails { get; set; } - - /// - /// Regional location list details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_REGIONAL_LOCATION_LIST`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalLocationListDetails")] - public virtual RegionalLocationListAssignedTargetingOptionDetails RegionalLocationListDetails { get; set; } - - /// - /// Sensitive category details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. Sensitive categories are targeting exclusions. Advertiser - /// level sensitive category exclusions, if set, are always applied in serving (even though they aren't visible - /// in resource settings). Resource settings can exclude sensitive categories in addition to advertiser - /// exclusions, but can't override them. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sensitiveCategoryExclusionDetails")] - public virtual SensitiveCategoryAssignedTargetingOptionDetails SensitiveCategoryExclusionDetails { get; set; } - - /// - /// Sub-exchange details. This field will be populated when the targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("subExchangeDetails")] - public virtual SubExchangeAssignedTargetingOptionDetails SubExchangeDetails { get; set; } - - /// Output only. Identifies the type of this assigned targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("targetingType")] - public virtual string TargetingType { get; set; } - - /// - /// Third party verification details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_THIRD_PARTY_VERIFIER`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("thirdPartyVerifierDetails")] - public virtual ThirdPartyVerifierAssignedTargetingOptionDetails ThirdPartyVerifierDetails { get; set; } - - /// - /// URL details. This field will be populated when the targeting_type is `TARGETING_TYPE_URL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("urlDetails")] - public virtual UrlAssignedTargetingOptionDetails UrlDetails { get; set; } - - /// - /// User rewarded content details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_USER_REWARDED_CONTENT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("userRewardedContentDetails")] - public virtual UserRewardedContentAssignedTargetingOptionDetails UserRewardedContentDetails { get; set; } - - /// - /// Video player size details. This field will be populated when the targeting_type is - /// `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("videoPlayerSizeDetails")] - public virtual VideoPlayerSizeAssignedTargetingOptionDetails VideoPlayerSizeDetails { get; set; } - - /// - /// Viewability details. This field will be populated when the targeting_type is `TARGETING_TYPE_VIEWABILITY`. - /// You can only target one viewability option per resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("viewabilityDetails")] - public virtual ViewabilityAssignedTargetingOptionDetails ViewabilityDetails { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A single assigned user role, which defines a user's authorized interaction with a specified partner or - /// advertiser. - /// - public class AssignedUserRole : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the advertiser that the assigend user role applies to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Output only. The ID of the assigned user role. - [Newtonsoft.Json.JsonPropertyAttribute("assignedUserRoleId")] - public virtual string AssignedUserRoleId { get; set; } - - /// The ID of the partner that the assigned user role applies to. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// Required. The user role to assign to a user for the entity. - [Newtonsoft.Json.JsonPropertyAttribute("userRole")] - public virtual string UserRole { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned audience group targeting option details. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUDIENCE_GROUP`. The relation between each group - /// is UNION, except for excluded_first_and_third_party_audience_group and excluded_google_audience_group, of which - /// COMPLEMENT is used as an INTERSECTION with other groups. - /// - public class AudienceGroupAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The first and third party audience ids and recencies of the excluded first and third party audience group. - /// Used for negative targeting. The COMPLEMENT of the UNION of this group and other excluded audience groups is - /// used as an INTERSECTION to any positive audience targeting. All items are logically ‘OR’ of each other. - /// - [Newtonsoft.Json.JsonPropertyAttribute("excludedFirstAndThirdPartyAudienceGroup")] - public virtual FirstAndThirdPartyAudienceGroup ExcludedFirstAndThirdPartyAudienceGroup { get; set; } - - /// - /// The Google audience ids of the excluded Google audience group. Used for negative targeting. The COMPLEMENT - /// of the UNION of this group and other excluded audience groups is used as an INTERSECTION to any positive - /// audience targeting. Only contains Affinity, In-market and Installed-apps type Google audiences. All items - /// are logically ‘OR’ of each other. - /// - [Newtonsoft.Json.JsonPropertyAttribute("excludedGoogleAudienceGroup")] - public virtual GoogleAudienceGroup ExcludedGoogleAudienceGroup { get; set; } - - /// - /// The combined audience ids of the included combined audience group. Contains combined audience ids only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("includedCombinedAudienceGroup")] - public virtual CombinedAudienceGroup IncludedCombinedAudienceGroup { get; set; } - - /// The custom list ids of the included custom list group. Contains custom list ids only. - [Newtonsoft.Json.JsonPropertyAttribute("includedCustomListGroup")] - public virtual CustomListGroup IncludedCustomListGroup { get; set; } - - /// - /// The first and third party audience ids and recencies of included first and third party audience groups. Each - /// first and third party audience group contains first and third party audience ids only. The relation between - /// each first and third party audience group is INTERSECTION, and the result is UNION'ed with other audience - /// groups. Repeated groups with same settings will be ignored. - /// - [Newtonsoft.Json.JsonPropertyAttribute("includedFirstAndThirdPartyAudienceGroups")] - public virtual System.Collections.Generic.IList IncludedFirstAndThirdPartyAudienceGroups { get; set; } - - /// - /// The Google audience ids of the included Google audience group. Contains Google audience ids only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("includedGoogleAudienceGroup")] - public virtual GoogleAudienceGroup IncludedGoogleAudienceGroup { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for audio content type assigned targeting option. This will be populated in the - /// audio_content_type_details field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. Explicitly - /// targeting all options is not supported. Remove all audio content type targeting options to achieve this effect. - /// - public class AudioContentTypeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The audio content type. - [Newtonsoft.Json.JsonPropertyAttribute("audioContentType")] - public virtual string AudioContentType { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable audio content type. This will be populated in the audio_content_type_details field when - /// targeting_type is `TARGETING_TYPE_AUDIO_CONTENT_TYPE`. - /// - public class AudioContentTypeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The audio content type. - [Newtonsoft.Json.JsonPropertyAttribute("audioContentType")] - public virtual string AudioContentType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The length an audio or a video has been played. - public class AudioVideoOffset : Google.Apis.Requests.IDirectResponseSchema - { - /// The offset in percentage of the audio or video duration. - [Newtonsoft.Json.JsonPropertyAttribute("percentage")] - public virtual System.Nullable Percentage { get; set; } - - /// The offset in seconds from the start of the audio or video. - [Newtonsoft.Json.JsonPropertyAttribute("seconds")] - public virtual System.Nullable Seconds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for AdvertiserService.AuditAdvertiser. - public class AuditAdvertiserResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The number of individual targeting options from the following targeting types that are assigned to a line - /// item under this advertiser. These individual targeting options count towards the limit of 4500000 ad group - /// targeting options per advertiser. Qualifying Targeting types: * Channels, URLs, apps, and collections * - /// Demographic * Google Audiences, including Affinity, Custom Affinity, and In-market audiences * Inventory - /// source * Keyword * Mobile app category * User lists * Video targeting * Viewability - /// - [Newtonsoft.Json.JsonPropertyAttribute("adGroupCriteriaCount")] - public virtual System.Nullable AdGroupCriteriaCount { get; set; } - - /// - /// The number of individual targeting options from the following targeting types that are assigned to a line - /// item under this advertiser. These individual targeting options count towards the limit of 900000 campaign - /// targeting options per advertiser. Qualifying Targeting types: * Position * Browser * Connection speed * Day - /// and time * Device and operating system * Digital content label * Sensitive categories * Environment * - /// Geography, including business chains and proximity * ISP * Language * Third-party verification - /// - [Newtonsoft.Json.JsonPropertyAttribute("campaignCriteriaCount")] - public virtual System.Nullable CampaignCriteriaCount { get; set; } - - /// - /// The number of channels created under this advertiser. These channels count towards the limit of 1000 - /// channels per advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("channelsCount")] - public virtual System.Nullable ChannelsCount { get; set; } - - /// - /// The number of negative keyword lists created under this advertiser. These negative keyword lists count - /// towards the limit of 20 negative keyword lists per advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywordListsCount")] - public virtual System.Nullable NegativeKeywordListsCount { get; set; } - - /// - /// The number of negatively targeted channels created under this advertiser. These negatively targeted channels - /// count towards the limit of 5 negatively targeted channels per advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negativelyTargetedChannelsCount")] - public virtual System.Nullable NegativelyTargetedChannelsCount { get; set; } - - /// - /// The number of ACTIVE and PAUSED campaigns under this advertiser. These campaigns count towards the limit of - /// 9999 campaigns per advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("usedCampaignsCount")] - public virtual System.Nullable UsedCampaignsCount { get; set; } - - /// - /// The number of ACTIVE, PAUSED and DRAFT insertion orders under this advertiser. These insertion orders count - /// towards the limit of 9999 insertion orders per advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("usedInsertionOrdersCount")] - public virtual System.Nullable UsedInsertionOrdersCount { get; set; } - - /// - /// The number of ACTIVE, PAUSED, and DRAFT line items under this advertiser. These line items count towards the - /// limit of 9999 line items per advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("usedLineItemsCount")] - public virtual System.Nullable UsedLineItemsCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents an assigned authorized seller status. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. If a resource does not - /// have an `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` assigned targeting option, it is using the "Authorized Direct - /// Sellers and Resellers" option. - /// - public class AuthorizedSellerStatusAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The authorized seller status to target. - [Newtonsoft.Json.JsonPropertyAttribute("authorizedSellerStatus")] - public virtual string AuthorizedSellerStatus { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable authorized seller status. This will be populated in the authorized_seller_status_details - /// field when targeting_type is `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`. - /// - public class AuthorizedSellerStatusTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The authorized seller status. - [Newtonsoft.Json.JsonPropertyAttribute("authorizedSellerStatus")] - public virtual string AuthorizedSellerStatus { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control the bid strategy. Bid strategy determines the bid price. - public class BiddingStrategy : Google.Apis.Requests.IDirectResponseSchema - { - /// A strategy that uses a fixed bid price. - [Newtonsoft.Json.JsonPropertyAttribute("fixedBid")] - public virtual FixedBidStrategy FixedBid { get; set; } - - /// - /// A strategy that automatically adjusts the bid to optimize to your performance goal while spending the full - /// budget. At insertion order level, the markup_type of line items cannot be set to - /// `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`. In addition, when performance_goal_type is one of: * - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` * - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` , the line_item_type of the insertion order line items - /// must be either: * `LINE_ITEM_TYPE_DISPLAY_DEFAULT` * `LINE_ITEM_TYPE_VIDEO_DEFAULT` , and when - /// performance_goal_type is either: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` the line_item_type of the insertion order line items must - /// be `LINE_ITEM_TYPE_VIDEO_DEFAULT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maximizeSpendAutoBid")] - public virtual MaximizeSpendBidStrategy MaximizeSpendAutoBid { get; set; } - - /// - /// A strategy that automatically adjusts the bid to meet or beat a specified performance goal. It is to be used - /// only for a line item entity. - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalAutoBid")] - public virtual PerformanceGoalBidStrategy PerformanceGoalAutoBid { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned browser targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BROWSER`. - /// - public class BrowserAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the browser. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Indicates if this option is being negatively targeted. All assigned browser targeting options on the same - /// resource must have the same value for this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BROWSER`. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable browser. This will be populated in the browser_details field when targeting_type is - /// `TARGETING_TYPE_BROWSER`. - /// - public class BrowserTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the browser. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Summarized information of an individual campaign budget. - public class BudgetSummary : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Corresponds to the external_budget_id of a campaign budget. If the value is not set in the campaign budget, - /// this field will be empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("externalBudgetId")] - public virtual string ExternalBudgetId { get; set; } - - /// - /// The sum of charges made under this budget before taxes, in micros of the invoice's currency. For example, if - /// currency_code is `USD`, then 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("preTaxAmountMicros")] - public virtual System.Nullable PreTaxAmountMicros { get; set; } - - /// - /// Relevant client, product, and estimate codes from the Mediaocean Prisma tool. Only applicable for campaign - /// budgets with an external_budget_source of EXTERNAL_BUDGET_SOURCE_MEDIA_OCEAN. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prismaCpeCode")] - public virtual PrismaCpeCode PrismaCpeCode { get; set; } - - /// - /// The amount of tax applied to charges under this budget, in micros of the invoice's currency. For example, if - /// currency_code is `USD`, then 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("taxAmountMicros")] - public virtual System.Nullable TaxAmountMicros { get; set; } - - /// - /// The total sum of charges made under this budget, including tax, in micros of the invoice's currency. For - /// example, if currency_code is `USD`, then 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("totalAmountMicros")] - public virtual System.Nullable TotalAmountMicros { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for BulkEditAdvertiserAssignedTargetingOptions. - public class BulkEditAdvertiserAssignedTargetingOptionsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The assigned targeting options to create in batch, specified as a list of - /// `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - [Newtonsoft.Json.JsonPropertyAttribute("createRequests")] - public virtual System.Collections.Generic.IList CreateRequests { get; set; } - - /// - /// The assigned targeting options to delete in batch, specified as a list of - /// `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * - /// `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - /// - [Newtonsoft.Json.JsonPropertyAttribute("deleteRequests")] - public virtual System.Collections.Generic.IList DeleteRequests { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkEditAdvertiserAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of assigned targeting options that have been successfully created. This list will be absent if - /// empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedTargetingOptions")] - public virtual System.Collections.Generic.IList CreatedAssignedTargetingOptions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for AssignedInventorySourceService.BulkEdit. - public class BulkEditAssignedInventorySourcesRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The ID of the advertiser that owns the parent inventory source group. The parent partner does not have - /// access to these assigned inventory sources. - /// - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The assigned inventory sources to create in bulk, specified as a list of AssignedInventorySources. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedInventorySources")] - public virtual System.Collections.Generic.IList CreatedAssignedInventorySources { get; set; } - - /// - /// The IDs of the assigned inventory sources to delete in bulk, specified as a list of - /// assigned_inventory_source_ids. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deletedAssignedInventorySources")] - public virtual System.Collections.Generic.IList> DeletedAssignedInventorySources { get; set; } - - /// - /// The ID of the partner that owns the inventory source group. Only this partner has write access to these - /// assigned inventory sources. - /// - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for AssignedInventorySourceService.BulkEdit. - public class BulkEditAssignedInventorySourcesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of assigned inventory sources that have been successfully created. This list will be absent if - /// empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignedInventorySources")] - public virtual System.Collections.Generic.IList AssignedInventorySources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for AssignedLocationService.BulkEditAssignedLocations. - public class BulkEditAssignedLocationsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The assigned locations to create in bulk, specified as a list of AssignedLocation resources. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedLocations")] - public virtual System.Collections.Generic.IList CreatedAssignedLocations { get; set; } - - /// - /// The IDs of the assigned locations to delete in bulk, specified as a list of assignedLocationId values. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deletedAssignedLocations")] - public virtual System.Collections.Generic.IList> DeletedAssignedLocations { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkEditAssignedLocationsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of assigned locations that have been successfully created. This list will be absent if empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignedLocations")] - public virtual System.Collections.Generic.IList AssignedLocations { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for BulkEditAssignedUserRoles. - public class BulkEditAssignedUserRolesRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The assigned user roles to create in batch, specified as a list of AssignedUserRoles. - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedUserRoles")] - public virtual System.Collections.Generic.IList CreatedAssignedUserRoles { get; set; } - - /// - /// The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of - /// assigned_user_role_id is `entityType-entityid`, for example `partner-123`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deletedAssignedUserRoles")] - public virtual System.Collections.Generic.IList DeletedAssignedUserRoles { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkEditAssignedUserRolesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of assigned user roles that have been successfully created. This list will be absent if empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedUserRoles")] - public virtual System.Collections.Generic.IList CreatedAssignedUserRoles { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for BulkEditLineItemAssignedTargetingOptions. - public class BulkEditLineItemAssignedTargetingOptionsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The assigned targeting options to create in batch, specified as a list of - /// `CreateAssignedTargetingOptionsRequest`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createRequests")] - public virtual System.Collections.Generic.IList CreateRequests { get; set; } - - /// - /// The assigned targeting options to delete in batch, specified as a list of - /// `DeleteAssignedTargetingOptionsRequest`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deleteRequests")] - public virtual System.Collections.Generic.IList DeleteRequests { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkEditLineItemAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of assigned targeting options that have been successfully created. This list will be absent if - /// empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedTargetingOptions")] - public virtual System.Collections.Generic.IList CreatedAssignedTargetingOptions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for NegativeKeywordService.BulkEditNegativeKeywords. - public class BulkEditNegativeKeywordsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The negative keywords to create in batch, specified as a list of NegativeKeywords. - [Newtonsoft.Json.JsonPropertyAttribute("createdNegativeKeywords")] - public virtual System.Collections.Generic.IList CreatedNegativeKeywords { get; set; } - - /// The negative keywords to delete in batch, specified as a list of keyword_values. - [Newtonsoft.Json.JsonPropertyAttribute("deletedNegativeKeywords")] - public virtual System.Collections.Generic.IList DeletedNegativeKeywords { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for NegativeKeywordService.BulkEditNegativeKeywords. - public class BulkEditNegativeKeywordsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of negative keywords that have been successfully created. This list will be absent if empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywords")] - public virtual System.Collections.Generic.IList NegativeKeywords { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for BulkEditPartnerAssignedTargetingOptions. - public class BulkEditPartnerAssignedTargetingOptionsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The assigned targeting options to create in batch, specified as a list of - /// `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` - /// - [Newtonsoft.Json.JsonPropertyAttribute("createRequests")] - public virtual System.Collections.Generic.IList CreateRequests { get; set; } - - /// - /// The assigned targeting options to delete in batch, specified as a list of - /// `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` - /// - [Newtonsoft.Json.JsonPropertyAttribute("deleteRequests")] - public virtual System.Collections.Generic.IList DeleteRequests { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkEditPartnerAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of assigned targeting options that have been successfully created. This list will be absent if - /// empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("createdAssignedTargetingOptions")] - public virtual System.Collections.Generic.IList CreatedAssignedTargetingOptions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for SiteService.BulkEditSites. - public class BulkEditSitesRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the advertiser that owns the parent channel. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The sites to create in batch, specified as a list of Sites. - [Newtonsoft.Json.JsonPropertyAttribute("createdSites")] - public virtual System.Collections.Generic.IList CreatedSites { get; set; } - - /// The sites to delete in batch, specified as a list of site url_or_app_ids. - [Newtonsoft.Json.JsonPropertyAttribute("deletedSites")] - public virtual System.Collections.Generic.IList DeletedSites { get; set; } - - /// The ID of the partner that owns the parent channel. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for SiteService.BulkEditSites. - public class BulkEditSitesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of sites that have been successfully created. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("sites")] - public virtual System.Collections.Generic.IList Sites { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkListAdvertiserAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent BulkListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token - /// will be absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkListCampaignAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token - /// will be absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkListInsertionOrderAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This - /// token will be absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class BulkListLineItemAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent BulkListLineItemAssignedTargetingOptionsRequest to fetch the next page of results. This token - /// will be absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned Business chain targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`. - /// - public class BusinessChainAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of a business chain, e.g. "KFC", "Chase Bank". - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Required. The radius of the area around the business chain that will be targeted. The units of the radius - /// are specified by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 - /// if unit is `DISTANCE_UNIT_MILES`. The minimum increment for both cases is 0.1. Inputs will be rounded to the - /// nearest acceptable value if it is too granular, e.g. 15.57 will become 15.6. - /// - [Newtonsoft.Json.JsonPropertyAttribute("proximityRadiusAmount")] - public virtual System.Nullable ProximityRadiusAmount { get; set; } - - /// Required. The unit of distance by which the targeting radius is measured. - [Newtonsoft.Json.JsonPropertyAttribute("proximityRadiusUnit")] - public virtual string ProximityRadiusUnit { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_BUSINESS_CHAIN`. Accepted - /// business chain targeting option IDs can be retrieved using SearchTargetingOptions. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Search terms for Business Chain targeting options. At least one of the field should be populated. - /// - public class BusinessChainSearchTerms : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The search query for the desired business chain. The query must be the full name of the business, e.g. - /// "KFC", "mercedes-benz". - /// - [Newtonsoft.Json.JsonPropertyAttribute("businessChainQuery")] - public virtual string BusinessChainQuery { get; set; } - - /// The search query for the desired geo region, e.g. "Seattle", "United State". - [Newtonsoft.Json.JsonPropertyAttribute("regionQuery")] - public virtual string RegionQuery { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable business chain within a geo region. This will be populated in the business_chain_details - /// field when targeting_type is `TARGETING_TYPE_BUSINESS_CHAIN`. - /// - public class BusinessChainTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the business chain, e.g. "KFC", "Chase Bank". - [Newtonsoft.Json.JsonPropertyAttribute("businessChain")] - public virtual string BusinessChain { get; set; } - - /// Output only. The display name of the geographic region, e.g. "Ontario, Canada". - [Newtonsoft.Json.JsonPropertyAttribute("geoRegion")] - public virtual string GeoRegion { get; set; } - - /// Output only. The type of the geographic region. - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionType")] - public virtual string GeoRegionType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single campaign. - public class Campaign : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The unique ID of the advertiser the campaign belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The list of budgets available to this campaign. If this field is not set, the campaign uses an unlimited - /// budget. - /// - [Newtonsoft.Json.JsonPropertyAttribute("campaignBudgets")] - public virtual System.Collections.Generic.IList CampaignBudgets { get; set; } - - /// Required. The planned spend and duration of the campaign. - [Newtonsoft.Json.JsonPropertyAttribute("campaignFlight")] - public virtual CampaignFlight CampaignFlight { get; set; } - - /// Required. The goal of the campaign. - [Newtonsoft.Json.JsonPropertyAttribute("campaignGoal")] - public virtual CampaignGoal CampaignGoal { get; set; } - - /// Output only. The unique ID of the campaign. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("campaignId")] - public virtual System.Nullable CampaignId { get; set; } - - /// - /// Required. The display name of the campaign. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Required. Controls whether or not the insertion orders under this campaign can spend their budgets and bid - /// on inventory. * Accepted values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and - /// `ENTITY_STATUS_PAUSED`. * For CreateCampaign method, `ENTITY_STATUS_ARCHIVED` is not allowed. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// Required. The frequency cap setting of the campaign. - [Newtonsoft.Json.JsonPropertyAttribute("frequencyCap")] - public virtual FrequencyCap FrequencyCap { get; set; } - - /// Output only. The resource name of the campaign. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Output only. The timestamp when the campaign was last updated. Assigned by the system. - [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; } - } - - /// Settings that control how the campaign budget is allocated. - public class CampaignBudget : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The total amount the linked insertion order segments can budget. The amount is in micros. Must be - /// greater than 0. For example, 500000000 represents 500 standard units of the currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetAmountMicros")] - public virtual System.Nullable BudgetAmountMicros { get; set; } - - /// - /// The unique ID of the campaign budget. Assigned by the system. Do not set for new budgets. Must be included - /// when updating or adding budgets to campaign_budgets. Otherwise, a new ID will be generated and assigned. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetId")] - public virtual System.Nullable BudgetId { get; set; } - - /// Required. Immutable. Specifies whether the budget is measured in currency or impressions. - [Newtonsoft.Json.JsonPropertyAttribute("budgetUnit")] - public virtual string BudgetUnit { get; set; } - - /// - /// Required. The date range for the campaign budget. Linked budget segments may have a different date range. - /// They are resolved relative to the parent advertiser's time zone. Both `start_date` and `end_date` must be - /// before the year 2037. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dateRange")] - public virtual DateRange DateRange { get; set; } - - /// - /// Required. The display name of the budget. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Immutable. The ID identifying this budget to the external source. If this field is set and the invoice - /// detail level of the corresponding billing profile is set to "Budget level PO", all impressions served - /// against this budget will include this ID on the invoice. Must be unique under the campaign. - /// - [Newtonsoft.Json.JsonPropertyAttribute("externalBudgetId")] - public virtual string ExternalBudgetId { get; set; } - - /// Required. The external source of the budget. - [Newtonsoft.Json.JsonPropertyAttribute("externalBudgetSource")] - public virtual string ExternalBudgetSource { get; set; } - - /// - /// Immutable. The ID used to group budgets to be included the same invoice. If this field is set and the - /// invoice level of the corresponding billing profile is set to "Budget invoice grouping ID", all - /// external_budget_id sharing the same invoice_grouping_id will be grouped in the same invoice. - /// - [Newtonsoft.Json.JsonPropertyAttribute("invoiceGroupingId")] - public virtual string InvoiceGroupingId { get; set; } - - /// - /// Additional metadata for use by the Mediaocean Prisma tool. Required for Mediaocean budgets. Only applicable - /// to prisma_enabled advertisers. - /// - [Newtonsoft.Json.JsonPropertyAttribute("prismaConfig")] - public virtual PrismaConfig PrismaConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that track the planned spend and duration of a campaign. - public class CampaignFlight : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The dates that the campaign is expected to run. They are resolved relative to the parent - /// advertiser's time zone. * The dates specified here will not affect serving. They are used to generate alerts - /// and warnings. For example, if the flight date of any child insertion order is outside the range of these - /// dates, the user interface will show a warning. * `start_date` is required and must be the current date or - /// later. * `end_date` is optional. If specified, it must be the `start_date` or later. * Any specified date - /// must be before the year 2037. - /// - [Newtonsoft.Json.JsonPropertyAttribute("plannedDates")] - public virtual DateRange PlannedDates { get; set; } - - /// - /// The amount the campaign is expected to spend for its given planned_dates. This will not limit serving, but - /// will be used for tracking spend in the DV360 UI. The amount is in micros. Must be greater than or equal to - /// 0. For example, 500000000 represents 500 standard units of the currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("plannedSpendAmountMicros")] - public virtual System.Nullable PlannedSpendAmountMicros { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control the goal of a campaign. - public class CampaignGoal : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The type of the campaign goal. - [Newtonsoft.Json.JsonPropertyAttribute("campaignGoalType")] - public virtual string CampaignGoalType { get; set; } - - /// - /// Required. The performance goal of the campaign. Acceptable values for performance_goal_type are: * - /// `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * - /// `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * - /// `PERFORMANCE_GOAL_TYPE_OTHER` - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoal")] - public virtual PerformanceGoal PerformanceGoal { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned carrier and ISP targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`. - /// - public class CarrierAndIspAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the carrier or ISP. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Indicates if this option is being negatively targeted. All assigned carrier and ISP targeting options on the - /// same resource must have the same value for this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_CARRIER_AND_ISP`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable carrier or ISP. This will be populated in the carrier_and_isp_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_CARRIER_AND_ISP`. - /// - public class CarrierAndIspTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the carrier or ISP. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The type indicating if it's carrier or ISP. - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned category targeting option details. This will be populated in the category_details field when - /// targeting_type is `TARGETING_TYPE_CATEGORY`. - /// - public class CategoryAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the category. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CATEGORY`. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable category. This will be populated in the category_details field of a TargetingOption when - /// targeting_type is `TARGETING_TYPE_CATEGORY`. - /// - public class CategoryTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the category. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single channel. Channels are custom groups of related websites and apps. - public class Channel : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the advertiser that owns the channel. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Output only. The unique ID of the channel. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("channelId")] - public virtual System.Nullable ChannelId { get; set; } - - /// - /// Required. The display name of the channel. Must be UTF-8 encoded with a maximum length of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The resource name of the channel. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Output only. Number of line items that are directly targeting this channel negatively. - [Newtonsoft.Json.JsonPropertyAttribute("negativelyTargetedLineItemCount")] - public virtual System.Nullable NegativelyTargetedLineItemCount { get; set; } - - /// The ID of the partner that owns the channel. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// Output only. Number of line items that are directly targeting this channel positively. - [Newtonsoft.Json.JsonPropertyAttribute("positivelyTargetedLineItemCount")] - public virtual System.Nullable PositivelyTargetedLineItemCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned channel targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CHANNEL`. - /// - public class ChannelAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. ID of the channel. Should refer to the channel ID field on a [Partner-owned - /// channel](partners.channels#Channel.FIELDS.channel_id) or [advertiser-owned - /// channel](advertisers.channels#Channel.FIELDS.channel_id) resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("channelId")] - public virtual System.Nullable ChannelId { get; set; } - - /// - /// Indicates if this option is being negatively targeted. For advertiser level assigned targeting option, this - /// field must be true. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Settings for advertisers that use both Campaign Manager 360 (CM360) and third-party ad servers. - /// - public class CmHybridConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Immutable. Account ID of the CM360 Floodlight configuration linked with the DV360 advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmAccountId")] - public virtual System.Nullable CmAccountId { get; set; } - - /// Output only. The set of CM360 Advertiser IDs sharing the CM360 Floodlight configuration. - [Newtonsoft.Json.JsonPropertyAttribute("cmAdvertiserIds")] - public virtual System.Collections.Generic.IList> CmAdvertiserIds { get; set; } - - /// - /// Required. Immutable. ID of the CM360 Floodlight configuration linked with the DV360 advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmFloodlightConfigId")] - public virtual System.Nullable CmFloodlightConfigId { get; set; } - - /// - /// Required. Immutable. By setting this field to `true`, you, on behalf of your company, authorize the sharing - /// of information from the given Floodlight configuration to this Display &amp; Video 360 advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmFloodlightLinkingAuthorized")] - public virtual System.Nullable CmFloodlightLinkingAuthorized { get; set; } - - /// - /// A list of CM360 sites whose placements will be synced to DV360 as creatives. If absent or empty in - /// CreateAdvertiser method, the system will automatically create a CM360 site. Removing sites from this list - /// may cause DV360 creatives synced from CM360 to be deleted. At least one site must be specified. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmSyncableSiteIds")] - public virtual System.Collections.Generic.IList> CmSyncableSiteIds { get; set; } - - /// Whether or not to report DV360 cost to CM360. - [Newtonsoft.Json.JsonPropertyAttribute("dv360ToCmCostReportingEnabled")] - public virtual System.Nullable Dv360ToCmCostReportingEnabled { get; set; } - - /// Whether or not to include DV360 data in CM360 data transfer reports. - [Newtonsoft.Json.JsonPropertyAttribute("dv360ToCmDataSharingEnabled")] - public virtual System.Nullable Dv360ToCmDataSharingEnabled { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A Campaign Manager 360 tracking ad. - public class CmTrackingAd : Google.Apis.Requests.IDirectResponseSchema - { - /// The ad ID of the campaign manager 360 tracking Ad. - [Newtonsoft.Json.JsonPropertyAttribute("cmAdId")] - public virtual System.Nullable CmAdId { get; set; } - - /// The creative ID of the campaign manager 360 tracking Ad. - [Newtonsoft.Json.JsonPropertyAttribute("cmCreativeId")] - public virtual System.Nullable CmCreativeId { get; set; } - - /// The placement ID of the campaign manager 360 tracking Ad. - [Newtonsoft.Json.JsonPropertyAttribute("cmPlacementId")] - public virtual System.Nullable CmPlacementId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Describes a combined audience resource. - public class CombinedAudience : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The unique ID of the combined audience. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("combinedAudienceId")] - public virtual System.Nullable CombinedAudienceId { get; set; } - - /// Output only. The display name of the combined audience. . - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The resource name of the combined audience. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details of combined audience group. All combined audience targeting settings are logically ‘OR’ of each other. - /// - public class CombinedAudienceGroup : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. All combined audience targeting settings in combined audience group. Repeated settings with same - /// id will be ignored. The number of combined audience settings should be no more than five, error will be - /// thrown otherwise. - /// - [Newtonsoft.Json.JsonPropertyAttribute("settings")] - public virtual System.Collections.Generic.IList Settings { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of combined audience targeting setting. - public class CombinedAudienceTargetingSetting : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Combined audience id of combined audience targeting setting. This id is combined_audience_id. - /// - [Newtonsoft.Json.JsonPropertyAttribute("combinedAudienceId")] - public virtual System.Nullable CombinedAudienceId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// User consent status. - public class Consent : Google.Apis.Requests.IDirectResponseSchema - { - /// Represents consent for ad personalization. - [Newtonsoft.Json.JsonPropertyAttribute("adPersonalization")] - public virtual string AdPersonalization { get; set; } - - /// Represents consent for ad user data. - [Newtonsoft.Json.JsonPropertyAttribute("adUserData")] - public virtual string AdUserData { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Contact information defining a Customer Match audience member. - public class ContactInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Country code of the member. Must also be set with the following fields: * hashed_first_name * - /// hashed_last_name * zip_codes - /// - [Newtonsoft.Json.JsonPropertyAttribute("countryCode")] - public virtual string CountryCode { get; set; } - - /// - /// A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string - /// is all lowercase. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashedEmails")] - public virtual System.Collections.Generic.IList HashedEmails { get; set; } - - /// - /// SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is - /// all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashedFirstName")] - public virtual string HashedFirstName { get; set; } - - /// - /// SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all - /// lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashedLastName")] - public virtual string HashedLastName { get; set; } - - /// - /// A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted - /// using the [E.164 format](//en.wikipedia.org/wiki/E.164) and include the country calling code. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashedPhoneNumbers")] - public virtual System.Collections.Generic.IList HashedPhoneNumbers { get; set; } - - /// - /// A list of zip codes of the member. Must also be set with the following fields: * country_code * - /// hashed_first_name * hashed_last_name - /// - [Newtonsoft.Json.JsonPropertyAttribute("zipCodes")] - public virtual System.Collections.Generic.IList ZipCodes { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Wrapper message for a list of contact information defining Customer Match audience members. - public class ContactInfoList : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that - /// consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, - /// the request will return an error. - /// - [Newtonsoft.Json.JsonPropertyAttribute("consent")] - public virtual Consent Consent { get; set; } - - /// - /// A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting - /// the contact_infos mustn't be greater than 500,000. - /// - [Newtonsoft.Json.JsonPropertyAttribute("contactInfos")] - public virtual System.Collections.Generic.IList ContactInfos { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for content duration assigned targeting option. This will be populated in the content_duration_details - /// field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`. Explicitly targeting all options is not - /// supported. Remove all content duration targeting options to achieve this effect. - /// - public class ContentDurationAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content duration. - [Newtonsoft.Json.JsonPropertyAttribute("contentDuration")] - public virtual string ContentDuration { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_DURATION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable content duration. This will be populated in the content_duration_details field when - /// targeting_type is `TARGETING_TYPE_CONTENT_DURATION`. - /// - public class ContentDurationTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content duration. - [Newtonsoft.Json.JsonPropertyAttribute("contentDuration")] - public virtual string ContentDuration { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for content genre assigned targeting option. This will be populated in the content_genre_details field - /// when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`. Explicitly targeting all options is not supported. Remove - /// all content genre targeting options to achieve this effect. - /// - public class ContentGenreAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the content genre. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_GENRE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable content genre. This will be populated in the content_genre_details field when - /// targeting_type is `TARGETING_TYPE_CONTENT_GENRE`. - /// - public class ContentGenreTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the content genre - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned content instream position targeting option details. This will be populated in the - /// content_instream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. - /// - public class ContentInstreamPositionAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The ad type to target. Only applicable to insertion order targeting and new line items - /// supporting the specified ad type will inherit this targeting option by default. Possible values are: * - /// `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is - /// `LINE_ITEM_TYPE_VIDEO_DEFAULT`. * `AD_TYPE_AUDIO`, the setting will be inherited by new line item when - /// line_item_type is `LINE_ITEM_TYPE_AUDIO_DEFAULT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("adType")] - public virtual string AdType { get; set; } - - /// Required. The content instream position for video or audio ads. - [Newtonsoft.Json.JsonPropertyAttribute("contentInstreamPosition")] - public virtual string ContentInstreamPosition { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable content instream position, which could be used by video and audio ads. This will be - /// populated in the content_instream_position_details field when targeting_type is - /// `TARGETING_TYPE_CONTENT_INSTREAM_POSITION`. - /// - public class ContentInstreamPositionTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content instream position. - [Newtonsoft.Json.JsonPropertyAttribute("contentInstreamPosition")] - public virtual string ContentInstreamPosition { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned content outstream position targeting option details. This will be populated in the - /// content_outstream_position_details field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. - /// - public class ContentOutstreamPositionAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The ad type to target. Only applicable to insertion order targeting and new line items - /// supporting the specified ad type will inherit this targeting option by default. Possible values are: * - /// `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is - /// `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when - /// line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("adType")] - public virtual string AdType { get; set; } - - /// Required. The content outstream position. - [Newtonsoft.Json.JsonPropertyAttribute("contentOutstreamPosition")] - public virtual string ContentOutstreamPosition { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable content outstream position, which could be used by display and video ads. This will be - /// populated in the content_outstream_position_details field when targeting_type is - /// `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION`. - /// - public class ContentOutstreamPositionTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content outstream position. - [Newtonsoft.Json.JsonPropertyAttribute("contentOutstreamPosition")] - public virtual string ContentOutstreamPosition { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for content stream type assigned targeting option. This will be populated in the - /// content_stream_type_details field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`. Explicitly - /// targeting all options is not supported. Remove all content stream type targeting options to achieve this effect. - /// - public class ContentStreamTypeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content stream type. - [Newtonsoft.Json.JsonPropertyAttribute("contentStreamType")] - public virtual string ContentStreamType { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable content stream type. This will be populated in the content_stream_type_details field - /// when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`. - /// - public class ContentStreamTypeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content stream type. - [Newtonsoft.Json.JsonPropertyAttribute("contentStreamType")] - public virtual string ContentStreamType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Settings that control how conversions are counted. All post-click conversions will be counted. A percentage - /// value can be set for post-view conversions counting. - /// - public class ConversionCountingConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The Floodlight activity configs used to track conversions. The number of conversions counted is the sum of - /// all of the conversions counted by all of the Floodlight activity IDs specified in this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("floodlightActivityConfigs")] - public virtual System.Collections.Generic.IList FloodlightActivityConfigs { get; set; } - - /// - /// The percentage of post-view conversions to count, in millis (1/1000 of a percent). Must be between 0 and - /// 100000 inclusive. For example, to track 50% of the post-click conversions, set a value of 50000. - /// - [Newtonsoft.Json.JsonPropertyAttribute("postViewCountPercentageMillis")] - public virtual System.Nullable PostViewCountPercentageMillis { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Counter event of the creative. - public class CounterEvent : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The name of the counter event. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The name used to identify this counter event in reports. - [Newtonsoft.Json.JsonPropertyAttribute("reportingName")] - public virtual string ReportingName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A request message for CreateAsset. - public class CreateAssetRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The filename of the asset, including the file extension. The filename must be UTF-8 encoded with a - /// maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("filename")] - public virtual string Filename { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A response message for CreateAsset. - public class CreateAssetResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The uploaded asset, if successful. - [Newtonsoft.Json.JsonPropertyAttribute("asset")] - public virtual Asset Asset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A request listing which assigned targeting options of a given targeting type should be created and added. - /// - public class CreateAssignedTargetingOptionsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The assigned targeting options to create and add. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// Required. Identifies the type of this assigned targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("targetingType")] - public virtual string TargetingType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for [SdfDownloadTaskService.CreateSdfDownloadTask]. - public class CreateSdfDownloadTaskRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the advertiser to download SDF for. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Filters on entities by their entity IDs. - [Newtonsoft.Json.JsonPropertyAttribute("idFilter")] - public virtual IdFilter IdFilter { get; set; } - - /// Filters on Inventory Sources by their IDs. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceFilter")] - public virtual InventorySourceFilter InventorySourceFilter { get; set; } - - /// - /// Filters on selected file types. The entities in each file are filtered by a chosen set of filter entities. - /// The filter entities must be the same type as, or a parent type of, the selected file types. - /// - [Newtonsoft.Json.JsonPropertyAttribute("parentEntityFilter")] - public virtual ParentEntityFilter ParentEntityFilter { get; set; } - - /// The ID of the partner to download SDF for. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// - /// Required. The SDF version of the downloaded file. If set to `SDF_VERSION_UNSPECIFIED`, this will default to - /// the version specified by the advertiser or partner identified by `root_id`. An advertiser inherits its SDF - /// version from its partner unless configured otherwise. - /// - [Newtonsoft.Json.JsonPropertyAttribute("version")] - public virtual string Version { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single Creative. - public class Creative : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Additional dimensions. Applicable when creative_type is one of: * `CREATIVE_TYPE_STANDARD` * - /// `CREATIVE_TYPE_EXPANDABLE` * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * - /// `CREATIVE_TYPE_LIGHTBOX` * `CREATIVE_TYPE_PUBLISHER_HOSTED` If this field is specified, width_pixels and - /// height_pixels are both required and must be greater than or equal to 0. - /// - [Newtonsoft.Json.JsonPropertyAttribute("additionalDimensions")] - public virtual System.Collections.Generic.IList AdditionalDimensions { get; set; } - - /// Output only. The unique ID of the advertiser the creative belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Third-party HTML tracking tag to be appended to the creative tag. - [Newtonsoft.Json.JsonPropertyAttribute("appendedTag")] - public virtual string AppendedTag { get; set; } - - /// Required. Assets associated to this creative. - [Newtonsoft.Json.JsonPropertyAttribute("assets")] - public virtual System.Collections.Generic.IList Assets { get; set; } - - /// - /// Output only. The unique ID of the Campaign Manager 360 placement associated with the creative. This field is - /// only applicable for creatives that are synced from Campaign Manager. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmPlacementId")] - public virtual System.Nullable CmPlacementId { get; set; } - - /// - /// The Campaign Manager 360 tracking ad associated with the creative. Optional for the following creative_type - /// when created by an advertiser that uses both Campaign Manager 360 and third-party ad serving: * - /// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` Output only for other cases. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cmTrackingAd")] - public virtual CmTrackingAd CmTrackingAd { get; set; } - - /// - /// The IDs of companion creatives for a video creative. You can assign existing display creatives (with image - /// or HTML5 assets) to serve surrounding the publisher's video player. Companions display around the video - /// player while the video is playing and remain after the video has completed. Creatives contain additional - /// dimensions can not be companion creatives. This field is only supported for following creative_type: * - /// `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("companionCreativeIds")] - public virtual System.Collections.Generic.IList> CompanionCreativeIds { get; set; } - - /// - /// Counter events for a rich media creative. Counters track the number of times that a user interacts with any - /// part of a rich media creative in a specified way (mouse-overs, mouse-outs, clicks, taps, data loading, - /// keyboard entries, etc.). Any event that can be captured in the creative can be recorded as a counter. Leave - /// it empty or unset for creatives containing image assets only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("counterEvents")] - public virtual System.Collections.Generic.IList CounterEvents { get; set; } - - private string _createTimeRaw; - - private object _createTime; - - /// Output only. The timestamp when the creative was created. Assigned by the system. - [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 list of attributes of the creative that is generated by the system. - [Newtonsoft.Json.JsonPropertyAttribute("creativeAttributes")] - public virtual System.Collections.Generic.IList CreativeAttributes { get; set; } - - /// Output only. The unique ID of the creative. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("creativeId")] - public virtual System.Nullable CreativeId { get; set; } - - /// Required. Immutable. The type of the creative. - [Newtonsoft.Json.JsonPropertyAttribute("creativeType")] - public virtual string CreativeType { get; set; } - - /// - /// Required. Primary dimensions of the creative. Applicable to all creative types. The value of width_pixels - /// and height_pixels defaults to `0` when creative_type is one of: * `CREATIVE_TYPE_VIDEO` * - /// `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] - public virtual Dimensions Dimensions { get; set; } - - /// - /// Required. The display name of the creative. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. Indicates whether the creative is dynamic. - [Newtonsoft.Json.JsonPropertyAttribute("dynamic")] - public virtual System.Nullable Dynamic { get; set; } - - /// - /// Required. Controls whether or not the creative can serve. Accepted values are: * `ENTITY_STATUS_ACTIVE` * - /// `ENTITY_STATUS_ARCHIVED` * `ENTITY_STATUS_PAUSED` - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// - /// Required. Exit events for this creative. An exit (also known as a click tag) is any area in your creative - /// that someone can click or tap to open an advertiser's landing page. Every creative must include at least one - /// exit. You can add an exit to your creative in any of the following ways: * Use Google Web Designer's tap - /// area. * Define a JavaScript variable called "clickTag". * Use the Enabler (Enabler.exit()) to track exits in - /// rich media formats. - /// - [Newtonsoft.Json.JsonPropertyAttribute("exitEvents")] - public virtual System.Collections.Generic.IList ExitEvents { get; set; } - - /// - /// Optional. Indicates the creative will automatically expand on hover. Optional and only valid for third-party - /// expandable creatives. Third-party expandable creatives are creatives with following hosting source: * - /// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE` - /// - [Newtonsoft.Json.JsonPropertyAttribute("expandOnHover")] - public virtual System.Nullable ExpandOnHover { get; set; } - - /// - /// Optional. Specifies the expanding direction of the creative. Required and only valid for third-party - /// expandable creatives. Third-party expandable creatives are creatives with following hosting source: * - /// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_EXPANDABLE` - /// - [Newtonsoft.Json.JsonPropertyAttribute("expandingDirection")] - public virtual string ExpandingDirection { get; set; } - - /// Required. Indicates where the creative is hosted. - [Newtonsoft.Json.JsonPropertyAttribute("hostingSource")] - public virtual string HostingSource { get; set; } - - /// - /// Output only. Indicates the third-party VAST tag creative requires HTML5 Video support. Output only and only - /// valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following - /// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * - /// `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("html5Video")] - public virtual System.Nullable Html5Video { get; set; } - - /// - /// Indicates whether Integral Ad Science (IAS) campaign monitoring is enabled. To enable this for the creative, - /// make sure the Advertiser.creative_config.ias_client_id has been set to your IAS client ID. - /// - [Newtonsoft.Json.JsonPropertyAttribute("iasCampaignMonitoring")] - public virtual System.Nullable IasCampaignMonitoring { get; set; } - - /// - /// ID information used to link this creative to an external system. Must be UTF-8 encoded with a length of no - /// more than 10,000 characters. - /// - [Newtonsoft.Json.JsonPropertyAttribute("integrationCode")] - public virtual string IntegrationCode { get; set; } - - /// - /// JavaScript measurement URL from supported third-party verification providers (ComScore, DoubleVerify, IAS, - /// Moat). HTML script tags are not supported. This field is only writeable in following creative_type: * - /// `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * `CREATIVE_TYPE_NATIVE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("jsTrackerUrl")] - public virtual string JsTrackerUrl { get; set; } - - /// - /// Output only. The IDs of the line items this creative is associated with. To associate a creative to a line - /// item, use LineItem.creative_ids instead. - /// - [Newtonsoft.Json.JsonPropertyAttribute("lineItemIds")] - public virtual System.Collections.Generic.IList> LineItemIds { get; set; } - - /// - /// Output only. Media duration of the creative. Applicable when creative_type is one of: * - /// `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_NATIVE_VIDEO` * - /// `CREATIVE_TYPE_PUBLISHER_HOSTED` - /// - [Newtonsoft.Json.JsonPropertyAttribute("mediaDuration")] - public virtual object MediaDuration { get; set; } - - /// - /// Output only. Indicates the third-party audio creative supports MP3. Output only and only valid for - /// third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * - /// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("mp3Audio")] - public virtual System.Nullable Mp3Audio { get; set; } - - /// Output only. The resource name of the creative. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// User notes for this creative. Must be UTF-8 encoded with a length of no more than 20,000 characters. - /// - [Newtonsoft.Json.JsonPropertyAttribute("notes")] - public virtual string Notes { get; set; } - - /// - /// Specifies the OBA icon for a video creative. This field is only supported in following creative_type: * - /// `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("obaIcon")] - public virtual ObaIcon ObaIcon { get; set; } - - /// - /// Output only. Indicates the third-party audio creative supports OGG. Output only and only valid for - /// third-party audio creatives. Third-party audio creatives are creatives with following hosting_source: * - /// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("oggAudio")] - public virtual System.Nullable OggAudio { get; set; } - - /// - /// Amount of time to play the video before counting a view. This field is required when skippable is true. This - /// field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("progressOffset")] - public virtual AudioVideoOffset ProgressOffset { get; set; } - - /// - /// Optional. Indicates that the creative relies on HTML5 to render properly. Optional and only valid for - /// third-party tag creatives. Third-party tag creatives are creatives with following hosting_source: * - /// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * - /// `CREATIVE_TYPE_EXPANDABLE` - /// - [Newtonsoft.Json.JsonPropertyAttribute("requireHtml5")] - public virtual System.Nullable RequireHtml5 { get; set; } - - /// - /// Optional. Indicates that the creative requires MRAID (Mobile Rich Media Ad Interface Definitions system). - /// Set this if the creative relies on mobile gestures for interactivity, such as swiping or tapping. Optional - /// and only valid for third-party tag creatives. Third-party tag creatives are creatives with following - /// hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * - /// `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` - /// - [Newtonsoft.Json.JsonPropertyAttribute("requireMraid")] - public virtual System.Nullable RequireMraid { get; set; } - - /// - /// Optional. Indicates that the creative will wait for a return ping for attribution. Only valid when using a - /// Campaign Manager 360 tracking ad with a third-party ad server parameter and the ${DC_DBM_TOKEN} macro. - /// Optional and only valid for third-party tag creatives or third-party VAST tag creatives. Third-party tag - /// creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with - /// following creative_type: * `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_EXPANDABLE` Third-party VAST tag - /// creatives are creatives with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with - /// following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("requirePingForAttribution")] - public virtual System.Nullable RequirePingForAttribution { get; set; } - - /// Output only. The current status of the creative review process. - [Newtonsoft.Json.JsonPropertyAttribute("reviewStatus")] - public virtual ReviewStatusInfo ReviewStatus { get; set; } - - /// - /// Amount of time to play the video before the skip button appears. This field is required when skippable is - /// true. This field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("skipOffset")] - public virtual AudioVideoOffset SkipOffset { get; set; } - - /// - /// Whether the user can choose to skip a video creative. This field is only supported for the following - /// creative_type: * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("skippable")] - public virtual System.Nullable Skippable { get; set; } - - /// - /// Optional. The original third-party tag used for the creative. Required and only valid for third-party tag - /// creatives. Third-party tag creatives are creatives with following hosting_source: * - /// `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_STANDARD` * - /// `CREATIVE_TYPE_EXPANDABLE` - /// - [Newtonsoft.Json.JsonPropertyAttribute("thirdPartyTag")] - public virtual string ThirdPartyTag { get; set; } - - /// - /// Tracking URLs from third parties to track interactions with a video creative. This field is only supported - /// for the following creative_type: * `CREATIVE_TYPE_AUDIO` * `CREATIVE_TYPE_VIDEO` * - /// `CREATIVE_TYPE_NATIVE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("thirdPartyUrls")] - public virtual System.Collections.Generic.IList ThirdPartyUrls { get; set; } - - /// - /// Timer custom events for a rich media creative. Timers track the time during which a user views and interacts - /// with a specified part of a rich media creative. A creative can have multiple timer events, each timed - /// independently. Leave it empty or unset for creatives containing image assets only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timerEvents")] - public virtual System.Collections.Generic.IList TimerEvents { get; set; } - - /// - /// Tracking URLs for analytics providers or third-party ad technology vendors. The URLs must start with https - /// (except on inventory that doesn't require SSL compliance). If using macros in your URL, use only macros - /// supported by Display &amp; Video 360. Standard URLs only, no IMG or SCRIPT tags. This field is only - /// writeable in following creative_type: * `CREATIVE_TYPE_NATIVE` * `CREATIVE_TYPE_NATIVE_SITE_SQUARE` * - /// `CREATIVE_TYPE_NATIVE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("trackerUrls")] - public virtual System.Collections.Generic.IList TrackerUrls { get; set; } - - /// - /// Output only. Audio/Video transcodes. Display &amp; Video 360 transcodes the main asset into a number of - /// alternative versions that use different file formats or have different properties (resolution, audio bit - /// rate, and video bit rate), each designed for specific video players or bandwidths. These transcodes give a - /// publisher's system more options to choose from for each impression on your video and ensures that the - /// appropriate file serves based on the viewer’s connection and screen size. This field is only supported in - /// following creative_type: * `CREATIVE_TYPE_VIDEO` * `CREATIVE_TYPE_NATIVE_VIDEO` * `CREATIVE_TYPE_AUDIO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("transcodes")] - public virtual System.Collections.Generic.IList Transcodes { get; set; } - - /// - /// Optional. An optional creative identifier provided by a registry that is unique across all platforms. - /// Universal Ad ID is part of the VAST 4.0 standard. It can be modified after the creative is created. This - /// field is only supported for the following creative_type: * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("universalAdId")] - public virtual UniversalAdId UniversalAdId { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// - /// Output only. The timestamp when the creative was last updated, either by the user or system (e.g. creative - /// review). Assigned by the system. - /// - [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); - } - - /// - /// Optional. The URL of the VAST tag for a third-party VAST tag creative. Required and only valid for - /// third-party VAST tag creatives. Third-party VAST tag creatives are creatives with following hosting_source: - /// * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * `CREATIVE_TYPE_AUDIO` * - /// `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("vastTagUrl")] - public virtual string VastTagUrl { get; set; } - - /// - /// Output only. Indicates the third-party VAST tag creative requires VPAID (Digital Video Player-Ad Interface). - /// Output only and only valid for third-party VAST tag creatives. Third-party VAST tag creatives are creatives - /// with following hosting_source: * `HOSTING_SOURCE_THIRD_PARTY` combined with following creative_type: * - /// `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("vpaid")] - public virtual System.Nullable Vpaid { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Creative requirements configuration for the inventory source. - public class CreativeConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The type of creative that can be assigned to the inventory source. Only the following types are supported: * - /// `CREATIVE_TYPE_STANDARD` * `CREATIVE_TYPE_VIDEO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("creativeType")] - public virtual string CreativeType { get; set; } - - /// - /// The configuration for display creatives. Applicable when creative_type is `CREATIVE_TYPE_STANDARD`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayCreativeConfig")] - public virtual InventorySourceDisplayCreativeConfig DisplayCreativeConfig { get; set; } - - /// - /// The configuration for video creatives. Applicable when creative_type is `CREATIVE_TYPE_VIDEO`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("videoCreativeConfig")] - public virtual InventorySourceVideoCreativeConfig VideoCreativeConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single custom bidding algorithm. - public class CustomBiddingAlgorithm : Google.Apis.Requests.IDirectResponseSchema - { - /// Immutable. The unique ID of the advertiser that owns the custom bidding algorithm. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Output only. The unique ID of the custom bidding algorithm. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithmId")] - public virtual System.Nullable CustomBiddingAlgorithmId { get; set; } - - /// Output only. The status of custom bidding algorithm. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithmState")] - public virtual string CustomBiddingAlgorithmState { get; set; } - - /// Required. Immutable. The type of custom bidding algorithm. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithmType")] - public virtual string CustomBiddingAlgorithmType { get; set; } - - /// - /// Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 - /// bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: - /// * `ENTITY_STATUS_ACTIVE` * `ENTITY_STATUS_ARCHIVED` - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// - /// Output only. The state of custom bidding model readiness for each advertiser who has access. This field may - /// only include the state of the queried advertiser if the algorithm - /// [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) - /// is a partner and is being retrieved using an advertiser - /// [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor). - /// - [Newtonsoft.Json.JsonPropertyAttribute("modelReadiness")] - public virtual System.Collections.Generic.IList ModelReadiness { get; set; } - - /// Output only. The resource name of the custom bidding algorithm. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Immutable. The unique ID of the partner that owns the custom bidding algorithm. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// - /// The IDs of the advertisers who have access to this algorithm. If advertiser_id is set, this field will only - /// consist of that value. This field will not be set if the algorithm - /// [`owner`](/display-video/api/reference/rest/v1/customBiddingAlgorithms#CustomBiddingAlgorithm.FIELDS.oneof_owner) - /// is a partner and is being retrieved using an advertiser - /// [`accessor`](/display-video/api/reference/rest/v1/customBiddingAlgorithms/list#body.QUERY_PARAMETERS.oneof_accessor). - /// - [Newtonsoft.Json.JsonPropertyAttribute("sharedAdvertiserIds")] - public virtual System.Collections.Generic.IList> SharedAdvertiserIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The custom bidding algorithm model readiness state for a single shared advertiser. - public class CustomBiddingModelReadinessState : Google.Apis.Requests.IDirectResponseSchema - { - /// The unique ID of the relevant advertiser. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The readiness state of custom bidding model. - [Newtonsoft.Json.JsonPropertyAttribute("readinessState")] - public virtual string ReadinessState { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single custom bidding script. - public class CustomBiddingScript : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Whether the script is currently being used for scoring by the parent algorithm. - /// - [Newtonsoft.Json.JsonPropertyAttribute("active")] - public virtual System.Nullable Active { get; set; } - - private string _createTimeRaw; - - private object _createTime; - - /// Output only. The time when the script 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. The unique ID of the custom bidding algorithm the script belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithmId")] - public virtual System.Nullable CustomBiddingAlgorithmId { get; set; } - - /// Output only. The unique ID of the custom bidding script. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingScriptId")] - public virtual System.Nullable CustomBiddingScriptId { get; set; } - - /// - /// Output only. Error details of a rejected custom bidding script. This field will only be populated when state - /// is REJECTED. - /// - [Newtonsoft.Json.JsonPropertyAttribute("errors")] - public virtual System.Collections.Generic.IList Errors { get; set; } - - /// Output only. The resource name of the custom bidding script. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The reference to the uploaded script file. - [Newtonsoft.Json.JsonPropertyAttribute("script")] - public virtual CustomBiddingScriptRef Script { get; set; } - - /// Output only. The state of the custom bidding script. - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The reference to the uploaded custom bidding script file. - public class CustomBiddingScriptRef : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A resource name to be used in media.download to Download the script files. Or media.upload to Upload the - /// script files. Resource names have the format - /// `customBiddingAlgorithms/{custom_bidding_algorithm_id}/scriptRef/{ref_id}`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] - public virtual string ResourceName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Describes a custom list entity, such as a custom affinity or custom intent audience list. - public class CustomList : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The unique ID of the custom list. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("customListId")] - public virtual System.Nullable CustomListId { get; set; } - - /// Output only. The display name of the custom list. . - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The resource name of the custom list. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details of custom list group. All custom list targeting settings are logically ‘OR’ of each other. - /// - public class CustomListGroup : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. All custom list targeting settings in custom list group. Repeated settings with same id will be - /// ignored. - /// - [Newtonsoft.Json.JsonPropertyAttribute("settings")] - public virtual System.Collections.Generic.IList Settings { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of custom list targeting setting. - public class CustomListTargetingSetting : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Custom id of custom list targeting setting. This id is custom_list_id. - [Newtonsoft.Json.JsonPropertyAttribute("customListId")] - public virtual System.Nullable CustomListId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either - /// specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one - /// of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year - /// (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a - /// zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * - /// google.type.DateTime * google.protobuf.Timestamp - /// - public class Date : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a - /// year and month where the day isn't significant. - /// - [Newtonsoft.Json.JsonPropertyAttribute("day")] - public virtual System.Nullable Day { get; set; } - - /// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. - [Newtonsoft.Json.JsonPropertyAttribute("month")] - public virtual System.Nullable Month { get; set; } - - /// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. - [Newtonsoft.Json.JsonPropertyAttribute("year")] - public virtual System.Nullable Year { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A date range. - public class DateRange : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The upper bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("endDate")] - public virtual Date EndDate { get; set; } - - /// - /// The lower bound of the date range, inclusive. Must specify a positive value for `year`, `month`, and `day`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("startDate")] - public virtual Date StartDate { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Representation of a segment of time defined on a specific day of the week and with a start and end time. The - /// time represented by `start_hour` must be before the time represented by `end_hour`. - /// - public class DayAndTimeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The day of the week for this day and time targeting setting. - [Newtonsoft.Json.JsonPropertyAttribute("dayOfWeek")] - public virtual string DayOfWeek { get; set; } - - /// - /// Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end - /// of day). - /// - [Newtonsoft.Json.JsonPropertyAttribute("endHour")] - public virtual System.Nullable EndHour { get; set; } - - /// - /// Required. The start hour for day and time targeting. Must be between 0 (start of day) and 23 (1 hour before - /// end of day). - /// - [Newtonsoft.Json.JsonPropertyAttribute("startHour")] - public virtual System.Nullable StartHour { get; set; } - - /// - /// Required. The mechanism used to determine which timezone to use for this day and time targeting setting. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeZoneResolution")] - public virtual string TimeZoneResolution { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for ManualTriggerService.DeactivateManualTrigger. - public class DeactivateManualTriggerRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A request listing which assigned targeting options of a given targeting type should be deleted. - /// - public class DeleteAssignedTargetingOptionsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The assigned targeting option IDs to delete. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptionIds")] - public virtual System.Collections.Generic.IList AssignedTargetingOptionIds { get; set; } - - /// Required. Identifies the type of this assigned targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("targetingType")] - public virtual string TargetingType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned device make and model targeting option details. This will be populated in the device_make_model_details - /// field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`. - /// - public class DeviceMakeModelAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the device make and model. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable device make and model. This will be populated in the device_make_model_details field of - /// a TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_MAKE_MODEL`. - /// - public class DeviceMakeModelTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the device make and model. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for device type. This will be populated in the details field of an AssignedTargetingOption - /// when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`. - /// - public class DeviceTypeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The display name of the device type. - [Newtonsoft.Json.JsonPropertyAttribute("deviceType")] - public virtual string DeviceType { get; set; } - - /// Required. ID of the device type. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable device type. This will be populated in the device_type_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_DEVICE_TYPE`. - /// - public class DeviceTypeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The device type that is used to be targeted. - [Newtonsoft.Json.JsonPropertyAttribute("deviceType")] - public virtual string DeviceType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for digital content label. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. - /// - public class DigitalContentLabelAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the digital content label rating tier. - [Newtonsoft.Json.JsonPropertyAttribute("contentRatingTier")] - public virtual string ContentRatingTier { get; set; } - - /// Required. ID of the digital content label to be EXCLUDED. - [Newtonsoft.Json.JsonPropertyAttribute("excludedTargetingOptionId")] - public virtual string ExcludedTargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable digital content label rating tier. This will be populated in the - /// digital_content_label_details field of the TargetingOption when targeting_type is - /// `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION`. - /// - public class DigitalContentLabelTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. An enum for the content label brand safety tiers. - [Newtonsoft.Json.JsonPropertyAttribute("contentRatingTier")] - public virtual string ContentRatingTier { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Dimensions. - public class Dimensions : Google.Apis.Requests.IDirectResponseSchema - { - /// The height in pixels. - [Newtonsoft.Json.JsonPropertyAttribute("heightPixels")] - public virtual System.Nullable HeightPixels { get; set; } - - /// The width in pixels. - [Newtonsoft.Json.JsonPropertyAttribute("widthPixels")] - public virtual System.Nullable WidthPixels { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of DoubleVerify settings. - public class DoubleVerify : Google.Apis.Requests.IDirectResponseSchema - { - /// Avoid bidding on apps with the star ratings. - [Newtonsoft.Json.JsonPropertyAttribute("appStarRating")] - public virtual DoubleVerifyAppStarRating AppStarRating { get; set; } - - /// Avoid bidding on apps with the age rating. - [Newtonsoft.Json.JsonPropertyAttribute("avoidedAgeRatings")] - public virtual System.Collections.Generic.IList AvoidedAgeRatings { get; set; } - - /// DV Brand Safety Controls. - [Newtonsoft.Json.JsonPropertyAttribute("brandSafetyCategories")] - public virtual DoubleVerifyBrandSafetyCategories BrandSafetyCategories { get; set; } - - /// - /// The custom segment ID provided by DoubleVerify. The ID must start with "51" and consist of eight digits. - /// Custom segment ID cannot be specified along with any of the following fields: * brand_safety_categories * - /// avoided_age_ratings * app_star_rating * fraud_invalid_traffic - /// - [Newtonsoft.Json.JsonPropertyAttribute("customSegmentId")] - public virtual System.Nullable CustomSegmentId { get; set; } - - /// Display viewability settings (applicable to display line items only). - [Newtonsoft.Json.JsonPropertyAttribute("displayViewability")] - public virtual DoubleVerifyDisplayViewability DisplayViewability { get; set; } - - /// Avoid Sites and Apps with historical Fraud & IVT Rates. - [Newtonsoft.Json.JsonPropertyAttribute("fraudInvalidTraffic")] - public virtual DoubleVerifyFraudInvalidTraffic FraudInvalidTraffic { get; set; } - - /// Video viewability settings (applicable to video line items only). - [Newtonsoft.Json.JsonPropertyAttribute("videoViewability")] - public virtual DoubleVerifyVideoViewability VideoViewability { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of DoubleVerify star ratings settings. - public class DoubleVerifyAppStarRating : Google.Apis.Requests.IDirectResponseSchema - { - /// Avoid bidding on apps with insufficient star ratings. - [Newtonsoft.Json.JsonPropertyAttribute("avoidInsufficientStarRating")] - public virtual System.Nullable AvoidInsufficientStarRating { get; set; } - - /// Avoid bidding on apps with the star ratings. - [Newtonsoft.Json.JsonPropertyAttribute("avoidedStarRating")] - public virtual string AvoidedStarRating { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings for brand safety controls. - public class DoubleVerifyBrandSafetyCategories : Google.Apis.Requests.IDirectResponseSchema - { - /// Unknown or unrateable. - [Newtonsoft.Json.JsonPropertyAttribute("avoidUnknownBrandSafetyCategory")] - public virtual System.Nullable AvoidUnknownBrandSafetyCategory { get; set; } - - /// Brand safety high severity avoidance categories. - [Newtonsoft.Json.JsonPropertyAttribute("avoidedHighSeverityCategories")] - public virtual System.Collections.Generic.IList AvoidedHighSeverityCategories { get; set; } - - /// Brand safety medium severity avoidance categories. - [Newtonsoft.Json.JsonPropertyAttribute("avoidedMediumSeverityCategories")] - public virtual System.Collections.Generic.IList AvoidedMediumSeverityCategories { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of DoubleVerify display viewability settings. - public class DoubleVerifyDisplayViewability : Google.Apis.Requests.IDirectResponseSchema - { - /// Target web and app inventory to maximize IAB viewable rate. - [Newtonsoft.Json.JsonPropertyAttribute("iab")] - public virtual string Iab { get; set; } - - /// Target web and app inventory to maximize 100% viewable duration. - [Newtonsoft.Json.JsonPropertyAttribute("viewableDuring")] - public virtual string ViewableDuring { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// DoubleVerify Fraud & Invalid Traffic settings. - public class DoubleVerifyFraudInvalidTraffic : Google.Apis.Requests.IDirectResponseSchema - { - /// Insufficient Historical Fraud & IVT Stats. - [Newtonsoft.Json.JsonPropertyAttribute("avoidInsufficientOption")] - public virtual System.Nullable AvoidInsufficientOption { get; set; } - - /// Avoid Sites and Apps with historical Fraud & IVT. - [Newtonsoft.Json.JsonPropertyAttribute("avoidedFraudOption")] - public virtual string AvoidedFraudOption { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of DoubleVerify video viewability settings. - public class DoubleVerifyVideoViewability : Google.Apis.Requests.IDirectResponseSchema - { - /// Target inventory to maximize impressions with 400x300 or greater player size. - [Newtonsoft.Json.JsonPropertyAttribute("playerImpressionRate")] - public virtual string PlayerImpressionRate { get; set; } - - /// Target web inventory to maximize IAB viewable rate. - [Newtonsoft.Json.JsonPropertyAttribute("videoIab")] - public virtual string VideoIab { get; set; } - - /// Target web inventory to maximize fully viewable rate. - [Newtonsoft.Json.JsonPropertyAttribute("videoViewableRate")] - public virtual string VideoViewableRate { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for FirstAndThirdPartyAudienceService.EditCustomerMatchMembers. - public class EditCustomerMatchMembersRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Input only. A list of contact information to define the members to be added. - [Newtonsoft.Json.JsonPropertyAttribute("addedContactInfoList")] - public virtual ContactInfoList AddedContactInfoList { get; set; } - - /// Input only. A list of mobile device IDs to define the members to be added. - [Newtonsoft.Json.JsonPropertyAttribute("addedMobileDeviceIdList")] - public virtual MobileDeviceIdList AddedMobileDeviceIdList { get; set; } - - /// - /// Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience. - /// - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers. - public class EditCustomerMatchMembersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The ID of the updated Customer Match FirstAndThirdPartyAudience. - [Newtonsoft.Json.JsonPropertyAttribute("firstAndThirdPartyAudienceId")] - public virtual System.Nullable FirstAndThirdPartyAudienceId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors. - public class EditGuaranteedOrderReadAccessorsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The advertisers to add as read accessors to the guaranteed order. - [Newtonsoft.Json.JsonPropertyAttribute("addedAdvertisers")] - public virtual System.Collections.Generic.IList> AddedAdvertisers { get; set; } - - /// Required. The partner context in which the change is being made. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// - /// Whether to give all advertisers of the read/write accessor partner read access to the guaranteed order. Only - /// applicable if read_write_partner_id is set in the guaranteed order. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readAccessInherited")] - public virtual System.Nullable ReadAccessInherited { get; set; } - - /// The advertisers to remove as read accessors to the guaranteed order. - [Newtonsoft.Json.JsonPropertyAttribute("removedAdvertisers")] - public virtual System.Collections.Generic.IList> RemovedAdvertisers { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class EditGuaranteedOrderReadAccessorsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Whether all advertisers of read_write_partner_id have read access to the guaranteed order. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readAccessInherited")] - public virtual System.Nullable ReadAccessInherited { get; set; } - - /// The IDs of advertisers with read access to the guaranteed order. - [Newtonsoft.Json.JsonPropertyAttribute("readAdvertiserIds")] - public virtual System.Collections.Generic.IList> ReadAdvertiserIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for InventorySourceService.EditInventorySourceReadWriteAccessors. - public class EditInventorySourceReadWriteAccessorsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The advertisers to add or remove from the list of advertisers that have read/write access to the inventory - /// source. This change will remove an existing partner read/write accessor. - /// - [Newtonsoft.Json.JsonPropertyAttribute("advertisersUpdate")] - public virtual EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate AdvertisersUpdate { get; set; } - - /// - /// Set the partner context as read/write accessor of the inventory source. This will remove all other current - /// read/write advertiser accessors. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignPartner")] - public virtual System.Nullable AssignPartner { get; set; } - - /// Required. The partner context by which the accessors change is being made. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Update to the list of advertisers with read/write access to the inventory source. - public class EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate : Google.Apis.Requests.IDirectResponseSchema - { - /// The advertisers to add. - [Newtonsoft.Json.JsonPropertyAttribute("addedAdvertisers")] - public virtual System.Collections.Generic.IList> AddedAdvertisers { get; set; } - - /// The advertisers to remove. - [Newtonsoft.Json.JsonPropertyAttribute("removedAdvertisers")] - public virtual System.Collections.Generic.IList> RemovedAdvertisers { 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; } - } - - /// - /// Assigned environment targeting option details. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`. - /// - public class EnvironmentAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The serving environment. - [Newtonsoft.Json.JsonPropertyAttribute("environment")] - public virtual string Environment { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_ENVIRONMENT` (e.g., "508010" - /// for targeting the `ENVIRONMENT_WEB_OPTIMIZED` option). - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable environment. This will be populated in the environment_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_ENVIRONMENT`. - /// - public class EnvironmentTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The serving environment. - [Newtonsoft.Json.JsonPropertyAttribute("environment")] - public virtual string Environment { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned exchange targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_EXCHANGE`. - /// - public class ExchangeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_EXCHANGE`. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control which exchanges are enabled for a partner. - public class ExchangeConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// All enabled exchanges in the partner. Duplicate enabled exchanges will be ignored. - [Newtonsoft.Json.JsonPropertyAttribute("enabledExchanges")] - public virtual System.Collections.Generic.IList EnabledExchanges { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// An enabled exchange in the partner. - public class ExchangeConfigEnabledExchange : Google.Apis.Requests.IDirectResponseSchema - { - /// The enabled exchange. - [Newtonsoft.Json.JsonPropertyAttribute("exchange")] - public virtual string Exchange { get; set; } - - /// - /// Output only. Agency ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the - /// enabled exchange. - /// - [Newtonsoft.Json.JsonPropertyAttribute("googleAdManagerAgencyId")] - public virtual string GoogleAdManagerAgencyId { get; set; } - - /// - /// Output only. Network ID of Google Ad Manager. The field is only relevant when Google Ad Manager is the - /// enabled exchange. - /// - [Newtonsoft.Json.JsonPropertyAttribute("googleAdManagerBuyerNetworkId")] - public virtual string GoogleAdManagerBuyerNetworkId { get; set; } - - /// Output only. Seat ID of the enabled exchange. - [Newtonsoft.Json.JsonPropertyAttribute("seatId")] - public virtual string SeatId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Exchange review status for the creative. - public class ExchangeReviewStatus : Google.Apis.Requests.IDirectResponseSchema - { - /// The exchange reviewing the creative. - [Newtonsoft.Json.JsonPropertyAttribute("exchange")] - public virtual string Exchange { get; set; } - - /// Status of the exchange review. - [Newtonsoft.Json.JsonPropertyAttribute("status")] - public virtual string Status { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable exchange. This will be populated in the exchange_details field of a TargetingOption when - /// targeting_type is `TARGETING_TYPE_EXCHANGE`. - /// - public class ExchangeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The type of exchange. - [Newtonsoft.Json.JsonPropertyAttribute("exchange")] - public virtual string Exchange { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Exit event of the creative. - public class ExitEvent : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The name of the click tag of the exit event. The name must be unique within one creative. Leave it empty or - /// unset for creatives containing image assets only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// The name used to identify this event in reports. Leave it empty or unset for creatives containing image - /// assets only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("reportingName")] - public virtual string ReportingName { get; set; } - - /// Required. The type of the exit event. - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// - /// Required. The click through URL of the exit event. This is required when type is: * - /// `EXIT_EVENT_TYPE_DEFAULT` * `EXIT_EVENT_TYPE_BACKUP` - /// - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Describes a first or third party audience list used for targeting. First party audiences are created via usage - /// of client data. Third party audiences are provided by Third Party data providers and can only be licensed to - /// customers. - /// - public class FirstAndThirdPartyAudience : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The estimated audience size for the Display network in the past month. If the size is less than - /// 1000, the number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be - /// rounded off to two significant digits. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("activeDisplayAudienceSize")] - public virtual System.Nullable ActiveDisplayAudienceSize { get; set; } - - /// - /// The app_id matches with the type of the mobile_device_ids being uploaded. Only applicable to audience_type - /// `CUSTOMER_MATCH_DEVICE_ID` - /// - [Newtonsoft.Json.JsonPropertyAttribute("appId")] - public virtual string AppId { get; set; } - - /// Output only. The source of the audience. - [Newtonsoft.Json.JsonPropertyAttribute("audienceSource")] - public virtual string AudienceSource { get; set; } - - /// The type of the audience. - [Newtonsoft.Json.JsonPropertyAttribute("audienceType")] - public virtual string AudienceType { get; set; } - - /// - /// Input only. A list of contact information to define the initial audience members. Only applicable to - /// audience_type `CUSTOMER_MATCH_CONTACT_INFO` - /// - [Newtonsoft.Json.JsonPropertyAttribute("contactInfoList")] - public virtual ContactInfoList ContactInfoList { get; set; } - - /// The user-provided description of the audience. Only applicable to first party audiences. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// - /// Output only. The estimated audience size for the Display network. If the size is less than 1000, the number - /// will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to - /// two significant digits. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayAudienceSize")] - public virtual System.Nullable DisplayAudienceSize { get; set; } - - /// - /// Output only. The estimated desktop audience size in Display network. If the size is less than 1000, the - /// number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded - /// off to two significant digits. Only applicable to first party audiences. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayDesktopAudienceSize")] - public virtual System.Nullable DisplayDesktopAudienceSize { get; set; } - - /// - /// Output only. The estimated mobile app audience size in Display network. If the size is less than 1000, the - /// number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded - /// off to two significant digits. Only applicable to first party audiences. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayMobileAppAudienceSize")] - public virtual System.Nullable DisplayMobileAppAudienceSize { get; set; } - - /// - /// Output only. The estimated mobile web audience size in Display network. If the size is less than 1000, the - /// number will be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded - /// off to two significant digits. Only applicable to first party audiences. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayMobileWebAudienceSize")] - public virtual System.Nullable DisplayMobileWebAudienceSize { get; set; } - - /// The display name of the first and third party audience. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The unique ID of the first and third party audience. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("firstAndThirdPartyAudienceId")] - public virtual System.Nullable FirstAndThirdPartyAudienceId { get; set; } - - /// Whether the audience is a first or third party audience. - [Newtonsoft.Json.JsonPropertyAttribute("firstAndThirdPartyAudienceType")] - public virtual string FirstAndThirdPartyAudienceType { get; set; } - - /// - /// Output only. The estimated audience size for Gmail network. If the size is less than 1000, the number will - /// be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two - /// significant digits. Only applicable to first party audiences. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("gmailAudienceSize")] - public virtual System.Nullable GmailAudienceSize { get; set; } - - /// - /// The duration in days that an entry remains in the audience after the qualifying event. If the audience has - /// no expiration, set the value of this field to 10000. Otherwise, the set value must be greater than 0 and - /// less than or equal to 540. Only applicable to first party audiences. This field is required if one of the - /// following audience_type is used: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID` - /// - [Newtonsoft.Json.JsonPropertyAttribute("membershipDurationDays")] - public virtual System.Nullable MembershipDurationDays { get; set; } - - /// - /// Input only. A list of mobile device IDs to define the initial audience members. Only applicable to - /// audience_type `CUSTOMER_MATCH_DEVICE_ID` - /// - [Newtonsoft.Json.JsonPropertyAttribute("mobileDeviceIdList")] - public virtual MobileDeviceIdList MobileDeviceIdList { get; set; } - - /// Output only. The resource name of the first and third party audience. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Output only. The estimated audience size for YouTube network. If the size is less than 1000, the number will - /// be hidden and 0 will be returned due to privacy reasons. Otherwise, the number will be rounded off to two - /// significant digits. Only applicable to first party audiences. Only returned in GET request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("youtubeAudienceSize")] - public virtual System.Nullable YoutubeAudienceSize { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details of first and third party audience group. All first and third party audience targeting settings are - /// logically ‘OR’ of each other. - /// - public class FirstAndThirdPartyAudienceGroup : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. All first and third party audience targeting settings in first and third party audience group. - /// Repeated settings with same id are not allowed. - /// - [Newtonsoft.Json.JsonPropertyAttribute("settings")] - public virtual System.Collections.Generic.IList Settings { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of first and third party audience targeting setting. - public class FirstAndThirdPartyAudienceTargetingSetting : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. First and third party audience id of the first and third party audience targeting setting. This id - /// is first_and_third_party_audience_id. - /// - [Newtonsoft.Json.JsonPropertyAttribute("firstAndThirdPartyAudienceId")] - public virtual System.Nullable FirstAndThirdPartyAudienceId { get; set; } - - /// - /// The recency of the first and third party audience targeting setting. Only applicable to first party - /// audiences, otherwise will be ignored. For more info, refer to - /// https://support.google.com/displayvideo/answer/2949947#recency When unspecified, no recency limit will be - /// used. - /// - [Newtonsoft.Json.JsonPropertyAttribute("recency")] - public virtual string Recency { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A strategy that uses a fixed bidding price. - public class FixedBidStrategy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The fixed bid amount, in micros of the advertiser's currency. For insertion order entity, bid_amount_micros - /// should be set as 0. For line item entity, bid_amount_micros must be greater than or equal to billable unit - /// of the given currency and smaller than or equal to the upper limit 1000000000. For example, 1500000 - /// represents 1.5 standard units of the currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("bidAmountMicros")] - public virtual System.Nullable BidAmountMicros { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single Floodlight group. - public class FloodlightGroup : Google.Apis.Requests.IDirectResponseSchema - { - /// The Active View video viewability metric configuration for the Floodlight group. - [Newtonsoft.Json.JsonPropertyAttribute("activeViewConfig")] - public virtual ActiveViewVideoViewabilityMetricConfig ActiveViewConfig { get; set; } - - /// - /// User-defined custom variables owned by the Floodlight group. Use custom Floodlight variables to create - /// reporting data that is tailored to your unique business needs. Custom Floodlight variables use the keys - /// `U1=`, `U2=`, and so on, and can take any values that you choose to pass to them. You can use them to track - /// virtually any type of data that you collect about your customers, such as the genre of movie that a customer - /// purchases, the country to which the item is shipped, and so on. Custom Floodlight variables may not be used - /// to pass any data that could be used or recognized as personally identifiable information (PII). Example: - /// `custom_variables { fields { "U1": value { number_value: 123.4 }, "U2": value { string_value: "MyVariable2" - /// }, "U3": value { string_value: "MyVariable3" } } }` Acceptable values for keys are "U1" through "U100", - /// inclusive. String values must be less than 64 characters long, and cannot contain the following characters: - /// `"&lt;&gt;`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("customVariables")] - public virtual System.Collections.Generic.IDictionary CustomVariables { get; set; } - - /// Required. The display name of the Floodlight group. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The unique ID of the Floodlight group. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("floodlightGroupId")] - public virtual System.Nullable FloodlightGroupId { get; set; } - - /// - /// Required. The lookback window for the Floodlight group. Both click_days and impression_days are required. - /// Acceptable values for both are `0` to `90`, inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("lookbackWindow")] - public virtual LookbackWindow LookbackWindow { get; set; } - - /// Output only. The resource name of the Floodlight group. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The web tag type enabled for the Floodlight group. - [Newtonsoft.Json.JsonPropertyAttribute("webTagType")] - public virtual string WebTagType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Settings that control the number of times a user may be shown with the same ad during a given time period. - /// - public class FrequencyCap : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. - /// Required when unlimited is `false` and max_views is not set. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxImpressions")] - public virtual System.Nullable MaxImpressions { get; set; } - - /// - /// The time unit in which the frequency cap will be applied. Required when unlimited is `false`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeUnit")] - public virtual string TimeUnit { get; set; } - - /// - /// The number of time_unit the frequency cap will last. Required when unlimited is `false`. The following - /// restrictions apply based on the value of time_unit: * `TIME_UNIT_LIFETIME` - this field is output only and - /// will default to 1 * `TIME_UNIT_MONTHS` - must be between 1 and 2 * `TIME_UNIT_WEEKS` - must be between 1 and - /// 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be between 1 and 23 * - /// `TIME_UNIT_MINUTES` - must be between 1 and 59 - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeUnitCount")] - public virtual System.Nullable TimeUnitCount { get; set; } - - /// - /// Whether unlimited frequency capping is applied. When this field is set to `true`, the remaining frequency - /// cap fields are not applicable. - /// - [Newtonsoft.Json.JsonPropertyAttribute("unlimited")] - public virtual System.Nullable Unlimited { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned gender targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GENDER`. - /// - public class GenderAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The gender of the audience. - [Newtonsoft.Json.JsonPropertyAttribute("gender")] - public virtual string Gender { get; set; } - - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GENDER`. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable gender. This will be populated in the gender_details field of a TargetingOption when - /// targeting_type is `TARGETING_TYPE_GENDER`. - /// - public class GenderTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The gender of an audience. - [Newtonsoft.Json.JsonPropertyAttribute("gender")] - public virtual string Gender { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for LineItemService.GenerateDefaultLineItem. - public class GenerateDefaultLineItemRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Required. The unique ID of the insertion order that the line item belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("insertionOrderId")] - public virtual System.Nullable InsertionOrderId { get; set; } - - /// Required. The type of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("lineItemType")] - public virtual string LineItemType { get; set; } - - /// - /// The mobile app promoted by the line item. This is applicable only when line_item_type is either - /// `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mobileApp")] - public virtual MobileApp MobileApp { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned geographic region targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_GEO_REGION`. - /// - public class GeoRegionAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the geographic region (e.g., "Ontario, Canada"). - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The type of geographic region targeting. - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionType")] - public virtual string GeoRegionType { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_GEO_REGION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Search terms for geo region targeting options. - public class GeoRegionSearchTerms : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The search query for the desired geo region. The query can be a prefix, e.g. "New Yor", "Seattle", "USA", - /// etc. - /// - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionQuery")] - public virtual string GeoRegionQuery { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable geographic region. This will be populated in the geo_region_details field when - /// targeting_type is `TARGETING_TYPE_GEO_REGION`. - /// - public class GeoRegionTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the geographic region (e.g., "Ontario, Canada"). - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The type of geographic region targeting. - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionType")] - public virtual string GeoRegionType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Describes a Google audience resource. Includes Google audience lists. - public class GoogleAudience : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the Google audience. . - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The unique ID of the Google audience. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("googleAudienceId")] - public virtual System.Nullable GoogleAudienceId { get; set; } - - /// Output only. The type of Google audience. . - [Newtonsoft.Json.JsonPropertyAttribute("googleAudienceType")] - public virtual string GoogleAudienceType { get; set; } - - /// Output only. The resource name of the google audience. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details of Google audience group. All Google audience targeting settings are logically ‘OR’ of each other. - /// - public class GoogleAudienceGroup : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. All Google audience targeting settings in Google audience group. Repeated settings with same id - /// will be ignored. - /// - [Newtonsoft.Json.JsonPropertyAttribute("settings")] - public virtual System.Collections.Generic.IList Settings { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of Google audience targeting setting. - public class GoogleAudienceTargetingSetting : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Google audience id of the Google audience targeting setting. This id is google_audience_id. - /// - [Newtonsoft.Json.JsonPropertyAttribute("googleAudienceId")] - public virtual System.Nullable GoogleAudienceId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Media resource. - public class GoogleBytestreamMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// Name of the media resource. - [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] - public virtual string ResourceName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A guaranteed order. Guaranteed orders are parent entity of guaranteed inventory sources. When creating a - /// guaranteed inventory source, a guaranteed order ID must be assigned to the inventory source. - /// - public class GuaranteedOrder : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the - /// read_write_advertiser_id or, if that is not set, the first advertiser listed in read_advertiser_ids. - /// Otherwise, there is no default advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("defaultAdvertiserId")] - public virtual System.Nullable DefaultAdvertiserId { get; set; } - - /// - /// The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to - /// the default advertiser. - /// - [Newtonsoft.Json.JsonPropertyAttribute("defaultCampaignId")] - public virtual System.Nullable DefaultCampaignId { get; set; } - - /// - /// Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Required. Immutable. The exchange where the guaranteed order originated. - [Newtonsoft.Json.JsonPropertyAttribute("exchange")] - public virtual string Exchange { get; set; } - - /// - /// Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format - /// `{exchange}-{legacy_guaranteed_order_id}`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("guaranteedOrderId")] - public virtual string GuaranteedOrderId { get; set; } - - /// - /// Output only. The legacy ID of the guaranteed order. Assigned by the original exchange. The legacy ID is - /// unique within one exchange, but is not guaranteed to be unique across all guaranteed orders. This ID is used - /// in SDF and UI. - /// - [Newtonsoft.Json.JsonPropertyAttribute("legacyGuaranteedOrderId")] - public virtual string LegacyGuaranteedOrderId { get; set; } - - /// Output only. The resource name of the guaranteed order. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 - /// bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("publisherName")] - public virtual string PublisherName { get; set; } - - /// - /// Whether all advertisers of read_write_partner_id have read access to the guaranteed order. Only applicable - /// if read_write_partner_id is set. If True, overrides read_advertiser_ids. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readAccessInherited")] - public virtual System.Nullable ReadAccessInherited { get; set; } - - /// - /// The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser - /// assigned to read_write_advertiser_id if it is set. All advertisers in this field must belong to - /// read_write_partner_id or the same partner as read_write_advertiser_id. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readAdvertiserIds")] - public virtual System.Collections.Generic.IList> ReadAdvertiserIds { get; set; } - - /// - /// The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the - /// guaranteed order. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readWriteAdvertiserId")] - public virtual System.Nullable ReadWriteAdvertiserId { get; set; } - - /// The partner with read/write access to the guaranteed order. - [Newtonsoft.Json.JsonPropertyAttribute("readWritePartnerId")] - public virtual System.Nullable ReadWritePartnerId { get; set; } - - /// The status settings of the guaranteed order. - [Newtonsoft.Json.JsonPropertyAttribute("status")] - public virtual GuaranteedOrderStatus Status { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// - /// Output only. The timestamp when the guaranteed order was last updated. Assigned by the system. - /// - [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; } - } - - /// The status settings of the guaranteed order. - public class GuaranteedOrderStatus : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The configuration status of the guaranteed order. Acceptable values are `PENDING` and - /// `COMPLETED`. A guaranteed order must be configured (fill in the required fields, choose creatives, and - /// select a default campaign) before it can serve. Currently the configuration action can only be performed via - /// UI. - /// - [Newtonsoft.Json.JsonPropertyAttribute("configStatus")] - public virtual string ConfigStatus { get; set; } - - /// - /// The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of - /// 100 bytes. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityPauseReason")] - public virtual string EntityPauseReason { get; set; } - - /// - /// Whether or not the guaranteed order is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, - /// `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned household income targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`. - /// - public class HouseholdIncomeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The household income of the audience. - [Newtonsoft.Json.JsonPropertyAttribute("householdIncome")] - public virtual string HouseholdIncome { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_HOUSEHOLD_INCOME`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable household income. This will be populated in the household_income_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_HOUSEHOLD_INCOME`. - /// - public class HouseholdIncomeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The household income of an audience. - [Newtonsoft.Json.JsonPropertyAttribute("householdIncome")] - public virtual string HouseholdIncome { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A filtering option that filters entities by their entity IDs. - public class IdFilter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// YouTube Ads to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("adGroupAdIds")] - public virtual System.Collections.Generic.IList> AdGroupAdIds { get; set; } - - /// - /// YouTube Ad Groups to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("adGroupIds")] - public virtual System.Collections.Generic.IList> AdGroupIds { get; set; } - - /// - /// Campaigns to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("campaignIds")] - public virtual System.Collections.Generic.IList> CampaignIds { get; set; } - - /// - /// Insertion Orders to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("insertionOrderIds")] - public virtual System.Collections.Generic.IList> InsertionOrderIds { get; set; } - - /// - /// Line Items to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("lineItemIds")] - public virtual System.Collections.Generic.IList> LineItemIds { get; set; } - - /// - /// Media Products to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mediaProductIds")] - public virtual System.Collections.Generic.IList> MediaProductIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single insertion order. - public class InsertionOrder : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The unique ID of the advertiser the insertion order belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// The bidding strategy of the insertion order. By default, fixed_bid is set. - [Newtonsoft.Json.JsonPropertyAttribute("bidStrategy")] - public virtual BiddingStrategy BidStrategy { get; set; } - - /// - /// Immutable. The billable outcome of the insertion order. Outcome based buying is deprecated. - /// `BILLABLE_OUTCOME_PAY_PER_IMPRESSION` is the only valid value. - /// - [Newtonsoft.Json.JsonPropertyAttribute("billableOutcome")] - public virtual string BillableOutcome { get; set; } - - /// Required. The budget allocation settings of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("budget")] - public virtual InsertionOrderBudget Budget { get; set; } - - /// Required. Immutable. The unique ID of the campaign that the insertion order belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("campaignId")] - public virtual System.Nullable CampaignId { get; set; } - - /// - /// Required. The display name of the insertion order. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Required. Controls whether or not the insertion order can spend its budget and bid on inventory. * For - /// CreateInsertionOrder method, only `ENTITY_STATUS_DRAFT` is allowed. To activate an insertion order, use - /// UpdateInsertionOrder method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * An insertion - /// order cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * An insertion order - /// cannot be set to `ENTITY_STATUS_ACTIVE` if its parent campaign is not active. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// Required. The frequency capping setting of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("frequencyCap")] - public virtual FrequencyCap FrequencyCap { get; set; } - - /// Output only. The unique ID of the insertion order. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("insertionOrderId")] - public virtual System.Nullable InsertionOrderId { get; set; } - - /// - /// The type of insertion order. If this field is unspecified in creation, the value defaults to `RTB`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("insertionOrderType")] - public virtual string InsertionOrderType { get; set; } - - /// Additional integration details of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("integrationDetails")] - public virtual IntegrationDetails IntegrationDetails { get; set; } - - /// Output only. The resource name of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The budget spending speed setting of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("pacing")] - public virtual Pacing Pacing { get; set; } - - /// - /// The partner costs associated with the insertion order. If absent or empty in CreateInsertionOrder method, - /// the newly created insertion order will inherit partner costs from the partner settings. - /// - [Newtonsoft.Json.JsonPropertyAttribute("partnerCosts")] - public virtual System.Collections.Generic.IList PartnerCosts { get; set; } - - /// Required. Performance goal of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoal")] - public virtual PerformanceGoal PerformanceGoal { get; set; } - - /// Output only. The reservation type of the insertion order. - [Newtonsoft.Json.JsonPropertyAttribute("reservationType")] - public virtual string ReservationType { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// - /// Output only. The timestamp when the insertion order was last updated. Assigned by the system. - /// - [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; } - } - - /// Settings that control how insertion order budget is allocated. - public class InsertionOrderBudget : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The type of automation used to manage bid and budget for the insertion order. If this field is unspecified - /// in creation, the value defaults to `INSERTION_ORDER_AUTOMATION_TYPE_NONE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("automationType")] - public virtual string AutomationType { get; set; } - - /// - /// Required. The list of budget segments. Use a budget segment to specify a specific budget for a given period - /// of time an insertion order is running. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetSegments")] - public virtual System.Collections.Generic.IList BudgetSegments { get; set; } - - /// - /// Required. Immutable. The budget unit specifies whether the budget is currency based or impression based. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetUnit")] - public virtual string BudgetUnit { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control the budget of a single budget segment. - public class InsertionOrderBudgetSegment : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The budget amount the insertion order will spend for the given date_range. The amount is in - /// micros. Must be greater than 0. For example, 500000000 represents 500 standard units of the currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetAmountMicros")] - public virtual System.Nullable BudgetAmountMicros { get; set; } - - /// - /// The budget_id of the campaign budget that this insertion order budget segment is a part of. - /// - [Newtonsoft.Json.JsonPropertyAttribute("campaignBudgetId")] - public virtual System.Nullable CampaignBudgetId { get; set; } - - /// - /// Required. The start and end date settings of the budget segment. They are resolved relative to the parent - /// advertiser's time zone. * When creating a new budget segment, both `start_date` and `end_date` must be in - /// the future. * An existing budget segment with a `start_date` in the past has a mutable `end_date` but an - /// immutable `start_date`. * `end_date` must be the `start_date` or later, both before the year 2037. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dateRange")] - public virtual DateRange DateRange { get; set; } - - /// - /// The budget segment description. It can be used to enter Purchase Order information for each budget segment - /// and have that information printed on the invoices. Must be UTF-8 encoded. - /// - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of Integral Ad Science settings. - public class IntegralAdScience : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The custom segment ID provided by Integral Ad Science. The ID must be between `1000001` and `1999999`, - /// inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("customSegmentId")] - public virtual System.Collections.Generic.IList> CustomSegmentId { get; set; } - - /// Display Viewability section (applicable to display line items only). - [Newtonsoft.Json.JsonPropertyAttribute("displayViewability")] - public virtual string DisplayViewability { get; set; } - - /// Brand Safety - **Unrateable**. - [Newtonsoft.Json.JsonPropertyAttribute("excludeUnrateable")] - public virtual System.Nullable ExcludeUnrateable { get; set; } - - /// Ad Fraud settings. - [Newtonsoft.Json.JsonPropertyAttribute("excludedAdFraudRisk")] - public virtual string ExcludedAdFraudRisk { get; set; } - - /// Brand Safety - **Adult content**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedAdultRisk")] - public virtual string ExcludedAdultRisk { get; set; } - - /// Brand Safety - **Alcohol**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedAlcoholRisk")] - public virtual string ExcludedAlcoholRisk { get; set; } - - /// Brand Safety - **Drugs**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedDrugsRisk")] - public virtual string ExcludedDrugsRisk { get; set; } - - /// Brand Safety - **Gambling**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedGamblingRisk")] - public virtual string ExcludedGamblingRisk { get; set; } - - /// Brand Safety - **Hate speech**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedHateSpeechRisk")] - public virtual string ExcludedHateSpeechRisk { get; set; } - - /// Brand Safety - **Illegal downloads**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedIllegalDownloadsRisk")] - public virtual string ExcludedIllegalDownloadsRisk { get; set; } - - /// Brand Safety - **Offensive language**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedOffensiveLanguageRisk")] - public virtual string ExcludedOffensiveLanguageRisk { get; set; } - - /// Brand Safety - **Violence**. - [Newtonsoft.Json.JsonPropertyAttribute("excludedViolenceRisk")] - public virtual string ExcludedViolenceRisk { get; set; } - - /// True advertising quality (applicable to Display line items only). - [Newtonsoft.Json.JsonPropertyAttribute("traqScoreOption")] - public virtual string TraqScoreOption { get; set; } - - /// Video Viewability Section (applicable to video line items only). - [Newtonsoft.Json.JsonPropertyAttribute("videoViewability")] - public virtual string VideoViewability { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Integration details of an entry. - public class IntegrationDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Additional details of the entry in string format. Must be UTF-8 encoded with a length of no more than 1000 - /// characters. - /// - [Newtonsoft.Json.JsonPropertyAttribute("details")] - public virtual string Details { get; set; } - - /// - /// An external identifier to be associated with the entry. The integration code will show up together with the - /// entry in many places in the system, for example, reporting. Must be UTF-8 encoded with a length of no more - /// than 500 characters. - /// - [Newtonsoft.Json.JsonPropertyAttribute("integrationCode")] - public virtual string IntegrationCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// An inventory source. - public class InventorySource : Google.Apis.Requests.IDirectResponseSchema - { - /// Whether the inventory source has a guaranteed or non-guaranteed delivery. - [Newtonsoft.Json.JsonPropertyAttribute("commitment")] - public virtual string Commitment { get; set; } - - /// The creative requirements of the inventory source. Not applicable for auction packages. - [Newtonsoft.Json.JsonPropertyAttribute("creativeConfigs")] - public virtual System.Collections.Generic.IList CreativeConfigs { get; set; } - - /// - /// The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers - /// within each exchange but not necessarily unique across exchanges. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dealId")] - public virtual string DealId { get; set; } - - /// - /// The delivery method of the inventory source. * For non-guaranteed inventory sources, the only acceptable - /// value is `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. * For guaranteed inventory sources, acceptable - /// values are `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("deliveryMethod")] - public virtual string DeliveryMethod { get; set; } - - /// - /// The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The exchange to which the inventory source belongs. - [Newtonsoft.Json.JsonPropertyAttribute("exchange")] - public virtual string Exchange { get; set; } - - /// - /// Immutable. The ID of the guaranteed order that this inventory source belongs to. Only applicable when - /// commitment is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("guaranteedOrderId")] - public virtual string GuaranteedOrderId { get; set; } - - /// Output only. The unique ID of the inventory source. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceId")] - public virtual System.Nullable InventorySourceId { get; set; } - - /// - /// Output only. The product type of the inventory source, denoting the way through which it sells inventory. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceProductType")] - public virtual string InventorySourceProductType { get; set; } - - /// Denotes the type of the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceType")] - public virtual string InventorySourceType { get; set; } - - /// Output only. The resource name of the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The publisher/seller name of the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("publisherName")] - public virtual string PublisherName { get; set; } - - /// Required. The rate details of the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("rateDetails")] - public virtual RateDetails RateDetails { get; set; } - - /// Output only. The IDs of advertisers with read-only access to the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("readAdvertiserIds")] - public virtual System.Collections.Generic.IList> ReadAdvertiserIds { get; set; } - - /// - /// Output only. The IDs of partners with read-only access to the inventory source. All advertisers of partners - /// in this field inherit read-only access to the inventory source. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readPartnerIds")] - public virtual System.Collections.Generic.IList> ReadPartnerIds { get; set; } - - /// - /// The partner or advertisers that have read/write access to the inventory source. Output only when commitment - /// is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`, in which case the read/write accessors are inherited from the - /// parent guaranteed order. Required when commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED`. If - /// commitment is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` and a partner is set in this field, all - /// advertisers under this partner will automatically have read-only access to the inventory source. These - /// advertisers will not be included in read_advertiser_ids. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readWriteAccessors")] - public virtual InventorySourceAccessors ReadWriteAccessors { get; set; } - - /// The status settings of the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("status")] - public virtual InventorySourceStatus Status { get; set; } - - /// The time range when this inventory source starts and stops serving. - [Newtonsoft.Json.JsonPropertyAttribute("timeRange")] - public virtual TimeRange TimeRange { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// - /// Output only. The timestamp when the inventory source was last updated. Assigned by the system. - /// - [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; } - } - - /// The partner or advertisers with access to the inventory source. - public class InventorySourceAccessors : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The advertisers with access to the inventory source. All advertisers must belong to the same partner. - /// - [Newtonsoft.Json.JsonPropertyAttribute("advertisers")] - public virtual InventorySourceAccessorsAdvertiserAccessors Advertisers { get; set; } - - /// The partner with access to the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("partner")] - public virtual InventorySourceAccessorsPartnerAccessor Partner { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The advertisers with access to the inventory source. - public class InventorySourceAccessorsAdvertiserAccessors : Google.Apis.Requests.IDirectResponseSchema - { - /// The IDs of the advertisers. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserIds")] - public virtual System.Collections.Generic.IList> AdvertiserIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The partner with access to the inventory source. - public class InventorySourceAccessorsPartnerAccessor : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the partner. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for inventory source. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE`. - /// - public class InventorySourceAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. ID of the inventory source. Should refer to the inventory_source_id field of an InventorySource - /// resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceId")] - public virtual System.Nullable InventorySourceId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The configuration for display creatives. - public class InventorySourceDisplayCreativeConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// The size requirements for display creatives that can be assigned to the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("creativeSize")] - public virtual Dimensions CreativeSize { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A filtering option for filtering on Inventory Source entities. - public class InventorySourceFilter : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in - /// CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or - /// Partner. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceIds")] - public virtual System.Collections.Generic.IList> InventorySourceIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A collection of targetable inventory sources. - public class InventorySourceGroup : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 - /// bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The unique ID of the inventory source group. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceGroupId")] - public virtual System.Nullable InventorySourceGroupId { get; set; } - - /// Output only. The resource name of the inventory source group. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for inventory source group. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_INVENTORY_SOURCE_GROUP`. - /// - public class InventorySourceGroupAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. ID of the inventory source group. Should refer to the inventory_source_group_id field of an - /// InventorySourceGroup resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceGroupId")] - public virtual System.Nullable InventorySourceGroupId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The status related settings of the inventory source. - public class InventorySourceStatus : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory - /// sources. Acceptable values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and - /// `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must be configured (fill in the required - /// fields, choose creatives, and select a default campaign) before it can serve. - /// - [Newtonsoft.Json.JsonPropertyAttribute("configStatus")] - public virtual string ConfigStatus { get; set; } - - /// - /// The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable - /// when entity_status is set to `ENTITY_STATUS_PAUSED`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityPauseReason")] - public virtual string EntityPauseReason { get; set; } - - /// - /// Whether or not the inventory source is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, - /// `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// - /// Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory - /// sources synced directly from the publishers and when seller_status is set to `ENTITY_STATUS_PAUSED`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sellerPauseReason")] - public virtual string SellerPauseReason { get; set; } - - /// - /// Output only. The status set by the seller for the inventory source. Only applicable for inventory sources - /// synced directly from the publishers. Acceptable values are `ENTITY_STATUS_ACTIVE` and - /// `ENTITY_STATUS_PAUSED`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sellerStatus")] - public virtual string SellerStatus { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The configuration for video creatives. - public class InventorySourceVideoCreativeConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The duration requirements for the video creatives that can be assigned to the inventory source. - /// - [Newtonsoft.Json.JsonPropertyAttribute("duration")] - public virtual object Duration { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single invoice. - public class Invoice : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The budget grouping ID for this invoice. This field will only be set if the invoice level of the - /// corresponding billing profile was set to "Budget invoice grouping ID". - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetInvoiceGroupingId")] - public virtual string BudgetInvoiceGroupingId { get; set; } - - /// - /// The list of summarized information for each budget associated with this invoice. This field will only be set - /// if the invoice detail level of the corresponding billing profile was set to "Budget level PO". - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetSummaries")] - public virtual System.Collections.Generic.IList BudgetSummaries { get; set; } - - /// - /// The ID of the original invoice being adjusted by this invoice, if applicable. May appear on the invoice PDF - /// as `Reference invoice number`. If replaced_invoice_ids is set, this field will be empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("correctedInvoiceId")] - public virtual string CorrectedInvoiceId { get; set; } - - /// The currency used in the invoice in ISO 4217 format. - [Newtonsoft.Json.JsonPropertyAttribute("currencyCode")] - public virtual string CurrencyCode { get; set; } - - /// The display name of the invoice. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The date when the invoice is due. - [Newtonsoft.Json.JsonPropertyAttribute("dueDate")] - public virtual Date DueDate { get; set; } - - /// The unique ID of the invoice. - [Newtonsoft.Json.JsonPropertyAttribute("invoiceId")] - public virtual string InvoiceId { get; set; } - - /// The type of invoice document. - [Newtonsoft.Json.JsonPropertyAttribute("invoiceType")] - public virtual string InvoiceType { get; set; } - - /// The date when the invoice was issued. - [Newtonsoft.Json.JsonPropertyAttribute("issueDate")] - public virtual Date IssueDate { get; set; } - - /// The resource name of the invoice. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// The total amount of costs or adjustments not tied to a particular budget, in micros of the invoice's - /// currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nonBudgetMicros")] - public virtual System.Nullable NonBudgetMicros { get; set; } - - /// - /// The ID of the payments account the invoice belongs to. Appears on the invoice PDF as `Billing Account - /// Number`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("paymentsAccountId")] - public virtual string PaymentsAccountId { get; set; } - - /// - /// The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as `Billing ID`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("paymentsProfileId")] - public virtual string PaymentsProfileId { get; set; } - - /// - /// The URL to download a PDF copy of the invoice. This URL is user specific and requires a valid OAuth 2.0 - /// access token to access. The access token must be provided in an `Authorization: Bearer` HTTP header and be - /// authorized for one of the following scopes: * `https://www.googleapis.com/auth/display-video-mediaplanning` - /// * `https://www.googleapis.com/auth/display-video` The URL will be valid for 7 days after retrieval of this - /// invoice object or until this invoice is retrieved again. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pdfUrl")] - public virtual string PdfUrl { get; set; } - - /// Purchase order number associated with the invoice. - [Newtonsoft.Json.JsonPropertyAttribute("purchaseOrderNumber")] - public virtual string PurchaseOrderNumber { get; set; } - - /// - /// The ID(s) of any originally issued invoice that is being cancelled by this invoice, if applicable. Multiple - /// invoices may be listed if those invoices are being consolidated into a single invoice. May appear on invoice - /// PDF as `Replaced invoice numbers`. If corrected_invoice_id is set, this field will be empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("replacedInvoiceIds")] - public virtual System.Collections.Generic.IList ReplacedInvoiceIds { get; set; } - - /// The service start and end dates which are covered by this invoice. - [Newtonsoft.Json.JsonPropertyAttribute("serviceDateRange")] - public virtual DateRange ServiceDateRange { get; set; } - - /// - /// The pre-tax subtotal amount, in micros of the invoice's currency. For example, if currency_code is `USD`, - /// then 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("subtotalAmountMicros")] - public virtual System.Nullable SubtotalAmountMicros { get; set; } - - /// - /// The invoice total amount, in micros of the invoice's currency. For example, if currency_code is `USD`, then - /// 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("totalAmountMicros")] - public virtual System.Nullable TotalAmountMicros { get; set; } - - /// - /// The sum of all taxes in invoice, in micros of the invoice's currency. For example, if currency_code is - /// `USD`, then 1000000 represents one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("totalTaxAmountMicros")] - public virtual System.Nullable TotalTaxAmountMicros { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned keyword targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_KEYWORD`. - /// - public class KeywordAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The keyword, for example `car insurance`. Positive keyword cannot be offensive word. Must be UTF-8 - /// encoded with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. - /// - [Newtonsoft.Json.JsonPropertyAttribute("keyword")] - public virtual string Keyword { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned language targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_LANGUAGE`. - /// - public class LanguageAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the language (e.g., "French"). - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Indicates if this option is being negatively targeted. All assigned language targeting options on the same - /// resource must have the same value for this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_LANGUAGE`. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable language. This will be populated in the language_details field when targeting_type is - /// `TARGETING_TYPE_LANGUAGE`. - /// - public class LanguageTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the language (e.g., "French"). - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single line item. - public class LineItem : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The unique ID of the advertiser the line item belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// Required. The bidding strategy of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("bidStrategy")] - public virtual BiddingStrategy BidStrategy { get; set; } - - /// Required. The budget allocation setting of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("budget")] - public virtual LineItemBudget Budget { get; set; } - - /// Output only. The unique ID of the campaign that the line item belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("campaignId")] - public virtual System.Nullable CampaignId { get; set; } - - /// The conversion tracking setting of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("conversionCounting")] - public virtual ConversionCountingConfig ConversionCounting { get; set; } - - /// The IDs of the creatives associated with the line item. - [Newtonsoft.Json.JsonPropertyAttribute("creativeIds")] - public virtual System.Collections.Generic.IList> CreativeIds { get; set; } - - /// - /// Required. The display name of the line item. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// - /// Required. Controls whether or not the line item can spend its budget and bid on inventory. * For - /// CreateLineItem method, only `ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use UpdateLineItem - /// method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * A line item cannot be changed back - /// to `ENTITY_STATUS_DRAFT` status from any other status. * If the line item's parent insertion order is not - /// active, the line item can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// - /// Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by - /// default. - /// - [Newtonsoft.Json.JsonPropertyAttribute("excludeNewExchanges")] - public virtual System.Nullable ExcludeNewExchanges { get; set; } - - /// Required. The start and end time of the line item's flight. - [Newtonsoft.Json.JsonPropertyAttribute("flight")] - public virtual LineItemFlight Flight { get; set; } - - /// - /// Required. The impression frequency cap settings of the line item. The max_impressions field in this settings - /// object must be used if assigning a limited cap. - /// - [Newtonsoft.Json.JsonPropertyAttribute("frequencyCap")] - public virtual FrequencyCap FrequencyCap { get; set; } - - /// Required. Immutable. The unique ID of the insertion order that the line item belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("insertionOrderId")] - public virtual System.Nullable InsertionOrderId { get; set; } - - /// Integration details of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("integrationDetails")] - public virtual IntegrationDetails IntegrationDetails { get; set; } - - /// The IDs of the private inventory sources assigned to the line item. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceIds")] - public virtual System.Collections.Generic.IList> InventorySourceIds { get; set; } - - /// Output only. The unique ID of the line item. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("lineItemId")] - public virtual System.Nullable LineItemId { get; set; } - - /// Required. Immutable. The type of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("lineItemType")] - public virtual string LineItemType { get; set; } - - /// - /// The mobile app promoted by the line item. This is applicable only when line_item_type is either - /// `LINE_ITEM_TYPE_DISPLAY_MOBILE_APP_INSTALL` or `LINE_ITEM_TYPE_VIDEO_MOBILE_APP_INSTALL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mobileApp")] - public virtual MobileApp MobileApp { get; set; } - - /// Output only. The resource name of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The budget spending speed setting of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("pacing")] - public virtual Pacing Pacing { get; set; } - - /// - /// The partner costs associated with the line item. If absent or empty in CreateLineItem method, the newly - /// created line item will inherit partner costs from its parent insertion order. - /// - [Newtonsoft.Json.JsonPropertyAttribute("partnerCosts")] - public virtual System.Collections.Generic.IList PartnerCosts { get; set; } - - /// Required. The partner revenue model setting of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("partnerRevenueModel")] - public virtual PartnerRevenueModel PartnerRevenueModel { get; set; } - - /// Output only. The reservation type of the line item. - [Newtonsoft.Json.JsonPropertyAttribute("reservationType")] - public virtual string ReservationType { get; set; } - - /// - /// The [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of the line item. This - /// config is only applicable for display, video, or audio line items that use automated bidding and positively - /// target eligible audience lists. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingExpansion")] - public virtual TargetingExpansionConfig TargetingExpansion { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Output only. The timestamp when the line item was last updated. Assigned by the system. - [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); - } - - /// - /// Output only. The warning messages generated by the line item. These warnings do not block saving the line - /// item, but some may block the line item from running. - /// - [Newtonsoft.Json.JsonPropertyAttribute("warningMessages")] - public virtual System.Collections.Generic.IList WarningMessages { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control how budget is allocated. - public class LineItemBudget : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The type of the budget allocation. `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC` is only applicable - /// when automatic budget allocation is enabled for the parent insertion order. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetAllocationType")] - public virtual string BudgetAllocationType { get; set; } - - /// - /// Output only. The budget unit specifies whether the budget is currency based or impression based. This value - /// is inherited from the parent insertion order. - /// - [Newtonsoft.Json.JsonPropertyAttribute("budgetUnit")] - public virtual string BudgetUnit { get; set; } - - /// - /// The maximum budget amount the line item will spend. Must be greater than 0. When budget_allocation_type is: - /// * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_AUTOMATIC`, this field is immutable and is set by the system. * - /// `LINE_ITEM_BUDGET_ALLOCATION_TYPE_FIXED`, if budget_unit is: - `BUDGET_UNIT_CURRENCY`, this field represents - /// maximum budget amount to spend, in micros of the advertiser's currency. For example, 1500000 represents 1.5 - /// standard units of the currency. - `BUDGET_UNIT_IMPRESSIONS`, this field represents the maximum number of - /// impressions to serve. * `LINE_ITEM_BUDGET_ALLOCATION_TYPE_UNLIMITED`, this field is not applicable and will - /// be ignored by the system. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxAmount")] - public virtual System.Nullable MaxAmount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control the active duration of a line item. - public class LineItemFlight : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The flight start and end dates of the line item. They are resolved relative to the parent advertiser's time - /// zone. * Required when flight_date_type is `LINE_ITEM_FLIGHT_DATE_TYPE_CUSTOM`. Output only otherwise. * When - /// creating a new flight, both `start_date` and `end_date` must be in the future. * An existing flight with a - /// `start_date` in the past has a mutable `end_date` but an immutable `start_date`. * `end_date` must be the - /// `start_date` or later, both before the year 2037. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dateRange")] - public virtual DateRange DateRange { get; set; } - - /// Required. The type of the line item's flight dates. - [Newtonsoft.Json.JsonPropertyAttribute("flightDateType")] - public virtual string FlightDateType { get; set; } - - /// - /// The ID of the manual trigger associated with the line item. * Required when flight_date_type is - /// `LINE_ITEM_FLIGHT_DATE_TYPE_TRIGGER`. Must not be set otherwise. * When set, the line item's flight dates - /// are inherited from its parent insertion order. * Active line items will spend when the selected trigger is - /// activated within the parent insertion order's flight dates. **Warning:** Line Items using manual triggers no - /// longer serve in Display &amp; Video 360. This field will sunset on August 1, 2023. Read our [feature - /// deprecation announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - [Newtonsoft.Json.JsonPropertyAttribute("triggerId")] - public virtual System.Nullable TriggerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for ListAdvertiserAssignedTargetingOptions. - public class ListAdvertiserAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent ListAdvertiserAssignedTargetingOptionsRequest to fetch the next page of results. This token will - /// be absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListAdvertisersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of advertisers. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("advertisers")] - public virtual System.Collections.Generic.IList Advertisers { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListAdvertisers` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for AssignedInventorySourceService.ListAssignedInventorySources. - public class ListAssignedInventorySourcesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned inventory sources. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedInventorySources")] - public virtual System.Collections.Generic.IList AssignedInventorySources { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListAssignedInventorySources` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for AssignedLocationService.ListAssignedLocations. - public class ListAssignedLocationsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned locations. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedLocations")] - public virtual System.Collections.Generic.IList AssignedLocations { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListAssignedLocations` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for ListCampaignAssignedTargetingOptions. - public class ListCampaignAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent ListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be - /// absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListCampaignsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of campaigns. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("campaigns")] - public virtual System.Collections.Generic.IList Campaigns { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListCampaigns` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListChannelsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of channels. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("channels")] - public virtual System.Collections.Generic.IList Channels { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListChannels` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListCombinedAudiencesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of combined audiences. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("combinedAudiences")] - public virtual System.Collections.Generic.IList CombinedAudiences { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListCombinedAudiences` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListCreativesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of creatives. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("creatives")] - public virtual System.Collections.Generic.IList Creatives { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListCreativesRequest` method to retrieve the next page of results. If this field is null, it means this - /// is the last page. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListCustomBiddingAlgorithmsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of custom bidding algorithms. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithms")] - public virtual System.Collections.Generic.IList CustomBiddingAlgorithms { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListCustomBiddingAlgorithmsRequest` method to retrieve the next page of results. If this field is null, - /// it means this is the last page. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListCustomBiddingScriptsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of custom bidding scripts. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingScripts")] - public virtual System.Collections.Generic.IList CustomBiddingScripts { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListCustomBiddingScriptsRequest` method to retrieve the next page of results. If this field is null, it - /// means this is the last page. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListCustomListsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of custom lists. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("customLists")] - public virtual System.Collections.Generic.IList CustomLists { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListCustomLists` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListFirstAndThirdPartyAudiencesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of first and third party audiences. Audience size properties will not be included. This list will - /// be absent if empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("firstAndThirdPartyAudiences")] - public virtual System.Collections.Generic.IList FirstAndThirdPartyAudiences { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListFirstAndThirdPartyAudiences` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListGoogleAudiencesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of Google audiences. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("googleAudiences")] - public virtual System.Collections.Generic.IList GoogleAudiences { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListGoogleAudiences` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListGuaranteedOrdersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of guaranteed orders. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("guaranteedOrders")] - public virtual System.Collections.Generic.IList GuaranteedOrders { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListGuaranteedOrders` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListInsertionOrderAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token - /// will be absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListInsertionOrdersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of insertion orders. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("insertionOrders")] - public virtual System.Collections.Generic.IList InsertionOrders { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListInsertionOrders` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for InventorySourceGroupService.ListInventorySourceGroups. - public class ListInventorySourceGroupsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of inventory source groups. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceGroups")] - public virtual System.Collections.Generic.IList InventorySourceGroups { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListInventorySourceGroups` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListInventorySourcesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of inventory sources. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("inventorySources")] - public virtual System.Collections.Generic.IList InventorySources { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListInventorySources` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListInvoicesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of invoices. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("invoices")] - public virtual System.Collections.Generic.IList Invoices { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListInvoices` method to retrieve the next page of results. This token will be absent if there are no - /// more invoices to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for ListLineItemAssignedTargetingOptions. - public class ListLineItemAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent ListLineItemAssignedTargetingOptionsRequest to fetch the next page of results. This token will be - /// absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListLineItemsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of line items. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("lineItems")] - public virtual System.Collections.Generic.IList LineItems { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListLineItems` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListLocationListsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of location lists. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("locationLists")] - public virtual System.Collections.Generic.IList LocationLists { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListLocationLists` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListManualTriggersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of manual triggers. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("manualTriggers")] - public virtual System.Collections.Generic.IList ManualTriggers { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListManualTriggers` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for NegativeKeywordListService.ListNegativeKeywordLists. - public class ListNegativeKeywordListsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of negative keyword lists. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywordLists")] - public virtual System.Collections.Generic.IList NegativeKeywordLists { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListNegativeKeywordLists` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for NegativeKeywordService.ListNegativeKeywords. - public class ListNegativeKeywordsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of negative keywords. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywords")] - public virtual System.Collections.Generic.IList NegativeKeywords { get; set; } - - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListNegativeKeywords` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListPartnerAssignedTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of assigned targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("assignedTargetingOptions")] - public virtual System.Collections.Generic.IList AssignedTargetingOptions { get; set; } - - /// - /// A token identifying the next page of results. This value should be specified as the pageToken in a - /// subsequent ListPartnerAssignedTargetingOptionsRequest to fetch the next page of results. This token will be - /// absent if there are no more assigned_targeting_options to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListPartnersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListPartners` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The list of partners. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("partners")] - public virtual System.Collections.Generic.IList Partners { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for SiteService.ListSites. - public class ListSitesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListSites` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The list of sites. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("sites")] - public virtual System.Collections.Generic.IList Sites { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for ListTargetingOptions. - public class ListTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListTargetingOptions` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The list of targeting options. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptions")] - public virtual System.Collections.Generic.IList TargetingOptions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ListUsersResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `ListUsers` method to retrieve the next page of results. This token will be absent if there are no more - /// results to return. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The list of users. This list will be absent if empty. - [Newtonsoft.Json.JsonPropertyAttribute("users")] - public virtual System.Collections.Generic.IList Users { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A list of locations used for targeting. - public class LocationList : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Immutable. The unique ID of the advertiser the location list belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The unique ID of the location list. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("locationListId")] - public virtual System.Nullable LocationListId { get; set; } - - /// - /// Required. Immutable. The type of location. All locations in the list will share this type. - /// - [Newtonsoft.Json.JsonPropertyAttribute("locationType")] - public virtual string LocationType { get; set; } - - /// Output only. The resource name of the location list. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Specifies how many days into the past to look when determining whether to record a conversion. - /// - public class LookbackWindow : Google.Apis.Requests.IDirectResponseSchema - { - /// Lookback window, in days, from the last time a given user clicked on one of your ads. - [Newtonsoft.Json.JsonPropertyAttribute("clickDays")] - public virtual System.Nullable ClickDays { get; set; } - - /// Lookback window, in days, from the last time a given user viewed one of your ads. - [Newtonsoft.Json.JsonPropertyAttribute("impressionDays")] - public virtual System.Nullable ImpressionDays { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class LookupInvoiceCurrencyResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Currency used by the advertiser in ISO 4217 format. - [Newtonsoft.Json.JsonPropertyAttribute("currencyCode")] - public virtual string CurrencyCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A single manual trigger in Display &amp; Video 360. **Warning:** Line Items using manual triggers no longer - /// serve in Display &amp; Video 360. This resource will sunset on August 1, 2023. Read our [feature deprecation - /// announcement](/display-video/api/deprecations#features.manual_triggers) for more information. - /// - public class ManualTrigger : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The maximum duration of each activation in minutes. Must be between 1 and 360 inclusive. After - /// this duration, the trigger will be automatically deactivated. - /// - [Newtonsoft.Json.JsonPropertyAttribute("activationDurationMinutes")] - public virtual System.Nullable ActivationDurationMinutes { get; set; } - - /// Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Required. The display name of the manual trigger. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - private string _latestActivationTimeRaw; - - private object _latestActivationTime; - - /// Output only. The timestamp of the trigger's latest activation. - [Newtonsoft.Json.JsonPropertyAttribute("latestActivationTime")] - public virtual string LatestActivationTimeRaw - { - get => _latestActivationTimeRaw; - set - { - _latestActivationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _latestActivationTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use LatestActivationTimeDateTimeOffset instead.")] - public virtual object LatestActivationTime - { - get => _latestActivationTime; - set - { - _latestActivationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _latestActivationTime = value; - } - } - - /// - /// representation of . - /// - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? LatestActivationTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(LatestActivationTimeRaw); - set => LatestActivationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// Output only. The resource name of the manual trigger. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Output only. The state of the manual trigger. Will be set to the `INACTIVE` state upon creation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("state")] - public virtual string State { get; set; } - - /// Output only. The unique ID of the manual trigger. - [Newtonsoft.Json.JsonPropertyAttribute("triggerId")] - public virtual System.Nullable TriggerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A strategy that automatically adjusts the bid to optimize a specified performance goal while spending the full - /// budget. - /// - public class MaximizeSpendBidStrategy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is - /// set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithmId")] - public virtual System.Nullable CustomBiddingAlgorithmId { get; set; } - - /// - /// The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or - /// equal to a billable unit of the given currency. For example, 1500000 represents 1.5 standard units of the - /// currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxAverageCpmBidAmountMicros")] - public virtual System.Nullable MaxAverageCpmBidAmountMicros { get; set; } - - /// - /// Required. The type of the performance goal that the bidding strategy tries to minimize while spending the - /// full budget. `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` is not supported for this strategy. - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalType")] - public virtual string PerformanceGoalType { get; set; } - - /// Whether the strategy takes deal floor prices into account. - [Newtonsoft.Json.JsonPropertyAttribute("raiseBidForDeals")] - public virtual System.Nullable RaiseBidForDeals { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Measurement settings of a partner. - public class MeasurementConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Whether or not to report DV360 cost to CM360. - [Newtonsoft.Json.JsonPropertyAttribute("dv360ToCmCostReportingEnabled")] - public virtual System.Nullable Dv360ToCmCostReportingEnabled { get; set; } - - /// Whether or not to include DV360 data in CM360 data transfer reports. - [Newtonsoft.Json.JsonPropertyAttribute("dv360ToCmDataSharingEnabled")] - public virtual System.Nullable Dv360ToCmDataSharingEnabled { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A mobile app promoted by a mobile app install line item. - public class MobileApp : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The ID of the app provided by the platform store. Android apps are identified by the bundle ID - /// used by Android's Play store, such as `com.google.android.gm`. iOS apps are identified by a nine-digit app - /// ID used by Apple's App store, such as `422689480`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("appId")] - public virtual string AppId { get; set; } - - /// Output only. The app name. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The app platform. - [Newtonsoft.Json.JsonPropertyAttribute("platform")] - public virtual string Platform { get; set; } - - /// Output only. The app publisher. - [Newtonsoft.Json.JsonPropertyAttribute("publisher")] - public virtual string Publisher { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Wrapper message for a list of mobile device IDs defining Customer Match audience members. - public class MobileDeviceIdList : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that - /// consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, - /// the request will return an error. - /// - [Newtonsoft.Json.JsonPropertyAttribute("consent")] - public virtual Consent Consent { get; set; } - - /// - /// A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't - /// be greater than 500,000. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mobileDeviceIds")] - public virtual System.Collections.Generic.IList MobileDeviceIds { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Represents an amount of money with its currency type. - public class Money : Google.Apis.Requests.IDirectResponseSchema - { - /// The three-letter currency code defined in ISO 4217. - [Newtonsoft.Json.JsonPropertyAttribute("currencyCode")] - public virtual string CurrencyCode { get; set; } - - /// - /// Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 - /// inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be - /// positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is - /// represented as `units`=-1 and `nanos`=-750,000,000. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nanos")] - public virtual System.Nullable Nanos { get; set; } - - /// - /// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. - /// - [Newtonsoft.Json.JsonPropertyAttribute("units")] - public virtual System.Nullable Units { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for native content position assigned targeting option. This will be populated in the - /// native_content_position_details field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. - /// Explicitly targeting all options is not supported. Remove all native content position targeting options to - /// achieve this effect. - /// - public class NativeContentPositionAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The content position. - [Newtonsoft.Json.JsonPropertyAttribute("contentPosition")] - public virtual string ContentPosition { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable native content position. This will be populated in the native_content_position_details - /// field when targeting_type is `TARGETING_TYPE_NATIVE_CONTENT_POSITION`. - /// - public class NativeContentPositionTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The content position. - [Newtonsoft.Json.JsonPropertyAttribute("contentPosition")] - public virtual string ContentPosition { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A negatively targeted keyword that belongs to a negative keyword list. - public class NegativeKeyword : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Immutable. The negatively targeted keyword, for example `car insurance`. Must be UTF-8 encoded - /// with a maximum size of 255 bytes. Maximum number of characters is 80. Maximum number of words is 10. Valid - /// characters are restricted to ASCII characters only. The only URL-escaping permitted is for representing - /// whitespace between words. Leading or trailing whitespace is ignored. - /// - [Newtonsoft.Json.JsonPropertyAttribute("keywordValue")] - public virtual string KeywordValue { get; set; } - - /// Output only. The resource name of the negative keyword. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A list of negative keywords used for targeting. - public class NegativeKeywordList : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The unique ID of the advertiser the negative keyword list belongs to. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Required. The display name of the negative keyword list. Must be UTF-8 encoded with a maximum size of 255 - /// bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The resource name of the negative keyword list. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Output only. The unique ID of the negative keyword list. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywordListId")] - public virtual System.Nullable NegativeKeywordListId { get; set; } - - /// Output only. Number of line items that are directly targeting this negative keyword list. - [Newtonsoft.Json.JsonPropertyAttribute("targetedLineItemCount")] - public virtual System.Nullable TargetedLineItemCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for negative keyword list. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST`. - /// - public class NegativeKeywordListAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. ID of the negative keyword list. Should refer to the negative_keyword_list_id field of a - /// NegativeKeywordList resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywordListId")] - public virtual System.Nullable NegativeKeywordListId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// OBA Icon for a Creative - public class ObaIcon : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The click tracking URL of the OBA icon. Only URLs of the following domains are allowed: * - /// https://info.evidon.com * https://l.betrad.com - /// - [Newtonsoft.Json.JsonPropertyAttribute("clickTrackingUrl")] - public virtual string ClickTrackingUrl { get; set; } - - /// The dimensions of the OBA icon. - [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] - public virtual Dimensions Dimensions { get; set; } - - /// - /// Required. The landing page URL of the OBA icon. Only URLs of the following domains are allowed: * - /// https://info.evidon.com * https://l.betrad.com - /// - [Newtonsoft.Json.JsonPropertyAttribute("landingPageUrl")] - public virtual string LandingPageUrl { get; set; } - - /// The position of the OBA icon on the creative. - [Newtonsoft.Json.JsonPropertyAttribute("position")] - public virtual string Position { get; set; } - - /// The program of the OBA icon. For example: “AdChoices”. - [Newtonsoft.Json.JsonPropertyAttribute("program")] - public virtual string Program { get; set; } - - /// The MIME type of the OBA icon resource. - [Newtonsoft.Json.JsonPropertyAttribute("resourceMimeType")] - public virtual string ResourceMimeType { get; set; } - - /// The URL of the OBA icon resource. - [Newtonsoft.Json.JsonPropertyAttribute("resourceUrl")] - public virtual string ResourceUrl { get; set; } - - /// - /// Required. The view tracking URL of the OBA icon. Only URLs of the following domains are allowed: * - /// https://info.evidon.com * https://l.betrad.com - /// - [Newtonsoft.Json.JsonPropertyAttribute("viewTrackingUrl")] - public virtual string ViewTrackingUrl { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable Open Measurement enabled inventory type. This will be populated in the details field of - /// an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_OMID`. - /// - public class OmidAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The type of Open Measurement enabled inventory. - [Newtonsoft.Json.JsonPropertyAttribute("omid")] - public virtual string Omid { get; set; } - - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_OMID`. - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable Open Measurement enabled inventory type. This will be populated in the omid_details - /// field when targeting_type is `TARGETING_TYPE_OMID`. - /// - public class OmidTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The type of Open Measurement enabled inventory. - [Newtonsoft.Json.JsonPropertyAttribute("omid")] - public virtual string Omid { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// On screen position targeting option details. This will be populated in the on_screen_position_details field when - /// targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`. - /// - public class OnScreenPositionAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The ad type to target. Only applicable to insertion order targeting and new line items - /// supporting the specified ad type will inherit this targeting option by default. Possible values are: * - /// `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is - /// `LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when - /// line_item_type is `LINE_ITEM_TYPE_VIDEO_DEFAULT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("adType")] - public virtual string AdType { get; set; } - - /// Output only. The on screen position. - [Newtonsoft.Json.JsonPropertyAttribute("onScreenPosition")] - public virtual string OnScreenPosition { get; set; } - - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable on screen position, which could be used by display and video ads. This will be populated - /// in the on_screen_position_details field when targeting_type is `TARGETING_TYPE_ON_SCREEN_POSITION`. - /// - public class OnScreenPositionTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The on screen position. - [Newtonsoft.Json.JsonPropertyAttribute("onScreenPosition")] - public virtual string OnScreenPosition { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned operating system targeting option details. This will be populated in the operating_system_details field - /// when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`. - /// - public class OperatingSystemAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the operating system. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The targeting option ID populated in targeting_option_id field when targeting_type is - /// `TARGETING_TYPE_OPERATING_SYSTEM`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable operating system. This will be populated in the operating_system_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_OPERATING_SYSTEM`. - /// - public class OperatingSystemTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the operating system. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { 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; } - } - - /// Settings that control the rate at which a budget is spent. - public class Pacing : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Maximum number of impressions to serve every day. Applicable when the budget is impression based. Must be - /// greater than 0. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dailyMaxImpressions")] - public virtual System.Nullable DailyMaxImpressions { get; set; } - - /// - /// Maximum currency amount to spend every day in micros of advertiser's currency. Applicable when the budget is - /// currency based. Must be greater than 0. For example, for 1.5 standard unit of the currency, set this field - /// to 1500000. The value assigned will be rounded to whole billable units for the relevant currency by the - /// following rules: any positive value less than a single billable unit will be rounded up to one billable unit - /// and any value larger than a single billable unit will be rounded down to the nearest billable value. For - /// example, if the currency's billable unit is 0.01, and this field is set to 10257770, it will round down to - /// 10250000, a value of 10.25. If set to 505, it will round up to 10000, a value of 0.01. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dailyMaxMicros")] - public virtual System.Nullable DailyMaxMicros { get; set; } - - /// - /// Required. The time period in which the pacing budget will be spent. When automatic budget allocation is - /// enabled at the insertion order via automationType, this field is output only and defaults to - /// `PACING_PERIOD_FLIGHT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pacingPeriod")] - public virtual string PacingPeriod { get; set; } - - /// - /// Required. The type of pacing that defines how the budget amount will be spent across the pacing_period. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pacingType")] - public virtual string PacingType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A filtering option that filters on selected file types belonging to a chosen set of filter entities. - /// - public class ParentEntityFilter : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. File types that will be returned. - [Newtonsoft.Json.JsonPropertyAttribute("fileType")] - public virtual System.Collections.Generic.IList FileType { get; set; } - - /// - /// The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is not - /// `FILTER_TYPE_NONE`, at least one ID must be specified. - /// - [Newtonsoft.Json.JsonPropertyAttribute("filterIds")] - public virtual System.Collections.Generic.IList> FilterIds { get; set; } - - /// Required. Filter type used to filter fetched entities. - [Newtonsoft.Json.JsonPropertyAttribute("filterType")] - public virtual string FilterType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned parental status targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`. - /// - public class ParentalStatusAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The parental status of the audience. - [Newtonsoft.Json.JsonPropertyAttribute("parentalStatus")] - public virtual string ParentalStatus { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_PARENTAL_STATUS`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable parental status. This will be populated in the parental_status_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_PARENTAL_STATUS`. - /// - public class ParentalStatusTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The parental status of an audience. - [Newtonsoft.Json.JsonPropertyAttribute("parentalStatus")] - public virtual string ParentalStatus { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single partner in Display & Video 360 (DV360). - public class Partner : Google.Apis.Requests.IDirectResponseSchema - { - /// Ad server related settings of the partner. - [Newtonsoft.Json.JsonPropertyAttribute("adServerConfig")] - public virtual PartnerAdServerConfig AdServerConfig { get; set; } - - /// Settings that control how partner data may be accessed. - [Newtonsoft.Json.JsonPropertyAttribute("dataAccessConfig")] - public virtual PartnerDataAccessConfig DataAccessConfig { get; set; } - - /// The display name of the partner. Must be UTF-8 encoded with a maximum size of 240 bytes. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. The status of the partner. - [Newtonsoft.Json.JsonPropertyAttribute("entityStatus")] - public virtual string EntityStatus { get; set; } - - /// Settings that control which exchanges are enabled for the partner. - [Newtonsoft.Json.JsonPropertyAttribute("exchangeConfig")] - public virtual ExchangeConfig ExchangeConfig { get; set; } - - /// General settings of the partner. - [Newtonsoft.Json.JsonPropertyAttribute("generalConfig")] - public virtual PartnerGeneralConfig GeneralConfig { get; set; } - - /// Output only. The resource name of the partner. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Output only. The unique ID of the partner. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Output only. The timestamp when the partner was last updated. Assigned by the system. - [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; } - } - - /// Ad server related settings of a partner. - public class PartnerAdServerConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Measurement settings of a partner. - [Newtonsoft.Json.JsonPropertyAttribute("measurementConfig")] - public virtual MeasurementConfig MeasurementConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Settings that control a partner cost. A partner cost is any type of expense involved in running a campaign, - /// other than the costs of purchasing impressions (which is called the media cost) and using third-party audience - /// segment data (data fee). Some examples of partner costs include the fees for using DV360, a third-party ad - /// server, or a third-party ad serving verification service. - /// - public class PartnerCost : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The type of the partner cost. - [Newtonsoft.Json.JsonPropertyAttribute("costType")] - public virtual string CostType { get; set; } - - /// - /// The CPM fee amount in micros of advertiser's currency. Applicable when the fee_type is - /// `PARTNER_FEE_TYPE_CPM_FEE`. Must be greater than or equal to 0. For example, for 1.5 standard unit of the - /// advertiser's currency, set this field to 1500000. - /// - [Newtonsoft.Json.JsonPropertyAttribute("feeAmount")] - public virtual System.Nullable FeeAmount { get; set; } - - /// - /// The media fee percentage in millis (1/1000 of a percent). Applicable when the fee_type is - /// `PARTNER_FEE_TYPE_MEDIA_FEE`. Must be greater than or equal to 0. For example: 100 represents 0.1%. - /// - [Newtonsoft.Json.JsonPropertyAttribute("feePercentageMillis")] - public virtual System.Nullable FeePercentageMillis { get; set; } - - /// Required. The fee type for this partner cost. - [Newtonsoft.Json.JsonPropertyAttribute("feeType")] - public virtual string FeeType { get; set; } - - /// - /// The invoice type for this partner cost. * Required when cost_type is one of: - `PARTNER_COST_TYPE_ADLOOX` - - /// `PARTNER_COST_TYPE_DOUBLE_VERIFY` - `PARTNER_COST_TYPE_INTEGRAL_AD_SCIENCE`. * Output only for other types. - /// - [Newtonsoft.Json.JsonPropertyAttribute("invoiceType")] - public virtual string InvoiceType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control how partner related data may be accessed. - public class PartnerDataAccessConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Structured Data Files (SDF) settings for the partner. The SDF configuration for the partner. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sdfConfig")] - public virtual SdfConfig SdfConfig { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// General settings of a partner. - public class PartnerGeneralConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Immutable. Partner's currency in ISO 4217 format. - [Newtonsoft.Json.JsonPropertyAttribute("currencyCode")] - public virtual string CurrencyCode { get; set; } - - /// - /// Immutable. The standard TZ database name of the partner's time zone. For example, `America/New_York`. See - /// more at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - /// - [Newtonsoft.Json.JsonPropertyAttribute("timeZone")] - public virtual string TimeZone { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control how partner revenue is calculated. - public class PartnerRevenueModel : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The markup amount of the partner revenue model. Must be greater than or equal to 0. * When the - /// markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_CPM`, this field represents the CPM markup in - /// micros of advertiser's currency. For example, 1500000 represents 1.5 standard units of the currency. * When - /// the markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_MEDIA_COST_MARKUP`, this field represents - /// the media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001). * When the - /// markup_type is set to be `PARTNER_REVENUE_MODEL_MARKUP_TYPE_TOTAL_MEDIA_COST_MARKUP`, this field represents - /// the total media cost percent markup in millis. For example, 100 represents 0.1% (decimal 0.001). - /// - [Newtonsoft.Json.JsonPropertyAttribute("markupAmount")] - public virtual System.Nullable MarkupAmount { get; set; } - - /// Required. The markup type of the partner revenue model. - [Newtonsoft.Json.JsonPropertyAttribute("markupType")] - public virtual string MarkupType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control the performance goal of a campaign. - public class PerformanceGoal : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The goal amount, in micros of the advertiser's currency. Applicable when performance_goal_type is one of: * - /// `PERFORMANCE_GOAL_TYPE_CPM` * `PERFORMANCE_GOAL_TYPE_CPC` * `PERFORMANCE_GOAL_TYPE_CPA` * - /// `PERFORMANCE_GOAL_TYPE_CPIAVC` * `PERFORMANCE_GOAL_TYPE_VCPM` For example 1500000 represents 1.5 standard - /// units of the currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalAmountMicros")] - public virtual System.Nullable PerformanceGoalAmountMicros { get; set; } - - /// - /// The decimal representation of the goal percentage in micros. Applicable when performance_goal_type is one - /// of: * `PERFORMANCE_GOAL_TYPE_CTR` * `PERFORMANCE_GOAL_TYPE_VIEWABILITY` * `PERFORMANCE_GOAL_TYPE_CLICK_CVR` - /// * `PERFORMANCE_GOAL_TYPE_IMPRESSION_CVR` * `PERFORMANCE_GOAL_TYPE_VTR` * - /// `PERFORMANCE_GOAL_TYPE_AUDIO_COMPLETION_RATE` * `PERFORMANCE_GOAL_TYPE_VIDEO_COMPLETION_RATE` For example, - /// 70000 represents 7% (decimal 0.07). - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalPercentageMicros")] - public virtual System.Nullable PerformanceGoalPercentageMicros { get; set; } - - /// - /// A key performance indicator (KPI) string, which can be empty. Must be UTF-8 encoded with a length of no more - /// than 100 characters. Applicable when performance_goal_type is set to `PERFORMANCE_GOAL_TYPE_OTHER`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalString")] - public virtual string PerformanceGoalString { get; set; } - - /// Required. The type of the performance goal. - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalType")] - public virtual string PerformanceGoalType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A strategy that automatically adjusts the bid to meet or beat a specified performance goal. - public class PerformanceGoalBidStrategy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The ID of the Custom Bidding Algorithm used by this strategy. Only applicable when performance_goal_type is - /// set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("customBiddingAlgorithmId")] - public virtual System.Nullable CustomBiddingAlgorithmId { get; set; } - - /// - /// The maximum average CPM that may be bid, in micros of the advertiser's currency. Must be greater than or - /// equal to a billable unit of the given currency. Not applicable when performance_goal_type is set to - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`. For example, 1500000 represents 1.5 standard units of - /// the currency. - /// - [Newtonsoft.Json.JsonPropertyAttribute("maxAverageCpmBidAmountMicros")] - public virtual System.Nullable MaxAverageCpmBidAmountMicros { get; set; } - - /// - /// Required. The performance goal the bidding strategy will attempt to meet or beat, in micros of the - /// advertiser's currency or in micro of the ROAS (Return On Advertising Spend) value which is also based on - /// advertiser's currency. Must be greater than or equal to a billable unit of the given currency and smaller or - /// equal to upper bounds. Each performance_goal_type has its upper bound: * when performance_goal_type is - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA`, upper bound is 10000.00 USD. * when performance_goal_type is - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC`, upper bound is 1000.00 USD. * when performance_goal_type is - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, upper bound is 1000.00 USD. * when - /// performance_goal_type is `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`, upper bound is 1000.00 and - /// lower bound is 0.01. Example: If set to `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`, the bid price - /// will be based on the probability that each available impression will be viewable. For example, if viewable - /// CPM target is $2 and an impression is 40% likely to be viewable, the bid price will be $0.80 CPM (40% of - /// $2). For example, 1500000 represents 1.5 standard units of the currency or ROAS value. - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalAmountMicros")] - public virtual System.Nullable PerformanceGoalAmountMicros { get; set; } - - /// - /// Required. The type of the performance goal that the bidding strategy will try to meet or beat. For line item - /// level usage, the value must be one of: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA` * - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` * - /// `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("performanceGoalType")] - public virtual string PerformanceGoalType { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned POI targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_POI`. - /// - public class PoiAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The display name of a POI, e.g. "Times Square", "Space Needle", followed by its full address if - /// available. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. Latitude of the POI rounding to 6th decimal place. - [Newtonsoft.Json.JsonPropertyAttribute("latitude")] - public virtual System.Nullable Latitude { get; set; } - - /// Output only. Longitude of the POI rounding to 6th decimal place. - [Newtonsoft.Json.JsonPropertyAttribute("longitude")] - public virtual System.Nullable Longitude { get; set; } - - /// - /// Required. The radius of the area around the POI that will be targeted. The units of the radius are specified - /// by proximity_radius_unit. Must be 1 to 800 if unit is `DISTANCE_UNIT_KILOMETERS` and 1 to 500 if unit is - /// `DISTANCE_UNIT_MILES`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("proximityRadiusAmount")] - public virtual System.Nullable ProximityRadiusAmount { get; set; } - - /// Required. The unit of distance by which the targeting radius is measured. - [Newtonsoft.Json.JsonPropertyAttribute("proximityRadiusUnit")] - public virtual string ProximityRadiusUnit { get; set; } - - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_POI`. Accepted POI targeting - /// option IDs can be retrieved using `targetingTypes.targetingOptions.search`. If targeting a specific - /// latitude/longitude coordinate removed from an address or POI name, you can generate the necessary targeting - /// option ID by rounding the desired coordinate values to the 6th decimal place, removing the decimals, and - /// concatenating the string values separated by a semicolon. For example, you can target the latitude/longitude - /// pair of 40.7414691, -74.003387 using the targeting option ID "40741469;-74003387". **Upon** **creation, this - /// field value will be updated to append a semicolon and** **alphanumerical hash value if only - /// latitude/longitude coordinates are** **provided.** - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Search terms for POI targeting options. - public class PoiSearchTerms : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The search query for the desired POI name, street address, or coordinate of the desired POI. The query can - /// be a prefix, e.g. "Times squar", "40.7505045,-73.99562", "315 W 44th St", etc. - /// - [Newtonsoft.Json.JsonPropertyAttribute("poiQuery")] - public virtual string PoiQuery { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable point of interest(POI). This will be populated in the poi_details field when - /// targeting_type is `TARGETING_TYPE_POI`. - /// - public class PoiTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. The display name of a POI(e.g. "Times Square", "Space Needle"), followed by its full address if - /// available. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Output only. Latitude of the POI rounding to 6th decimal place. - [Newtonsoft.Json.JsonPropertyAttribute("latitude")] - public virtual System.Nullable Latitude { get; set; } - - /// Output only. Longitude of the POI rounding to 6th decimal place. - [Newtonsoft.Json.JsonPropertyAttribute("longitude")] - public virtual System.Nullable Longitude { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings specific to the Mediaocean Prisma tool. - public class PrismaConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Relevant client, product, and estimate codes from the Mediaocean Prisma tool. - [Newtonsoft.Json.JsonPropertyAttribute("prismaCpeCode")] - public virtual PrismaCpeCode PrismaCpeCode { get; set; } - - /// Required. The Prisma type. - [Newtonsoft.Json.JsonPropertyAttribute("prismaType")] - public virtual string PrismaType { get; set; } - - /// Required. The entity allocated this budget (DSP, site, etc.). - [Newtonsoft.Json.JsonPropertyAttribute("supplier")] - public virtual string Supplier { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Google Payments Center supports searching and filtering on the component fields of this code. - public class PrismaCpeCode : Google.Apis.Requests.IDirectResponseSchema - { - /// The Prisma client code. - [Newtonsoft.Json.JsonPropertyAttribute("prismaClientCode")] - public virtual string PrismaClientCode { get; set; } - - /// The Prisma estimate code. - [Newtonsoft.Json.JsonPropertyAttribute("prismaEstimateCode")] - public virtual string PrismaEstimateCode { get; set; } - - /// The Prisma product code. - [Newtonsoft.Json.JsonPropertyAttribute("prismaProductCode")] - public virtual string PrismaProductCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for proximity location list. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_PROXIMITY_LOCATION_LIST`. - /// - public class ProximityLocationListAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. ID of the proximity location list. Should refer to the location_list_id field of a LocationList - /// resource whose type is `TARGETING_LOCATION_TYPE_PROXIMITY`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("proximityLocationListId")] - public virtual System.Nullable ProximityLocationListId { get; set; } - - /// - /// Required. Radius range for proximity location list. This represents the size of the area around a chosen - /// location that will be targeted. `All` proximity location targeting under a single resource must have the - /// same radius range value. Set this value to match any existing targeting. If updated, this field will change - /// the radius range for all proximity targeting under the resource. - /// - [Newtonsoft.Json.JsonPropertyAttribute("proximityRadiusRange")] - public virtual string ProximityRadiusRange { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Publisher review status for the creative. - public class PublisherReviewStatus : Google.Apis.Requests.IDirectResponseSchema - { - /// The publisher reviewing the creative. - [Newtonsoft.Json.JsonPropertyAttribute("publisherName")] - public virtual string PublisherName { get; set; } - - /// Status of the publisher review. - [Newtonsoft.Json.JsonPropertyAttribute("status")] - public virtual string Status { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The rate related settings of the inventory source. - public class RateDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The rate type. Acceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`, - /// `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and `INVENTORY_SOURCE_RATE_TYPE_CPD`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("inventorySourceRateType")] - public virtual string InventorySourceRateType { get; set; } - - /// - /// Output only. The amount that the buyer has committed to spending on the inventory source up front. Only - /// applicable for guaranteed inventory sources. - /// - [Newtonsoft.Json.JsonPropertyAttribute("minimumSpend")] - public virtual Money MinimumSpend { get; set; } - - /// The rate for the inventory source. - [Newtonsoft.Json.JsonPropertyAttribute("rate")] - public virtual Money Rate { get; set; } - - /// - /// Required for guaranteed inventory sources. The number of impressions guaranteed by the seller. - /// - [Newtonsoft.Json.JsonPropertyAttribute("unitsPurchased")] - public virtual System.Nullable UnitsPurchased { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for regional location list. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_REGIONAL_LOCATION_LIST`. - /// - public class RegionalLocationListAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. ID of the regional location list. Should refer to the location_list_id field of a LocationList - /// resource whose type is `TARGETING_LOCATION_TYPE_REGIONAL`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionalLocationListId")] - public virtual System.Nullable RegionalLocationListId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for NegativeKeywordService.ReplaceNegativeKeywords. - public class ReplaceNegativeKeywordsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The negative keywords that will replace the existing keywords in the negative keyword list, specified as a - /// list of NegativeKeywords. - /// - [Newtonsoft.Json.JsonPropertyAttribute("newNegativeKeywords")] - public virtual System.Collections.Generic.IList NewNegativeKeywords { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for NegativeKeywordService.ReplaceNegativeKeywords. - public class ReplaceNegativeKeywordsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The full list of negative keywords now present in the negative keyword list. - [Newtonsoft.Json.JsonPropertyAttribute("negativeKeywords")] - public virtual System.Collections.Generic.IList NegativeKeywords { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for SiteService.ReplaceSites. - public class ReplaceSitesRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the advertiser that owns the parent channel. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// The sites that will replace the existing sites assigned to the channel, specified as a list of Sites. - /// - [Newtonsoft.Json.JsonPropertyAttribute("newSites")] - public virtual System.Collections.Generic.IList NewSites { get; set; } - - /// The ID of the partner that owns the parent channel. - [Newtonsoft.Json.JsonPropertyAttribute("partnerId")] - public virtual System.Nullable PartnerId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for SiteService.ReplaceSites. - public class ReplaceSitesResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The list of sites in the channel after replacing. - [Newtonsoft.Json.JsonPropertyAttribute("sites")] - public virtual System.Collections.Generic.IList Sites { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Review statuses for the creative. - public class ReviewStatusInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Represents the basic approval needed for a creative to begin serving. Summary of - /// creative_and_landing_page_review_status and content_and_policy_review_status. - /// - [Newtonsoft.Json.JsonPropertyAttribute("approvalStatus")] - public virtual string ApprovalStatus { get; set; } - - /// Content and policy review status for the creative. - [Newtonsoft.Json.JsonPropertyAttribute("contentAndPolicyReviewStatus")] - public virtual string ContentAndPolicyReviewStatus { get; set; } - - /// Creative and landing page review status for the creative. - [Newtonsoft.Json.JsonPropertyAttribute("creativeAndLandingPageReviewStatus")] - public virtual string CreativeAndLandingPageReviewStatus { get; set; } - - /// Exchange review statuses for the creative. - [Newtonsoft.Json.JsonPropertyAttribute("exchangeReviewStatuses")] - public virtual System.Collections.Generic.IList ExchangeReviewStatuses { get; set; } - - /// Publisher review statuses for the creative. - [Newtonsoft.Json.JsonPropertyAttribute("publisherReviewStatuses")] - public virtual System.Collections.Generic.IList PublisherReviewStatuses { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// An error message for a custom bidding script. - public class ScriptError : Google.Apis.Requests.IDirectResponseSchema - { - /// The column number in the script where the error was thrown. - [Newtonsoft.Json.JsonPropertyAttribute("column")] - public virtual System.Nullable Column { get; set; } - - /// The type of error. - [Newtonsoft.Json.JsonPropertyAttribute("errorCode")] - public virtual string ErrorCode { get; set; } - - /// The detailed error message. - [Newtonsoft.Json.JsonPropertyAttribute("errorMessage")] - public virtual string ErrorMessage { get; set; } - - /// The line number in the script where the error was thrown. - [Newtonsoft.Json.JsonPropertyAttribute("line")] - public virtual System.Nullable Line { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Structured Data File (SDF) related settings. - public class SdfConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// An administrator email address to which the SDF processing status reports will be sent. - [Newtonsoft.Json.JsonPropertyAttribute("adminEmail")] - public virtual string AdminEmail { get; set; } - - /// Required. The version of SDF being used. - [Newtonsoft.Json.JsonPropertyAttribute("version")] - public virtual string Version { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Type for the response returned by [SdfDownloadTaskService.CreateSdfDownloadTask]. - public class SdfDownloadTask : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A resource name to be used in media.download to Download the prepared files. Resource names have the format - /// `download/sdfdownloadtasks/media/{media_id}`. `media_id` will be made available by the long running - /// operation service once the task status is done. - /// - [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] - public virtual string ResourceName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Type for the metadata returned by [SdfDownloadTaskService.CreateSdfDownloadTask]. - public class SdfDownloadTaskMetadata : Google.Apis.Requests.IDirectResponseSchema - { - private string _createTimeRaw; - - private object _createTime; - - /// The time when 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; - - /// The time when execution was completed. - [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); - } - - /// The SDF version used to execute this download task. - [Newtonsoft.Json.JsonPropertyAttribute("version")] - public virtual string Version { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for SearchTargetingOptions. - public class SearchTargetingOptionsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The Advertiser this request is being made in the context of. - [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] - public virtual System.Nullable AdvertiserId { get; set; } - - /// - /// Search terms for Business Chain targeting options. Can only be used when targeting_type is - /// `TARGETING_TYPE_BUSINESS_CHAIN`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("businessChainSearchTerms")] - public virtual BusinessChainSearchTerms BusinessChainSearchTerms { get; set; } - - /// - /// Search terms for geo region targeting options. Can only be used when targeting_type is - /// `TARGETING_TYPE_GEO_REGION`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionSearchTerms")] - public virtual GeoRegionSearchTerms GeoRegionSearchTerms { get; set; } - - /// - /// Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code - /// `INVALID_ARGUMENT` if an invalid value is specified. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pageSize")] - public virtual System.Nullable PageSize { get; set; } - - /// - /// A token identifying a page of results the server should return. Typically, this is the value of - /// next_page_token returned from the previous call to `SearchTargetingOptions` method. If not specified, the - /// first page of results will be returned. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pageToken")] - public virtual string PageToken { get; set; } - - /// - /// Search terms for POI targeting options. Can only be used when targeting_type is `TARGETING_TYPE_POI`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("poiSearchTerms")] - public virtual PoiSearchTerms PoiSearchTerms { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for SearchTargetingOptions. - public class SearchTargetingOptionsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call - /// to `SearchTargetingOptions` method to retrieve the next page of results. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// - /// The list of targeting options that match the search criteria. This list will be absent if empty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptions")] - public virtual System.Collections.Generic.IList TargetingOptions { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Targeting details for sensitive category. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. - /// - public class SensitiveCategoryAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. ID of the sensitive category to be EXCLUDED. - [Newtonsoft.Json.JsonPropertyAttribute("excludedTargetingOptionId")] - public virtual string ExcludedTargetingOptionId { get; set; } - - /// Output only. An enum for the DV360 Sensitive category content classifier. - [Newtonsoft.Json.JsonPropertyAttribute("sensitiveCategory")] - public virtual string SensitiveCategory { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable sensitive category. This will be populated in the sensitive_category_details field of - /// the TargetingOption when targeting_type is `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`. - /// - public class SensitiveCategoryTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. An enum for the DV360 Sensitive category content classifier. - [Newtonsoft.Json.JsonPropertyAttribute("sensitiveCategory")] - public virtual string SensitiveCategory { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single site. Sites are apps or websites belonging to a channel. - public class Site : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The resource name of the site. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("urlOrAppId")] - public virtual string UrlOrAppId { 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; } - } - - /// - /// Details for assigned sub-exchange targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`. - /// - public class SubExchangeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_SUB_EXCHANGE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable sub-exchange. This will be populated in the sub_exchange_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_SUB_EXCHANGE`. - /// - public class SubExchangeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The display name of the sub-exchange. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Settings that control the [optimized targeting](//support.google.com/displayvideo/answer/12060859) settings of - /// the line item. - /// - public class TargetingExpansionConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Whether to exclude first-party audiences from use in targeting expansion. This field was deprecated with the - /// launch of [optimized targeting](//support.google.com/displayvideo/answer/12060859). This field will be set - /// to `false`. If this field is set to `true` when deprecated, all positive first-party audience targeting - /// assigned to this line item will be replaced with negative targeting of the same first-party audiences to - /// ensure the continued exclusion of those audiences. - /// - [Newtonsoft.Json.JsonPropertyAttribute("excludeFirstPartyAudience")] - public virtual System.Nullable ExcludeFirstPartyAudience { get; set; } - - /// - /// Required. Whether optimized targeting is turned on. This field supports the following values: * - /// `NO_EXPANSION`: optimized targeting is turned off * `LEAST_EXPANSION`: optimized targeting is turned on If - /// this field is set to any other value, it will automatically be set to `LEAST_EXPANSION`. `NO_EXPANSION` will - /// be the default value for the field and will be automatically assigned if you do not set the field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingExpansionLevel")] - public virtual string TargetingExpansionLevel { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Represents a single targeting option, which is a targetable concept in DV360. - public class TargetingOption : Google.Apis.Requests.IDirectResponseSchema - { - /// Age range details. - [Newtonsoft.Json.JsonPropertyAttribute("ageRangeDetails")] - public virtual AgeRangeTargetingOptionDetails AgeRangeDetails { get; set; } - - /// App category details. - [Newtonsoft.Json.JsonPropertyAttribute("appCategoryDetails")] - public virtual AppCategoryTargetingOptionDetails AppCategoryDetails { get; set; } - - /// Audio content type details. - [Newtonsoft.Json.JsonPropertyAttribute("audioContentTypeDetails")] - public virtual AudioContentTypeTargetingOptionDetails AudioContentTypeDetails { get; set; } - - /// Authorized seller status resource details. - [Newtonsoft.Json.JsonPropertyAttribute("authorizedSellerStatusDetails")] - public virtual AuthorizedSellerStatusTargetingOptionDetails AuthorizedSellerStatusDetails { get; set; } - - /// Browser details. - [Newtonsoft.Json.JsonPropertyAttribute("browserDetails")] - public virtual BrowserTargetingOptionDetails BrowserDetails { get; set; } - - /// Business chain resource details. - [Newtonsoft.Json.JsonPropertyAttribute("businessChainDetails")] - public virtual BusinessChainTargetingOptionDetails BusinessChainDetails { get; set; } - - /// Carrier and ISP details. - [Newtonsoft.Json.JsonPropertyAttribute("carrierAndIspDetails")] - public virtual CarrierAndIspTargetingOptionDetails CarrierAndIspDetails { get; set; } - - /// Category resource details. - [Newtonsoft.Json.JsonPropertyAttribute("categoryDetails")] - public virtual CategoryTargetingOptionDetails CategoryDetails { get; set; } - - /// Content duration resource details. - [Newtonsoft.Json.JsonPropertyAttribute("contentDurationDetails")] - public virtual ContentDurationTargetingOptionDetails ContentDurationDetails { get; set; } - - /// Content genre resource details. - [Newtonsoft.Json.JsonPropertyAttribute("contentGenreDetails")] - public virtual ContentGenreTargetingOptionDetails ContentGenreDetails { get; set; } - - /// Content instream position details. - [Newtonsoft.Json.JsonPropertyAttribute("contentInstreamPositionDetails")] - public virtual ContentInstreamPositionTargetingOptionDetails ContentInstreamPositionDetails { get; set; } - - /// Content outstream position details. - [Newtonsoft.Json.JsonPropertyAttribute("contentOutstreamPositionDetails")] - public virtual ContentOutstreamPositionTargetingOptionDetails ContentOutstreamPositionDetails { get; set; } - - /// Content stream type resource details. - [Newtonsoft.Json.JsonPropertyAttribute("contentStreamTypeDetails")] - public virtual ContentStreamTypeTargetingOptionDetails ContentStreamTypeDetails { get; set; } - - /// Device make and model resource details. - [Newtonsoft.Json.JsonPropertyAttribute("deviceMakeModelDetails")] - public virtual DeviceMakeModelTargetingOptionDetails DeviceMakeModelDetails { get; set; } - - /// Device type details. - [Newtonsoft.Json.JsonPropertyAttribute("deviceTypeDetails")] - public virtual DeviceTypeTargetingOptionDetails DeviceTypeDetails { get; set; } - - /// Digital content label details. - [Newtonsoft.Json.JsonPropertyAttribute("digitalContentLabelDetails")] - public virtual DigitalContentLabelTargetingOptionDetails DigitalContentLabelDetails { get; set; } - - /// Environment details. - [Newtonsoft.Json.JsonPropertyAttribute("environmentDetails")] - public virtual EnvironmentTargetingOptionDetails EnvironmentDetails { get; set; } - - /// Exchange details. - [Newtonsoft.Json.JsonPropertyAttribute("exchangeDetails")] - public virtual ExchangeTargetingOptionDetails ExchangeDetails { get; set; } - - /// Gender details. - [Newtonsoft.Json.JsonPropertyAttribute("genderDetails")] - public virtual GenderTargetingOptionDetails GenderDetails { get; set; } - - /// Geographic region resource details. - [Newtonsoft.Json.JsonPropertyAttribute("geoRegionDetails")] - public virtual GeoRegionTargetingOptionDetails GeoRegionDetails { get; set; } - - /// Household income details. - [Newtonsoft.Json.JsonPropertyAttribute("householdIncomeDetails")] - public virtual HouseholdIncomeTargetingOptionDetails HouseholdIncomeDetails { get; set; } - - /// Language resource details. - [Newtonsoft.Json.JsonPropertyAttribute("languageDetails")] - public virtual LanguageTargetingOptionDetails LanguageDetails { get; set; } - - /// Output only. The resource name for this targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Native content position details. - [Newtonsoft.Json.JsonPropertyAttribute("nativeContentPositionDetails")] - public virtual NativeContentPositionTargetingOptionDetails NativeContentPositionDetails { get; set; } - - /// Open Measurement enabled inventory details. - [Newtonsoft.Json.JsonPropertyAttribute("omidDetails")] - public virtual OmidTargetingOptionDetails OmidDetails { get; set; } - - /// On screen position details. - [Newtonsoft.Json.JsonPropertyAttribute("onScreenPositionDetails")] - public virtual OnScreenPositionTargetingOptionDetails OnScreenPositionDetails { get; set; } - - /// Operating system resources details. - [Newtonsoft.Json.JsonPropertyAttribute("operatingSystemDetails")] - public virtual OperatingSystemTargetingOptionDetails OperatingSystemDetails { get; set; } - - /// Parental status details. - [Newtonsoft.Json.JsonPropertyAttribute("parentalStatusDetails")] - public virtual ParentalStatusTargetingOptionDetails ParentalStatusDetails { get; set; } - - /// POI resource details. - [Newtonsoft.Json.JsonPropertyAttribute("poiDetails")] - public virtual PoiTargetingOptionDetails PoiDetails { get; set; } - - /// Sensitive Category details. - [Newtonsoft.Json.JsonPropertyAttribute("sensitiveCategoryDetails")] - public virtual SensitiveCategoryTargetingOptionDetails SensitiveCategoryDetails { get; set; } - - /// Sub-exchange details. - [Newtonsoft.Json.JsonPropertyAttribute("subExchangeDetails")] - public virtual SubExchangeTargetingOptionDetails SubExchangeDetails { get; set; } - - /// - /// Output only. A unique identifier for this targeting option. The tuple {`targeting_type`, - /// `targeting_option_id`} will be unique. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// Output only. The type of this targeting option. - [Newtonsoft.Json.JsonPropertyAttribute("targetingType")] - public virtual string TargetingType { get; set; } - - /// User rewarded content details. - [Newtonsoft.Json.JsonPropertyAttribute("userRewardedContentDetails")] - public virtual UserRewardedContentTargetingOptionDetails UserRewardedContentDetails { get; set; } - - /// Video player size details. - [Newtonsoft.Json.JsonPropertyAttribute("videoPlayerSizeDetails")] - public virtual VideoPlayerSizeTargetingOptionDetails VideoPlayerSizeDetails { get; set; } - - /// Viewability resource details. - [Newtonsoft.Json.JsonPropertyAttribute("viewabilityDetails")] - public virtual ViewabilityTargetingOptionDetails ViewabilityDetails { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings for advertisers that use third-party ad servers only. - public class ThirdPartyOnlyConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Whether or not order ID reporting for pixels is enabled. This value cannot be changed once set to `true`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("pixelOrderIdReportingEnabled")] - public virtual System.Nullable PixelOrderIdReportingEnabled { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Tracking URLs from third parties to track interactions with an audio or a video creative. - public class ThirdPartyUrl : Google.Apis.Requests.IDirectResponseSchema - { - /// The type of interaction needs to be tracked by the tracking URL - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// - /// Tracking URL used to track the interaction. Provide a URL with optional path or query string, beginning with - /// `https:`. For example, https://www.example.com/path - /// - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned third party verifier targeting option details. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_THIRD_PARTY_VERIFIER`. - /// - public class ThirdPartyVerifierAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Third party brand verifier -- Adloox. - [Newtonsoft.Json.JsonPropertyAttribute("adloox")] - public virtual Adloox Adloox { get; set; } - - /// Third party brand verifier -- DoubleVerify. - [Newtonsoft.Json.JsonPropertyAttribute("doubleVerify")] - public virtual DoubleVerify DoubleVerify { get; set; } - - /// Third party brand verifier -- Integral Ad Science. - [Newtonsoft.Json.JsonPropertyAttribute("integralAdScience")] - public virtual IntegralAdScience IntegralAdScience { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A time range. - public class TimeRange : Google.Apis.Requests.IDirectResponseSchema - { - private string _endTimeRaw; - - private object _endTime; - - /// Required. The upper bound of a time range, inclusive. - [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; - - /// Required. The lower bound of a time range, inclusive. - [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; } - } - - /// Timer event of the creative. - public class TimerEvent : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The name of the timer event. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The name used to identify this timer event in reports. - [Newtonsoft.Json.JsonPropertyAttribute("reportingName")] - public virtual string ReportingName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Settings that control the behavior of a single Floodlight activity config. - public class TrackingFloodlightActivityConfig : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The ID of the Floodlight activity. - [Newtonsoft.Json.JsonPropertyAttribute("floodlightActivityId")] - public virtual System.Nullable FloodlightActivityId { get; set; } - - /// - /// Required. The number of days after an ad has been clicked in which a conversion may be counted. Must be - /// between 0 and 90 inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("postClickLookbackWindowDays")] - public virtual System.Nullable PostClickLookbackWindowDays { get; set; } - - /// - /// Required. The number of days after an ad has been viewed in which a conversion may be counted. Must be - /// between 0 and 90 inclusive. - /// - [Newtonsoft.Json.JsonPropertyAttribute("postViewLookbackWindowDays")] - public virtual System.Nullable PostViewLookbackWindowDays { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Represents information about the transcoded audio or video file. - public class Transcode : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The bit rate for the audio stream of the transcoded video, or the bit rate for the transcoded audio, in - /// kilobits per second. - /// - [Newtonsoft.Json.JsonPropertyAttribute("audioBitRateKbps")] - public virtual System.Nullable AudioBitRateKbps { get; set; } - - /// - /// The sample rate for the audio stream of the transcoded video, or the sample rate for the transcoded audio, - /// in hertz. - /// - [Newtonsoft.Json.JsonPropertyAttribute("audioSampleRateHz")] - public virtual System.Nullable AudioSampleRateHz { get; set; } - - /// The transcoding bit rate of the transcoded video, in kilobits per second. - [Newtonsoft.Json.JsonPropertyAttribute("bitRateKbps")] - public virtual System.Nullable BitRateKbps { get; set; } - - /// The dimensions of the transcoded video. - [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] - public virtual Dimensions Dimensions { get; set; } - - /// The size of the transcoded file, in bytes. - [Newtonsoft.Json.JsonPropertyAttribute("fileSizeBytes")] - public virtual System.Nullable FileSizeBytes { get; set; } - - /// The frame rate of the transcoded video, in frames per second. - [Newtonsoft.Json.JsonPropertyAttribute("frameRate")] - public virtual System.Nullable FrameRate { get; set; } - - /// The MIME type of the transcoded file. - [Newtonsoft.Json.JsonPropertyAttribute("mimeType")] - public virtual string MimeType { get; set; } - - /// The name of the transcoded file. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Indicates if the transcoding was successful. - [Newtonsoft.Json.JsonPropertyAttribute("transcoded")] - public virtual System.Nullable Transcoded { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A creative identifier provided by a registry that is unique across all platforms. This is part of the VAST 4.0 - /// standard. - /// - public class UniversalAdId : Google.Apis.Requests.IDirectResponseSchema - { - /// The unique creative identifier. - [Newtonsoft.Json.JsonPropertyAttribute("id")] - public virtual string Id { get; set; } - - /// The registry provides unique creative identifiers. - [Newtonsoft.Json.JsonPropertyAttribute("registry")] - public virtual string Registry { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Details for assigned URL targeting option. This will be populated in the details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_URL`. - /// - public class UrlAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Indicates if this option is being negatively targeted. - [Newtonsoft.Json.JsonPropertyAttribute("negative")] - public virtual System.Nullable Negative { get; set; } - - /// - /// Required. The URL, for example `example.com`. DV360 supports two levels of subdirectory targeting, for - /// example `www.example.com/one-subdirectory-level/second-level`, and five levels of subdomain targeting, for - /// example `five.four.three.two.one.example.com`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A single user in Display & Video 360. - public class User : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The assigned user roles. Required in CreateUser. Output only in UpdateUser. Can only be updated through - /// BulkEditAssignedUserRoles. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assignedUserRoles")] - public virtual System.Collections.Generic.IList AssignedUserRoles { get; set; } - - /// - /// Required. The display name of the user. Must be UTF-8 encoded with a maximum size of 240 bytes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// Required. Immutable. The email address used to identify the user. - [Newtonsoft.Json.JsonPropertyAttribute("email")] - public virtual string Email { get; set; } - - private string _lastLoginTimeRaw; - - private object _lastLoginTime; - - /// Output only. The timestamp when the user last logged in DV360 UI. - [Newtonsoft.Json.JsonPropertyAttribute("lastLoginTime")] - public virtual string LastLoginTimeRaw - { - get => _lastLoginTimeRaw; - set - { - _lastLoginTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _lastLoginTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use LastLoginTimeDateTimeOffset instead.")] - public virtual object LastLoginTime - { - get => _lastLoginTime; - set - { - _lastLoginTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _lastLoginTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? LastLoginTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(LastLoginTimeRaw); - set => LastLoginTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// Output only. The resource name of the user. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Output only. The unique ID of the user. Assigned by the system. - [Newtonsoft.Json.JsonPropertyAttribute("userId")] - public virtual System.Nullable UserId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// User rewarded content targeting option details. This will be populated in the user_rewarded_content_details - /// field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`. - /// - public class UserRewardedContentAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// Output only. User rewarded content status for video ads. - [Newtonsoft.Json.JsonPropertyAttribute("userRewardedContent")] - public virtual string UserRewardedContent { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable user rewarded content status for video ads only. This will be populated in the - /// user_rewarded_content_details field when targeting_type is `TARGETING_TYPE_USER_REWARDED_CONTENT`. - /// - public class UserRewardedContentTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. User rewarded content status for video ads. - [Newtonsoft.Json.JsonPropertyAttribute("userRewardedContent")] - public virtual string UserRewardedContent { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Video player size targeting option details. This will be populated in the video_player_size_details field when - /// targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. Explicitly targeting all options is not supported. Remove - /// all video player size targeting options to achieve this effect. - /// - public class VideoPlayerSizeAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// Required. The video player size. - [Newtonsoft.Json.JsonPropertyAttribute("videoPlayerSize")] - public virtual string VideoPlayerSize { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable video player size. This will be populated in the video_player_size_details field when - /// targeting_type is `TARGETING_TYPE_VIDEO_PLAYER_SIZE`. - /// - public class VideoPlayerSizeTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The video player size. - [Newtonsoft.Json.JsonPropertyAttribute("videoPlayerSize")] - public virtual string VideoPlayerSize { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Assigned viewability targeting option details. This will be populated in the viewability_details field of an - /// AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`. - /// - public class ViewabilityAssignedTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. The targeting_option_id of a TargetingOption of type `TARGETING_TYPE_VIEWABILITY` (e.g., "509010" - /// for targeting the `VIEWABILITY_10_PERCENT_OR_MORE` option). - /// - [Newtonsoft.Json.JsonPropertyAttribute("targetingOptionId")] - public virtual string TargetingOptionId { get; set; } - - /// Required. The predicted viewability percentage. - [Newtonsoft.Json.JsonPropertyAttribute("viewability")] - public virtual string Viewability { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Represents a targetable viewability. This will be populated in the viewability_details field of a - /// TargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`. - /// - public class ViewabilityTargetingOptionDetails : Google.Apis.Requests.IDirectResponseSchema - { - /// Output only. The predicted viewability percentage. - [Newtonsoft.Json.JsonPropertyAttribute("viewability")] - public virtual string Viewability { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } -} diff --git a/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj b/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj deleted file mode 100644 index 7162522f3c..0000000000 --- a/Src/Generated/Google.Apis.DisplayVideo.v1/Google.Apis.DisplayVideo.v1.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Google.Apis.DisplayVideo.v1 Client Library - 1.66.0.3318 - Google LLC - Copyright 2024 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 Displayvideo 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 - - More documentation on the API is available at: - https://developers.google.com/api-client-library/dotnet/apis/displayvideo/v1 - - The package source code is available at: - https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated - - - - - - - - - - - netstandard2.0;net462;net6.0 - true - ..\..\..\google.apis.snk - portable - true - 1570,1587,1591 - - - - - - - - - - - - diff --git a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs index bf744b99b5..ab2e0c1259 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs +++ b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.cs @@ -49,6 +49,8 @@ public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer in Sdfdownloadtasks = new SdfdownloadtasksResource(this); TargetingTypes = new TargetingTypesResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://displayvideo.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://displayvideo.googleapis.com/batch"); } /// Gets the service supported features. @@ -58,13 +60,13 @@ public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "displayvideo"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://displayvideo.googleapis.com/"; + 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 => "https://displayvideo.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj index 7961788220..fdd0eef6a0 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj +++ b/Src/Generated/Google.Apis.DisplayVideo.v2/Google.Apis.DisplayVideo.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DisplayVideo.v2 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs index ea583ad6c0..25282aef34 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs +++ b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.cs @@ -49,6 +49,8 @@ public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer in Sdfdownloadtasks = new SdfdownloadtasksResource(this); TargetingTypes = new TargetingTypesResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://displayvideo.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://displayvideo.googleapis.com/batch"); } /// Gets the service supported features. @@ -58,13 +60,13 @@ public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "displayvideo"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://displayvideo.googleapis.com/"; + 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 => "https://displayvideo.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj index 33205a0bbd..8784c3ff2c 100644 --- a/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj +++ b/Src/Generated/Google.Apis.DisplayVideo.v3/Google.Apis.DisplayVideo.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.DisplayVideo.v3 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DisplayVideo.v4/Google.Apis.DisplayVideo.v4.cs b/Src/Generated/Google.Apis.DisplayVideo.v4/Google.Apis.DisplayVideo.v4.cs deleted file mode 100644 index 9ac28849ee..0000000000 --- a/Src/Generated/Google.Apis.DisplayVideo.v4/Google.Apis.DisplayVideo.v4.cs +++ /dev/null @@ -1,799 +0,0 @@ -// Copyright 2024 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.DisplayVideo.v4 -{ - /// The DisplayVideo Service. - public class DisplayVideoService : Google.Apis.Services.BaseClientService - { - /// The API version. - public const string Version = "v4"; - - /// 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 DisplayVideoService() : this(new Google.Apis.Services.BaseClientService.Initializer()) - { - } - - /// Constructs a new service. - /// The service initializer. - public DisplayVideoService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) - { - Media = new MediaResource(this); - Sdfdownloadtasks = new SdfdownloadtasksResource(this); - } - - /// Gets the service supported features. - public override System.Collections.Generic.IList Features => new string[0]; - - /// Gets the service name. - public override string Name => "displayvideo"; - - /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://displayvideo.googleapis.com/"; - - /// Gets the service base path. - public override string BasePath => ""; - - /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://displayvideo.googleapis.com/batch"; - - /// Gets the batch base path; null if unspecified. - public override string BatchPath => "batch"; - - /// Available OAuth 2.0 scopes for use with the Display & Video 360 API. - public class Scope - { - /// - /// Create, see, edit, and permanently delete your Display &amp; Video 360 entities and reports - /// - public static string DisplayVideo = "https://www.googleapis.com/auth/display-video"; - - /// View and manage your reports in DoubleClick Bid Manager - public static string Doubleclickbidmanager = "https://www.googleapis.com/auth/doubleclickbidmanager"; - } - - /// Available OAuth 2.0 scope constants for use with the Display & Video 360 API. - public static class ScopeConstants - { - /// - /// Create, see, edit, and permanently delete your Display &amp; Video 360 entities and reports - /// - public const string DisplayVideo = "https://www.googleapis.com/auth/display-video"; - - /// View and manage your reports in DoubleClick Bid Manager - public const string Doubleclickbidmanager = "https://www.googleapis.com/auth/doubleclickbidmanager"; - } - - /// Gets the Media resource. - public virtual MediaResource Media { get; } - - /// Gets the Sdfdownloadtasks resource. - public virtual SdfdownloadtasksResource Sdfdownloadtasks { get; } - } - - /// A base abstract class for DisplayVideo requests. - public abstract class DisplayVideoBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest - { - /// Constructs a new DisplayVideoBaseServiceRequest instance. - protected DisplayVideoBaseServiceRequest(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 DisplayVideo 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 "media" collection of methods. - public class MediaResource - { - private const string Resource = "media"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public MediaResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: - /// Download requests will not be successful without including `alt=media` query string. - /// - /// - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - /// - public virtual DownloadRequest Download(string resourceName) - { - return new DownloadRequest(this.service, resourceName); - } - - /// - /// Downloads media. Download is supported on the URI `/download/{resource_name=**}?alt=media.` **Note**: - /// Download requests will not be successful without including `alt=media` query string. - /// - public class DownloadRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Download request. - public DownloadRequest(Google.Apis.Services.IClientService service, string resourceName) : base(service) - { - ResourceName = resourceName; - MediaDownloader = new Google.Apis.Download.MediaDownloader(service); - InitParameters(); - } - - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ResourceName { get; private set; } - - /// Gets the method name. - public override string MethodName => "download"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "download/{+resourceName}"; - - /// Initializes Download parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("resourceName", new Google.Apis.Discovery.Parameter - { - Name = "resourceName", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^.*$", - }); - } - - /// Gets the media downloader. - public Google.Apis.Download.IMediaDownloader MediaDownloader { get; private set; } - - /// - /// Synchronously download the media into the given stream. - /// - /// Warning: This method hides download errors; use - /// instead. - /// - /// - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual void Download(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Synchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - /// The final status of the download; including whether the download succeeded or failed. - public virtual Google.Apis.Download.IDownloadProgress DownloadWithStatus(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream, - System.Threading.CancellationToken cancellationToken) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - - /// Synchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.Stream stream, System.Net.Http.Headers.RangeHeaderValue range) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadRangeAsync(System.IO.Stream stream, - System.Net.Http.Headers.RangeHeaderValue range, - System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - } - - /// - /// Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` - /// **Note**: Upload requests will not be successful without including `upload_type=media` query string. - /// - /// The body of the request. - /// - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - /// - public virtual UploadRequest Upload(Google.Apis.DisplayVideo.v4.Data.GoogleBytestreamMedia body, string resourceName) - { - return new UploadRequest(this.service, body, resourceName); - } - - /// - /// Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` - /// **Note**: Upload requests will not be successful without including `upload_type=media` query string. - /// - public class UploadRequest : DisplayVideoBaseServiceRequest - { - /// Constructs a new Upload request. - public UploadRequest(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v4.Data.GoogleBytestreamMedia body, string resourceName) : base(service) - { - ResourceName = resourceName; - Body = body; - InitParameters(); - } - - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ResourceName { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DisplayVideo.v4.Data.GoogleBytestreamMedia Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "upload"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "media/{+resourceName}"; - - /// Initializes Upload parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("resourceName", new Google.Apis.Discovery.Parameter - { - Name = "resourceName", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^.*$", - }); - } - } - - /// - /// Uploads media. Upload is supported on the URI `/upload/media/{resource_name=**}?upload_type=media.` - /// **Note**: Upload requests will not be successful without including `upload_type=media` query string. - /// - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before reading - /// commences. If is not seekable, then it will be read from its current position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - /// The body of the request. - /// - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - /// - /// The stream to upload. See remarks for further information. - /// The content type of the stream to upload. - public virtual UploadMediaUpload Upload(Google.Apis.DisplayVideo.v4.Data.GoogleBytestreamMedia body, string resourceName, System.IO.Stream stream, string contentType) - { - return new UploadMediaUpload(service, body, resourceName, stream, contentType); - } - - /// Upload media upload which supports resumable upload. - public class UploadMediaUpload : Google.Apis.Upload.ResumableUpload - { - /// 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; } - - /// Name of the media that is being downloaded. See ReadRequest.resource_name. - [Google.Apis.Util.RequestParameterAttribute("resourceName", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ResourceName { get; private set; } - - /// Constructs a new Upload media upload instance. - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before - /// reading commences. If is not seekable, then it will be read from its current - /// position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - public UploadMediaUpload(Google.Apis.Services.IClientService service, Google.Apis.DisplayVideo.v4.Data.GoogleBytestreamMedia body, string resourceName, System.IO.Stream stream, string contentType) - : base(service, string.Format("/{0}/{1}{2}", "upload", service.BasePath, "media/{+resourceName}"), "POST", stream, contentType) - { - ResourceName = resourceName; - Body = body; - } - } - } - - /// The "sdfdownloadtasks" collection of methods. - public class SdfdownloadtasksResource - { - private const string Resource = "sdfdownloadtasks"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public SdfdownloadtasksResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Operations = new OperationsResource(service); - } - - /// 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; - } - - /// - /// Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at - /// intervals of 30 seconds. - /// - /// The name of the operation resource. - public virtual GetRequest Get(string name) - { - return new GetRequest(this.service, name); - } - - /// - /// Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at - /// intervals of 30 seconds. - /// - public class GetRequest : DisplayVideoBaseServiceRequest - { - /// 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 => "v4/{+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 = @"^sdfdownloadtasks/operations/[^/]+$", - }); - } - } - } - } -} -namespace Google.Apis.DisplayVideo.v4.Data -{ - /// Media resource. - public class GoogleBytestreamMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// Name of the media resource. - [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] - public virtual string ResourceName { 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; } - } - - /// - /// 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; } - } -} diff --git a/Src/Generated/Google.Apis.DisplayVideo.v4/Google.Apis.DisplayVideo.v4.csproj b/Src/Generated/Google.Apis.DisplayVideo.v4/Google.Apis.DisplayVideo.v4.csproj deleted file mode 100644 index e4e9c26fa8..0000000000 --- a/Src/Generated/Google.Apis.DisplayVideo.v4/Google.Apis.DisplayVideo.v4.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Google.Apis.DisplayVideo.v4 Client Library - 1.66.0.3304 - Google LLC - Copyright 2024 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 Displayvideo v4. - - 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 - - More documentation on the API is available at: - https://developers.google.com/api-client-library/dotnet/apis/displayvideo/v4 - - The package source code is available at: - https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated - - - - - - - - - - - netstandard2.0;net462;net6.0 - true - ..\..\..\google.apis.snk - portable - true - 1570,1587,1591 - - - - - - - - - - - - diff --git a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs index fe833795a6..0fc805e3a7 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs +++ b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.cs @@ -43,6 +43,8 @@ public DnsService(Google.Apis.Services.BaseClientService.Initializer initializer ResourceRecordSets = new ResourceRecordSetsResource(this); ResponsePolicies = new ResponsePoliciesResource(this); ResponsePolicyRules = new ResponsePolicyRulesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dns.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dns.googleapis.com/batch"); } /// Gets the service supported features. @@ -52,13 +54,13 @@ public DnsService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "dns"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dns.googleapis.com/"; + 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 => "https://dns.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj index 57b0767621..862092f3d1 100644 --- a/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj +++ b/Src/Generated/Google.Apis.Dns.v1/Google.Apis.Dns.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dns.v1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs index d663875278..1c1355413e 100644 --- a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs +++ b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.cs @@ -43,6 +43,8 @@ public DnsService(Google.Apis.Services.BaseClientService.Initializer initializer ResourceRecordSets = new ResourceRecordSetsResource(this); ResponsePolicies = new ResponsePoliciesResource(this); ResponsePolicyRules = new ResponsePolicyRulesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://dns.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://dns.googleapis.com/batch"); } /// Gets the service supported features. @@ -52,13 +54,13 @@ public DnsService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "dns"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://dns.googleapis.com/"; + 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 => "https://dns.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj index b997346505..af7d5fcb93 100644 --- a/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Dns.v1beta2/Google.Apis.Dns.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dns.v1beta2 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs index 31419c5924..cc8d937fe4 100644 --- a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs +++ b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs @@ -35,6 +35,8 @@ public DocsService() : this(new Google.Apis.Services.BaseClientService.Initializ public DocsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Documents = new DocumentsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://docs.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://docs.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DocsService(Google.Apis.Services.BaseClientService.Initializer initialize public override string Name => "docs"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://docs.googleapis.com/"; + 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 => "https://docs.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj index 776a43a1a4..5739260674 100644 --- a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj +++ b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Docs.v1 Client Library - 1.66.0.3193 + 1.67.0.3193 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs index ed998e613b..f9ada7cfb4 100644 --- a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs +++ b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.cs @@ -36,6 +36,8 @@ public DocumentService(Google.Apis.Services.BaseClientService.Initializer initia { Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://documentai.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://documentai.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public DocumentService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "documentai"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://documentai.googleapis.com/"; + 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 => "https://documentai.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj index ffca66cf7b..c6c754960a 100644 --- a/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj +++ b/Src/Generated/Google.Apis.Document.v1/Google.Apis.Document.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Document.v1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.cs b/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.cs index d3e8a05663..2141dd8e9e 100644 --- a/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.cs +++ b/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.cs @@ -35,6 +35,8 @@ public DocumentService() : this(new Google.Apis.Services.BaseClientService.Initi public DocumentService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://documentai.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://documentai.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DocumentService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "documentai"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://documentai.googleapis.com/"; + 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 => "https://documentai.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.csproj b/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.csproj index 832a34f8a6..068f41d9ec 100644 --- a/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Document.v1beta2/Google.Apis.Document.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Document.v1beta2 Client Library - 1.66.0.3298 + 1.67.0.3298 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs index 0690a14e3e..c1c2cadafc 100644 --- a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs +++ b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.cs @@ -35,6 +35,8 @@ public DocumentService() : this(new Google.Apis.Services.BaseClientService.Initi public DocumentService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://documentai.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://documentai.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DocumentService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "documentai"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://documentai.googleapis.com/"; + 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 => "https://documentai.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj index 21d2625aa7..2261f55df2 100644 --- a/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj +++ b/Src/Generated/Google.Apis.Document.v1beta3/Google.Apis.Document.v1beta3.csproj @@ -3,7 +3,7 @@ Google.Apis.Document.v1beta3 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.cs b/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.cs index 1249ceaefb..7bf856dcfa 100644 --- a/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.cs +++ b/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.cs @@ -40,6 +40,8 @@ public DomainsRDAPService(Google.Apis.Services.BaseClientService.Initializer ini Ip = new IpResource(this); Nameserver = new NameserverResource(this); V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://domainsrdap.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://domainsrdap.googleapis.com/batch"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public DomainsRDAPService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "domainsrdap"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://domainsrdap.googleapis.com/"; + 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 => "https://domainsrdap.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.csproj b/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.csproj index 78161776f4..d49c4c5b58 100644 --- a/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.csproj +++ b/Src/Generated/Google.Apis.DomainsRDAP.v1/Google.Apis.DomainsRDAP.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DomainsRDAP.v1 Client Library - 1.66.0.2239 + 1.67.0.2239 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.cs b/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.cs index fcd0a7221d..8f96bba35d 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.cs +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.cs @@ -35,6 +35,8 @@ public DoubleClickBidManagerService() : this(new Google.Apis.Services.BaseClient public DoubleClickBidManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Queries = new QueriesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://doubleclickbidmanager.googleapis.com/v2/"); + BatchUri = GetEffectiveUri(null, "https://doubleclickbidmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DoubleClickBidManagerService(Google.Apis.Services.BaseClientService.Initi public override string Name => "doubleclickbidmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://doubleclickbidmanager.googleapis.com/v2/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "v2/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://doubleclickbidmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.csproj b/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.csproj index 9af3c71889..51c7b25dad 100644 --- a/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.csproj +++ b/Src/Generated/Google.Apis.DoubleClickBidManager.v2/Google.Apis.DoubleClickBidManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DoubleClickBidManager.v2 Client Library - 1.66.0.3105 + 1.67.0.3105 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs index f6871b4825..5a6d7bedde 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs @@ -37,6 +37,8 @@ public DoubleclicksearchService(Google.Apis.Services.BaseClientService.Initializ Conversion = new ConversionResource(this); Reports = new ReportsResource(this); SavedColumns = new SavedColumnsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://doubleclicksearch.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://doubleclicksearch.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public DoubleclicksearchService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "doubleclicksearch"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://doubleclicksearch.googleapis.com/"; + 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 => "https://doubleclicksearch.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj index 5ed9ca445e..703a161ba6 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Doubleclicksearch.v2 Client Library - 1.66.0.3310 + 1.67.0.3310 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs index c6e5229309..0a0a174cd2 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs @@ -48,6 +48,8 @@ public DriveService(Google.Apis.Services.BaseClientService.Initializer initializ Replies = new RepliesResource(this); Revisions = new RevisionsResource(this); Teamdrives = new TeamdrivesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/drive/v2/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/drive/v2"); } /// Gets the service supported features. @@ -57,13 +59,13 @@ public DriveService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "drive"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/drive/v2/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "drive/v2/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/drive/v2"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/drive/v2"; diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj index 6b3da76e23..9e0bbbfe15 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Drive.v2 Client Library - 1.66.0.3296 + 1.67.0.3296 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs index 4b6a71cb7f..7b41c85fc6 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs @@ -45,6 +45,8 @@ public DriveService(Google.Apis.Services.BaseClientService.Initializer initializ Replies = new RepliesResource(this); Revisions = new RevisionsResource(this); Teamdrives = new TeamdrivesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/drive/v3/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/drive/v3"); } /// Gets the service supported features. @@ -54,13 +56,13 @@ public DriveService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "drive"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/drive/v3/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "drive/v3/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/drive/v3"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/drive/v3"; diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj index b9d8202d0d..7a6119565d 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Drive.v3 Client Library - 1.66.0.3309 + 1.67.0.3309 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs index dd20cf0953..50dd35c809 100644 --- a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs +++ b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.cs @@ -35,6 +35,8 @@ public DriveActivityService() : this(new Google.Apis.Services.BaseClientService. public DriveActivityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Activity = new ActivityResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://driveactivity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://driveactivity.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public DriveActivityService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "driveactivity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://driveactivity.googleapis.com/"; + 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 => "https://driveactivity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj index 2b0bdd9816..840852721f 100644 --- a/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj +++ b/Src/Generated/Google.Apis.DriveActivity.v2/Google.Apis.DriveActivity.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DriveActivity.v2 Client Library - 1.66.0.3106 + 1.67.0.3106 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.cs b/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.cs index db44c20149..d9c4829c65 100644 --- a/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.cs +++ b/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.cs @@ -37,6 +37,8 @@ public DriveLabelsService(Google.Apis.Services.BaseClientService.Initializer ini Labels = new LabelsResource(this); Limits = new LimitsResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://drivelabels.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://drivelabels.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public DriveLabelsService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "drivelabels"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://drivelabels.googleapis.com/"; + 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 => "https://drivelabels.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.csproj b/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.csproj index 4ab4218bc4..16f8493b8a 100644 --- a/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.csproj +++ b/Src/Generated/Google.Apis.DriveLabels.v2/Google.Apis.DriveLabels.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.DriveLabels.v2 Client Library - 1.66.0.3273 + 1.67.0.3273 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.cs b/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.cs index 70742851d3..d8c720ed54 100644 --- a/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.cs +++ b/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.cs @@ -37,6 +37,8 @@ public DriveLabelsService(Google.Apis.Services.BaseClientService.Initializer ini Labels = new LabelsResource(this); Limits = new LimitsResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://drivelabels.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://drivelabels.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public DriveLabelsService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "drivelabels"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://drivelabels.googleapis.com/"; + 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 => "https://drivelabels.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.csproj b/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.csproj index 4b47ec7e43..0fb8fab197 100644 --- a/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.csproj +++ b/Src/Generated/Google.Apis.DriveLabels.v2beta/Google.Apis.DriveLabels.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.DriveLabels.v2beta Client Library - 1.66.0.3273 + 1.67.0.3273 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.cs b/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.cs index 9008604727..cad450f085 100644 --- a/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.cs +++ b/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.cs @@ -37,6 +37,8 @@ public EssentialcontactsService(Google.Apis.Services.BaseClientService.Initializ Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://essentialcontacts.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://essentialcontacts.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public EssentialcontactsService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "essentialcontacts"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://essentialcontacts.googleapis.com/"; + 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 => "https://essentialcontacts.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.csproj b/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.csproj index 675c766f1a..439577ab71 100644 --- a/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.csproj +++ b/Src/Generated/Google.Apis.Essentialcontacts.v1/Google.Apis.Essentialcontacts.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Essentialcontacts.v1 Client Library - 1.66.0.2861 + 1.67.0.2861 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs index eb1c66d6ae..b9f090f64e 100644 --- a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs +++ b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.cs @@ -35,6 +35,8 @@ public EventarcService() : this(new Google.Apis.Services.BaseClientService.Initi public EventarcService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://eventarc.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://eventarc.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public EventarcService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "eventarc"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://eventarc.googleapis.com/"; + 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 => "https://eventarc.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj index ae924137af..629ff0568c 100644 --- a/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj +++ b/Src/Generated/Google.Apis.Eventarc.v1/Google.Apis.Eventarc.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Eventarc.v1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.cs b/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.cs index f132844355..b0cd7995f7 100644 --- a/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.cs +++ b/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.cs @@ -35,6 +35,8 @@ public EventarcService() : this(new Google.Apis.Services.BaseClientService.Initi public EventarcService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://eventarc.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://eventarc.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public EventarcService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "eventarc"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://eventarc.googleapis.com/"; + 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 => "https://eventarc.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.csproj b/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.csproj index 476510930f..991b28cdf0 100644 --- a/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Eventarc.v1beta1/Google.Apis.Eventarc.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Eventarc.v1beta1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs index 13ab39fee6..8618676585 100644 --- a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs +++ b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.cs @@ -36,6 +36,8 @@ public FactCheckToolsService(Google.Apis.Services.BaseClientService.Initializer { Claims = new ClaimsResource(this); Pages = new PagesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://factchecktools.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://factchecktools.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public FactCheckToolsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "factchecktools"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://factchecktools.googleapis.com/"; + 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 => "https://factchecktools.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj index 443d464549..01278ad722 100644 --- a/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.FactCheckTools.v1alpha1/Google.Apis.FactCheckTools.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.FactCheckTools.v1alpha1 Client Library - 1.66.0.2632 + 1.67.0.2632 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.cs b/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.cs index e48b20b679..c054556a5c 100644 --- a/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.cs +++ b/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.cs @@ -35,6 +35,8 @@ public FcmdataService() : this(new Google.Apis.Services.BaseClientService.Initia public FcmdataService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://fcmdata.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://fcmdata.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FcmdataService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "fcmdata"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://fcmdata.googleapis.com/"; + 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 => "https://fcmdata.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.csproj b/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.csproj index dffb0a7520..717fd378d7 100644 --- a/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Fcmdata.v1beta1/Google.Apis.Fcmdata.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Fcmdata.v1beta1 Client Library - 1.66.0.2651 + 1.67.0.2651 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs index 1ab35b3667..43f5a6d9b9 100644 --- a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs @@ -36,6 +36,8 @@ public FirebaseAppDistributionService(Google.Apis.Services.BaseClientService.Ini { Media = new MediaResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaseappdistribution.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaseappdistribution.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public FirebaseAppDistributionService(Google.Apis.Services.BaseClientService.Ini public override string Name => "firebaseappdistribution"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaseappdistribution.googleapis.com/"; + 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 => "https://firebaseappdistribution.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj index 58a0d79f29..4bc0af7096 100644 --- a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseAppDistribution.v1 Client Library - 1.66.0.3142 + 1.67.0.3142 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.cs b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.cs index b4fa6809b4..3d10f3057e 100644 --- a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.cs +++ b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.cs @@ -36,6 +36,8 @@ public FirebaseAppDistributionService(Google.Apis.Services.BaseClientService.Ini { Apps = new AppsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaseappdistribution.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaseappdistribution.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public FirebaseAppDistributionService(Google.Apis.Services.BaseClientService.Ini public override string Name => "firebaseappdistribution"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaseappdistribution.googleapis.com/"; + 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 => "https://firebaseappdistribution.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.csproj b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.csproj index 79ffaf8772..7a91a3d8ff 100644 --- a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.csproj +++ b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1alpha/Google.Apis.FirebaseAppDistribution.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseAppDistribution.v1alpha Client Library - 1.66.0.3289 + 1.67.0.3289 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.cs b/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.cs index e237eeee6f..afa0d83fd8 100644 --- a/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.cs @@ -35,6 +35,8 @@ public FirebaseCloudMessagingService() : this(new Google.Apis.Services.BaseClien public FirebaseCloudMessagingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://fcm.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://fcm.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirebaseCloudMessagingService(Google.Apis.Services.BaseClientService.Init public override string Name => "fcm"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://fcm.googleapis.com/"; + 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 => "https://fcm.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.csproj b/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.csproj index 396293dc56..3c741b4c0b 100644 --- a/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseCloudMessaging.v1/Google.Apis.FirebaseCloudMessaging.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseCloudMessaging.v1 Client Library - 1.66.0.3098 + 1.67.0.3098 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs index ae18ad3175..9131db24af 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.cs @@ -37,6 +37,8 @@ public FirebaseDynamicLinksService(Google.Apis.Services.BaseClientService.Initia ManagedShortLinks = new ManagedShortLinksResource(this); ShortLinks = new ShortLinksResource(this); V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebasedynamiclinks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebasedynamiclinks.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public FirebaseDynamicLinksService(Google.Apis.Services.BaseClientService.Initia public override string Name => "firebasedynamiclinks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebasedynamiclinks.googleapis.com/"; + 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 => "https://firebasedynamiclinks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj index 28b2a281c8..ff32a9311f 100644 --- a/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseDynamicLinks.v1/Google.Apis.FirebaseDynamicLinks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseDynamicLinks.v1 Client Library - 1.66.0.3232 + 1.67.0.3232 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.cs b/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.cs index e10d4f8941..4d9316e649 100644 --- a/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.cs @@ -36,6 +36,8 @@ public FirebaseHostingService(Google.Apis.Services.BaseClientService.Initializer { Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebasehosting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebasehosting.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public FirebaseHostingService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "firebasehosting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebasehosting.googleapis.com/"; + 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 => "https://firebasehosting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.csproj b/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.csproj index 90bebef8e8..75927e02be 100644 --- a/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseHosting.v1/Google.Apis.FirebaseHosting.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseHosting.v1 Client Library - 1.66.0.3177 + 1.67.0.3177 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.cs b/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.cs index a7dc22b4ed..155884ef9b 100644 --- a/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.cs +++ b/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.cs @@ -36,6 +36,8 @@ public FirebaseHostingService(Google.Apis.Services.BaseClientService.Initializer { Projects = new ProjectsResource(this); Sites = new SitesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebasehosting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebasehosting.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public FirebaseHostingService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "firebasehosting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebasehosting.googleapis.com/"; + 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 => "https://firebasehosting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.csproj b/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.csproj index 39409fcce8..593f6070a0 100644 --- a/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.csproj +++ b/Src/Generated/Google.Apis.FirebaseHosting.v1beta1/Google.Apis.FirebaseHosting.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseHosting.v1beta1 Client Library - 1.66.0.3177 + 1.67.0.3177 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs index 7bcc83b764..b613ef755a 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs @@ -35,6 +35,8 @@ public FirebaseMLService() : this(new Google.Apis.Services.BaseClientService.Ini public FirebaseMLService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Operations = new OperationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaseml.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaseml.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirebaseMLService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "firebaseml"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaseml.googleapis.com/"; + 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 => "https://firebaseml.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj index c770ecdad9..002a1969e8 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v1 Client Library - 1.66.0.3135 + 1.67.0.3135 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.cs b/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.cs index bd6a3e7679..cc3bd66fa3 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.cs @@ -35,6 +35,8 @@ public FirebaseMLService() : this(new Google.Apis.Services.BaseClientService.Ini public FirebaseMLService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaseml.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaseml.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirebaseMLService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "firebaseml"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaseml.googleapis.com/"; + 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 => "https://firebaseml.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.csproj b/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.csproj index 08a9fb757e..f33cb67fc7 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v1beta2/Google.Apis.FirebaseML.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v1beta2 Client Library - 1.66.0.3135 + 1.67.0.3135 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs index 9fa604ed53..02b66703c2 100644 --- a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.cs @@ -37,6 +37,8 @@ public FirebaseManagementService(Google.Apis.Services.BaseClientService.Initiali AvailableProjects = new AvailableProjectsResource(this); Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebase.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebase.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public FirebaseManagementService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "firebase"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebase.googleapis.com/"; + 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 => "https://firebase.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj index 5baa2e8a8c..9fa59024ae 100644 --- a/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.FirebaseManagement.v1beta1/Google.Apis.FirebaseManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseManagement.v1beta1 Client Library - 1.66.0.3182 + 1.67.0.3182 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.cs b/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.cs index 0c19c8ffd4..5e8602fc56 100644 --- a/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.cs +++ b/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.cs @@ -35,6 +35,8 @@ public FirebaseRealtimeDatabaseService() : this(new Google.Apis.Services.BaseCli public FirebaseRealtimeDatabaseService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebasedatabase.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebasedatabase.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirebaseRealtimeDatabaseService(Google.Apis.Services.BaseClientService.In public override string Name => "firebasedatabase"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebasedatabase.googleapis.com/"; + 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 => "https://firebasedatabase.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.csproj b/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.csproj index 70b0896033..1ad782b769 100644 --- a/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.csproj +++ b/Src/Generated/Google.Apis.FirebaseRealtimeDatabase.v1beta/Google.Apis.FirebaseRealtimeDatabase.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseRealtimeDatabase.v1beta Client Library - 1.66.0.2911 + 1.67.0.2911 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs index 944f3ab769..96ff909baa 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.cs @@ -35,6 +35,8 @@ public FirebaseRulesService() : this(new Google.Apis.Services.BaseClientService. public FirebaseRulesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaserules.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaserules.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirebaseRulesService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "firebaserules"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaserules.googleapis.com/"; + 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 => "https://firebaserules.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj index 7e568b7b59..44f2ab77d0 100644 --- a/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseRules.v1/Google.Apis.FirebaseRules.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseRules.v1 Client Library - 1.66.0.3245 + 1.67.0.3245 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.cs b/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.cs index ade474e49b..047891a584 100644 --- a/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.cs +++ b/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.cs @@ -36,6 +36,8 @@ public FirebaseappcheckService(Google.Apis.Services.BaseClientService.Initialize { Jwks = new JwksResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaseappcheck.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaseappcheck.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public FirebaseappcheckService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "firebaseappcheck"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaseappcheck.googleapis.com/"; + 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 => "https://firebaseappcheck.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.csproj b/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.csproj index c3110bcf46..0d5edaea42 100644 --- a/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.csproj +++ b/Src/Generated/Google.Apis.Firebaseappcheck.v1/Google.Apis.Firebaseappcheck.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Firebaseappcheck.v1 Client Library - 1.66.0.3203 + 1.67.0.3203 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.cs b/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.cs index dd2d4d9c31..ec150ed534 100644 --- a/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.cs +++ b/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.cs @@ -37,6 +37,8 @@ public FirebaseappcheckService(Google.Apis.Services.BaseClientService.Initialize Jwks = new JwksResource(this); OauthClients = new OauthClientsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebaseappcheck.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebaseappcheck.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public FirebaseappcheckService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "firebaseappcheck"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebaseappcheck.googleapis.com/"; + 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 => "https://firebaseappcheck.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.csproj b/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.csproj index d156784344..4307cfc6a9 100644 --- a/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.csproj +++ b/Src/Generated/Google.Apis.Firebaseappcheck.v1beta/Google.Apis.Firebaseappcheck.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Firebaseappcheck.v1beta Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.cs b/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.cs index eab06ed35c..df9f03dc53 100644 --- a/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.cs +++ b/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.cs @@ -35,6 +35,8 @@ public FirebasestorageService() : this(new Google.Apis.Services.BaseClientServic public FirebasestorageService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firebasestorage.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firebasestorage.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirebasestorageService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "firebasestorage"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firebasestorage.googleapis.com/"; + 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 => "https://firebasestorage.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.csproj b/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.csproj index 005f3ac9e1..654988e6a2 100644 --- a/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.csproj +++ b/Src/Generated/Google.Apis.Firebasestorage.v1beta/Google.Apis.Firebasestorage.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Firebasestorage.v1beta Client Library - 1.66.0.3158 + 1.67.0.3158 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs index 2d178dbbe8..f34900e8ba 100644 --- a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs +++ b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs @@ -35,6 +35,8 @@ public FirestoreService() : this(new Google.Apis.Services.BaseClientService.Init public FirestoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firestore.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firestore.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirestoreService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "firestore"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firestore.googleapis.com/"; + 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 => "https://firestore.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj index 6b1dd01d7b..9b7407580f 100644 --- a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj +++ b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Firestore.v1 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.cs b/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.cs index f1e7662ebd..7c77c63f27 100644 --- a/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.cs +++ b/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.cs @@ -35,6 +35,8 @@ public FirestoreService() : this(new Google.Apis.Services.BaseClientService.Init public FirestoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firestore.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firestore.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirestoreService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "firestore"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firestore.googleapis.com/"; + 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 => "https://firestore.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.csproj b/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.csproj index 149bfbb528..5eae7ebabd 100644 --- a/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Firestore.v1beta1/Google.Apis.Firestore.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Firestore.v1beta1 Client Library - 1.66.0.3332 + 1.67.0.3332 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.cs b/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.cs index 600589ebd8..46eee93d96 100644 --- a/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.cs +++ b/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.cs @@ -35,6 +35,8 @@ public FirestoreService() : this(new Google.Apis.Services.BaseClientService.Init public FirestoreService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://firestore.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://firestore.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FirestoreService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "firestore"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://firestore.googleapis.com/"; + 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 => "https://firestore.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.csproj b/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.csproj index b82a1d6943..910bd662d7 100644 --- a/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Firestore.v1beta2/Google.Apis.Firestore.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Firestore.v1beta2 Client Library - 1.66.0.3169 + 1.67.0.3169 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs index 0f835f72dc..ddec9fb886 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs +++ b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.cs @@ -35,6 +35,8 @@ public FitnessService() : this(new Google.Apis.Services.BaseClientService.Initia public FitnessService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://fitness.googleapis.com/fitness/v1/users/"); + BatchUri = GetEffectiveUri(null, "https://fitness.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FitnessService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "fitness"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://fitness.googleapis.com/fitness/v1/users/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "fitness/v1/users/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://fitness.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj index 7264253755..0d817f8b94 100644 --- a/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj +++ b/Src/Generated/Google.Apis.Fitness.v1/Google.Apis.Fitness.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Fitness.v1 Client Library - 1.66.0.3232 + 1.67.0.3232 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.cs b/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.cs index b68c87cc45..f429811abc 100644 --- a/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.cs +++ b/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.cs @@ -35,6 +35,8 @@ public FormsService() : this(new Google.Apis.Services.BaseClientService.Initiali public FormsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Forms = new FormsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://forms.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://forms.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public FormsService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "forms"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://forms.googleapis.com/"; + 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 => "https://forms.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.csproj b/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.csproj index c90564844d..fcc3d796d6 100644 --- a/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.csproj +++ b/Src/Generated/Google.Apis.Forms.v1/Google.Apis.Forms.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Forms.v1 Client Library - 1.66.0.2807 + 1.67.0.2807 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs index 098b456f39..73da37f3bd 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.cs @@ -36,6 +36,8 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkehub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkehub.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "gkehub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkehub.googleapis.com/"; + 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 => "https://gkehub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj index 241429eabf..f4fa816077 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1/Google.Apis.GKEHub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1 Client Library - 1.66.0.3326 + 1.67.0.3326 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs index 615dc0c6df..cf819e44f8 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs @@ -36,6 +36,8 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkehub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkehub.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "gkehub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkehub.googleapis.com/"; + 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 => "https://gkehub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj index 2747f6f1ba..09e1d3f0a5 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1alpha Client Library - 1.66.0.3326 + 1.67.0.3326 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.cs b/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.cs index 37331bc6dc..a7e2e84dff 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.cs @@ -35,6 +35,8 @@ public GKEHubService() : this(new Google.Apis.Services.BaseClientService.Initial public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkehub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkehub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "gkehub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkehub.googleapis.com/"; + 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 => "https://gkehub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.csproj b/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.csproj index 0dff2dccd5..2184b557d9 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha2/Google.Apis.GKEHub.v1alpha2.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1alpha2 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs index 3e617439d6..8d0fb4a597 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs @@ -36,6 +36,8 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkehub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkehub.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "gkehub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkehub.googleapis.com/"; + 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 => "https://gkehub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj index 40f83f3088..871f089741 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1beta Client Library - 1.66.0.3326 + 1.67.0.3326 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.cs b/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.cs index f7bfdcda68..59568e41ee 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.cs @@ -35,6 +35,8 @@ public GKEHubService() : this(new Google.Apis.Services.BaseClientService.Initial public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkehub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkehub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "gkehub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkehub.googleapis.com/"; + 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 => "https://gkehub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.csproj b/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.csproj index a7534c6b8c..83372e4c21 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1beta1/Google.Apis.GKEHub.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1beta1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs index 08628cc349..fa64492b6e 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs +++ b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.cs @@ -35,6 +35,8 @@ public GKEHubService() : this(new Google.Apis.Services.BaseClientService.Initial public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkehub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkehub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GKEHubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "gkehub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkehub.googleapis.com/"; + 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 => "https://gkehub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj index d3b09613e2..2f695926fa 100644 --- a/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v2alpha/Google.Apis.GKEHub.v2alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v2alpha Client Library - 1.66.0.3137 + 1.67.0.3137 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs index 3db4fa926f..cf453bb899 100644 --- a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs +++ b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs @@ -35,6 +35,8 @@ public GKEOnPremService() : this(new Google.Apis.Services.BaseClientService.Init public GKEOnPremService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gkeonprem.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gkeonprem.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GKEOnPremService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "gkeonprem"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gkeonprem.googleapis.com/"; + 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 => "https://gkeonprem.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj index 5fc87a9f55..3dd6d3ed4d 100644 --- a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj +++ b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEOnPrem.v1 Client Library - 1.66.0.3310 + 1.67.0.3310 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs index d16f46ea2e..1c80854e2c 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.cs @@ -46,6 +46,8 @@ public GamesService(Google.Apis.Services.BaseClientService.Initializer initializ Scores = new ScoresResource(this); Snapshots = new SnapshotsResource(this); Stats = new StatsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://games.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://games.googleapis.com/batch"); } /// Gets the service supported features. @@ -55,13 +57,13 @@ public GamesService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "games"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://games.googleapis.com/"; + 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 => "https://games.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj index 81770848b1..c21e5113dd 100644 --- a/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj +++ b/Src/Generated/Google.Apis.Games.v1/Google.Apis.Games.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Games.v1 Client Library - 1.66.0.3163 + 1.67.0.3163 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs index bfe08e8c04..c8092c5d8e 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.cs @@ -36,6 +36,8 @@ public GamesConfigurationService(Google.Apis.Services.BaseClientService.Initiali { AchievementConfigurations = new AchievementConfigurationsResource(this); LeaderboardConfigurations = new LeaderboardConfigurationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gamesconfiguration.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gamesconfiguration.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public GamesConfigurationService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "gamesConfiguration"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gamesconfiguration.googleapis.com/"; + 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 => "https://gamesconfiguration.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.csproj b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.csproj index 67c3497291..63ddd952f4 100644 --- a/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.csproj +++ b/Src/Generated/Google.Apis.GamesConfiguration.v1configuration/Google.Apis.GamesConfiguration.v1configuration.csproj @@ -3,7 +3,7 @@ Google.Apis.GamesConfiguration.v1configuration Client Library - 1.66.0.2884 + 1.67.0.2884 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs index db7106a273..284da13a77 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.cs @@ -39,6 +39,8 @@ public GamesManagementService(Google.Apis.Services.BaseClientService.Initializer Events = new EventsResource(this); Players = new PlayersResource(this); Scores = new ScoresResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gamesmanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gamesmanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public GamesManagementService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "gamesManagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gamesmanagement.googleapis.com/"; + 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 => "https://gamesmanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj index 7e909fe6eb..45d4566e80 100644 --- a/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj +++ b/Src/Generated/Google.Apis.GamesManagement.v1management/Google.Apis.GamesManagement.v1management.csproj @@ -3,7 +3,7 @@ Google.Apis.GamesManagement.v1management Client Library - 1.66.0.2239 + 1.67.0.2239 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs index 4bdd75d706..3248d9028f 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs +++ b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs @@ -35,6 +35,8 @@ public GmailService() : this(new Google.Apis.Services.BaseClientService.Initiali public GmailService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gmail.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gmail.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GmailService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "gmail"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gmail.googleapis.com/"; + 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 => "https://gmail.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj index 1d0b4deab5..1445889cac 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj +++ b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Gmail.v1 Client Library - 1.66.0.3287 + 1.67.0.3287 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.cs b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.cs index b892daf385..8df981bc48 100644 --- a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.cs +++ b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.cs @@ -37,6 +37,8 @@ public GoogleAnalyticsAdminService(Google.Apis.Services.BaseClientService.Initia AccountSummaries = new AccountSummariesResource(this); Accounts = new AccountsResource(this); Properties = new PropertiesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analyticsadmin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://analyticsadmin.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public GoogleAnalyticsAdminService(Google.Apis.Services.BaseClientService.Initia public override string Name => "analyticsadmin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analyticsadmin.googleapis.com/"; + 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 => "https://analyticsadmin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.csproj b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.csproj index 67b8b62160..3780cc53a1 100644 --- a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1alpha/Google.Apis.GoogleAnalyticsAdmin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GoogleAnalyticsAdmin.v1alpha Client Library - 1.66.0.3301 + 1.67.0.3301 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.cs b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.cs index e3347d9df6..4caf1b6e18 100644 --- a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.cs +++ b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.cs @@ -37,6 +37,8 @@ public GoogleAnalyticsAdminService(Google.Apis.Services.BaseClientService.Initia AccountSummaries = new AccountSummariesResource(this); Accounts = new AccountsResource(this); Properties = new PropertiesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://analyticsadmin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://analyticsadmin.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public GoogleAnalyticsAdminService(Google.Apis.Services.BaseClientService.Initia public override string Name => "analyticsadmin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://analyticsadmin.googleapis.com/"; + 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 => "https://analyticsadmin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.csproj b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.csproj index ac182f13b9..98e6c1c09e 100644 --- a/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.csproj +++ b/Src/Generated/Google.Apis.GoogleAnalyticsAdmin.v1beta/Google.Apis.GoogleAnalyticsAdmin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.GoogleAnalyticsAdmin.v1beta Client Library - 1.66.0.3291 + 1.67.0.3291 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs index f2acddd15c..caad3e1c2a 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.cs @@ -35,6 +35,8 @@ public GroupsMigrationService() : this(new Google.Apis.Services.BaseClientServic public GroupsMigrationService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Archive = new ArchiveResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://groupsmigration.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://groupsmigration.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GroupsMigrationService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "groupsmigration"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://groupsmigration.googleapis.com/"; + 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 => "https://groupsmigration.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.csproj b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.csproj index 8a4fe04109..4f5f7afe13 100644 --- a/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.csproj +++ b/Src/Generated/Google.Apis.GroupsMigration.v1/Google.Apis.GroupsMigration.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.GroupsMigration.v1 Client Library - 1.66.0.2254 + 1.67.0.2254 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs index 260f4364e3..a4e175851e 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.cs @@ -35,6 +35,8 @@ public GroupssettingsService() : this(new Google.Apis.Services.BaseClientService public GroupssettingsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Groups = new GroupsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/groups/v1/groups/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/groupssettings/v1"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public GroupssettingsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "groupssettings"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/groups/v1/groups/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "groups/v1/groups/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/groupssettings/v1"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/groupssettings/v1"; diff --git a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.csproj b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.csproj index 003158e9d7..76cf6d183b 100644 --- a/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.csproj +++ b/Src/Generated/Google.Apis.Groupssettings.v1/Google.Apis.Groupssettings.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Groupssettings.v1 Client Library - 1.66.0.2366 + 1.67.0.2366 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + 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 cb32afc29f..16d6e1c2dd 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 @@ -36,6 +36,8 @@ public HangoutsChatService(Google.Apis.Services.BaseClientService.Initializer in { Media = new MediaResource(this); Spaces = new SpacesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://chat.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://chat.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public HangoutsChatService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "chat"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://chat.googleapis.com/"; + 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 => "https://chat.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 3e6eed6c1e..eb2987a026 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.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.cs b/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.cs index a9bd648aa5..3ad27e80ca 100644 --- a/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.cs +++ b/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.cs @@ -36,6 +36,8 @@ public HomeGraphServiceService(Google.Apis.Services.BaseClientService.Initialize { AgentUsers = new AgentUsersResource(this); Devices = new DevicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://homegraph.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://homegraph.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public HomeGraphServiceService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "homegraph"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://homegraph.googleapis.com/"; + 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 => "https://homegraph.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.csproj b/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.csproj index c044e6b634..5bdf0f2427 100644 --- a/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.csproj +++ b/Src/Generated/Google.Apis.HomeGraphService.v1/Google.Apis.HomeGraphService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.HomeGraphService.v1 Client Library - 1.66.0.3109 + 1.67.0.3109 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.cs b/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.cs index 3b7c2d5c1a..705d3228e6 100644 --- a/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.cs +++ b/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.cs @@ -35,6 +35,8 @@ public IAMCredentialsService() : this(new Google.Apis.Services.BaseClientService public IAMCredentialsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://iamcredentials.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://iamcredentials.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public IAMCredentialsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "iamcredentials"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://iamcredentials.googleapis.com/"; + 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 => "https://iamcredentials.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.csproj b/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.csproj index 9faaf9421c..2e31dd232b 100644 --- a/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.csproj +++ b/Src/Generated/Google.Apis.IAMCredentials.v1/Google.Apis.IAMCredentials.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.IAMCredentials.v1 Client Library - 1.66.0.2528 + 1.67.0.2528 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.cs b/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.cs index 441c8fd696..9391976e79 100644 --- a/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.cs +++ b/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.cs @@ -35,6 +35,8 @@ public IDSService() : this(new Google.Apis.Services.BaseClientService.Initialize public IDSService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://ids.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://ids.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public IDSService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "ids"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://ids.googleapis.com/"; + 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 => "https://ids.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.csproj b/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.csproj index e6718d75a5..124f033187 100644 --- a/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.csproj +++ b/Src/Generated/Google.Apis.IDS.v1/Google.Apis.IDS.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.IDS.v1 Client Library - 1.66.0.3140 + 1.67.0.3140 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs index ee7a5fc900..e4bb2532b2 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs +++ b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.cs @@ -40,6 +40,8 @@ public IamService(Google.Apis.Services.BaseClientService.Initializer initializer Permissions = new PermissionsResource(this); Projects = new ProjectsResource(this); Roles = new RolesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://iam.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://iam.googleapis.com/batch"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public IamService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "iam"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://iam.googleapis.com/"; + 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 => "https://iam.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.csproj b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.csproj index c85c718974..47bae74903 100644 --- a/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.csproj +++ b/Src/Generated/Google.Apis.Iam.v1/Google.Apis.Iam.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Iam.v1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.cs b/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.cs index 702f4e2dfa..225deaf258 100644 --- a/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.cs +++ b/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.cs @@ -35,6 +35,8 @@ public IamService() : this(new Google.Apis.Services.BaseClientService.Initialize public IamService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Policies = new PoliciesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://iam.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://iam.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public IamService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "iam"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://iam.googleapis.com/"; + 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 => "https://iam.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.csproj b/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.csproj index 4eac4178f3..7a9d214667 100644 --- a/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.csproj +++ b/Src/Generated/Google.Apis.Iam.v2/Google.Apis.Iam.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Iam.v2 Client Library - 1.66.0.3294 + 1.67.0.3294 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.cs b/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.cs index a3b6ea4f90..461eea3ec6 100644 --- a/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.cs +++ b/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.cs @@ -35,6 +35,8 @@ public IamService() : this(new Google.Apis.Services.BaseClientService.Initialize public IamService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Policies = new PoliciesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://iam.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://iam.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public IamService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "iam"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://iam.googleapis.com/"; + 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 => "https://iam.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.csproj b/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.csproj index b3934114e4..018ea59f92 100644 --- a/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.csproj +++ b/Src/Generated/Google.Apis.Iam.v2beta/Google.Apis.Iam.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Iam.v2beta Client Library - 1.66.0.3294 + 1.67.0.3294 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.cs b/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.cs index caf047a747..6808df8e97 100644 --- a/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.cs +++ b/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.cs @@ -35,6 +35,8 @@ public IndexingService() : this(new Google.Apis.Services.BaseClientService.Initi public IndexingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { UrlNotifications = new UrlNotificationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://indexing.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://indexing.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public IndexingService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "indexing"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://indexing.googleapis.com/"; + 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 => "https://indexing.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.csproj b/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.csproj index 96b5a3de73..0bd8adfe82 100644 --- a/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.csproj +++ b/Src/Generated/Google.Apis.Indexing.v3/Google.Apis.Indexing.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Indexing.v3 Client Library - 1.66.0.3191 + 1.67.0.3191 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.cs b/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.cs index a20deea424..883a32bfda 100644 --- a/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.cs +++ b/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.cs @@ -36,6 +36,8 @@ public KeepService(Google.Apis.Services.BaseClientService.Initializer initialize { Media = new MediaResource(this); Notes = new NotesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://keep.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://keep.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public KeepService(Google.Apis.Services.BaseClientService.Initializer initialize public override string Name => "keep"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://keep.googleapis.com/"; + 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 => "https://keep.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.csproj b/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.csproj index e3853e4b07..94573e5189 100644 --- a/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.csproj +++ b/Src/Generated/Google.Apis.Keep.v1/Google.Apis.Keep.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Keep.v1 Client Library - 1.66.0.2637 + 1.67.0.2637 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs index fe0d67b92e..adb84b1d2a 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.cs @@ -35,6 +35,8 @@ public KgsearchService() : this(new Google.Apis.Services.BaseClientService.Initi public KgsearchService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Entities = new EntitiesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://kgsearch.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://kgsearch.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public KgsearchService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "kgsearch"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://kgsearch.googleapis.com/"; + 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 => "https://kgsearch.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.csproj b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.csproj index d10d61d0b0..547438c698 100644 --- a/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.csproj +++ b/Src/Generated/Google.Apis.Kgsearch.v1/Google.Apis.Kgsearch.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Kgsearch.v1 Client Library - 1.66.0.2143 + 1.67.0.2143 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.cs b/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.cs index 6a67c67707..2abc3cceab 100644 --- a/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.cs +++ b/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.cs @@ -36,6 +36,8 @@ public KmsinventoryService(Google.Apis.Services.BaseClientService.Initializer in { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://kmsinventory.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://kmsinventory.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public KmsinventoryService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "kmsinventory"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://kmsinventory.googleapis.com/"; + 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 => "https://kmsinventory.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.csproj b/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.csproj index 9fee588338..7b8900dfea 100644 --- a/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.csproj +++ b/Src/Generated/Google.Apis.Kmsinventory.v1/Google.Apis.Kmsinventory.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Kmsinventory.v1 Client Library - 1.66.0.3118 + 1.67.0.3118 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs index f7b2194090..d14b9c4e6c 100644 --- a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs +++ b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.cs @@ -35,6 +35,8 @@ public LibraryagentService() : this(new Google.Apis.Services.BaseClientService.I public LibraryagentService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Shelves = new ShelvesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://libraryagent.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://libraryagent.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public LibraryagentService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "libraryagent"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://libraryagent.googleapis.com/"; + 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 => "https://libraryagent.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj index 0a728a3c6b..323e6e9c8f 100644 --- a/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj +++ b/Src/Generated/Google.Apis.Libraryagent.v1/Google.Apis.Libraryagent.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Libraryagent.v1 Client Library - 1.66.0.2413 + 1.67.0.2413 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs index 3eb4333743..4c807eed0a 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs +++ b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.cs @@ -35,6 +35,8 @@ public LicensingService() : this(new Google.Apis.Services.BaseClientService.Init public LicensingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { LicenseAssignments = new LicenseAssignmentsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://licensing.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://licensing.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public LicensingService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "licensing"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://licensing.googleapis.com/"; + 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 => "https://licensing.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.csproj b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.csproj index f86bedf0c2..776ce05414 100644 --- a/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.csproj +++ b/Src/Generated/Google.Apis.Licensing.v1/Google.Apis.Licensing.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Licensing.v1 Client Library - 1.66.0.2678 + 1.67.0.2678 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.cs b/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.cs index 0525ca9626..ebdfda566b 100644 --- a/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.cs +++ b/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.cs @@ -36,6 +36,8 @@ public LocalservicesService(Google.Apis.Services.BaseClientService.Initializer i { AccountReports = new AccountReportsResource(this); DetailedLeadReports = new DetailedLeadReportsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://localservices.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://localservices.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public LocalservicesService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "localservices"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://localservices.googleapis.com/"; + 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 => "https://localservices.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.csproj b/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.csproj index 5295ec9893..44fa243c33 100644 --- a/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.csproj +++ b/Src/Generated/Google.Apis.Localservices.v1/Google.Apis.Localservices.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Localservices.v1 Client Library - 1.66.0.3337 + 1.67.0.3337 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs index bc2af692a4..761280435f 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs @@ -45,6 +45,8 @@ public LoggingService(Google.Apis.Services.BaseClientService.Initializer initial Projects = new ProjectsResource(this); Sinks = new SinksResource(this); V2 = new V2Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://logging.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://logging.googleapis.com/batch"); } /// Gets the service supported features. @@ -54,13 +56,13 @@ public LoggingService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "logging"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://logging.googleapis.com/"; + 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 => "https://logging.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj index ba43099b78..ac417208e3 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Logging.v2 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs index e6c03f06c9..fa327da45c 100644 --- a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs +++ b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs @@ -35,6 +35,8 @@ public LookerService() : this(new Google.Apis.Services.BaseClientService.Initial public LookerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://looker.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://looker.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public LookerService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "looker"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://looker.googleapis.com/"; + 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 => "https://looker.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj index 5bacabce87..19da704858 100644 --- a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj +++ b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Looker.v1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs index c35d457367..c0626101c3 100644 --- a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.cs @@ -35,6 +35,8 @@ public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService() : this(new public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://managedidentities.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://managedidentities.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.S public override string Name => "managedidentities"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://managedidentities.googleapis.com/"; + 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 => "https://managedidentities.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj index 33b2bb626f..f0e89e907f 100644 --- a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1 Client Library - 1.66.0.3298 + 1.67.0.3298 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs index 1b0fa5e3b1..27d8434b04 100644 --- a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.cs @@ -35,6 +35,8 @@ public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService() : this(new public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://managedidentities.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://managedidentities.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.S public override string Name => "managedidentities"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://managedidentities.googleapis.com/"; + 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 => "https://managedidentities.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj index 546b79ddef..418e03ad50 100644 --- a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1alpha1 Client Library - 1.66.0.3298 + 1.67.0.3298 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs index ea0511bb52..f7aec828e7 100644 --- a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.cs @@ -35,6 +35,8 @@ public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService() : this(new public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://managedidentities.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://managedidentities.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ManagedServiceforMicrosoftActiveDirectoryConsumerAPIService(Google.Apis.S public override string Name => "managedidentities"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://managedidentities.googleapis.com/"; + 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 => "https://managedidentities.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj index 0fa82291df..a82b837fae 100644 --- a/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1/Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1beta1 Client Library - 1.66.0.3298 + 1.67.0.3298 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs index 1b9f295d53..2dba7c11c0 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.cs @@ -35,6 +35,8 @@ public ManufacturerCenterService() : this(new Google.Apis.Services.BaseClientSer public ManufacturerCenterService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://manufacturers.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://manufacturers.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ManufacturerCenterService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "manufacturers"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://manufacturers.googleapis.com/"; + 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 => "https://manufacturers.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.csproj b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.csproj index aa085dc39c..9d658718cb 100644 --- a/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.csproj +++ b/Src/Generated/Google.Apis.ManufacturerCenter.v1/Google.Apis.ManufacturerCenter.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ManufacturerCenter.v1 Client Library - 1.66.0.3234 + 1.67.0.3234 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + 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 d5190eaf4a..a6ee4c0d82 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 @@ -35,6 +35,8 @@ public MapsPlacesService() : this(new Google.Apis.Services.BaseClientService.Ini public MapsPlacesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Places = new PlacesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://places.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://places.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MapsPlacesService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "places"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://places.googleapis.com/"; + 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 => "https://places.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 7f65b2710a..fccd3a2b74 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.66.0.3338 + 1.67.0.3338 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs index 13138a5d85..e28ff3672b 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs @@ -35,6 +35,8 @@ public MigrationCenterAPIService() : this(new Google.Apis.Services.BaseClientSer public MigrationCenterAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://migrationcenter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://migrationcenter.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MigrationCenterAPIService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "migrationcenter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://migrationcenter.googleapis.com/"; + 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 => "https://migrationcenter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj index a2d9fb2e1a..5c92d7c245 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1 Client Library - 1.66.0.3290 + 1.67.0.3290 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs index 9a2cf0cecb..73ff4aebde 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.cs @@ -35,6 +35,8 @@ public MigrationCenterAPIService() : this(new Google.Apis.Services.BaseClientSer public MigrationCenterAPIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://migrationcenter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://migrationcenter.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MigrationCenterAPIService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "migrationcenter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://migrationcenter.googleapis.com/"; + 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 => "https://migrationcenter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj index 7ecba5c87f..b0962f3b10 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1alpha1/Google.Apis.MigrationCenterAPI.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1alpha1 Client Library - 1.66.0.3308 + 1.67.0.3308 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs index e815bc1091..84eb688a42 100644 --- a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs +++ b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.cs @@ -37,6 +37,8 @@ public MonitoringService(Google.Apis.Services.BaseClientService.Initializer init Locations = new LocationsResource(this); Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://monitoring.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://monitoring.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public MonitoringService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "monitoring"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://monitoring.googleapis.com/"; + 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 => "https://monitoring.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj index d46911518e..fcaae016da 100644 --- a/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj +++ b/Src/Generated/Google.Apis.Monitoring.v1/Google.Apis.Monitoring.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Monitoring.v1 Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs index fa27ef1127..f4fdff6a11 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs +++ b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.cs @@ -39,6 +39,8 @@ public MonitoringService(Google.Apis.Services.BaseClientService.Initializer init Projects = new ProjectsResource(this); Services = new ServicesResource(this); UptimeCheckIps = new UptimeCheckIpsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://monitoring.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://monitoring.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public MonitoringService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "monitoring"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://monitoring.googleapis.com/"; + 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 => "https://monitoring.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.csproj b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.csproj index 2c2d39d098..cd2afd3b77 100644 --- a/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.csproj +++ b/Src/Generated/Google.Apis.Monitoring.v3/Google.Apis.Monitoring.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Monitoring.v3 Client Library - 1.66.0.3314 + 1.67.0.3314 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.cs b/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.cs index 546558ac3f..cc781d5052 100644 --- a/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.cs @@ -36,6 +36,8 @@ public MyBusinessAccountManagementService(Google.Apis.Services.BaseClientService { Accounts = new AccountsResource(this); Locations = new LocationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinessaccountmanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinessaccountmanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public MyBusinessAccountManagementService(Google.Apis.Services.BaseClientService public override string Name => "mybusinessaccountmanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinessaccountmanagement.googleapis.com/"; + 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 => "https://mybusinessaccountmanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.csproj b/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.csproj index f1871f38a4..6fcc82332a 100644 --- a/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessAccountManagement.v1/Google.Apis.MyBusinessAccountManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessAccountManagement.v1 Client Library - 1.66.0.2939 + 1.67.0.2939 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.cs b/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.cs index d3f4f015ab..2480acfaad 100644 --- a/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.cs @@ -40,6 +40,8 @@ public MyBusinessBusinessInformationService(Google.Apis.Services.BaseClientServi Chains = new ChainsResource(this); GoogleLocations = new GoogleLocationsResource(this); Locations = new LocationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinessbusinessinformation.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinessbusinessinformation.googleapis.com/batch"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public MyBusinessBusinessInformationService(Google.Apis.Services.BaseClientServi public override string Name => "mybusinessbusinessinformation"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinessbusinessinformation.googleapis.com/"; + 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 => "https://mybusinessbusinessinformation.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.csproj b/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.csproj index dda0b7b58b..08fdfa06d7 100644 --- a/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessBusinessInformation.v1/Google.Apis.MyBusinessBusinessInformation.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessBusinessInformation.v1 Client Library - 1.66.0.3254 + 1.67.0.3254 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.cs b/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.cs index 4f4685c593..f5ee05f92b 100644 --- a/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.cs @@ -35,6 +35,8 @@ public MyBusinessLodgingService() : this(new Google.Apis.Services.BaseClientServ public MyBusinessLodgingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Locations = new LocationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinesslodging.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinesslodging.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MyBusinessLodgingService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "mybusinesslodging"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinesslodging.googleapis.com/"; + 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 => "https://mybusinesslodging.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.csproj b/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.csproj index 619d0252e0..03253f3992 100644 --- a/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessLodging.v1/Google.Apis.MyBusinessLodging.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessLodging.v1 Client Library - 1.66.0.3225 + 1.67.0.3225 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.cs b/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.cs index edf8675553..a801529543 100644 --- a/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.cs @@ -35,6 +35,8 @@ public MyBusinessNotificationSettingsService() : this(new Google.Apis.Services.B public MyBusinessNotificationSettingsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinessnotifications.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinessnotifications.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MyBusinessNotificationSettingsService(Google.Apis.Services.BaseClientServ public override string Name => "mybusinessnotifications"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinessnotifications.googleapis.com/"; + 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 => "https://mybusinessnotifications.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.csproj b/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.csproj index 920a8ec4d6..f37147e074 100644 --- a/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessNotificationSettings.v1/Google.Apis.MyBusinessNotificationSettings.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessNotificationSettings.v1 Client Library - 1.66.0.3106 + 1.67.0.3106 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.cs b/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.cs index 960c2d6a53..04dcbfd3f3 100644 --- a/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.cs @@ -36,6 +36,8 @@ public MyBusinessPlaceActionsService(Google.Apis.Services.BaseClientService.Init { Locations = new LocationsResource(this); PlaceActionTypeMetadata = new PlaceActionTypeMetadataResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinessplaceactions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinessplaceactions.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public MyBusinessPlaceActionsService(Google.Apis.Services.BaseClientService.Init public override string Name => "mybusinessplaceactions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinessplaceactions.googleapis.com/"; + 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 => "https://mybusinessplaceactions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.csproj b/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.csproj index e6cb929f72..d6073c49fa 100644 --- a/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessPlaceActions.v1/Google.Apis.MyBusinessPlaceActions.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessPlaceActions.v1 Client Library - 1.66.0.2890 + 1.67.0.2890 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.cs b/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.cs index ef3206d52c..c89acaa7a4 100644 --- a/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.cs @@ -35,6 +35,8 @@ public MyBusinessQAService() : this(new Google.Apis.Services.BaseClientService.I public MyBusinessQAService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Locations = new LocationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinessqanda.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinessqanda.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MyBusinessQAService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "mybusinessqanda"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinessqanda.googleapis.com/"; + 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 => "https://mybusinessqanda.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.csproj b/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.csproj index 8eaba0cab9..5e31295154 100644 --- a/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessQA.v1/Google.Apis.MyBusinessQA.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessQA.v1 Client Library - 1.66.0.2890 + 1.67.0.2890 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.cs b/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.cs index de97e768d5..f43fdb5f85 100644 --- a/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.cs +++ b/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.cs @@ -35,6 +35,8 @@ public MyBusinessVerificationsService() : this(new Google.Apis.Services.BaseClie public MyBusinessVerificationsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Locations = new LocationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://mybusinessverifications.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://mybusinessverifications.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public MyBusinessVerificationsService(Google.Apis.Services.BaseClientService.Ini public override string Name => "mybusinessverifications"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://mybusinessverifications.googleapis.com/"; + 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 => "https://mybusinessverifications.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.csproj b/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.csproj index 666c52811e..48e364375a 100644 --- a/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.csproj +++ b/Src/Generated/Google.Apis.MyBusinessVerifications.v1/Google.Apis.MyBusinessVerifications.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MyBusinessVerifications.v1 Client Library - 1.66.0.3178 + 1.67.0.3178 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs index b912b8fb1d..74293d174c 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs +++ b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs @@ -35,6 +35,8 @@ public NetworkManagementService() : this(new Google.Apis.Services.BaseClientServ public NetworkManagementService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networkmanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networkmanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public NetworkManagementService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "networkmanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networkmanagement.googleapis.com/"; + 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 => "https://networkmanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj index 284b211d50..d191b27fb3 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs index ab85d0bc69..9c6c32eeef 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs @@ -35,6 +35,8 @@ public NetworkManagementService() : this(new Google.Apis.Services.BaseClientServ public NetworkManagementService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networkmanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networkmanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public NetworkManagementService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "networkmanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networkmanagement.googleapis.com/"; + 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 => "https://networkmanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj index a5a18a7e37..639f5d3ab0 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1beta1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.cs b/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.cs index 737333c465..aee8f3c2e3 100644 --- a/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.cs +++ b/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.cs @@ -36,6 +36,8 @@ public NetworkSecurityService(Google.Apis.Services.BaseClientService.Initializer { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networksecurity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networksecurity.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public NetworkSecurityService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "networksecurity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networksecurity.googleapis.com/"; + 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 => "https://networksecurity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.csproj b/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.csproj index 49b5c2385d..94cdd74d3e 100644 --- a/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkSecurity.v1/Google.Apis.NetworkSecurity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkSecurity.v1 Client Library - 1.66.0.3316 + 1.67.0.3316 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs index 031efc7c2f..43faa4f85b 100644 --- a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.cs @@ -36,6 +36,8 @@ public NetworkSecurityService(Google.Apis.Services.BaseClientService.Initializer { Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networksecurity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networksecurity.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public NetworkSecurityService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "networksecurity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networksecurity.googleapis.com/"; + 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 => "https://networksecurity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj index 71070daf45..1a20fa176e 100644 --- a/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkSecurity.v1beta1/Google.Apis.NetworkSecurity.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkSecurity.v1beta1 Client Library - 1.66.0.3325 + 1.67.0.3325 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs index 17365024e3..b1f1e0f837 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs +++ b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.cs @@ -35,6 +35,8 @@ public NetworkServicesService() : this(new Google.Apis.Services.BaseClientServic public NetworkServicesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networkservices.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networkservices.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public NetworkServicesService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "networkservices"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networkservices.googleapis.com/"; + 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 => "https://networkservices.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj index b44514048b..97a8bd06ed 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkServices.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs index bd31dc8b04..236e67a5e4 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.cs @@ -35,6 +35,8 @@ public NetworkServicesService() : this(new Google.Apis.Services.BaseClientServic public NetworkServicesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networkservices.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networkservices.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public NetworkServicesService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "networkservices"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networkservices.googleapis.com/"; + 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 => "https://networkservices.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj index 713ff8e6ad..73a978b387 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkServices.v1beta1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs index 3036bcb94f..6fd6cbc0b9 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.cs @@ -35,6 +35,8 @@ public NetworkconnectivityService() : this(new Google.Apis.Services.BaseClientSe public NetworkconnectivityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networkconnectivity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networkconnectivity.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public NetworkconnectivityService(Google.Apis.Services.BaseClientService.Initial public override string Name => "networkconnectivity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networkconnectivity.googleapis.com/"; + 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 => "https://networkconnectivity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj index 18e8bbf4e1..f89b97a05c 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1/Google.Apis.Networkconnectivity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Networkconnectivity.v1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs index 2e0c2aaef6..c223620398 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.cs @@ -35,6 +35,8 @@ public NetworkconnectivityService() : this(new Google.Apis.Services.BaseClientSe public NetworkconnectivityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://networkconnectivity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://networkconnectivity.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public NetworkconnectivityService(Google.Apis.Services.BaseClientService.Initial public override string Name => "networkconnectivity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://networkconnectivity.googleapis.com/"; + 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 => "https://networkconnectivity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj index 901d6b7095..13eff30600 100644 --- a/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Networkconnectivity.v1alpha1/Google.Apis.Networkconnectivity.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.Networkconnectivity.v1alpha1 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.cs b/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.cs index ea153e0603..8e593fc85f 100644 --- a/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.cs +++ b/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.cs @@ -35,6 +35,8 @@ public OSConfigService() : this(new Google.Apis.Services.BaseClientService.Initi public OSConfigService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://osconfig.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://osconfig.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public OSConfigService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "osconfig"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://osconfig.googleapis.com/"; + 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 => "https://osconfig.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.csproj b/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.csproj index 19be53c9e9..a2fdb42f5b 100644 --- a/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.csproj +++ b/Src/Generated/Google.Apis.OSConfig.v1/Google.Apis.OSConfig.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.OSConfig.v1 Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.cs b/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.cs index ee07f4daae..75e84793d4 100644 --- a/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.cs +++ b/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.cs @@ -35,6 +35,8 @@ public OSConfigService() : this(new Google.Apis.Services.BaseClientService.Initi public OSConfigService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://osconfig.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://osconfig.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public OSConfigService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "osconfig"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://osconfig.googleapis.com/"; + 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 => "https://osconfig.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.csproj b/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.csproj index 75d74c8a7b..8a6f88e9a3 100644 --- a/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.csproj +++ b/Src/Generated/Google.Apis.OSConfig.v1alpha/Google.Apis.OSConfig.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.OSConfig.v1alpha Client Library - 1.66.0.3139 + 1.67.0.3139 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.cs b/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.cs index ba03d60ad1..62612fe52f 100644 --- a/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.cs +++ b/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.cs @@ -35,6 +35,8 @@ public OSConfigService() : this(new Google.Apis.Services.BaseClientService.Initi public OSConfigService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://osconfig.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://osconfig.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public OSConfigService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "osconfig"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://osconfig.googleapis.com/"; + 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 => "https://osconfig.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.csproj b/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.csproj index babeb7b8dd..7d14136e55 100644 --- a/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.csproj +++ b/Src/Generated/Google.Apis.OSConfig.v1beta/Google.Apis.OSConfig.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.OSConfig.v1beta Client Library - 1.66.0.2634 + 1.67.0.2634 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs index fc044018ff..564694e574 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs +++ b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.cs @@ -35,6 +35,8 @@ public Oauth2Service() : this(new Google.Apis.Services.BaseClientService.Initial public Oauth2Service(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Userinfo = new UserinfoResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/oauth2/v2"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public Oauth2Service(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "oauth2"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/"; + 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 => "https://www.googleapis.com/batch/oauth2/v2"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/oauth2/v2"; diff --git a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj index cf461185e1..b82ae52aa1 100644 --- a/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj +++ b/Src/Generated/Google.Apis.Oauth2.v2/Google.Apis.Oauth2.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Oauth2.v2 Client Library - 1.66.0.1869 + 1.67.0.1869 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.cs b/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.cs index 2876bf1d0e..5f630a9340 100644 --- a/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.cs +++ b/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.cs @@ -35,6 +35,8 @@ public OnDemandScanningService() : this(new Google.Apis.Services.BaseClientServi public OnDemandScanningService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://ondemandscanning.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://ondemandscanning.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public OnDemandScanningService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "ondemandscanning"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://ondemandscanning.googleapis.com/"; + 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 => "https://ondemandscanning.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.csproj b/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.csproj index bcd395336d..2d1943757b 100644 --- a/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.csproj +++ b/Src/Generated/Google.Apis.OnDemandScanning.v1/Google.Apis.OnDemandScanning.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.OnDemandScanning.v1 Client Library - 1.66.0.3259 + 1.67.0.3259 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.cs b/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.cs index 374fc3a873..1a11c5d83f 100644 --- a/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.cs +++ b/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.cs @@ -35,6 +35,8 @@ public OnDemandScanningService() : this(new Google.Apis.Services.BaseClientServi public OnDemandScanningService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://ondemandscanning.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://ondemandscanning.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public OnDemandScanningService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "ondemandscanning"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://ondemandscanning.googleapis.com/"; + 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 => "https://ondemandscanning.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.csproj b/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.csproj index 6debd4c4b3..d4c894cde1 100644 --- a/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.csproj +++ b/Src/Generated/Google.Apis.OnDemandScanning.v1beta1/Google.Apis.OnDemandScanning.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.OnDemandScanning.v1beta1 Client Library - 1.66.0.3259 + 1.67.0.3259 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs index 5821c0a713..9747ca2c4f 100644 --- a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs +++ b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.cs @@ -37,6 +37,8 @@ public OrgPolicyAPIService(Google.Apis.Services.BaseClientService.Initializer in Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://orgpolicy.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://orgpolicy.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public OrgPolicyAPIService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "orgpolicy"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://orgpolicy.googleapis.com/"; + 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 => "https://orgpolicy.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj index 4dd56c66fb..c5062b91b1 100644 --- a/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj +++ b/Src/Generated/Google.Apis.OrgPolicyAPI.v2/Google.Apis.OrgPolicyAPI.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.OrgPolicyAPI.v2 Client Library - 1.66.0.3264 + 1.67.0.3264 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.cs b/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.cs index 1943a5504a..0335f80baf 100644 --- a/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.cs +++ b/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.cs @@ -35,6 +35,8 @@ public PagespeedInsightsService() : this(new Google.Apis.Services.BaseClientServ public PagespeedInsightsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Pagespeedapi = new PagespeedapiResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://pagespeedonline.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://pagespeedonline.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PagespeedInsightsService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "pagespeedonline"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://pagespeedonline.googleapis.com/"; + 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 => "https://pagespeedonline.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.csproj b/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.csproj index 11768dde11..fc5230a9dd 100644 --- a/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.csproj +++ b/Src/Generated/Google.Apis.PagespeedInsights.v5/Google.Apis.PagespeedInsights.v5.csproj @@ -3,7 +3,7 @@ Google.Apis.PagespeedInsights.v5 Client Library - 1.66.0.3107 + 1.67.0.3107 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + 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 28ec4bd50f..a2abd8b56f 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 @@ -35,6 +35,8 @@ public PaymentsResellerSubscriptionService() : this(new Google.Apis.Services.Bas public PaymentsResellerSubscriptionService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Partners = new PartnersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://paymentsresellersubscription.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://paymentsresellersubscription.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PaymentsResellerSubscriptionService(Google.Apis.Services.BaseClientServic public override string Name => "paymentsresellersubscription"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://paymentsresellersubscription.googleapis.com/"; + 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 => "https://paymentsresellersubscription.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 9126303f8d..3b52a02efc 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.66.0.3318 + 1.67.0.3318 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs index 06d53e1803..47c03d65fa 100644 --- a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs +++ b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs @@ -37,6 +37,8 @@ public PeopleServiceService(Google.Apis.Services.BaseClientService.Initializer i ContactGroups = new ContactGroupsResource(this); OtherContacts = new OtherContactsResource(this); People = new PeopleResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://people.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://people.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public PeopleServiceService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "people"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://people.googleapis.com/"; + 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 => "https://people.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj index bfe23975de..10593d4c52 100644 --- a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj +++ b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PeopleService.v1 Client Library - 1.66.0.3093 + 1.67.0.3093 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.cs b/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.cs index 30c5023e98..4af8df3375 100644 --- a/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.cs +++ b/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.cs @@ -35,6 +35,8 @@ public PlayGroupingService() : this(new Google.Apis.Services.BaseClientService.I public PlayGroupingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Apps = new AppsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://playgrouping.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://playgrouping.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PlayGroupingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "playgrouping"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://playgrouping.googleapis.com/"; + 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 => "https://playgrouping.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.csproj b/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.csproj index 8ceaee008e..25f47cedc5 100644 --- a/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.PlayGrouping.v1alpha1/Google.Apis.PlayGrouping.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.PlayGrouping.v1alpha1 Client Library - 1.66.0.3164 + 1.67.0.3164 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.cs b/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.cs index 023487b901..b110497828 100644 --- a/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.cs +++ b/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.cs @@ -35,6 +35,8 @@ public PlayIntegrityService() : this(new Google.Apis.Services.BaseClientService. public PlayIntegrityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { V1 = new V1Resource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://playintegrity.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://playintegrity.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PlayIntegrityService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "playintegrity"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://playintegrity.googleapis.com/"; + 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 => "https://playintegrity.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.csproj b/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.csproj index 12f68764b0..9354a45d25 100644 --- a/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.csproj +++ b/Src/Generated/Google.Apis.PlayIntegrity.v1/Google.Apis.PlayIntegrity.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PlayIntegrity.v1 Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.cs b/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.cs index a08f03c8d1..a693ae6e44 100644 --- a/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.cs +++ b/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.cs @@ -35,6 +35,8 @@ public PlaycustomappService() : this(new Google.Apis.Services.BaseClientService. public PlaycustomappService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://playcustomapp.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://playcustomapp.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PlaycustomappService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "playcustomapp"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://playcustomapp.googleapis.com/"; + 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 => "https://playcustomapp.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.csproj b/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.csproj index 34e03cf521..8ff7762f94 100644 --- a/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.csproj +++ b/Src/Generated/Google.Apis.Playcustomapp.v1/Google.Apis.Playcustomapp.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Playcustomapp.v1 Client Library - 1.66.0.2490 + 1.67.0.2490 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.cs b/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.cs index 32b94b93db..2990caaed7 100644 --- a/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.cs +++ b/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.cs @@ -37,6 +37,8 @@ public PlaydeveloperreportingService(Google.Apis.Services.BaseClientService.Init Anomalies = new AnomaliesResource(this); Apps = new AppsResource(this); Vitals = new VitalsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://playdeveloperreporting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://playdeveloperreporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public PlaydeveloperreportingService(Google.Apis.Services.BaseClientService.Init public override string Name => "playdeveloperreporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://playdeveloperreporting.googleapis.com/"; + 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 => "https://playdeveloperreporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.csproj b/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.csproj index c787fb4cb4..bb02155fd4 100644 --- a/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.Playdeveloperreporting.v1alpha1/Google.Apis.Playdeveloperreporting.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.Playdeveloperreporting.v1alpha1 Client Library - 1.66.0.3318 + 1.67.0.3318 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.cs b/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.cs index c049ae34c1..2b03bd1006 100644 --- a/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.cs +++ b/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.cs @@ -37,6 +37,8 @@ public PlaydeveloperreportingService(Google.Apis.Services.BaseClientService.Init Anomalies = new AnomaliesResource(this); Apps = new AppsResource(this); Vitals = new VitalsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://playdeveloperreporting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://playdeveloperreporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public PlaydeveloperreportingService(Google.Apis.Services.BaseClientService.Init public override string Name => "playdeveloperreporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://playdeveloperreporting.googleapis.com/"; + 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 => "https://playdeveloperreporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.csproj b/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.csproj index 772b853787..51ff216bed 100644 --- a/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Playdeveloperreporting.v1beta1/Google.Apis.Playdeveloperreporting.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Playdeveloperreporting.v1beta1 Client Library - 1.66.0.3318 + 1.67.0.3318 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.cs b/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.cs index 5fa46c89ac..b48517c211 100644 --- a/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.cs +++ b/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.cs @@ -35,6 +35,8 @@ public PolicyAnalyzerService() : this(new Google.Apis.Services.BaseClientService public PolicyAnalyzerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://policyanalyzer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://policyanalyzer.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PolicyAnalyzerService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "policyanalyzer"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://policyanalyzer.googleapis.com/"; + 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 => "https://policyanalyzer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.csproj b/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.csproj index c0bc52c42f..0a3427a684 100644 --- a/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.csproj +++ b/Src/Generated/Google.Apis.PolicyAnalyzer.v1/Google.Apis.PolicyAnalyzer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PolicyAnalyzer.v1 Client Library - 1.66.0.2452 + 1.67.0.2452 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.cs b/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.cs index b9562834e6..0fc10d26df 100644 --- a/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.cs +++ b/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.cs @@ -35,6 +35,8 @@ public PolicyAnalyzerService() : this(new Google.Apis.Services.BaseClientService public PolicyAnalyzerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://policyanalyzer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://policyanalyzer.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PolicyAnalyzerService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "policyanalyzer"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://policyanalyzer.googleapis.com/"; + 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 => "https://policyanalyzer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.csproj b/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.csproj index 38751859d2..e0b703db89 100644 --- a/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.csproj +++ b/Src/Generated/Google.Apis.PolicyAnalyzer.v1beta1/Google.Apis.PolicyAnalyzer.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.PolicyAnalyzer.v1beta1 Client Library - 1.66.0.2409 + 1.67.0.2409 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.cs b/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.cs index 2e1bf84c7e..dcbe834e02 100644 --- a/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.cs +++ b/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.cs @@ -38,6 +38,8 @@ public PolicySimulatorService(Google.Apis.Services.BaseClientService.Initializer Operations = new OperationsResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://policysimulator.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://policysimulator.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public PolicySimulatorService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "policysimulator"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://policysimulator.googleapis.com/"; + 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 => "https://policysimulator.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.csproj b/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.csproj index 2a7298405b..862abdb232 100644 --- a/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.csproj +++ b/Src/Generated/Google.Apis.PolicySimulator.v1/Google.Apis.PolicySimulator.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PolicySimulator.v1 Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.cs b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.cs index c11c6e4cd8..1e5736782a 100644 --- a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.cs +++ b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.cs @@ -35,6 +35,8 @@ public PolicyTroubleshooterService() : this(new Google.Apis.Services.BaseClientS public PolicyTroubleshooterService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Iam = new IamResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://policytroubleshooter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://policytroubleshooter.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PolicyTroubleshooterService(Google.Apis.Services.BaseClientService.Initia public override string Name => "policytroubleshooter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://policytroubleshooter.googleapis.com/"; + 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 => "https://policytroubleshooter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.csproj b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.csproj index 12c7fb2d3e..936275fb48 100644 --- a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.csproj +++ b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1/Google.Apis.PolicyTroubleshooter.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PolicyTroubleshooter.v1 Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.cs b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.cs index b7943f3164..eda1f8e857 100644 --- a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.cs +++ b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.cs @@ -35,6 +35,8 @@ public PolicyTroubleshooterService() : this(new Google.Apis.Services.BaseClientS public PolicyTroubleshooterService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Iam = new IamResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://policytroubleshooter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://policytroubleshooter.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PolicyTroubleshooterService(Google.Apis.Services.BaseClientService.Initia public override string Name => "policytroubleshooter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://policytroubleshooter.googleapis.com/"; + 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 => "https://policytroubleshooter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.csproj b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.csproj index c7a494256f..eb1eeba9d4 100644 --- a/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.csproj +++ b/Src/Generated/Google.Apis.PolicyTroubleshooter.v1beta/Google.Apis.PolicyTroubleshooter.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.PolicyTroubleshooter.v1beta Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PolyService.v1/Google.Apis.PolyService.v1.cs b/Src/Generated/Google.Apis.PolyService.v1/Google.Apis.PolyService.v1.cs deleted file mode 100644 index bb749ab5ec..0000000000 --- a/Src/Generated/Google.Apis.PolyService.v1/Google.Apis.PolyService.v1.cs +++ /dev/null @@ -1,1297 +0,0 @@ -// Copyright 2024 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.PolyService.v1 -{ - /// The PolyService Service. - public class PolyServiceService : 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 PolyServiceService() : this(new Google.Apis.Services.BaseClientService.Initializer()) - { - } - - /// Constructs a new service. - /// The service initializer. - public PolyServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) - { - Assets = new AssetsResource(this); - Users = new UsersResource(this); - } - - /// Gets the service supported features. - public override System.Collections.Generic.IList Features => new string[0]; - - /// Gets the service name. - public override string Name => "poly"; - - /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://poly.googleapis.com/"; - - /// Gets the service base path. - public override string BasePath => ""; - - /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://poly.googleapis.com/batch"; - - /// Gets the batch base path; null if unspecified. - public override string BatchPath => "batch"; - - /// Gets the Assets resource. - public virtual AssetsResource Assets { get; } - - /// Gets the Users resource. - public virtual UsersResource Users { get; } - } - - /// A base abstract class for PolyService requests. - public abstract class PolyServiceBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest - { - /// Constructs a new PolyServiceBaseServiceRequest instance. - protected PolyServiceBaseServiceRequest(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 PolyService 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 "assets" collection of methods. - public class AssetsResource - { - private const string Resource = "assets"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssetsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Returns detailed information about an asset given its name. PRIVATE assets are returned only if the - /// currently authenticated user (via OAuth token) is the author of the asset. - /// - /// Required. An asset's name in the form `assets/{ASSET_ID}`. - public virtual GetRequest Get(string name) - { - return new GetRequest(this.service, name); - } - - /// - /// Returns detailed information about an asset given its name. PRIVATE assets are returned only if the - /// currently authenticated user (via OAuth token) is the author of the asset. - /// - public class GetRequest : PolyServiceBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// Required. An asset's name in the form `assets/{ASSET_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 = @"^assets/[^/]+$", - }); - } - } - - /// - /// Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the - /// CC-By license. - /// - public virtual ListRequest List() - { - return new ListRequest(this.service); - } - - /// - /// Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the - /// CC-By license. - /// - public class ListRequest : PolyServiceBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service) : base(service) - { - InitParameters(); - } - - /// - /// Filter assets based on the specified category. Supported values are: `animals`, `architecture`, `art`, - /// `food`, `nature`, `objects`, `people`, `scenes`, `technology`, and `transport`. - /// - [Google.Apis.Util.RequestParameterAttribute("category", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Category { get; set; } - - /// Return only assets that have been curated by the Poly team. - [Google.Apis.Util.RequestParameterAttribute("curated", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Curated { get; set; } - - /// - /// Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, - /// `OBJ`, `TILT`. - /// - [Google.Apis.Util.RequestParameterAttribute("format", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Format { get; set; } - - /// - /// One or more search terms to be matched against all text that Poly has indexed for assets, which includes - /// display_name, description, and tags. Multiple keywords should be separated by spaces. - /// - [Google.Apis.Util.RequestParameterAttribute("keywords", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Keywords { get; set; } - - /// - /// Returns assets that are of the specified complexity or less. Defaults to COMPLEX. For example, a request - /// for MEDIUM assets also includes SIMPLE assets. - /// - [Google.Apis.Util.RequestParameterAttribute("maxComplexity", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxComplexity { get; set; } - - /// - /// Returns assets that are of the specified complexity or less. Defaults to COMPLEX. For example, a request - /// for MEDIUM assets also includes SIMPLE assets. - /// - public enum MaxComplexityEnum - { - /// No complexity specified. This is equivalent to omitting the filter. - [Google.Apis.Util.StringValueAttribute("COMPLEXITY_UNSPECIFIED")] - COMPLEXITYUNSPECIFIED = 0, - - /// Highly-complex. - [Google.Apis.Util.StringValueAttribute("COMPLEX")] - COMPLEX = 1, - - /// Averagely-complex. - [Google.Apis.Util.StringValueAttribute("MEDIUM")] - MEDIUM = 2, - - /// Simple. - [Google.Apis.Util.StringValueAttribute("SIMPLE")] - SIMPLE = 3, - } - - /// - /// Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, - /// which ranks assets based on a combination of popularity and other features. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to `20`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// Specifies a continuation token from a previous search whose results were split into multiple pages. To - /// get the next page, submit the same request specifying the value from next_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/assets"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("category", new Google.Apis.Discovery.Parameter - { - Name = "category", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("curated", new Google.Apis.Discovery.Parameter - { - Name = "curated", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("format", new Google.Apis.Discovery.Parameter - { - Name = "format", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("keywords", new Google.Apis.Discovery.Parameter - { - Name = "keywords", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("maxComplexity", new Google.Apis.Discovery.Parameter - { - Name = "maxComplexity", - 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, - }); - } - } - } - - /// The "users" collection of methods. - public class UsersResource - { - private const string Resource = "users"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public UsersResource(Google.Apis.Services.IClientService service) - { - this.service = service; - Assets = new AssetsResource(service); - Likedassets = new LikedassetsResource(service); - } - - /// Gets the Assets resource. - public virtual AssetsResource Assets { get; } - - /// The "assets" collection of methods. - public class AssetsResource - { - private const string Resource = "assets"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public AssetsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated - /// user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are - /// All Rights Reserved for the currently-authenticated user. - /// - /// - /// A valid user id. Currently, only the special value 'me', representing the currently-authenticated user - /// is supported. To use 'me', you must pass an OAuth token with the request. - /// - public virtual ListRequest List(string name) - { - return new ListRequest(this.service, name); - } - - /// - /// Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated - /// user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are - /// All Rights Reserved for the currently-authenticated user. - /// - public class ListRequest : PolyServiceBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// - /// A valid user id. Currently, only the special value 'me', representing the currently-authenticated - /// user is supported. To use 'me', you must pass an OAuth token with the request. - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// - /// Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, - /// `GLTF2`, `OBJ`, and `TILT`. - /// - [Google.Apis.Util.RequestParameterAttribute("format", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Format { get; set; } - - /// - /// Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`. Defaults to - /// `BEST`, which ranks assets based on a combination of popularity and other features. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to - /// `20`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// Specifies a continuation token from a previous search whose results were split into multiple pages. - /// To get the next page, submit the same request specifying the value from next_page_token. - /// - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// - /// The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all - /// assets. - /// - [Google.Apis.Util.RequestParameterAttribute("visibility", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Visibility { get; set; } - - /// - /// The visibility of the assets to be returned. Defaults to VISIBILITY_UNSPECIFIED which returns all - /// assets. - /// - public enum VisibilityEnum - { - /// No visibility specified. Returns all assets. - [Google.Apis.Util.StringValueAttribute("VISIBILITY_UNSPECIFIED")] - VISIBILITYUNSPECIFIED = 0, - - /// Returns only published assets. - [Google.Apis.Util.StringValueAttribute("PUBLISHED")] - PUBLISHED = 1, - - /// Returns only private assets. - [Google.Apis.Util.StringValueAttribute("PRIVATE")] - PRIVATE__ = 2, - } - - /// 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}/assets"; - - /// 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 = @"^users/[^/]+$", - }); - RequestParameters.Add("format", new Google.Apis.Discovery.Parameter - { - Name = "format", - 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, - }); - RequestParameters.Add("visibility", new Google.Apis.Discovery.Parameter - { - Name = "visibility", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// Gets the Likedassets resource. - public virtual LikedassetsResource Likedassets { get; } - - /// The "likedassets" collection of methods. - public class LikedassetsResource - { - private const string Resource = "likedassets"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public LikedassetsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Lists assets that the user has liked. Only the value 'me', representing the currently-authenticated - /// user, is supported. May include assets with an access level of UNLISTED. - /// - /// - /// A valid user id. Currently, only the special value 'me', representing the currently-authenticated user - /// is supported. To use 'me', you must pass an OAuth token with the request. - /// - public virtual ListRequest List(string name) - { - return new ListRequest(this.service, name); - } - - /// - /// Lists assets that the user has liked. Only the value 'me', representing the currently-authenticated - /// user, is supported. May include assets with an access level of UNLISTED. - /// - public class ListRequest : PolyServiceBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// - /// A valid user id. Currently, only the special value 'me', representing the currently-authenticated - /// user is supported. To use 'me', you must pass an OAuth token with the request. - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// - /// Return only assets with the matching format. Acceptable values are: `BLOCKS`, `FBX`, `GLTF`, - /// `GLTF2`, `OBJ`, `TILT`. - /// - [Google.Apis.Util.RequestParameterAttribute("format", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Format { get; set; } - - /// - /// Specifies an ordering for assets. Acceptable values are: `BEST`, `NEWEST`, `OLDEST`, 'LIKED_TIME'. - /// Defaults to `LIKED_TIME`, which ranks assets based on how recently they were liked. - /// - [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OrderBy { get; set; } - - /// - /// The maximum number of assets to be returned. This value must be between `1` and `100`. Defaults to - /// `20`. - /// - [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PageSize { get; set; } - - /// - /// Specifies a continuation token from a previous search whose results were split into multiple pages. - /// To get the next page, submit the same request specifying the value from next_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/{+name}/likedassets"; - - /// 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 = @"^users/[^/]+$", - }); - RequestParameters.Add("format", new Google.Apis.Discovery.Parameter - { - Name = "format", - 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, - }); - } - } - } - } -} -namespace Google.Apis.PolyService.v1.Data -{ - /// - /// Represents and describes an asset in the Poly library. An asset is a 3D model or scene created using [Tilt - /// Brush](//www.tiltbrush.com), [Blocks](//vr.google.com/blocks/), or any 3D program that produces a file that can - /// be upload to Poly. - /// - public class Asset : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The author's publicly visible name. Use this name when giving credit to the author. For more information, - /// see [Licensing](/poly/discover/licensing). - /// - [Newtonsoft.Json.JsonPropertyAttribute("authorName")] - public virtual string AuthorName { get; set; } - - private string _createTimeRaw; - - private object _createTime; - - /// - /// For published assets, the time when the asset was published. For unpublished assets, the time when the asset - /// 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); - } - - /// The human-readable description, set by the asset's author. - [Newtonsoft.Json.JsonPropertyAttribute("description")] - public virtual string Description { get; set; } - - /// The human-readable name, set by the asset's author. - [Newtonsoft.Json.JsonPropertyAttribute("displayName")] - public virtual string DisplayName { get; set; } - - /// A list of Formats where each format describes one representation of the asset. - [Newtonsoft.Json.JsonPropertyAttribute("formats")] - public virtual System.Collections.Generic.IList Formats { get; set; } - - /// Whether this asset has been curated by the Poly team. - [Newtonsoft.Json.JsonPropertyAttribute("isCurated")] - public virtual System.Nullable IsCurated { get; set; } - - /// The license under which the author has made the asset available for use, if any. - [Newtonsoft.Json.JsonPropertyAttribute("license")] - public virtual string License { get; set; } - - /// - /// Application-defined opaque metadata for this asset. This field is only returned when querying for the - /// signed-in user's own assets, not for public assets. This string is limited to 1K chars. It is up to the - /// creator of the asset to define the format for this string (for example, JSON). - /// - [Newtonsoft.Json.JsonPropertyAttribute("metadata")] - public virtual string Metadata { get; set; } - - /// The unique identifier for the asset in the form: `assets/{ASSET_ID}`. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// - /// Hints for displaying the asset. Note that these parameters are not immutable; the author of an asset may - /// change them post-publication. - /// - [Newtonsoft.Json.JsonPropertyAttribute("presentationParams")] - public virtual PresentationParams PresentationParams { get; set; } - - /// The remix info for the asset. - [Newtonsoft.Json.JsonPropertyAttribute("remixInfo")] - public virtual RemixInfo RemixInfo { get; set; } - - /// The thumbnail image for the asset. - [Newtonsoft.Json.JsonPropertyAttribute("thumbnail")] - public virtual File Thumbnail { get; set; } - - private string _updateTimeRaw; - - private object _updateTime; - - /// - /// The time when the asset was last modified. For published assets, whose contents are immutable, the update - /// time changes only when metadata properties, such as visibility, are 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 visibility of the asset and who can access it. - [Newtonsoft.Json.JsonPropertyAttribute("visibility")] - public virtual string Visibility { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A message generated by the asset import process. - public class AssetImportMessage : Google.Apis.Requests.IDirectResponseSchema - { - /// The code associated with this message. - [Newtonsoft.Json.JsonPropertyAttribute("code")] - public virtual string Code { get; set; } - - /// An optional file path. Only present for those error codes that specify it. - [Newtonsoft.Json.JsonPropertyAttribute("filePath")] - public virtual string FilePath { get; set; } - - /// An optional image error. Only present for INVALID_IMAGE_FILE. - [Newtonsoft.Json.JsonPropertyAttribute("imageError")] - public virtual ImageError ImageError { get; set; } - - /// An optional OBJ parse error. Only present for OBJ_PARSE_ERROR. - [Newtonsoft.Json.JsonPropertyAttribute("objParseError")] - public virtual ObjParseError ObjParseError { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Represents a file in Poly, which can be a root, resource, or thumbnail file. - public class File : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The MIME content-type, such as `image/png`. For more information, see [MIME - /// types](//developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types). - /// - [Newtonsoft.Json.JsonPropertyAttribute("contentType")] - public virtual string ContentType { get; set; } - - /// - /// The path of the resource file relative to the root file. For root or thumbnail files, this is just the - /// filename. - /// - [Newtonsoft.Json.JsonPropertyAttribute("relativePath")] - public virtual string RelativePath { get; set; } - - /// The URL where the file data can be retrieved. - [Newtonsoft.Json.JsonPropertyAttribute("url")] - public virtual string Url { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// The same asset can be represented in different formats, for example, a [WaveFront - /// .obj](//en.wikipedia.org/wiki/Wavefront_.obj_file) file with its corresponding .mtl file or a [Khronos - /// glTF](//www.khronos.org/gltf) file with its corresponding .glb binary data. A format refers to a specific - /// representation of an asset and contains all information needed to retrieve and describe this representation. - /// - public class Format : Google.Apis.Requests.IDirectResponseSchema - { - /// Complexity stats about this representation of the asset. - [Newtonsoft.Json.JsonPropertyAttribute("formatComplexity")] - public virtual FormatComplexity FormatComplexity { get; set; } - - /// - /// A short string that identifies the format type of this representation. Possible values are: `FBX`, `GLTF`, - /// `GLTF2`, `OBJ`, and `TILT`. - /// - [Newtonsoft.Json.JsonPropertyAttribute("formatType")] - public virtual string FormatType { get; set; } - - /// - /// A list of dependencies of the root element. May include, but is not limited to, materials, textures, and - /// shader programs. - /// - [Newtonsoft.Json.JsonPropertyAttribute("resources")] - public virtual System.Collections.Generic.IList Resources { get; set; } - - /// - /// The root of the file hierarchy. This will always be populated. For some format_types - such as `TILT`, which - /// are self-contained - this is all of the data. Other types - such as `OBJ` - often reference other data - /// elements. These are contained in the resources field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("root")] - public virtual File Root { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Information on the complexity of this Format. - public class FormatComplexity : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A non-negative integer that represents the level of detail (LOD) of this format relative to other formats of - /// the same asset with the same format_type. This hint allows you to sort formats from the most-detailed (0) to - /// least-detailed (integers greater than 0). - /// - [Newtonsoft.Json.JsonPropertyAttribute("lodHint")] - public virtual System.Nullable LodHint { get; set; } - - /// The estimated number of triangles. - [Newtonsoft.Json.JsonPropertyAttribute("triangleCount")] - public virtual System.Nullable TriangleCount { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A message resulting from reading an image file. - public class ImageError : Google.Apis.Requests.IDirectResponseSchema - { - /// The type of image error encountered. Optional for older image errors. - [Newtonsoft.Json.JsonPropertyAttribute("code")] - public virtual string Code { get; set; } - - /// The file path in the import of the image that was rejected. - [Newtonsoft.Json.JsonPropertyAttribute("filePath")] - public virtual string FilePath { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A response message from a request to list. - public class ListAssetsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// A list of assets that match the criteria specified in the request. - [Newtonsoft.Json.JsonPropertyAttribute("assets")] - public virtual System.Collections.Generic.IList Assets { get; set; } - - /// - /// The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To - /// get the next page, submit the same request specifying this value as the page_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The total number of assets in the list, without pagination. - [Newtonsoft.Json.JsonPropertyAttribute("totalSize")] - public virtual System.Nullable TotalSize { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A response message from a request to list. - public class ListLikedAssetsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// A list of assets that match the criteria specified in the request. - [Newtonsoft.Json.JsonPropertyAttribute("assets")] - public virtual System.Collections.Generic.IList Assets { get; set; } - - /// - /// The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To - /// get the next page, submit the same request specifying this value as the page_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The total number of assets in the list, without pagination. - [Newtonsoft.Json.JsonPropertyAttribute("totalSize")] - public virtual System.Nullable TotalSize { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A response message from a request to list. - public class ListUserAssetsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The continuation token for retrieving the next page. If empty, indicates that there are no more pages. To - /// get the next page, submit the same request specifying this value as the page_token. - /// - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - /// The total number of assets in the list, without pagination. - [Newtonsoft.Json.JsonPropertyAttribute("totalSize")] - public virtual System.Nullable TotalSize { get; set; } - - /// A list of UserAssets matching the request. - [Newtonsoft.Json.JsonPropertyAttribute("userAssets")] - public virtual System.Collections.Generic.IList UserAssets { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Details of an error resulting from parsing an OBJ file - public class ObjParseError : Google.Apis.Requests.IDirectResponseSchema - { - /// The type of problem found (required). - [Newtonsoft.Json.JsonPropertyAttribute("code")] - public virtual string Code { get; set; } - - /// The ending character index at which the problem was found. - [Newtonsoft.Json.JsonPropertyAttribute("endIndex")] - public virtual System.Nullable EndIndex { get; set; } - - /// The file path in which the problem was found. - [Newtonsoft.Json.JsonPropertyAttribute("filePath")] - public virtual string FilePath { get; set; } - - /// - /// The text of the line. Note that this may be truncated if the line was very long. This may not include the - /// error if it occurs after line truncation. - /// - [Newtonsoft.Json.JsonPropertyAttribute("line")] - public virtual string Line { get; set; } - - /// Line number at which the problem was found. - [Newtonsoft.Json.JsonPropertyAttribute("lineNumber")] - public virtual System.Nullable LineNumber { get; set; } - - /// The starting character index at which the problem was found. - [Newtonsoft.Json.JsonPropertyAttribute("startIndex")] - public virtual System.Nullable StartIndex { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Hints for displaying the asset, based on information available when the asset was uploaded. - public class PresentationParams : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A background color which could be used for displaying the 3D asset in a 'thumbnail' or 'palette' style view. - /// Authors have the option to set this background color when publishing or editing their asset. This is - /// represented as a six-digit hexademical triplet specifying the RGB components of the background color, e.g. - /// #FF0000 for Red. - /// - [Newtonsoft.Json.JsonPropertyAttribute("backgroundColor")] - public virtual string BackgroundColor { get; set; } - - /// - /// The materials' diffuse/albedo color. This does not apply to vertex colors or texture maps. - /// - [Newtonsoft.Json.JsonPropertyAttribute("colorSpace")] - public virtual string ColorSpace { get; set; } - - /// - /// A rotation that should be applied to the object root to make it upright. More precisely, this quaternion - /// transforms from "object space" (the space in which the object is defined) to "presentation space", a - /// coordinate system where +Y is up, +X is right, -Z is forward. For example, if the object is the Eiffel - /// Tower, in its local coordinate system the object might be laid out such that the base of the tower is on the - /// YZ plane and the tip of the tower is towards positive X. In this case this quaternion would specify a - /// rotation (of 90 degrees about the Z axis) such that in the presentation space the base of the tower is - /// aligned with the XZ plane, and the tip of the tower lies towards +Y. This rotation is unrelated to the - /// object's pose in the web preview, which is just a camera position setting and is *not* reflected in this - /// rotation. Please note: this is applicable only to the gLTF. - /// - [Newtonsoft.Json.JsonPropertyAttribute("orientingRotation")] - public virtual Quaternion OrientingRotation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A [Quaternion](//en.wikipedia.org/wiki/Quaternion). Please note: if in the response you see "w: 1" and nothing - /// else this is the default value of [0, 0, 0, 1] where x,y, and z are 0. - /// - public class Quaternion : Google.Apis.Requests.IDirectResponseSchema - { - /// The scalar component. - [Newtonsoft.Json.JsonPropertyAttribute("w")] - public virtual System.Nullable W { get; set; } - - /// The x component. - [Newtonsoft.Json.JsonPropertyAttribute("x")] - public virtual System.Nullable X { get; set; } - - /// The y component. - [Newtonsoft.Json.JsonPropertyAttribute("y")] - public virtual System.Nullable Y { get; set; } - - /// The z component. - [Newtonsoft.Json.JsonPropertyAttribute("z")] - public virtual System.Nullable Z { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Info about the sources of this asset (i.e. assets that were remixed to create this asset). - public class RemixInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// Resource ids for the sources of this remix, of the form: `assets/{ASSET_ID}` - [Newtonsoft.Json.JsonPropertyAttribute("sourceAsset")] - public virtual System.Collections.Generic.IList SourceAsset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A response message from a request to startImport. This is returned in the response field of the Operation. - /// - public class StartAssetImportResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The id of newly created asset. If this is empty when the operation is complete it means the import failed. - /// Please refer to the assetImportMessages field to understand what went wrong. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assetId")] - public virtual string AssetId { get; set; } - - /// The id of the asset import. - [Newtonsoft.Json.JsonPropertyAttribute("assetImportId")] - public virtual string AssetImportId { get; set; } - - /// - /// The message from the asset import. This will contain any warnings (or - in the case of failure - errors) - /// that occurred during import. - /// - [Newtonsoft.Json.JsonPropertyAttribute("assetImportMessages")] - public virtual System.Collections.Generic.IList AssetImportMessages { get; set; } - - /// The publish URL for the asset. - [Newtonsoft.Json.JsonPropertyAttribute("publishUrl")] - public virtual string PublishUrl { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Data about the user's asset. - public class UserAsset : Google.Apis.Requests.IDirectResponseSchema - { - /// An Asset. - [Newtonsoft.Json.JsonPropertyAttribute("asset")] - public virtual Asset Asset { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } -} diff --git a/Src/Generated/Google.Apis.PolyService.v1/Google.Apis.PolyService.v1.csproj b/Src/Generated/Google.Apis.PolyService.v1/Google.Apis.PolyService.v1.csproj deleted file mode 100644 index 431fe7f6f9..0000000000 --- a/Src/Generated/Google.Apis.PolyService.v1/Google.Apis.PolyService.v1.csproj +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Google.Apis.PolyService.v1 Client Library - 1.66.0.2168 - Google LLC - Copyright 2024 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 Poly 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 - - More documentation on the API is available at: - https://developers.google.com/api-client-library/dotnet/apis/poly/v1 - - The package source code is available at: - https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated - - - - - - - - - - - netstandard2.0;net462;net6.0 - true - ..\..\..\google.apis.snk - portable - true - 1570,1587,1591 - - - - - - - - - - - diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs index 0ad147617f..0fc297d5ab 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs +++ b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.cs @@ -35,6 +35,8 @@ public PostmasterToolsService() : this(new Google.Apis.Services.BaseClientServic public PostmasterToolsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Domains = new DomainsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gmailpostmastertools.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gmailpostmastertools.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PostmasterToolsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "gmailpostmastertools"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gmailpostmastertools.googleapis.com/"; + 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 => "https://gmailpostmastertools.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj index 8cf642c9df..0c09b0a882 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj +++ b/Src/Generated/Google.Apis.PostmasterTools.v1/Google.Apis.PostmasterTools.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PostmasterTools.v1 Client Library - 1.66.0.3171 + 1.67.0.3171 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs index ed1cb54d1b..a121bfb194 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs +++ b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.cs @@ -35,6 +35,8 @@ public PostmasterToolsService() : this(new Google.Apis.Services.BaseClientServic public PostmasterToolsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Domains = new DomainsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://gmailpostmastertools.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://gmailpostmastertools.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PostmasterToolsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "gmailpostmastertools"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://gmailpostmastertools.googleapis.com/"; + 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 => "https://gmailpostmastertools.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj index 8c9a77579a..dd0ce0cca3 100644 --- a/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj +++ b/Src/Generated/Google.Apis.PostmasterTools.v1beta1/Google.Apis.PostmasterTools.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.PostmasterTools.v1beta1 Client Library - 1.66.0.3171 + 1.67.0.3171 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.cs b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.cs index d8e8299e88..a36cd976d7 100644 --- a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.cs +++ b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.cs @@ -35,6 +35,8 @@ public PublicCertificateAuthorityService() : this(new Google.Apis.Services.BaseC public PublicCertificateAuthorityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://publicca.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://publicca.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PublicCertificateAuthorityService(Google.Apis.Services.BaseClientService. public override string Name => "publicca"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://publicca.googleapis.com/"; + 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 => "https://publicca.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.csproj b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.csproj index e6b99e93de..89cf5b8a85 100644 --- a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.csproj +++ b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1/Google.Apis.PublicCertificateAuthority.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PublicCertificateAuthority.v1 Client Library - 1.66.0.3036 + 1.67.0.3036 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.cs b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.cs index b60766a2c2..99a8f50e47 100644 --- a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.cs +++ b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.cs @@ -35,6 +35,8 @@ public PublicCertificateAuthorityService() : this(new Google.Apis.Services.BaseC public PublicCertificateAuthorityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://publicca.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://publicca.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PublicCertificateAuthorityService(Google.Apis.Services.BaseClientService. public override string Name => "publicca"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://publicca.googleapis.com/"; + 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 => "https://publicca.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.csproj b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.csproj index 3f92f1517c..05bafc188d 100644 --- a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1alpha1/Google.Apis.PublicCertificateAuthority.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.PublicCertificateAuthority.v1alpha1 Client Library - 1.66.0.2979 + 1.67.0.2979 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.cs b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.cs index c770ed9de7..b590ae2c38 100644 --- a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.cs +++ b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.cs @@ -35,6 +35,8 @@ public PublicCertificateAuthorityService() : this(new Google.Apis.Services.BaseC public PublicCertificateAuthorityService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://publicca.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://publicca.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PublicCertificateAuthorityService(Google.Apis.Services.BaseClientService. public override string Name => "publicca"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://publicca.googleapis.com/"; + 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 => "https://publicca.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.csproj b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.csproj index 93261d467a..e27aaffa1b 100644 --- a/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.csproj +++ b/Src/Generated/Google.Apis.PublicCertificateAuthority.v1beta1/Google.Apis.PublicCertificateAuthority.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.PublicCertificateAuthority.v1beta1 Client Library - 1.66.0.2979 + 1.67.0.2979 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs index 13f769955b..348706b75a 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs @@ -35,6 +35,8 @@ public PubsubService() : this(new Google.Apis.Services.BaseClientService.Initial public PubsubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://pubsub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://pubsub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PubsubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "pubsub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://pubsub.googleapis.com/"; + 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 => "https://pubsub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj index b857dd92f9..8c5920b5fd 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1 Client Library - 1.66.0.3325 + 1.67.0.3325 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs index 6b8cc6fe08..1706c76e1a 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.cs @@ -36,6 +36,8 @@ public PubsubService(Google.Apis.Services.BaseClientService.Initializer initiali { Subscriptions = new SubscriptionsResource(this); Topics = new TopicsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://pubsub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://pubsub.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public PubsubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "pubsub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://pubsub.googleapis.com/"; + 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 => "https://pubsub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj index 285f843e64..6696806214 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1beta1a Client Library - 1.66.0.3163 + 1.67.0.3163 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs index 2c1ed818e9..0971d49dcf 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.cs @@ -35,6 +35,8 @@ public PubsubService() : this(new Google.Apis.Services.BaseClientService.Initial public PubsubService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://pubsub.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://pubsub.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public PubsubService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "pubsub"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://pubsub.googleapis.com/"; + 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 => "https://pubsub.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj index acf270f77a..1a09bb981e 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1beta2 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs index a5a3c1d255..8daffe912b 100644 --- a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs +++ b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs @@ -37,6 +37,8 @@ public PubsubLiteService(Google.Apis.Services.BaseClientService.Initializer init Admin = new AdminResource(this); Cursor = new CursorResource(this); TopicStats = new TopicStatsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://pubsublite.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://pubsublite.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public PubsubLiteService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "pubsublite"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://pubsublite.googleapis.com/"; + 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 => "https://pubsublite.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj index 8bcee7dc08..1ec77f6f8e 100644 --- a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj +++ b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PubsubLite.v1 Client Library - 1.66.0.3137 + 1.67.0.3137 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.cs b/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.cs index 4d520e09e7..ef10c59af3 100644 --- a/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.cs +++ b/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.cs @@ -35,6 +35,8 @@ public RapidMigrationAssessmentService() : this(new Google.Apis.Services.BaseCli public RapidMigrationAssessmentService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://rapidmigrationassessment.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://rapidmigrationassessment.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public RapidMigrationAssessmentService(Google.Apis.Services.BaseClientService.In public override string Name => "rapidmigrationassessment"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://rapidmigrationassessment.googleapis.com/"; + 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 => "https://rapidmigrationassessment.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.csproj b/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.csproj index 6a4452d9ae..0414d555bc 100644 --- a/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.csproj +++ b/Src/Generated/Google.Apis.RapidMigrationAssessment.v1/Google.Apis.RapidMigrationAssessment.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.RapidMigrationAssessment.v1 Client Library - 1.66.0.3157 + 1.67.0.3157 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs index 41f8ea06d0..cec9c2b24f 100644 --- a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs +++ b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.cs @@ -36,6 +36,8 @@ public RealTimeBiddingService(Google.Apis.Services.BaseClientService.Initializer { Bidders = new BiddersResource(this); Buyers = new BuyersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://realtimebidding.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://realtimebidding.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public RealTimeBiddingService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "realtimebidding"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://realtimebidding.googleapis.com/"; + 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 => "https://realtimebidding.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj index 60ed3ccb14..9c041b398b 100644 --- a/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj +++ b/Src/Generated/Google.Apis.RealTimeBidding.v1/Google.Apis.RealTimeBidding.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.RealTimeBidding.v1 Client Library - 1.66.0.3233 + 1.67.0.3233 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + 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 570355e95b..0c554dceed 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 @@ -35,6 +35,8 @@ public RecaptchaEnterpriseService() : this(new Google.Apis.Services.BaseClientSe public RecaptchaEnterpriseService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://recaptchaenterprise.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://recaptchaenterprise.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public RecaptchaEnterpriseService(Google.Apis.Services.BaseClientService.Initial public override string Name => "recaptchaenterprise"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://recaptchaenterprise.googleapis.com/"; + 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 => "https://recaptchaenterprise.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; 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 80da6f8345..7187dc1774 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.66.0.3328 + 1.67.0.3328 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.cs b/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.cs index fb5091c694..09205a2a85 100644 --- a/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.cs +++ b/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.cs @@ -35,6 +35,8 @@ public RecommendationsAIService() : this(new Google.Apis.Services.BaseClientServ public RecommendationsAIService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://recommendationengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://recommendationengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public RecommendationsAIService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "recommendationengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://recommendationengine.googleapis.com/"; + 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 => "https://recommendationengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.csproj b/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.csproj index d6acaeb09b..37752c8801 100644 --- a/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.csproj +++ b/Src/Generated/Google.Apis.RecommendationsAI.v1beta1/Google.Apis.RecommendationsAI.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.RecommendationsAI.v1beta1 Client Library - 1.66.0.3143 + 1.67.0.3143 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.cs b/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.cs index 9d5b51a711..ff784e08b0 100644 --- a/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.cs +++ b/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.cs @@ -38,6 +38,8 @@ public RecommenderService(Google.Apis.Services.BaseClientService.Initializer ini Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://recommender.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://recommender.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public RecommenderService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "recommender"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://recommender.googleapis.com/"; + 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 => "https://recommender.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.csproj b/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.csproj index 348974af9a..95f07a8406 100644 --- a/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.csproj +++ b/Src/Generated/Google.Apis.Recommender.v1/Google.Apis.Recommender.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Recommender.v1 Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.cs b/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.cs index 4853f16d2a..6a2bc37e9e 100644 --- a/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.cs +++ b/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.cs @@ -40,6 +40,8 @@ public RecommenderService(Google.Apis.Services.BaseClientService.Initializer ini Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); Recommenders = new RecommendersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://recommender.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://recommender.googleapis.com/batch"); } /// Gets the service supported features. @@ -49,13 +51,13 @@ public RecommenderService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "recommender"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://recommender.googleapis.com/"; + 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 => "https://recommender.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.csproj b/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.csproj index a2d24c15f0..da386f276a 100644 --- a/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Recommender.v1beta1/Google.Apis.Recommender.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Recommender.v1beta1 Client Library - 1.66.0.3293 + 1.67.0.3293 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs index f78cb8991a..1170a3c6bd 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs +++ b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs @@ -37,6 +37,8 @@ public ResellerService(Google.Apis.Services.BaseClientService.Initializer initia Customers = new CustomersResource(this); Resellernotify = new ResellernotifyResource(this); Subscriptions = new SubscriptionsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://reseller.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://reseller.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public ResellerService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "reseller"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://reseller.googleapis.com/"; + 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 => "https://reseller.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.csproj b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.csproj index 897c219e47..cf39b37328 100644 --- a/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.csproj +++ b/Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Reseller.v1 Client Library - 1.66.0.3085 + 1.67.0.3085 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.cs b/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.cs index bb1afb3940..a0a23d9436 100644 --- a/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.cs +++ b/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.cs @@ -37,6 +37,8 @@ public ResourceSettingsService(Google.Apis.Services.BaseClientService.Initialize Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://resourcesettings.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://resourcesettings.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public ResourceSettingsService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "resourcesettings"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://resourcesettings.googleapis.com/"; + 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 => "https://resourcesettings.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.csproj b/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.csproj index 9ab1a7bda6..35dcb096d4 100644 --- a/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.csproj +++ b/Src/Generated/Google.Apis.ResourceSettings.v1/Google.Apis.ResourceSettings.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ResourceSettings.v1 Client Library - 1.66.0.2413 + 1.67.0.2413 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs index 22cbf0a46a..cb8ecf4a94 100644 --- a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs +++ b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs @@ -36,6 +36,8 @@ public SA360Service(Google.Apis.Services.BaseClientService.Initializer initializ { Customers = new CustomersResource(this); SearchAds360Fields = new SearchAds360FieldsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://searchads360.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://searchads360.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public SA360Service(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "searchads360"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://searchads360.googleapis.com/"; + 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 => "https://searchads360.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj index ea79687cf0..f3f9bd6b37 100644 --- a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj +++ b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj @@ -3,7 +3,7 @@ Google.Apis.SA360.v0 Client Library - 1.66.0.3325 + 1.67.0.3325 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs index 2cf2a2d662..1fc76824f5 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs @@ -44,6 +44,8 @@ public SQLAdminService(Google.Apis.Services.BaseClientService.Initializer initia SslCerts = new SslCertsResource(this); Tiers = new TiersResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://sqladmin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://sqladmin.googleapis.com/batch"); } /// Gets the service supported features. @@ -53,13 +55,13 @@ public SQLAdminService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "sqladmin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://sqladmin.googleapis.com/"; + 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 => "https://sqladmin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj index cf2a9d233e..063a14d2c2 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SQLAdmin.v1 Client Library - 1.66.0.3328 + 1.67.0.3328 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs index 08b4fd516a..5811a5b303 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs @@ -44,6 +44,8 @@ public SQLAdminService(Google.Apis.Services.BaseClientService.Initializer initia SslCerts = new SslCertsResource(this); Tiers = new TiersResource(this); Users = new UsersResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://sqladmin.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://sqladmin.googleapis.com/batch"); } /// Gets the service supported features. @@ -53,13 +55,13 @@ public SQLAdminService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "sqladmin"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://sqladmin.googleapis.com/"; + 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 => "https://sqladmin.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj index 1a8eba6c1c..6428f5f1ee 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj @@ -3,7 +3,7 @@ Google.Apis.SQLAdmin.v1beta4 Client Library - 1.66.0.3328 + 1.67.0.3328 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs index 7fd0befc61..63ae2cad87 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.cs @@ -41,6 +41,8 @@ public SafebrowsingService(Google.Apis.Services.BaseClientService.Initializer in ThreatListUpdates = new ThreatListUpdatesResource(this); ThreatLists = new ThreatListsResource(this); ThreatMatches = new ThreatMatchesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://safebrowsing.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://safebrowsing.googleapis.com/batch"); } /// Gets the service supported features. @@ -50,13 +52,13 @@ public SafebrowsingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "safebrowsing"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://safebrowsing.googleapis.com/"; + 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 => "https://safebrowsing.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj index 659aeef4a8..f14be172f9 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj +++ b/Src/Generated/Google.Apis.Safebrowsing.v4/Google.Apis.Safebrowsing.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.Safebrowsing.v4 Client Library - 1.66.0.2968 + 1.67.0.2968 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.cs b/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.cs index fd24576714..fbfcb91f97 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.cs +++ b/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.cs @@ -35,6 +35,8 @@ public SafebrowsingService() : this(new Google.Apis.Services.BaseClientService.I public SafebrowsingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Hashes = new HashesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://safebrowsing.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://safebrowsing.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SafebrowsingService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "safebrowsing"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://safebrowsing.googleapis.com/"; + 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 => "https://safebrowsing.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.csproj b/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.csproj index 90d25d93ca..34b035fe96 100644 --- a/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.csproj +++ b/Src/Generated/Google.Apis.Safebrowsing.v5/Google.Apis.Safebrowsing.v5.csproj @@ -3,7 +3,7 @@ Google.Apis.Safebrowsing.v5 Client Library - 1.66.0.3328 + 1.67.0.3328 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs index 6a0893f05d..7604b2414a 100644 --- a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs +++ b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.cs @@ -37,6 +37,8 @@ public ScriptService(Google.Apis.Services.BaseClientService.Initializer initiali Processes = new ProcessesResource(this); Projects = new ProjectsResource(this); Scripts = new ScriptsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://script.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://script.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public ScriptService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "script"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://script.googleapis.com/"; + 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 => "https://script.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj index 0a85f963a0..d3c851badd 100644 --- a/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj +++ b/Src/Generated/Google.Apis.Script.v1/Google.Apis.Script.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Script.v1 Client Library - 1.66.0.3294 + 1.67.0.3294 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs index b9edd6b245..14200d6379 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.cs @@ -39,6 +39,8 @@ public SearchConsoleService(Google.Apis.Services.BaseClientService.Initializer i Sites = new SitesResource(this); UrlInspection = new UrlInspectionResource(this); UrlTestingTools = new UrlTestingToolsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://searchconsole.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://searchconsole.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public SearchConsoleService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "searchconsole"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://searchconsole.googleapis.com/"; + 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 => "https://searchconsole.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj index 72fe7a7d59..4c6be40437 100644 --- a/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj +++ b/Src/Generated/Google.Apis.SearchConsole.v1/Google.Apis.SearchConsole.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SearchConsole.v1 Client Library - 1.66.0.3184 + 1.67.0.3184 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs index d140dc13d3..0a7216aecc 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs @@ -35,6 +35,8 @@ public SecretManagerService() : this(new Google.Apis.Services.BaseClientService. public SecretManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://secretmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://secretmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SecretManagerService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "secretmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://secretmanager.googleapis.com/"; + 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 => "https://secretmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj index ed37add0c4..1a2679e294 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs index d6e6358da9..a3de6ae878 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs @@ -35,6 +35,8 @@ public SecretManagerService() : this(new Google.Apis.Services.BaseClientService. public SecretManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://secretmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://secretmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SecretManagerService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "secretmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://secretmanager.googleapis.com/"; + 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 => "https://secretmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj index 4405ab0734..a9838ef8bd 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1beta1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs index 5e0e505a91..f37fbf5890 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs @@ -37,6 +37,8 @@ public SecurityCommandCenterService(Google.Apis.Services.BaseClientService.Initi Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://securitycenter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://securitycenter.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public SecurityCommandCenterService(Google.Apis.Services.BaseClientService.Initi public override string Name => "securitycenter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://securitycenter.googleapis.com/"; + 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 => "https://securitycenter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj index 2ab04e0025..763345c375 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecurityCommandCenter.v1 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs index 36626dc983..ba6e232236 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs @@ -35,6 +35,8 @@ public SecurityCommandCenterService() : this(new Google.Apis.Services.BaseClient public SecurityCommandCenterService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Organizations = new OrganizationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://securitycenter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://securitycenter.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SecurityCommandCenterService(Google.Apis.Services.BaseClientService.Initi public override string Name => "securitycenter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://securitycenter.googleapis.com/"; + 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 => "https://securitycenter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj index 4739f1e4ec..7b9d07a418 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecurityCommandCenter.v1beta1 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs index 62fb18acd2..36358110b3 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs @@ -37,6 +37,8 @@ public SecurityCommandCenterService(Google.Apis.Services.BaseClientService.Initi Folders = new FoldersResource(this); Organizations = new OrganizationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://securitycenter.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://securitycenter.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public SecurityCommandCenterService(Google.Apis.Services.BaseClientService.Initi public override string Name => "securitycenter"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://securitycenter.googleapis.com/"; + 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 => "https://securitycenter.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj index 9826945845..5c7c9eafd4 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.SecurityCommandCenter.v1beta2 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs index 36d867fef1..d52d0c8266 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.cs @@ -35,6 +35,8 @@ public ServerlessVPCAccessService() : this(new Google.Apis.Services.BaseClientSe public ServerlessVPCAccessService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vpcaccess.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vpcaccess.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ServerlessVPCAccessService(Google.Apis.Services.BaseClientService.Initial public override string Name => "vpcaccess"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vpcaccess.googleapis.com/"; + 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 => "https://vpcaccess.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj index 159f3a8774..7310fd4ce9 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1/Google.Apis.ServerlessVPCAccess.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServerlessVPCAccess.v1 Client Library - 1.66.0.3235 + 1.67.0.3235 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs index a452c8a180..7d583517d2 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.cs @@ -35,6 +35,8 @@ public ServerlessVPCAccessService() : this(new Google.Apis.Services.BaseClientSe public ServerlessVPCAccessService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vpcaccess.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vpcaccess.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ServerlessVPCAccessService(Google.Apis.Services.BaseClientService.Initial public override string Name => "vpcaccess"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vpcaccess.googleapis.com/"; + 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 => "https://vpcaccess.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj index a7bcebff0e..c7c0c3f750 100644 --- a/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServerlessVPCAccess.v1beta1/Google.Apis.ServerlessVPCAccess.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServerlessVPCAccess.v1beta1 Client Library - 1.66.0.3269 + 1.67.0.3269 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs index fa2ed45343..3216323afd 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.cs @@ -36,6 +36,8 @@ public ServiceConsumerManagementService(Google.Apis.Services.BaseClientService.I { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://serviceconsumermanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://serviceconsumermanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceConsumerManagementService(Google.Apis.Services.BaseClientService.I public override string Name => "serviceconsumermanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://serviceconsumermanagement.googleapis.com/"; + 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 => "https://serviceconsumermanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj index acdba9183c..7006630c9d 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1/Google.Apis.ServiceConsumerManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceConsumerManagement.v1 Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.cs b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.cs index be39b43c96..9eca1916a5 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.cs @@ -36,6 +36,8 @@ public ServiceConsumerManagementService(Google.Apis.Services.BaseClientService.I { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://serviceconsumermanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://serviceconsumermanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceConsumerManagementService(Google.Apis.Services.BaseClientService.I public override string Name => "serviceconsumermanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://serviceconsumermanagement.googleapis.com/"; + 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 => "https://serviceconsumermanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.csproj b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.csproj index b9f72d345f..59b653218c 100644 --- a/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServiceConsumerManagement.v1beta1/Google.Apis.ServiceConsumerManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceConsumerManagement.v1beta1 Client Library - 1.66.0.3288 + 1.67.0.3288 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs index 805f12aabb..0c4cc8b202 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.cs @@ -35,6 +35,8 @@ public ServiceControlService() : this(new Google.Apis.Services.BaseClientService public ServiceControlService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicecontrol.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicecontrol.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ServiceControlService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "servicecontrol"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicecontrol.googleapis.com/"; + 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 => "https://servicecontrol.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj index fc20d42716..a1e57c1859 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceControl.v1/Google.Apis.ServiceControl.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceControl.v1 Client Library - 1.66.0.3130 + 1.67.0.3130 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.cs b/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.cs index 96e9490aa5..9866dc0865 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.cs +++ b/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.cs @@ -35,6 +35,8 @@ public ServiceControlService() : this(new Google.Apis.Services.BaseClientService public ServiceControlService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicecontrol.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicecontrol.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ServiceControlService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "servicecontrol"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicecontrol.googleapis.com/"; + 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 => "https://servicecontrol.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.csproj b/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.csproj index b12cfd448a..9097317a15 100644 --- a/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.csproj +++ b/Src/Generated/Google.Apis.ServiceControl.v2/Google.Apis.ServiceControl.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceControl.v2 Client Library - 1.66.0.3138 + 1.67.0.3138 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.cs b/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.cs index 0d14ee7050..367cd3b8b8 100644 --- a/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.cs +++ b/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.cs @@ -35,6 +35,8 @@ public ServiceDirectoryService() : this(new Google.Apis.Services.BaseClientServi public ServiceDirectoryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicedirectory.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicedirectory.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ServiceDirectoryService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "servicedirectory"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicedirectory.googleapis.com/"; + 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 => "https://servicedirectory.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.csproj b/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.csproj index f42194fe20..9fc2da8662 100644 --- a/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceDirectory.v1/Google.Apis.ServiceDirectory.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceDirectory.v1 Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.cs b/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.cs index b125bdfb43..25e90430a1 100644 --- a/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.cs @@ -35,6 +35,8 @@ public ServiceDirectoryService() : this(new Google.Apis.Services.BaseClientServi public ServiceDirectoryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicedirectory.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicedirectory.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ServiceDirectoryService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "servicedirectory"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicedirectory.googleapis.com/"; + 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 => "https://servicedirectory.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.csproj b/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.csproj index 220f5f1079..822b117c2e 100644 --- a/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServiceDirectory.v1beta1/Google.Apis.ServiceDirectory.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceDirectory.v1beta1 Client Library - 1.66.0.3307 + 1.67.0.3307 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs index 515365e77f..eef0a49792 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.cs @@ -36,6 +36,8 @@ public ServiceManagementService(Google.Apis.Services.BaseClientService.Initializ { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicemanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicemanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceManagementService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "servicemanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicemanagement.googleapis.com/"; + 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 => "https://servicemanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj index 3409cfe5a8..c789a3a7e5 100644 --- a/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceManagement.v1/Google.Apis.ServiceManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceManagement.v1 Client Library - 1.66.0.3305 + 1.67.0.3305 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs index b08d51363a..471680b6e3 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs @@ -36,6 +36,8 @@ public ServiceNetworkingService(Google.Apis.Services.BaseClientService.Initializ { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicenetworking.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicenetworking.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceNetworkingService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "servicenetworking"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicenetworking.googleapis.com/"; + 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 => "https://servicenetworking.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj index 2306b20a0c..f1100171f1 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1 Client Library - 1.66.0.3287 + 1.67.0.3287 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs index 16adfa026a..e808ea5360 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs @@ -36,6 +36,8 @@ public ServiceNetworkingService(Google.Apis.Services.BaseClientService.Initializ { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://servicenetworking.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://servicenetworking.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceNetworkingService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "servicenetworking"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://servicenetworking.googleapis.com/"; + 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 => "https://servicenetworking.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj index b8b21c0fcd..8655fb30d9 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1beta Client Library - 1.66.0.3287 + 1.67.0.3287 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs index 86bb73d643..70e0c63211 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs +++ b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.cs @@ -36,6 +36,8 @@ public ServiceUsageService(Google.Apis.Services.BaseClientService.Initializer in { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://serviceusage.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://serviceusage.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceUsageService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "serviceusage"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://serviceusage.googleapis.com/"; + 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 => "https://serviceusage.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj index 2816c9ea34..3ee1152e07 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceUsage.v1/Google.Apis.ServiceUsage.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceUsage.v1 Client Library - 1.66.0.3337 + 1.67.0.3337 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs index b54bcba12f..8279151e4b 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs +++ b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs @@ -36,6 +36,8 @@ public ServiceUsageService(Google.Apis.Services.BaseClientService.Initializer in { Operations = new OperationsResource(this); Services = new ServicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://serviceusage.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://serviceusage.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public ServiceUsageService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "serviceusage"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://serviceusage.googleapis.com/"; + 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 => "https://serviceusage.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj index 17750005b4..e7e0379640 100644 --- a/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj +++ b/Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceUsage.v1beta1 Client Library - 1.66.0.3337 + 1.67.0.3337 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs index f4374f3c19..84c4ac77e5 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs +++ b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs @@ -35,6 +35,8 @@ public SheetsService() : this(new Google.Apis.Services.BaseClientService.Initial public SheetsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Spreadsheets = new SpreadsheetsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://sheets.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://sheets.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SheetsService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "sheets"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://sheets.googleapis.com/"; + 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 => "https://sheets.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj index 76eef054ce..fa28cdf687 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj +++ b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.Sheets.v4 Client Library - 1.66.0.3148 + 1.67.0.3148 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs index 0f82ffb8b4..a841377afb 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs @@ -71,6 +71,8 @@ public ShoppingContentService(Google.Apis.Services.BaseClientService.Initializer Settlementtransactions = new SettlementtransactionsResource(this); Shippingsettings = new ShippingsettingsResource(this); Shoppingadsprogram = new ShoppingadsprogramResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://shoppingcontent.googleapis.com/content/v2.1/"); + BatchUri = GetEffectiveUri(null, "https://shoppingcontent.googleapis.com/batch"); } /// Gets the service supported features. @@ -80,13 +82,13 @@ public ShoppingContentService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "content"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://shoppingcontent.googleapis.com/content/v2.1/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "content/v2.1/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://shoppingcontent.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj index ab6398d19b..ae89396739 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj @@ -3,7 +3,7 @@ Google.Apis.ShoppingContent.v2_1 Client Library - 1.66.0.3336 + 1.67.0.3336 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs index 568da0235f..2556a0b9d4 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.cs @@ -35,6 +35,8 @@ public SiteVerificationService() : this(new Google.Apis.Services.BaseClientServi public SiteVerificationService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { WebResource = new WebResourceResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://www.googleapis.com/siteVerification/v1/"); + BatchUri = GetEffectiveUri(null, "https://www.googleapis.com/batch/siteVerification/v1"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SiteVerificationService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "siteVerification"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://www.googleapis.com/siteVerification/v1/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "siteVerification/v1/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://www.googleapis.com/batch/siteVerification/v1"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/siteVerification/v1"; diff --git a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.csproj b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.csproj index 532423aca1..a7d90469d0 100644 --- a/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.csproj +++ b/Src/Generated/Google.Apis.SiteVerification.v1/Google.Apis.SiteVerification.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SiteVerification.v1 Client Library - 1.66.0.1783 + 1.67.0.1783 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs index 14822bc526..38b85cc797 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs +++ b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.cs @@ -35,6 +35,8 @@ public SlidesService() : this(new Google.Apis.Services.BaseClientService.Initial public SlidesService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Presentations = new PresentationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://slides.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://slides.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SlidesService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "slides"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://slides.googleapis.com/"; + 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 => "https://slides.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.csproj b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.csproj index bf3a8cd9ee..e0e0aa6b5c 100644 --- a/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.csproj +++ b/Src/Generated/Google.Apis.Slides.v1/Google.Apis.Slides.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Slides.v1 Client Library - 1.66.0.3107 + 1.67.0.3107 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.cs b/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.cs index bf279115b5..7395c50a0d 100644 --- a/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.cs +++ b/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.cs @@ -35,6 +35,8 @@ public SmartDeviceManagementService() : this(new Google.Apis.Services.BaseClient public SmartDeviceManagementService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Enterprises = new EnterprisesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://smartdevicemanagement.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://smartdevicemanagement.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SmartDeviceManagementService(Google.Apis.Services.BaseClientService.Initi public override string Name => "smartdevicemanagement"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://smartdevicemanagement.googleapis.com/"; + 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 => "https://smartdevicemanagement.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.csproj b/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.csproj index 13bd9c4ff6..e47db1baa5 100644 --- a/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.csproj +++ b/Src/Generated/Google.Apis.SmartDeviceManagement.v1/Google.Apis.SmartDeviceManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SmartDeviceManagement.v1 Client Library - 1.66.0.3244 + 1.67.0.3244 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs index 85871958d4..32f0a5c849 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs +++ b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.cs @@ -36,6 +36,8 @@ public SpannerService(Google.Apis.Services.BaseClientService.Initializer initial { Projects = new ProjectsResource(this); Scans = new ScansResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://spanner.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://spanner.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public SpannerService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "spanner"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://spanner.googleapis.com/"; + 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 => "https://spanner.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj index c57143eef2..0fddfce6da 100644 --- a/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj +++ b/Src/Generated/Google.Apis.Spanner.v1/Google.Apis.Spanner.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Spanner.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs index 70417747a4..b3a8855ef7 100644 --- a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs +++ b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.cs @@ -37,6 +37,8 @@ public SpeechService(Google.Apis.Services.BaseClientService.Initializer initiali Operations = new OperationsResource(this); Projects = new ProjectsResource(this); Speech = new SpeechResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://speech.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://speech.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public SpeechService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "speech"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://speech.googleapis.com/"; + 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 => "https://speech.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj index 38c4954d85..b3c0776344 100644 --- a/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj +++ b/Src/Generated/Google.Apis.Speech.v1/Google.Apis.Speech.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Speech.v1 Client Library - 1.66.0.3294 + 1.67.0.3294 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs index 77a3248952..5c4e36936d 100644 --- a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs +++ b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.cs @@ -37,6 +37,8 @@ public SpeechService(Google.Apis.Services.BaseClientService.Initializer initiali Operations = new OperationsResource(this); Projects = new ProjectsResource(this); Speech = new SpeechResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://speech.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://speech.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public SpeechService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "speech"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://speech.googleapis.com/"; + 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 => "https://speech.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj index db038b0074..4bdf6472be 100644 --- a/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj +++ b/Src/Generated/Google.Apis.Speech.v1p1beta1/Google.Apis.Speech.v1p1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Speech.v1p1beta1 Client Library - 1.66.0.3294 + 1.67.0.3294 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs index c785c512f8..422c685f72 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs +++ b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.cs @@ -46,6 +46,8 @@ public StorageService(Google.Apis.Services.BaseClientService.Initializer initial Objects = new ObjectsResource(this); Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://storage.googleapis.com/storage/v1/"); + BatchUri = GetEffectiveUri(null, "https://storage.googleapis.com/batch/storage/v1"); } /// Gets the service supported features. @@ -55,13 +57,13 @@ public StorageService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "storage"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://storage.googleapis.com/storage/v1/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "storage/v1/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://storage.googleapis.com/batch/storage/v1"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/storage/v1"; diff --git a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj index 8d330a44ed..6e96cd287c 100644 --- a/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj +++ b/Src/Generated/Google.Apis.Storage.v1/Google.Apis.Storage.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Storage.v1 Client Library - 1.66.0.3326 + 1.67.0.3326 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs index 043cd411de..6f17b63dd8 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs @@ -38,6 +38,8 @@ public StoragetransferService(Google.Apis.Services.BaseClientService.Initializer Projects = new ProjectsResource(this); TransferJobs = new TransferJobsResource(this); TransferOperations = new TransferOperationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://storagetransfer.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://storagetransfer.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public StoragetransferService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "storagetransfer"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://storagetransfer.googleapis.com/"; + 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 => "https://storagetransfer.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj index e57395c1f3..b07ce09825 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Storagetransfer.v1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs index 480561251a..8cdbaca53e 100644 --- a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs +++ b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.cs @@ -38,6 +38,8 @@ public StreetViewPublishService(Google.Apis.Services.BaseClientService.Initializ PhotoSequence = new PhotoSequenceResource(this); PhotoSequences = new PhotoSequencesResource(this); Photos = new PhotosResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://streetviewpublish.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://streetviewpublish.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public StreetViewPublishService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "streetviewpublish"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://streetviewpublish.googleapis.com/"; + 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 => "https://streetviewpublish.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj index 77305495e5..0416feb480 100644 --- a/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj +++ b/Src/Generated/Google.Apis.StreetViewPublish.v1/Google.Apis.StreetViewPublish.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.StreetViewPublish.v1 Client Library - 1.66.0.3258 + 1.67.0.3258 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.cs b/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.cs index 319147e2d0..d663f8922e 100644 --- a/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.cs +++ b/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.cs @@ -35,6 +35,8 @@ public SubscriptionLinkingService() : this(new Google.Apis.Services.BaseClientSe public SubscriptionLinkingService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Publications = new PublicationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://readerrevenuesubscriptionlinking.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://readerrevenuesubscriptionlinking.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public SubscriptionLinkingService(Google.Apis.Services.BaseClientService.Initial public override string Name => "readerrevenuesubscriptionlinking"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://readerrevenuesubscriptionlinking.googleapis.com/"; + 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 => "https://readerrevenuesubscriptionlinking.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.csproj b/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.csproj index a8f9ca144a..0215821b6d 100644 --- a/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.csproj +++ b/Src/Generated/Google.Apis.SubscriptionLinking.v1/Google.Apis.SubscriptionLinking.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SubscriptionLinking.v1 Client Library - 1.66.0.2974 + 1.67.0.2974 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.cs b/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.cs index f5f87b0dda..94429d4d9d 100644 --- a/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.cs +++ b/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.cs @@ -35,6 +35,8 @@ public TPUService() : this(new Google.Apis.Services.BaseClientService.Initialize public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tpu.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tpu.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "tpu"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tpu.googleapis.com/"; + 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 => "https://tpu.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.csproj b/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.csproj index e4d0812688..72c83fe2e8 100644 --- a/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.csproj +++ b/Src/Generated/Google.Apis.TPU.v1/Google.Apis.TPU.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.TPU.v1 Client Library - 1.66.0.3136 + 1.67.0.3136 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.cs b/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.cs index 0747faf834..8e74c351cd 100644 --- a/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.cs +++ b/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.cs @@ -35,6 +35,8 @@ public TPUService() : this(new Google.Apis.Services.BaseClientService.Initialize public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tpu.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tpu.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "tpu"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tpu.googleapis.com/"; + 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 => "https://tpu.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.csproj b/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.csproj index 5e8890cfb4..660e91bd3e 100644 --- a/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.TPU.v1alpha1/Google.Apis.TPU.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.TPU.v1alpha1 Client Library - 1.66.0.3136 + 1.67.0.3136 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.cs b/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.cs index f2464b4856..21cf9a881c 100644 --- a/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.cs +++ b/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.cs @@ -35,6 +35,8 @@ public TPUService() : this(new Google.Apis.Services.BaseClientService.Initialize public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tpu.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tpu.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "tpu"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tpu.googleapis.com/"; + 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 => "https://tpu.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.csproj b/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.csproj index 675a7bed0e..4d7c4f9c03 100644 --- a/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.csproj +++ b/Src/Generated/Google.Apis.TPU.v2/Google.Apis.TPU.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.TPU.v2 Client Library - 1.66.0.3322 + 1.67.0.3322 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs index 0edc09cc75..1c1488202b 100644 --- a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs +++ b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.cs @@ -35,6 +35,8 @@ public TPUService() : this(new Google.Apis.Services.BaseClientService.Initialize public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tpu.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tpu.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TPUService(Google.Apis.Services.BaseClientService.Initializer initializer public override string Name => "tpu"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tpu.googleapis.com/"; + 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 => "https://tpu.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj index c025498994..52fce7fb6d 100644 --- a/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj +++ b/Src/Generated/Google.Apis.TPU.v2alpha1/Google.Apis.TPU.v2alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.TPU.v2alpha1 Client Library - 1.66.0.3322 + 1.67.0.3322 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs index 5d4eb9534f..feb373accc 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs +++ b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.cs @@ -35,6 +35,8 @@ public TagManagerService() : this(new Google.Apis.Services.BaseClientService.Ini public TagManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tagmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tagmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TagManagerService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "tagmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tagmanager.googleapis.com/"; + 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 => "https://tagmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj index 5a2667bdc5..35e3a2058b 100644 --- a/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj +++ b/Src/Generated/Google.Apis.TagManager.v1/Google.Apis.TagManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.TagManager.v1 Client Library - 1.66.0.3107 + 1.67.0.3107 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs index 1a77f1ffbb..c6051197a9 100644 --- a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs +++ b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.cs @@ -35,6 +35,8 @@ public TagManagerService() : this(new Google.Apis.Services.BaseClientService.Ini public TagManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Accounts = new AccountsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tagmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tagmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TagManagerService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "tagmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tagmanager.googleapis.com/"; + 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 => "https://tagmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj index ac5f5b5f76..e63be57bf9 100644 --- a/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj +++ b/Src/Generated/Google.Apis.TagManager.v2/Google.Apis.TagManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.TagManager.v2 Client Library - 1.66.0.3190 + 1.67.0.3190 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs index b3faad5311..3ea51aaba8 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs +++ b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.cs @@ -36,6 +36,8 @@ public TasksService(Google.Apis.Services.BaseClientService.Initializer initializ { Tasklists = new TasklistsResource(this); Tasks = new TasksResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://tasks.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://tasks.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public TasksService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "tasks"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://tasks.googleapis.com/"; + 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 => "https://tasks.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.csproj b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.csproj index cd45c34820..7405fef13a 100644 --- a/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.csproj +++ b/Src/Generated/Google.Apis.Tasks.v1/Google.Apis.Tasks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Tasks.v1 Client Library - 1.66.0.3015 + 1.67.0.3015 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs index 681ad40d34..d4a5176f37 100644 --- a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs +++ b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.cs @@ -37,6 +37,8 @@ public TestingService(Google.Apis.Services.BaseClientService.Initializer initial ApplicationDetailService = new ApplicationDetailServiceResource(this); Projects = new ProjectsResource(this); TestEnvironmentCatalog = new TestEnvironmentCatalogResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://testing.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://testing.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public TestingService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "testing"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://testing.googleapis.com/"; + 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 => "https://testing.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj index c18cb0eb72..83ce7cfff4 100644 --- a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj +++ b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Testing.v1 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs index af3e3ce130..113b697699 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs +++ b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs @@ -38,6 +38,8 @@ public TexttospeechService(Google.Apis.Services.BaseClientService.Initializer in Projects = new ProjectsResource(this); Text = new TextResource(this); Voices = new VoicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://texttospeech.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://texttospeech.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public TexttospeechService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "texttospeech"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://texttospeech.googleapis.com/"; + 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 => "https://texttospeech.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj index 9011f3f59a..fc6e2dc15d 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj +++ b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Texttospeech.v1 Client Library - 1.66.0.3295 + 1.67.0.3295 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs index 6560192bac..477d69beea 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs +++ b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs @@ -37,6 +37,8 @@ public TexttospeechService(Google.Apis.Services.BaseClientService.Initializer in Projects = new ProjectsResource(this); Text = new TextResource(this); Voices = new VoicesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://texttospeech.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://texttospeech.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public TexttospeechService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "texttospeech"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://texttospeech.googleapis.com/"; + 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 => "https://texttospeech.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj index c057a24749..1c23db7c1f 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Texttospeech.v1beta1 Client Library - 1.66.0.3295 + 1.67.0.3295 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs index 009dd73696..5f384321e7 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.cs @@ -35,6 +35,8 @@ public ToolResultsService() : this(new Google.Apis.Services.BaseClientService.In public ToolResultsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://toolresults.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://toolresults.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public ToolResultsService(Google.Apis.Services.BaseClientService.Initializer ini public override string Name => "toolresults"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://toolresults.googleapis.com/"; + 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 => "https://toolresults.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj index 6fbd790c1c..d5e3854d1b 100644 --- a/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj +++ b/Src/Generated/Google.Apis.ToolResults.v1beta3/Google.Apis.ToolResults.v1beta3.csproj @@ -3,7 +3,7 @@ Google.Apis.ToolResults.v1beta3 Client Library - 1.66.0.3296 + 1.67.0.3296 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.cs b/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.cs index 8b5b9a6273..a1087760f6 100644 --- a/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.cs +++ b/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.cs @@ -35,6 +35,8 @@ public TrafficDirectorServiceService() : this(new Google.Apis.Services.BaseClien public TrafficDirectorServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Discovery = new DiscoveryResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://trafficdirector.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://trafficdirector.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TrafficDirectorServiceService(Google.Apis.Services.BaseClientService.Init public override string Name => "trafficdirector"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://trafficdirector.googleapis.com/"; + 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 => "https://trafficdirector.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.csproj b/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.csproj index d87a632546..ce2e59f75f 100644 --- a/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.csproj +++ b/Src/Generated/Google.Apis.TrafficDirectorService.v2/Google.Apis.TrafficDirectorService.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.TrafficDirectorService.v2 Client Library - 1.66.0.3113 + 1.67.0.3113 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.cs b/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.cs index 9256f85790..8b3bc20ccf 100644 --- a/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.cs +++ b/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.cs @@ -35,6 +35,8 @@ public TrafficDirectorServiceService() : this(new Google.Apis.Services.BaseClien public TrafficDirectorServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Discovery = new DiscoveryResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://trafficdirector.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://trafficdirector.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TrafficDirectorServiceService(Google.Apis.Services.BaseClientService.Init public override string Name => "trafficdirector"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://trafficdirector.googleapis.com/"; + 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 => "https://trafficdirector.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.csproj b/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.csproj index bab2c842e3..06e5f28f7b 100644 --- a/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.csproj +++ b/Src/Generated/Google.Apis.TrafficDirectorService.v3/Google.Apis.TrafficDirectorService.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.TrafficDirectorService.v3 Client Library - 1.66.0.3331 + 1.67.0.3331 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.cs b/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.cs index e54d5a88a4..f1ff34bc29 100644 --- a/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.cs +++ b/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.cs @@ -35,6 +35,8 @@ public TranscoderService() : this(new Google.Apis.Services.BaseClientService.Ini public TranscoderService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://transcoder.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://transcoder.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TranscoderService(Google.Apis.Services.BaseClientService.Initializer init public override string Name => "transcoder"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://transcoder.googleapis.com/"; + 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 => "https://transcoder.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.csproj b/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.csproj index eb7fd892cf..cb343fdbec 100644 --- a/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.csproj +++ b/Src/Generated/Google.Apis.Transcoder.v1/Google.Apis.Transcoder.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Transcoder.v1 Client Library - 1.66.0.3324 + 1.67.0.3324 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs index 4fc86d5a90..179a67856e 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs +++ b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.cs @@ -37,6 +37,8 @@ public TranslateService(Google.Apis.Services.BaseClientService.Initializer initi Detections = new DetectionsResource(this); Languages = new LanguagesResource(this); Translations = new TranslationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://translation.googleapis.com/language/translate/"); + BatchUri = GetEffectiveUri(null, "https://translation.googleapis.com/batch/translate"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public TranslateService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "translate"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://translation.googleapis.com/language/translate/"; + public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => "language/translate/"; /// Gets the batch base URI; null if unspecified. - public override string BatchUri => "https://translation.googleapis.com/batch/translate"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch/translate"; diff --git a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.csproj b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.csproj index 04b82a61d9..d320604221 100644 --- a/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.csproj +++ b/Src/Generated/Google.Apis.Translate.v2/Google.Apis.Translate.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Translate.v2 Client Library - 1.66.0.875 + 1.67.0.875 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.cs b/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.cs index 7f4b869748..9c598af69c 100644 --- a/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.cs +++ b/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.cs @@ -35,6 +35,8 @@ public TranslateService() : this(new Google.Apis.Services.BaseClientService.Init public TranslateService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://translation.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://translation.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TranslateService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "translate"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://translation.googleapis.com/"; + 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 => "https://translation.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.csproj b/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.csproj index 9ad8700d66..5d605d11fc 100644 --- a/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.csproj +++ b/Src/Generated/Google.Apis.Translate.v3/Google.Apis.Translate.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Translate.v3 Client Library - 1.66.0.3317 + 1.67.0.3317 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.cs b/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.cs index 4fc34431c4..0613bebf91 100644 --- a/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.cs +++ b/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.cs @@ -35,6 +35,8 @@ public TranslateService() : this(new Google.Apis.Services.BaseClientService.Init public TranslateService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://translation.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://translation.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TranslateService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "translate"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://translation.googleapis.com/"; + 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 => "https://translation.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.csproj b/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.csproj index 3d6534dcbb..99d59255f9 100644 --- a/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.csproj +++ b/Src/Generated/Google.Apis.Translate.v3beta1/Google.Apis.Translate.v3beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Translate.v3beta1 Client Library - 1.66.0.3186 + 1.67.0.3186 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.cs b/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.cs index 3b06a0b97c..a72d0719e1 100644 --- a/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.cs +++ b/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.cs @@ -35,6 +35,8 @@ public TravelImpactModelService() : this(new Google.Apis.Services.BaseClientServ public TravelImpactModelService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Flights = new FlightsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://travelimpactmodel.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://travelimpactmodel.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public TravelImpactModelService(Google.Apis.Services.BaseClientService.Initializ public override string Name => "travelimpactmodel"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://travelimpactmodel.googleapis.com/"; + 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 => "https://travelimpactmodel.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.csproj b/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.csproj index 8c83755c66..9cc07db34e 100644 --- a/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.csproj +++ b/Src/Generated/Google.Apis.TravelImpactModel.v1/Google.Apis.TravelImpactModel.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.TravelImpactModel.v1 Client Library - 1.66.0.3206 + 1.67.0.3206 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs index d24ea8fe43..ebf7ecffac 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs +++ b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs @@ -35,6 +35,8 @@ public VMMigrationServiceService() : this(new Google.Apis.Services.BaseClientSer public VMMigrationServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vmmigration.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vmmigration.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public VMMigrationServiceService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "vmmigration"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vmmigration.googleapis.com/"; + 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 => "https://vmmigration.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj index c6eec31051..79f059db1a 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj +++ b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.VMMigrationService.v1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs index ce16e9d9f7..ce81f1c4c7 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs +++ b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs @@ -35,6 +35,8 @@ public VMMigrationServiceService() : this(new Google.Apis.Services.BaseClientSer public VMMigrationServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vmmigration.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vmmigration.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public VMMigrationServiceService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "vmmigration"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vmmigration.googleapis.com/"; + 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 => "https://vmmigration.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj index df18d280d6..2bd043d692 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.VMMigrationService.v1alpha1 Client Library - 1.66.0.3304 + 1.67.0.3304 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.cs b/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.cs index 2f7db18d7c..ebec016ff1 100644 --- a/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.cs +++ b/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.cs @@ -35,6 +35,8 @@ public VMwareEngineService() : this(new Google.Apis.Services.BaseClientService.I public VMwareEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vmwareengine.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vmwareengine.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public VMwareEngineService(Google.Apis.Services.BaseClientService.Initializer in public override string Name => "vmwareengine"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vmwareengine.googleapis.com/"; + 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 => "https://vmwareengine.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.csproj b/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.csproj index c4c89ac40e..ad86cc7d61 100644 --- a/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.csproj +++ b/Src/Generated/Google.Apis.VMwareEngine.v1/Google.Apis.VMwareEngine.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.VMwareEngine.v1 Client Library - 1.66.0.3312 + 1.67.0.3312 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.cs b/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.cs index 3b7b3211e6..167763be65 100644 --- a/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.cs +++ b/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.cs @@ -36,6 +36,8 @@ public VaultService(Google.Apis.Services.BaseClientService.Initializer initializ { Matters = new MattersResource(this); Operations = new OperationsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vault.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vault.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public VaultService(Google.Apis.Services.BaseClientService.Initializer initializ public override string Name => "vault"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vault.googleapis.com/"; + 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 => "https://vault.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.csproj b/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.csproj index a58a8387ad..d8d60f0c40 100644 --- a/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.csproj +++ b/Src/Generated/Google.Apis.Vault.v1/Google.Apis.Vault.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Vault.v1 Client Library - 1.66.0.3268 + 1.67.0.3268 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.cs b/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.cs index 4280a25cf0..d226e748b8 100644 --- a/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.cs +++ b/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.cs @@ -35,6 +35,8 @@ public VerifiedaccessService() : this(new Google.Apis.Services.BaseClientService public VerifiedaccessService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Challenge = new ChallengeResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://verifiedaccess.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://verifiedaccess.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public VerifiedaccessService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "verifiedaccess"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://verifiedaccess.googleapis.com/"; + 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 => "https://verifiedaccess.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.csproj b/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.csproj index d2829d8211..748054c63d 100644 --- a/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.csproj +++ b/Src/Generated/Google.Apis.Verifiedaccess.v1/Google.Apis.Verifiedaccess.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Verifiedaccess.v1 Client Library - 1.66.0.3148 + 1.67.0.3148 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.cs b/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.cs index 8fcd7beb5b..30318a3ef6 100644 --- a/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.cs +++ b/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.cs @@ -35,6 +35,8 @@ public VerifiedaccessService() : this(new Google.Apis.Services.BaseClientService public VerifiedaccessService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Challenge = new ChallengeResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://verifiedaccess.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://verifiedaccess.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public VerifiedaccessService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "verifiedaccess"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://verifiedaccess.googleapis.com/"; + 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 => "https://verifiedaccess.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.csproj b/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.csproj index 14a851a501..7d5b46a541 100644 --- a/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.csproj +++ b/Src/Generated/Google.Apis.Verifiedaccess.v2/Google.Apis.Verifiedaccess.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Verifiedaccess.v2 Client Library - 1.66.0.3134 + 1.67.0.3134 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.cs b/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.cs index 77f41e6d9e..e49ec03fb2 100644 --- a/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.cs +++ b/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.cs @@ -35,6 +35,8 @@ public VersionHistoryService() : this(new Google.Apis.Services.BaseClientService public VersionHistoryService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Platforms = new PlatformsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://versionhistory.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://versionhistory.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public VersionHistoryService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "versionhistory"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://versionhistory.googleapis.com/"; + 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 => "https://versionhistory.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.csproj b/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.csproj index 3510864e66..d30cfa5bf3 100644 --- a/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.csproj +++ b/Src/Generated/Google.Apis.VersionHistory.v1/Google.Apis.VersionHistory.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.VersionHistory.v1 Client Library - 1.66.0.3309 + 1.67.0.3309 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs index 8053b3f9cc..734fdc275f 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs +++ b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.cs @@ -39,6 +39,8 @@ public VisionService(Google.Apis.Services.BaseClientService.Initializer initiali Locations = new LocationsResource(this); Operations = new OperationsResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vision.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vision.googleapis.com/batch"); } /// Gets the service supported features. @@ -48,13 +50,13 @@ public VisionService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "vision"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vision.googleapis.com/"; + 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 => "https://vision.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.csproj b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.csproj index b33fe8f6a1..a976f1c1e4 100644 --- a/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.csproj +++ b/Src/Generated/Google.Apis.Vision.v1/Google.Apis.Vision.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Vision.v1 Client Library - 1.66.0.3274 + 1.67.0.3274 Google LLC Copyright 2024 Google LLC Google @@ -59,8 +59,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.cs b/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.cs index c058b53888..13fefc8e53 100644 --- a/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.cs +++ b/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.cs @@ -37,6 +37,8 @@ public VisionService(Google.Apis.Services.BaseClientService.Initializer initiali Files = new FilesResource(this); Images = new ImagesResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vision.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vision.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public VisionService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "vision"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vision.googleapis.com/"; + 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 => "https://vision.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.csproj b/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.csproj index c553763788..12fcf47828 100644 --- a/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.csproj +++ b/Src/Generated/Google.Apis.Vision.v1p1beta1/Google.Apis.Vision.v1p1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Vision.v1p1beta1 Client Library - 1.66.0.3274 + 1.67.0.3274 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.cs b/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.cs index 85d49d0928..ca23838eff 100644 --- a/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.cs +++ b/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.cs @@ -37,6 +37,8 @@ public VisionService(Google.Apis.Services.BaseClientService.Initializer initiali Files = new FilesResource(this); Images = new ImagesResource(this); Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://vision.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://vision.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public VisionService(Google.Apis.Services.BaseClientService.Initializer initiali public override string Name => "vision"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://vision.googleapis.com/"; + 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 => "https://vision.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.csproj b/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.csproj index dcba949f4f..4f29a6acb6 100644 --- a/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.csproj +++ b/Src/Generated/Google.Apis.Vision.v1p2beta1/Google.Apis.Vision.v1p2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Vision.v1p2beta1 Client Library - 1.66.0.3274 + 1.67.0.3274 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.cs b/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.cs index 6b6bae6307..5ef273bbf8 100644 --- a/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.cs +++ b/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.cs @@ -53,6 +53,8 @@ public WalletobjectsService(Google.Apis.Services.BaseClientService.Initializer i Smarttap = new SmarttapResource(this); Transitclass = new TransitclassResource(this); Transitobject = new TransitobjectResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://walletobjects.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://walletobjects.googleapis.com/batch"); } /// Gets the service supported features. @@ -62,13 +64,13 @@ public WalletobjectsService(Google.Apis.Services.BaseClientService.Initializer i public override string Name => "walletobjects"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://walletobjects.googleapis.com/"; + 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 => "https://walletobjects.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj b/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj index e8ae9575c8..7cfb84d126 100644 --- a/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj +++ b/Src/Generated/Google.Apis.Walletobjects.v1/Google.Apis.Walletobjects.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Walletobjects.v1 Client Library - 1.66.0.3338 + 1.67.0.3338 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.cs b/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.cs index 2849ae0649..faebb50b28 100644 --- a/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.cs +++ b/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.cs @@ -38,6 +38,8 @@ public WebRiskService(Google.Apis.Services.BaseClientService.Initializer initial Projects = new ProjectsResource(this); ThreatLists = new ThreatListsResource(this); Uris = new UrisResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://webrisk.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://webrisk.googleapis.com/batch"); } /// Gets the service supported features. @@ -47,13 +49,13 @@ public WebRiskService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "webrisk"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://webrisk.googleapis.com/"; + 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 => "https://webrisk.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.csproj b/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.csproj index 2769918d3c..26708a6bd9 100644 --- a/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.csproj +++ b/Src/Generated/Google.Apis.WebRisk.v1/Google.Apis.WebRisk.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WebRisk.v1 Client Library - 1.66.0.3139 + 1.67.0.3139 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.cs b/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.cs index f91fdc7988..bc886f0f6b 100644 --- a/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.cs +++ b/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.cs @@ -35,6 +35,8 @@ public WebSecurityScannerService() : this(new Google.Apis.Services.BaseClientSer public WebSecurityScannerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://websecurityscanner.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://websecurityscanner.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WebSecurityScannerService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "websecurityscanner"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://websecurityscanner.googleapis.com/"; + 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 => "https://websecurityscanner.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.csproj b/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.csproj index 4dcace07fb..676a4355b4 100644 --- a/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.csproj +++ b/Src/Generated/Google.Apis.WebSecurityScanner.v1/Google.Apis.WebSecurityScanner.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WebSecurityScanner.v1 Client Library - 1.66.0.3215 + 1.67.0.3215 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.cs b/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.cs index 625b07edea..52e61eb70e 100644 --- a/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.cs +++ b/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.cs @@ -35,6 +35,8 @@ public WebSecurityScannerService() : this(new Google.Apis.Services.BaseClientSer public WebSecurityScannerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://websecurityscanner.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://websecurityscanner.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WebSecurityScannerService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "websecurityscanner"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://websecurityscanner.googleapis.com/"; + 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 => "https://websecurityscanner.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.csproj b/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.csproj index adfe5db53f..15b0ea0fbd 100644 --- a/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.csproj +++ b/Src/Generated/Google.Apis.WebSecurityScanner.v1alpha/Google.Apis.WebSecurityScanner.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.WebSecurityScanner.v1alpha Client Library - 1.66.0.3215 + 1.67.0.3215 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.cs b/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.cs index aa6be2bcd5..0c59ff6e85 100644 --- a/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.cs +++ b/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.cs @@ -35,6 +35,8 @@ public WebSecurityScannerService() : this(new Google.Apis.Services.BaseClientSer public WebSecurityScannerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://websecurityscanner.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://websecurityscanner.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WebSecurityScannerService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "websecurityscanner"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://websecurityscanner.googleapis.com/"; + 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 => "https://websecurityscanner.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.csproj b/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.csproj index 749c15479d..439e313504 100644 --- a/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.csproj +++ b/Src/Generated/Google.Apis.WebSecurityScanner.v1beta/Google.Apis.WebSecurityScanner.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.WebSecurityScanner.v1beta Client Library - 1.66.0.3215 + 1.67.0.3215 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs index d3ad256b60..3221985637 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs +++ b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs @@ -35,6 +35,8 @@ public WebfontsService() : this(new Google.Apis.Services.BaseClientService.Initi public WebfontsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Webfonts = new WebfontsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://webfonts.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://webfonts.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WebfontsService(Google.Apis.Services.BaseClientService.Initializer initia public override string Name => "webfonts"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://webfonts.googleapis.com/"; + 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 => "https://webfonts.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.csproj b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.csproj index 62f29634d2..8f36ea82c1 100644 --- a/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.csproj +++ b/Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Webfonts.v1 Client Library - 1.66.0.3030 + 1.67.0.3030 Google LLC Copyright 2024 Google LLC Google @@ -58,7 +58,7 @@ - + diff --git a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs index 363475824d..4b7b26e6f2 100644 --- a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs +++ b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.cs @@ -35,6 +35,8 @@ public WorkflowExecutionsService() : this(new Google.Apis.Services.BaseClientSer public WorkflowExecutionsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workflowexecutions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workflowexecutions.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WorkflowExecutionsService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "workflowexecutions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workflowexecutions.googleapis.com/"; + 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 => "https://workflowexecutions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj index 3a64c95853..4755de5594 100644 --- a/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj +++ b/Src/Generated/Google.Apis.WorkflowExecutions.v1/Google.Apis.WorkflowExecutions.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkflowExecutions.v1 Client Library - 1.66.0.3315 + 1.67.0.3315 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.cs b/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.cs index 3e53a0d422..9a6a960c7a 100644 --- a/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.cs +++ b/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.cs @@ -35,6 +35,8 @@ public WorkflowExecutionsService() : this(new Google.Apis.Services.BaseClientSer public WorkflowExecutionsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workflowexecutions.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workflowexecutions.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WorkflowExecutionsService(Google.Apis.Services.BaseClientService.Initiali public override string Name => "workflowexecutions"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workflowexecutions.googleapis.com/"; + 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 => "https://workflowexecutions.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.csproj b/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.csproj index ee3108148c..b7aca360d6 100644 --- a/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.csproj +++ b/Src/Generated/Google.Apis.WorkflowExecutions.v1beta/Google.Apis.WorkflowExecutions.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkflowExecutions.v1beta Client Library - 1.66.0.3121 + 1.67.0.3121 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.cs b/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.cs index 90c6ee1442..fc096f97cc 100644 --- a/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.cs +++ b/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.cs @@ -35,6 +35,8 @@ public WorkflowsService() : this(new Google.Apis.Services.BaseClientService.Init public WorkflowsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workflows.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workflows.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WorkflowsService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "workflows"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workflows.googleapis.com/"; + 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 => "https://workflows.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.csproj b/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.csproj index b577afd52a..8663d9239d 100644 --- a/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.csproj +++ b/Src/Generated/Google.Apis.Workflows.v1/Google.Apis.Workflows.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Workflows.v1 Client Library - 1.66.0.3296 + 1.67.0.3296 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.cs b/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.cs index da7966314b..15c13c217a 100644 --- a/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.cs +++ b/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.cs @@ -35,6 +35,8 @@ public WorkflowsService() : this(new Google.Apis.Services.BaseClientService.Init public WorkflowsService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workflows.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workflows.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WorkflowsService(Google.Apis.Services.BaseClientService.Initializer initi public override string Name => "workflows"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workflows.googleapis.com/"; + 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 => "https://workflows.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.csproj b/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.csproj index e13cb3f7fb..b349d701b1 100644 --- a/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.csproj +++ b/Src/Generated/Google.Apis.Workflows.v1beta/Google.Apis.Workflows.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Workflows.v1beta Client Library - 1.66.0.3135 + 1.67.0.3135 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs index 86106ba877..bfe7038cc9 100644 --- a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs +++ b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.cs @@ -35,6 +35,8 @@ public WorkloadManagerService() : this(new Google.Apis.Services.BaseClientServic public WorkloadManagerService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Projects = new ProjectsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workloadmanager.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workloadmanager.googleapis.com/batch"); } /// Gets the service supported features. @@ -44,13 +46,13 @@ public WorkloadManagerService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "workloadmanager"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workloadmanager.googleapis.com/"; + 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 => "https://workloadmanager.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj index 570acce460..9dd288ee83 100644 --- a/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj +++ b/Src/Generated/Google.Apis.WorkloadManager.v1/Google.Apis.WorkloadManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkloadManager.v1 Client Library - 1.66.0.3325 + 1.67.0.3325 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.cs b/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.cs index af325c7fcc..952035482c 100644 --- a/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.cs +++ b/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.cs @@ -36,6 +36,8 @@ public WorkspaceEventsService(Google.Apis.Services.BaseClientService.Initializer { Operations = new OperationsResource(this); Subscriptions = new SubscriptionsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://workspaceevents.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://workspaceevents.googleapis.com/batch"); } /// Gets the service supported features. @@ -45,13 +47,13 @@ public WorkspaceEventsService(Google.Apis.Services.BaseClientService.Initializer public override string Name => "workspaceevents"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://workspaceevents.googleapis.com/"; + 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 => "https://workspaceevents.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.csproj b/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.csproj index 0de5eb9123..679e335ec2 100644 --- a/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.csproj +++ b/Src/Generated/Google.Apis.WorkspaceEvents.v1/Google.Apis.WorkspaceEvents.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.WorkspaceEvents.v1 Client Library - 1.66.0.3335 + 1.67.0.3335 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs index 78d909ef3c..d04cf49f2f 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.cs @@ -65,6 +65,8 @@ public YouTubeService(Google.Apis.Services.BaseClientService.Initializer initial Videos = new VideosResource(this); Watermarks = new WatermarksResource(this); Youtube = new YoutubeResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://youtube.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://youtube.googleapis.com/batch"); } /// Gets the service supported features. @@ -74,13 +76,13 @@ public YouTubeService(Google.Apis.Services.BaseClientService.Initializer initial public override string Name => "youtube"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://youtube.googleapis.com/"; + 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 => "https://youtube.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj index f05153d773..7486d16a7b 100644 --- a/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj +++ b/Src/Generated/Google.Apis.YouTube.v3/Google.Apis.YouTube.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTube.v3 Client Library - 1.66.0.3330 + 1.67.0.3330 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs index 67945a8846..9bf844c5ab 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.cs @@ -37,6 +37,8 @@ public YouTubeAnalyticsService(Google.Apis.Services.BaseClientService.Initialize GroupItems = new GroupItemsResource(this); Groups = new GroupsResource(this); Reports = new ReportsResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://youtubeanalytics.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://youtubeanalytics.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public YouTubeAnalyticsService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "youtubeAnalytics"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://youtubeanalytics.googleapis.com/"; + 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 => "https://youtubeanalytics.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj index de0fa6508c..afd69ec99a 100644 --- a/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj +++ b/Src/Generated/Google.Apis.YouTubeAnalytics.v2/Google.Apis.YouTubeAnalytics.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTubeAnalytics.v2 Client Library - 1.66.0.3106 + 1.67.0.3106 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs index 49cc7fd239..a7119b25bc 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.cs @@ -37,6 +37,8 @@ public YouTubeReportingService(Google.Apis.Services.BaseClientService.Initialize Jobs = new JobsResource(this); Media = new MediaResource(this); ReportTypes = new ReportTypesResource(this); + BaseUri = GetEffectiveUri(BaseUriOverride, "https://youtubereporting.googleapis.com/"); + BatchUri = GetEffectiveUri(null, "https://youtubereporting.googleapis.com/batch"); } /// Gets the service supported features. @@ -46,13 +48,13 @@ public YouTubeReportingService(Google.Apis.Services.BaseClientService.Initialize public override string Name => "youtubereporting"; /// Gets the service base URI. - public override string BaseUri => BaseUriOverride ?? "https://youtubereporting.googleapis.com/"; + 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 => "https://youtubereporting.googleapis.com/batch"; + public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; diff --git a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj index 8dd06189bb..a486edd8b8 100644 --- a/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj +++ b/Src/Generated/Google.Apis.YouTubeReporting.v1/Google.Apis.YouTubeReporting.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.YouTubeReporting.v1 Client Library - 1.66.0.3106 + 1.67.0.3106 Google LLC Copyright 2024 Google LLC Google @@ -58,8 +58,8 @@ - - + +