Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2587)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 15, 2024
1 parent afc4685 commit 86c9521
Show file tree
Hide file tree
Showing 28 changed files with 2,432 additions and 131 deletions.
8 changes: 4 additions & 4 deletions admob/v1/admob-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"mediationReport": {
"methods": {
"generate": {
"description": "Generates an AdMob mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"description": "Generates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"flatPath": "v1/accounts/{accountsId}/mediationReport:generate",
"httpMethod": "POST",
"id": "admob.accounts.mediationReport.generate",
Expand Down Expand Up @@ -321,7 +321,7 @@
}
}
},
"revision": "20230425",
"revision": "20240514",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdUnit": {
Expand Down Expand Up @@ -467,7 +467,7 @@
"type": "object"
},
"GenerateMediationReportRequest": {
"description": "Request to generate an AdMob mediation report.",
"description": "Request to generate an AdMob Mediation report.",
"id": "GenerateMediationReportRequest",
"properties": {
"reportSpec": {
Expand All @@ -478,7 +478,7 @@
"type": "object"
},
"GenerateMediationReportResponse": {
"description": "The streaming response for the AdMob mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"id": "GenerateMediationReportResponse",
"properties": {
"footer": {
Expand Down
6 changes: 3 additions & 3 deletions admob/v1/admob-gen.go

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

10 changes: 5 additions & 5 deletions admob/v1beta/admob-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@
"mediationReport": {
"methods": {
"generate": {
"description": "Generates an AdMob mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"description": "Generates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.",
"flatPath": "v1beta/accounts/{accountsId}/mediationReport:generate",
"httpMethod": "POST",
"id": "admob.accounts.mediationReport.generate",
Expand Down Expand Up @@ -758,7 +758,7 @@
}
}
},
"revision": "20240201",
"revision": "20240514",
"rootUrl": "https://admob.googleapis.com/",
"schemas": {
"AdSource": {
Expand Down Expand Up @@ -1213,7 +1213,7 @@
"type": "object"
},
"GenerateMediationReportRequest": {
"description": "Request to generate an AdMob mediation report.",
"description": "Request to generate an AdMob Mediation report.",
"id": "GenerateMediationReportRequest",
"properties": {
"reportSpec": {
Expand All @@ -1224,7 +1224,7 @@
"type": "object"
},
"GenerateMediationReportResponse": {
"description": "The streaming response for the AdMob mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]",
"id": "GenerateMediationReportResponse",
"properties": {
"footer": {
Expand Down Expand Up @@ -1520,7 +1520,7 @@
"type": "object"
},
"MediationGroup": {
"description": "Describes an AdMob mediation group.",
"description": "Describes an AdMob Mediation group.",
"id": "MediationGroup",
"properties": {
"displayName": {
Expand Down
8 changes: 4 additions & 4 deletions admob/v1beta/admob-gen.go

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

108 changes: 107 additions & 1 deletion androidpublisher/v3/androidpublisher-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4731,7 +4731,7 @@
}
}
},
"revision": "20240509",
"revision": "20240514",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Abi": {
Expand Down Expand Up @@ -5306,6 +5306,10 @@
"description": "If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription",
"type": "boolean"
},
"installmentDetails": {
"$ref": "InstallmentPlan",
"description": "The installment plan commitment and state related info for the auto renewing plan."
},
"priceChangeDetails": {
"$ref": "SubscriptionItemPriceChangeDetails",
"description": "The information of the last price change for the item since subscription signup."
Expand All @@ -5325,6 +5329,10 @@
"description": "Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters.",
"type": "string"
},
"installmentsBasePlanType": {
"$ref": "InstallmentsBasePlanType",
"description": "Set for installments base plans where a user is committed to a specified number of payments."
},
"offerTags": {
"description": "List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library.",
"items": {
Expand Down Expand Up @@ -7021,6 +7029,98 @@
},
"type": "object"
},
"InstallmentPlan": {
"description": "Information to a installment plan.",
"id": "InstallmentPlan",
"properties": {
"initialCommittedPaymentsCount": {
"description": "Total number of payments the user is initially committed for.",
"format": "int32",
"type": "integer"
},
"pendingCancellation": {
"$ref": "PendingCancellation",
"description": "If present, this installment plan is pending to be canceled. The cancellation will happen only after the user finished all committed payments."
},
"remainingCommittedPaymentsCount": {
"description": "Total number of committed payments remaining to be paid for in this renewal cycle.",
"format": "int32",
"type": "integer"
},
"subsequentCommittedPaymentsCount": {
"description": "Total number of payments the user will be committed for after each commitment period. Empty means the installment plan will fall back to a normal auto-renew subscription after initial commitment.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"InstallmentsBasePlanType": {
"description": "Represents an installments base plan where a user commits to a specified number of payments.",
"id": "InstallmentsBasePlanType",
"properties": {
"accountHoldDuration": {
"description": "Optional. Account hold period of the subscription, specified exclusively in days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D (30days). If not specified, the default value is P30D (30 days).",
"type": "string"
},
"billingPeriodDuration": {
"description": "Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.",
"type": "string"
},
"committedPaymentsCount": {
"description": "Required. The number of payments the user is committed to.",
"format": "int32",
"type": "integer"
},
"gracePeriodDuration": {
"description": "Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.",
"type": "string"
},
"prorationMode": {
"description": "The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.",
"enum": [
"SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED",
"SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE",
"SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY"
],
"enumDescriptions": [
"Unspecified mode.",
"Users will be charged for their new base plan at the end of their current billing period.",
"Users will be charged for their new base plan immediately and in full. Any remaining period of their existing subscription will be used to extend the duration of the new billing plan."
],
"type": "string"
},
"renewalType": {
"description": "Required. Installments base plan renewal type. Determines the behavior at the end of the initial commitment.",
"enum": [
"RENEWAL_TYPE_UNSPECIFIED",
"RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT",
"RENEWAL_TYPE_RENEWS_WITH_COMMITMENT"
],
"enumDescriptions": [
"Unspecified state.",
"Renews periodically for the billing period duration without commitment.",
"Renews with the commitment of the same duration as the initial one."
],
"type": "string"
},
"resubscribeState": {
"description": "Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.",
"enum": [
"RESUBSCRIBE_STATE_UNSPECIFIED",
"RESUBSCRIBE_STATE_ACTIVE",
"RESUBSCRIBE_STATE_INACTIVE"
],
"enumDescriptions": [
"Unspecified state.",
"Resubscribe is active.",
"Resubscribe is inactive."
],
"type": "string"
}
},
"type": "object"
},
"InternalAppSharingArtifact": {
"description": "An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.",
"id": "InternalAppSharingArtifact",
Expand Down Expand Up @@ -7616,6 +7716,12 @@
},
"type": "object"
},
"PendingCancellation": {
"description": "This is an indicator of whether there is a pending cancellation on the virtual installment plan. The cancellation will happen only after the user finished all committed payments.",
"id": "PendingCancellation",
"properties": {},
"type": "object"
},
"PrepaidBasePlanType": {
"description": "Represents a base plan that does not automatically renew at the end of the base plan, and must be manually renewed by the user.",
"id": "PrepaidBasePlanType",
Expand Down

0 comments on commit 86c9521

Please sign in to comment.