Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2973)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 21, 2025
1 parent 0f4ee9d commit e143e5c
Show file tree
Hide file tree
Showing 10 changed files with 225 additions and 29 deletions.
36 changes: 35 additions & 1 deletion adsenseplatform/v1alpha/adsenseplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,40 @@
"https://www.googleapis.com/auth/adsense",
"https://www.googleapis.com/auth/adsense.readonly"
]
},
"patch": {
"description": "Update a Platform Child Site.",
"flatPath": "v1alpha/accounts/{accountsId}/platforms/{platformsId}/childAccounts/{childAccountsId}/sites/{sitesId}",
"httpMethod": "PATCH",
"id": "adsenseplatform.accounts.platforms.childAccounts.sites.patch",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. Format: accounts/{account}/platforms/{platform}/childAccounts/{child}/sites/{platformChildSite}",
"location": "path",
"pattern": "^accounts/[^/]+/platforms/[^/]+/childAccounts/[^/]+/sites/[^/]+$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. The list of fields to update - currently only supports updating the `platform_group` field.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1alpha/{+name}",
"request": {
"$ref": "PlatformChildSite"
},
"response": {
"$ref": "PlatformChildSite"
},
"scopes": [
"https://www.googleapis.com/auth/adsense"
]
}
}
}
Expand Down Expand Up @@ -605,7 +639,7 @@
}
}
},
"revision": "20250115",
"revision": "20250120",
"rootUrl": "https://adsenseplatform.googleapis.com/",
"schemas": {
"Account": {
Expand Down
116 changes: 116 additions & 0 deletions adsenseplatform/v1alpha/adsenseplatform-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -19327,7 +19327,7 @@
}
}
},
"revision": "20250107",
"revision": "20250114",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -41855,6 +41855,14 @@
"description": "Tuning data statistics for Supervised Tuning.",
"id": "GoogleCloudAiplatformV1SupervisedTuningDataStats",
"properties": {
"droppedExampleReasons": {
"description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"totalBillableCharacterCount": {
"deprecated": true,
"description": "Output only. Number of billable characters in the tuning dataset.",
Expand All @@ -41869,8 +41877,9 @@
"type": "string"
},
"totalTruncatedExampleCount": {
"description": "The number of examples in the dataset that have been truncated by any amount.",
"description": "Output only. The number of examples in the dataset that have been dropped. An example can be dropped for reasons including: too many tokens, contains an invalid image, contains too many images, etc.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"totalTuningCharacterCount": {
Expand All @@ -41880,11 +41889,12 @@
"type": "string"
},
"truncatedExampleIndices": {
"description": "A partial sample of the indices (starting from 1) of the truncated examples.",
"description": "Output only. A partial sample of the indices (starting from 1) of the dropped examples.",
"items": {
"format": "int64",
"type": "string"
},
"readOnly": true,
"type": "array"
},
"tuningDatasetExampleCount": {
Expand Down
26 changes: 16 additions & 10 deletions aiplatform/v1/aiplatform-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions aiplatform/v1beta1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -21964,7 +21964,7 @@
}
}
},
"revision": "20250107",
"revision": "20250114",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"CloudAiLargeModelsVisionGenerateVideoResponse": {
Expand Down Expand Up @@ -47674,6 +47674,14 @@
"description": "Tuning data statistics for Supervised Tuning.",
"id": "GoogleCloudAiplatformV1beta1SupervisedTuningDataStats",
"properties": {
"droppedExampleReasons": {
"description": "Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. Must not include example itself.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"totalBillableCharacterCount": {
"deprecated": true,
"description": "Output only. Number of billable characters in the tuning dataset.",
Expand All @@ -47688,8 +47696,9 @@
"type": "string"
},
"totalTruncatedExampleCount": {
"description": "The number of examples in the dataset that have been truncated by any amount.",
"description": "Output only. The number of examples in the dataset that have been dropped. An example can be dropped for reasons including: too many tokens, contains an invalid image, contains too many images, etc.",
"format": "int64",
"readOnly": true,
"type": "string"
},
"totalTuningCharacterCount": {
Expand All @@ -47699,11 +47708,12 @@
"type": "string"
},
"truncatedExampleIndices": {
"description": "A partial sample of the indices (starting from 1) of the truncated examples.",
"description": "Output only. A partial sample of the indices (starting from 1) of the dropped examples.",
"items": {
"format": "int64",
"type": "string"
},
"readOnly": true,
"type": "array"
},
"tuningDatasetExampleCount": {
Expand Down
26 changes: 16 additions & 10 deletions aiplatform/v1beta1/aiplatform-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -38989,20 +38989,26 @@ func (s *GoogleCloudAiplatformV1beta1SupervisedHyperParameters) UnmarshalJSON(da
// GoogleCloudAiplatformV1beta1SupervisedTuningDataStats: Tuning data
// statistics for Supervised Tuning.
type GoogleCloudAiplatformV1beta1SupervisedTuningDataStats struct {
// DroppedExampleReasons: Output only. For each index in
// `truncated_example_indices`, the user-facing reason why the example was
// dropped. Must not include example itself.
DroppedExampleReasons []string `json:"droppedExampleReasons,omitempty"`
// TotalBillableCharacterCount: Output only. Number of billable characters in
// the tuning dataset.
TotalBillableCharacterCount int64 `json:"totalBillableCharacterCount,omitempty,string"`
// TotalBillableTokenCount: Output only. Number of billable tokens in the
// tuning dataset.
TotalBillableTokenCount int64 `json:"totalBillableTokenCount,omitempty,string"`
// TotalTruncatedExampleCount: The number of examples in the dataset that have
// been truncated by any amount.
// TotalTruncatedExampleCount: Output only. The number of examples in the
// dataset that have been dropped. An example can be dropped for reasons
// including: too many tokens, contains an invalid image, contains too many
// images, etc.
TotalTruncatedExampleCount int64 `json:"totalTruncatedExampleCount,omitempty,string"`
// TotalTuningCharacterCount: Output only. Number of tuning characters in the
// tuning dataset.
TotalTuningCharacterCount int64 `json:"totalTuningCharacterCount,omitempty,string"`
// TruncatedExampleIndices: A partial sample of the indices (starting from 1)
// of the truncated examples.
// TruncatedExampleIndices: Output only. A partial sample of the indices
// (starting from 1) of the dropped examples.
TruncatedExampleIndices googleapi.Int64s `json:"truncatedExampleIndices,omitempty"`
// TuningDatasetExampleCount: Output only. Number of examples in the tuning
// dataset.
Expand All @@ -39021,13 +39027,13 @@ type GoogleCloudAiplatformV1beta1SupervisedTuningDataStats struct {
// UserOutputTokenDistribution: Output only. Dataset distributions for the user
// output tokens.
UserOutputTokenDistribution *GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution `json:"userOutputTokenDistribution,omitempty"`
// ForceSendFields is a list of field names (e.g.
// "TotalBillableCharacterCount") to unconditionally include in API requests.
// By default, fields with empty or default values are omitted from API
// requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
// for more details.
// ForceSendFields is a list of field names (e.g. "DroppedExampleReasons") to
// unconditionally include in API requests. By default, fields with empty or
// default values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
// details.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "TotalBillableCharacterCount") to
// NullFields is a list of field names (e.g. "DroppedExampleReasons") to
// include in API requests with the JSON null value. By default, fields with
// empty values are omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
Expand Down
Loading

0 comments on commit e143e5c

Please sign in to comment.