mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json-update): latest json files
This also adds a usable version of the genomics API, which was empty previously (and if I recall correctly).
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VK6LFY090HaPGVrEqnv6Rpqzlmo\"",
|
||||
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/jJarxdUjZcANpaMjt3kLHFRtpJA\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "pubsub:v1beta2",
|
||||
"name": "pubsub",
|
||||
"version": "v1beta2",
|
||||
"revision": "20150427",
|
||||
"revision": "20150604",
|
||||
"title": "Google Cloud Pub/Sub API",
|
||||
"description": "Provides reliable, many-to-many, asynchronous messaging between applications.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -127,11 +127,11 @@
|
||||
"Policy": {
|
||||
"id": "Policy",
|
||||
"type": "object",
|
||||
"description": "# Overview The `Policy` defines an access control policy language. It can be used to define policies that can be attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members can include user accounts, user groups, user domains, and service accounts. A role is a named set of permissions, defined by the IAM system. The definition of a role is outside the policy. A permission check involves determining the roles that include the specified permission, and then determining if the principal specified by the check is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group::admins@example.com\", \"domain:google.com\", \"serviceAccount:frontend@example.iam.gserviceaccounts.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } ```",
|
||||
"description": "# Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:frontend@example.iam.gserviceaccounts.com\"] }, { \"role\": \"roles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } ```",
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"description": "The policy language version. The version of the policy itself is represented by the etag. The current version is 0.",
|
||||
"description": "The policy language version. The version of the policy is represented by the etag. The default version is 0.",
|
||||
"format": "int32"
|
||||
},
|
||||
"bindings": {
|
||||
@@ -157,7 +157,7 @@
|
||||
"Binding": {
|
||||
"id": "Binding",
|
||||
"type": "object",
|
||||
"description": "Associates members of various types with roles. See below for details of the various objects that can be included as members.",
|
||||
"description": "Associates members with roles. See below for allowed formats of members.",
|
||||
"properties": {
|
||||
"role": {
|
||||
"type": "string",
|
||||
@@ -363,7 +363,7 @@
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\"."
|
||||
"description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\"."
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -457,7 +457,7 @@
|
||||
"Empty": {
|
||||
"id": "Empty",
|
||||
"type": "object",
|
||||
"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); }"
|
||||
"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); } The JSON representation for `Empty` is empty JSON object `{}`."
|
||||
},
|
||||
"Subscription": {
|
||||
"id": "Subscription",
|
||||
@@ -466,11 +466,11 @@
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\"."
|
||||
"description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\"."
|
||||
},
|
||||
"topic": {
|
||||
"type": "string",
|
||||
"description": "The name of the topic from which this subscription is receiving messages. This will be present if and only if the subscription has not been detached from its topic."
|
||||
"description": "The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted."
|
||||
},
|
||||
"pushConfig": {
|
||||
"$ref": "PushConfig",
|
||||
@@ -526,7 +526,7 @@
|
||||
"properties": {
|
||||
"ackId": {
|
||||
"type": "string",
|
||||
"description": "The acknowledgment ID."
|
||||
"description": "The acknowledgment ID. Either this or ack_ids must be populated, but not both."
|
||||
},
|
||||
"ackIds": {
|
||||
"type": "array",
|
||||
@@ -626,7 +626,7 @@
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which policy is being specified. Usually some path like projects/{project}/zones/{zone}/disks/{disk}.",
|
||||
"description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/topics/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -650,11 +650,11 @@
|
||||
"id": "pubsub.projects.topics.getIamPolicy",
|
||||
"path": "v1beta2/{+resource}:getIamPolicy",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
||||
"description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which policy is being requested. Usually some path like projects/{project}.",
|
||||
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/topics/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -679,7 +679,7 @@
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which policy detail is being requested. Usually some path like projects/{project}.",
|
||||
"description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/topics/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -707,7 +707,7 @@
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".",
|
||||
"description": "The name of the topic. It must have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1beta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/topics/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -820,7 +820,7 @@
|
||||
"id": "pubsub.projects.topics.delete",
|
||||
"path": "v1beta2/{+topic}",
|
||||
"httpMethod": "DELETE",
|
||||
"description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted.",
|
||||
"description": "Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.",
|
||||
"parameters": {
|
||||
"topic": {
|
||||
"type": "string",
|
||||
@@ -895,7 +895,7 @@
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which policy is being specified. Usually some path like projects/{project}/zones/{zone}/disks/{disk}.",
|
||||
"description": "REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -919,11 +919,11 @@
|
||||
"id": "pubsub.projects.subscriptions.getIamPolicy",
|
||||
"path": "v1beta2/{+resource}:getIamPolicy",
|
||||
"httpMethod": "GET",
|
||||
"description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.",
|
||||
"description": "Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.",
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which policy is being requested. Usually some path like projects/{project}.",
|
||||
"description": "REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -948,7 +948,7 @@
|
||||
"parameters": {
|
||||
"resource": {
|
||||
"type": "string",
|
||||
"description": "REQUIRED: The resource for which policy detail is being requested. Usually some path like projects/{project}.",
|
||||
"description": "REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}.",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
|
||||
"location": "path"
|
||||
@@ -976,7 +976,7 @@
|
||||
"parameters": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".",
|
||||
"description": "The name of the subscription. It must have the format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with \"goog\".",
|
||||
"required": true,
|
||||
"pattern": "^projects/[^/]*/subscriptions/[^/]*$",
|
||||
"location": "path"
|
||||
|
||||
Reference in New Issue
Block a user