Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 9, 2024
1 parent 4e450ec commit 3e03de3
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 283 deletions.
6 changes: 3 additions & 3 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@
}
}
},
"revision": "20240325",
"revision": "20240402",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -1654,7 +1654,7 @@
"Unspecified. Defaults to AUTO_UPDATE_DEFAULT.",
"The default update mode.The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging. The app to be updated is not running in the foreground.The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.",
"The app is not automatically updated for a maximum of 90 days after the app becomes out of date.90 days after the app becomes out of date, the latest available version is installed automatically with low priority (see AUTO_UPDATE_DEFAULT). After the app is updated it is not automatically updated again until 90 days after it becomes out of date again.The user can still manually update the app from the Play Store at any time.",
"The app is updated as soon as possible. No constraints are applied.The device is notified immediately about a new update after it becomes available."
"The app is updated as soon as possible. No constraints are applied.The device is notified as soon as possible about a new update after it becomes available."
],
"type": "string"
},
Expand Down Expand Up @@ -3128,7 +3128,7 @@
"type": "object"
},
"ExtensionConfig": {
"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline. For Android versions 13 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command (https://developer.android.com/management/reference/rest/v1/enterprises.devices/issueCommand#CommandType) on extension apps if needed for Android 13 and above.",
"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline. For Android versions 13 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command on extension apps if needed for Android 13 and above.",
"id": "ExtensionConfig",
"properties": {
"notificationReceiver": {
Expand Down
9 changes: 4 additions & 5 deletions androidmanagement/v1/androidmanagement-gen.go

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

22 changes: 21 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": "20240328",
"revision": "20240408",
"rootUrl": "https://androidpublisher.googleapis.com/",
"schemas": {
"Abi": {
Expand Down Expand Up @@ -9015,13 +9015,33 @@
"description": "Defines the scope of subscriptions which a targeting rule can match to target offers to users based on past or current entitlement.",
"id": "TargetingRuleScope",
"properties": {
"anySubscriptionInApp": {
"$ref": "TargetingRuleScopeAnySubscriptionInApp",
"description": "The scope of the current targeting rule is any subscription in the parent app."
},
"specificSubscriptionInApp": {
"description": "The scope of the current targeting rule is the subscription with the specified subscription ID. Must be a subscription within the same parent app.",
"type": "string"
},
"thisSubscription": {
"$ref": "TargetingRuleScopeThisSubscription",
"description": "The scope of the current targeting rule is the subscription in which this offer is defined."
}
},
"type": "object"
},
"TargetingRuleScopeAnySubscriptionInApp": {
"description": "Represents the targeting rule scope corresponding to any subscription in the parent app.",
"id": "TargetingRuleScopeAnySubscriptionInApp",
"properties": {},
"type": "object"
},
"TargetingRuleScopeThisSubscription": {
"description": "Represents the targeting rule scope corresponding to the subscriptions in which this offer is defined.",
"id": "TargetingRuleScopeThisSubscription",
"properties": {},
"type": "object"
},
"TargetingUpdate": {
"description": "Update type for targeting. Note it is always a subset Targeting.",
"id": "TargetingUpdate",
Expand Down
45 changes: 32 additions & 13 deletions androidpublisher/v3/androidpublisher-gen.go

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

94 changes: 1 addition & 93 deletions firebaseml/v2beta/firebaseml-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
}
}
},
"revision": "20240404",
"revision": "20240405",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"Blob": {
Expand Down Expand Up @@ -652,43 +652,10 @@
},
"type": "object"
},
"GroundingAttribution": {
"description": "Grounding attribution.",
"id": "GroundingAttribution",
"properties": {
"confidenceScore": {
"description": "Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.",
"format": "float",
"readOnly": true,
"type": "number"
},
"retrievedContext": {
"$ref": "RetrievedContext",
"description": "Optional. Attribution from context retrieved by the retrieval tools."
},
"segment": {
"$ref": "Segment",
"description": "Output only. Segment of the content this attribution belongs to.",
"readOnly": true
},
"web": {
"$ref": "Web",
"description": "Optional. Attribution from the web."
}
},
"type": "object"
},
"GroundingMetadata": {
"description": "Metadata returned to client when grounding is enabled.",
"id": "GroundingMetadata",
"properties": {
"groundingAttributions": {
"description": "Optional. List of grounding attributions.",
"items": {
"$ref": "GroundingAttribution"
},
"type": "array"
},
"retrievalQueries": {
"description": "Optional. Queries executed by the retrieval tools.",
"items": {
Expand Down Expand Up @@ -819,23 +786,6 @@
},
"type": "object"
},
"RetrievedContext": {
"description": "Attribution from context retrieved by the retrieval tools.",
"id": "RetrievedContext",
"properties": {
"title": {
"description": "Output only. Title of the attribution.",
"readOnly": true,
"type": "string"
},
"uri": {
"description": "Output only. URI reference of the attribution.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"SafetyRating": {
"description": "Safety rating corresponding to the generated content.",
"id": "SafetyRating",
Expand Down Expand Up @@ -1096,31 +1046,6 @@
},
"type": "object"
},
"Segment": {
"description": "Segment of the content.",
"id": "Segment",
"properties": {
"endIndex": {
"description": "Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"partIndex": {
"description": "Output only. The index of a Part object within its parent Content object.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"startIndex": {
"description": "Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero.",
"format": "int32",
"readOnly": true,
"type": "integer"
}
},
"type": "object"
},
"Tool": {
"description": "Tool details that the model may use to generate response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. A Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).",
"id": "Tool",
Expand Down Expand Up @@ -1222,23 +1147,6 @@
}
},
"type": "object"
},
"Web": {
"description": "Attribution from the web.",
"id": "Web",
"properties": {
"title": {
"description": "Output only. Title of the attribution.",
"readOnly": true,
"type": "string"
},
"uri": {
"description": "Output only. URI reference of the attribution.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
Expand Down
Loading

0 comments on commit 3e03de3

Please sign in to comment.