Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa committed Oct 12, 2023
1 parent c0034f0 commit dced0e9
Show file tree
Hide file tree
Showing 107 changed files with 58,339 additions and 869 deletions.
4 changes: 2 additions & 2 deletions DiscoveryJson/accesscontextmanager_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@
}
}
},
"revision": "20230910",
"revision": "20231011",
"rootUrl": "https://accesscontextmanager.googleapis.com/",
"schemas": {
"AccessContextManagerOperationMetadata": {
Expand Down Expand Up @@ -1793,7 +1793,7 @@
"type": "object"
},
"GcpUserAccessBindingOperationMetadata": {
"description": "Currently, a completed operation means nothing. In the future, this metadata and a completed operation may indicate that the binding has taken effect and is affecting access decisions for all users.",
"description": "Metadata of GCP Access Binding Long Running Operations.",
"id": "GcpUserAccessBindingOperationMetadata",
"properties": {},
"type": "object"
Expand Down
5 changes: 3 additions & 2 deletions DiscoveryJson/admin_directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,7 @@
}
}
},
"revision": "20230918",
"revision": "20231005",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6812,7 +6812,8 @@
"id": "OrgUnit",
"properties": {
"blockInheritance": {
"description": "Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is `false`, meaning a sub-organizational unit inherits the settings of the nearest parent organizational unit. We recommend using the default value because setting `block_inheritance` to `true` can have _unintended consequences_. For more information about inheritance and users in an organization structure, see the [administration help center](https://support.google.com/a/answer/4352075).",
"deprecated": true,
"description": "Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is `false`, meaning a sub-organizational unit inherits the settings of the nearest parent organizational unit. This field is deprecated. Setting it to `true` is no longer supported and can have _unintended consequences_. For more information about inheritance and users in an organization structure, see the [administration help center](https://support.google.com/a/answer/4352075).",
"type": "boolean"
},
"description": {
Expand Down
5 changes: 3 additions & 2 deletions DiscoveryJson/admin_directory_v1.json.original
Original file line number Diff line number Diff line change
Expand Up @@ -4643,7 +4643,7 @@
}
}
},
"revision": "20230822",
"revision": "20231005",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
Expand Down Expand Up @@ -6812,7 +6812,8 @@
"id": "OrgUnit",
"properties": {
"blockInheritance": {
"description": "Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is `false`, meaning a sub-organizational unit inherits the settings of the nearest parent organizational unit. We recommend using the default value because setting `block_inheritance` to `true` can have _unintended consequences_. For more information about inheritance and users in an organization structure, see the [administration help center](https://support.google.com/a/answer/4352075).",
"deprecated": true,
"description": "Determines if a sub-organizational unit can inherit the settings of the parent organization. The default value is `false`, meaning a sub-organizational unit inherits the settings of the nearest parent organizational unit. This field is deprecated. Setting it to `true` is no longer supported and can have _unintended consequences_. For more information about inheritance and users in an organization structure, see the [administration help center](https://support.google.com/a/answer/4352075).",
"type": "boolean"
},
"description": {
Expand Down
189 changes: 188 additions & 1 deletion DiscoveryJson/adsense_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,72 @@
}
}
},
"policyIssues": {
"methods": {
"get": {
"description": "Gets information about the selected policy issue.",
"flatPath": "v2/accounts/{accountsId}/policyIssues/{policyIssuesId}",
"httpMethod": "GET",
"id": "adsense.accounts.policyIssues.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. Name of the policy issue. Format: accounts/{account}/policyIssues/{policy_issue}",
"location": "path",
"pattern": "^accounts/[^/]+/policyIssues/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+name}",
"response": {
"$ref": "PolicyIssue"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
},
"list": {
"description": "Lists all the policy issues for the specified account.",
"flatPath": "v2/accounts/{accountsId}/policyIssues",
"httpMethod": "GET",
"id": "adsense.accounts.policyIssues.list",
"parameterOrder": [
"parent"
],
"parameters": {
"pageSize": {
"description": "The maximum number of policy issues to include in the response, used for paging. If unspecified, at most 10000 policy issues will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "A page token, received from a previous `ListPolicyIssues` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPolicyIssues` must match the call that provided the page token.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The account for which policy issues are being retrieved. Format: accounts/{account}",
"location": "path",
"pattern": "^accounts/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2/{+parent}/policyIssues",
"response": {
"$ref": "ListPolicyIssuesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
}
}
},
"reports": {
"methods": {
"generate": {
Expand Down Expand Up @@ -1844,7 +1910,7 @@
}
}
},
"revision": "20230704",
"revision": "20231011",
"rootUrl": "https://adsense.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -2391,6 +2457,24 @@
},
"type": "object"
},
"ListPolicyIssuesResponse": {
"description": "Response definition for the policy issues list rpc. Policy issues are reported only if the publisher has at least one AFC ad client in READY or GETTING_READY state. If the publisher has no such AFC ad client, the response will be an empty list.",
"id": "ListPolicyIssuesResponse",
"properties": {
"nextPageToken": {
"description": "Continuation token used to page through policy issues. To retrieve the next page of the results, set the next request's \"page_token\" value to this.",
"type": "string"
},
"policyIssues": {
"description": "The policy issues returned in the list response.",
"items": {
"$ref": "PolicyIssue"
},
"type": "array"
}
},
"type": "object"
},
"ListSavedReportsResponse": {
"description": "Response definition for the saved reports list rpc.",
"id": "ListSavedReportsResponse",
Expand Down Expand Up @@ -2467,6 +2551,109 @@
},
"type": "object"
},
"PolicyIssue": {
"description": "Representation of a policy issue for a single entity (site, site-section, or page). All issues for a single entity are represented by a single PolicyIssue resource, though that PolicyIssue can have multiple causes (or \"topics\") that can change over time. Policy issues are removed if there are no issues detected recently or if there's a recent successful appeal for the entity.",
"id": "PolicyIssue",
"properties": {
"action": {
"description": "Required. The most severe action taken on the entity over the past seven days.",
"enum": [
"ENFORCEMENT_ACTION_UNSPECIFIED",
"WARNED",
"AD_SERVING_RESTRICTED",
"AD_SERVING_DISABLED",
"AD_SERVED_WITH_CLICK_CONFIRMATION"
],
"enumDescriptions": [
"The action is unspecified.",
"No ad serving enforcement is currently present, but enforcement will start on the `warning_escalation_date` if the issue is not resolved.",
"Ad serving demand has been restricted on the entity.",
"Ad serving has been disabled on the entity.",
"Ads are being served for the entity but Confirmed Click is being applied to the ads. See https://support.google.com/adsense/answer/10025624."
],
"type": "string"
},
"adClients": {
"description": "Optional. List of ad clients associated with the policy issue (either as the primary ad client or an associated host/secondary ad client). In the latter case, this will be an ad client that is not owned by the current account.",
"items": {
"type": "string"
},
"type": "array"
},
"adRequestCount": {
"description": "Required. Total number of ad requests affected by the policy violations over the past seven days.",
"format": "int64",
"type": "string"
},
"entityType": {
"description": "Required. Type of the entity indicating if the entity is a site, site-section, or page.",
"enum": [
"ENTITY_TYPE_UNSPECIFIED",
"SITE",
"SITE_SECTION",
"PAGE"
],
"enumDescriptions": [
"The entity type is unspecified.",
"The enforced entity is an entire website.",
"The enforced entity is a particular section of a website. All the pages with this prefix are enforced.",
"The enforced entity is a single web page."
],
"type": "string"
},
"firstDetectedDate": {
"$ref": "Date",
"description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were first detected on the entity."
},
"lastDetectedDate": {
"$ref": "Date",
"description": "Required. The date (in the America/Los_Angeles timezone) when policy violations were last detected on the entity."
},
"name": {
"description": "Required. Resource name of the entity with policy issues. Format: accounts/{account}/policyIssues/{policy_issue}",
"type": "string"
},
"policyTopics": {
"description": "Required. Unordered list. The policy topics that this entity was found to violate over the past seven days.",
"items": {
"$ref": "PolicyTopic"
},
"type": "array"
},
"site": {
"description": "Required. Hostname/domain of the entity (for example \"foo.com\" or \"www.foo.com\"). This _should_ be a bare domain/host name without any protocol. This will be present for all policy issues.",
"type": "string"
},
"siteSection": {
"description": "Optional. Prefix of the site-section having policy issues (For example \"foo.com/bar-section\"). This will be present if the `entity_type` is `SITE_SECTION` and will be absent for other entity types.",
"type": "string"
},
"uri": {
"description": "Optional. URI of the page having policy violations (for example \"foo.com/bar\" or \"www.foo.com/bar\"). This will be present if the `entity_type` is `PAGE` and will be absent for other entity types.",
"type": "string"
},
"warningEscalationDate": {
"$ref": "Date",
"description": "Optional. The date (in the America/Los_Angeles timezone) when the entity will have ad serving demand restricted or ad serving disabled. This is present only for issues with a `WARNED` enforcement action. See https://support.google.com/adsense/answer/11066888."
}
},
"type": "object"
},
"PolicyTopic": {
"description": "Information about a particular policy topic. A policy topic represents a single class of policy issue that can impact ad serving for your site. For example, sexual content or having ads that obscure your content. A single policy issue can have multiple policy topics for a single entity.",
"id": "PolicyTopic",
"properties": {
"mustFix": {
"description": "Required. Indicates if this is a policy violation or not. When the value is true, issues that are instances of this topic must be addressed to remain in compliance with the partner's agreements with Google. A false value indicates that it's not mandatory to fix the issues but advertising demand might be restricted.",
"type": "boolean"
},
"topic": {
"description": "Required. The policy topic. For example, \"sexual-content\" or \"ads-obscuring-content\".\"",
"type": "string"
}
},
"type": "object"
},
"ReportResult": {
"description": "Result of a generated report.",
"id": "ReportResult",
Expand Down
29 changes: 5 additions & 24 deletions DiscoveryJson/aiplatform_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12997,7 +12997,7 @@
}
}
},
"revision": "20230929",
"revision": "20231002",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -16466,10 +16466,6 @@
"description": "An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in ListAnnotations.",
"type": "string"
},
"filterSplit": {
"$ref": "GoogleCloudAiplatformV1ExportFilterSplit",
"description": "Split based on the provided filters for each set."
},
"fractionSplit": {
"$ref": "GoogleCloudAiplatformV1ExportFractionSplit",
"description": "Split based on fractions defining the size of each set."
Expand Down Expand Up @@ -16602,25 +16598,6 @@
"properties": {},
"type": "object"
},
"GoogleCloudAiplatformV1ExportFilterSplit": {
"description": "Assigns input data to training, validation, and test sets based on the given filters, data pieces not matched by any filter are ignored. Currently only supported for Datasets containing DataItems. If any of the filters in this message are to match nothing, then they can be set as '-' (the minus sign). Supported only for unstructured Datasets.",
"id": "GoogleCloudAiplatformV1ExportFilterSplit",
"properties": {
"testFilter": {
"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to test the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.",
"type": "string"
},
"trainingFilter": {
"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to train the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.",
"type": "string"
},
"validationFilter": {
"description": "Required. A filter on DataItems of the Dataset. DataItems that match this filter are used to validate the Model. A filter with same syntax as the one used in DatasetService.ListDataItems may be used. If a single DataItem is matched by more than one of the FilterSplit filters, then it is assigned to the first set that applies to it in the training, validation, test order.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1ExportFractionSplit": {
"description": "Assigns the input data to training, validation, and test sets as per the given fractions. Any of `training_fraction`, `validation_fraction` and `test_fraction` may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.",
"id": "GoogleCloudAiplatformV1ExportFractionSplit",
Expand Down Expand Up @@ -18934,6 +18911,10 @@
"machineType": {
"description": "Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required.",
"type": "string"
},
"tpuTopology": {
"description": "Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: \"2x2x1\").",
"type": "string"
}
},
"type": "object"
Expand Down
Loading

0 comments on commit dced0e9

Please sign in to comment.