Skip to content

Commit

Permalink
fix(firebasehosting): update the API
Browse files Browse the repository at this point in the history
#### firebasehosting:v1beta1
The following keys were changed:
- schemas.Header.description
- schemas.Header.properties.glob.description
- schemas.Redirect.description
- schemas.Redirect.properties.glob.description
- schemas.Rewrite.description
- schemas.Rewrite.properties.glob.description
- schemas.ServingConfig.description
- schemas.ServingConfig.properties.headers.description
- schemas.ServingConfig.properties.redirects.description
- schemas.ServingConfig.properties.rewrites.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 5, 2020
1 parent b528060 commit dbd1c7d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 deletions discovery/firebasehosting-v1beta1.json
Expand Up @@ -1381,7 +1381,7 @@
}
}
},
"revision": "20200512",
"revision": "20200601",
"rootUrl": "https://firebasehosting.googleapis.com/",
"schemas": {
"ActingUser": {
Expand Down Expand Up @@ -1603,11 +1603,11 @@
"type": "object"
},
"Header": {
"description": "A [`header`](/docs/hosting/full-config#headers) defines custom headers to\nadd to a response should the request URL path match the pattern.",
"description": "A [`header`](/docs/hosting/full-config#headers) is an object that specifies\na URL pattern that, if matched to the request URL path, triggers Hosting to\napply the specified custom response headers.",
"id": "Header",
"properties": {
"glob": {
"description": "The user-supplied [glob\npattern](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"description": "The user-supplied\n[glob](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"type": "string"
},
"headers": {
Expand Down Expand Up @@ -1776,11 +1776,11 @@
"type": "object"
},
"Redirect": {
"description": "A [`redirect`](/docs/hosting/full-config#redirects) represents the\nconfiguration for returning an HTTP redirect response given a matching\nrequest URL path.",
"description": "A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL\npattern that, if matched to the request URL path, triggers Hosting to\nrespond with a redirect to the specified destination path.",
"id": "Redirect",
"properties": {
"glob": {
"description": "The user-supplied [glob\npattern](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"description": "The user-supplied\n[glob](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"type": "string"
},
"location": {
Expand Down Expand Up @@ -1844,7 +1844,7 @@
"type": "object"
},
"Rewrite": {
"description": "A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal\ncontent rewrite on the version. If the pattern matches, the request will be\nhandled as if it were to the destination path specified in the\nconfiguration.",
"description": "A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL\npattern that, if matched to the request URL path, triggers Hosting to\nrespond as if the service were given the specified destination URL.",
"id": "Rewrite",
"properties": {
"dynamicLinks": {
Expand All @@ -1856,7 +1856,7 @@
"type": "string"
},
"glob": {
"description": "The user-supplied [glob\npattern](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"description": "The user-supplied\n[glob](/docs/hosting/full-config#glob_pattern_matching) to match\nagainst the request URL path.",
"type": "string"
},
"path": {
Expand All @@ -1875,7 +1875,7 @@
"type": "object"
},
"ServingConfig": {
"description": "The configuration for how incoming requests to a site should be routed and\nprocessed before serving content. The patterns are matched and applied\naccording to a specific\n[priority order](/docs/hosting/full-config#hosting_priority_order).",
"description": "The configuration for how incoming requests to a site should be routed and\nprocessed before serving content. The URL request paths are matched against\nthe specified URL patterns in the configuration, then Hosting applies the\napplicable configuration according to a specific\n[priority order](/docs/hosting/full-config#hosting_priority_order).",
"id": "ServingConfig",
"properties": {
"appAssociation": {
Expand All @@ -1895,21 +1895,21 @@
"type": "boolean"
},
"headers": {
"description": "A list of custom response headers that are added to the content if the\nrequest URL path matches the glob.",
"description": "An array of objects, where each object specifies a URL pattern that, if\nmatched to the request URL path, triggers Hosting to apply the specified\ncustom response headers.",
"items": {
"$ref": "Header"
},
"type": "array"
},
"redirects": {
"description": "A list of globs that will cause the response to redirect to another\nlocation.",
"description": "An array of objects (called redirect rules), where each rule specifies a\nURL pattern that, if matched to the request URL path, triggers Hosting to\nrespond with a redirect to the specified destination path.",
"items": {
"$ref": "Redirect"
},
"type": "array"
},
"rewrites": {
"description": "A list of rewrites that will act as if the service were given the\ndestination URL.",
"description": "An array of objects (called rewrite rules), where each rule specifies a URL\npattern that, if matched to the request URL path, triggers Hosting to\nrespond as if the service were given the specified destination URL.",
"items": {
"$ref": "Rewrite"
},
Expand Down
20 changes: 10 additions & 10 deletions src/apis/firebasehosting/v1beta1.ts
Expand Up @@ -265,11 +265,11 @@ export namespace firebasehosting_v1beta1 {
*/
export interface Schema$Empty {}
/**
* A [`header`](/docs/hosting/full-config#headers) defines custom headers to add to a response should the request URL path match the pattern.
* A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
*/
export interface Schema$Header {
/**
* The user-supplied [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
* The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
*/
glob?: string | null;
/**
Expand Down Expand Up @@ -382,11 +382,11 @@ export namespace firebasehosting_v1beta1 {
expireTime?: string | null;
}
/**
* A [`redirect`](/docs/hosting/full-config#redirects) represents the configuration for returning an HTTP redirect response given a matching request URL path.
* A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
*/
export interface Schema$Redirect {
/**
* The user-supplied [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
* The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
*/
glob?: string | null;
/**
Expand Down Expand Up @@ -432,7 +432,7 @@ export namespace firebasehosting_v1beta1 {
version?: Schema$Version;
}
/**
* A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal content rewrite on the version. If the pattern matches, the request will be handled as if it were to the destination path specified in the configuration.
* A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
*/
export interface Schema$Rewrite {
/**
Expand All @@ -444,7 +444,7 @@ export namespace firebasehosting_v1beta1 {
*/
function?: string | null;
/**
* The user-supplied [glob pattern](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
* The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
*/
glob?: string | null;
/**
Expand All @@ -461,7 +461,7 @@ export namespace firebasehosting_v1beta1 {
run?: Schema$CloudRunRewrite;
}
/**
* The configuration for how incoming requests to a site should be routed and processed before serving content. The patterns are matched and applied according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order).
* The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order).
*/
export interface Schema$ServingConfig {
/**
Expand All @@ -473,15 +473,15 @@ export namespace firebasehosting_v1beta1 {
*/
cleanUrls?: boolean | null;
/**
* A list of custom response headers that are added to the content if the request URL path matches the glob.
* An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
*/
headers?: Schema$Header[];
/**
* A list of globs that will cause the response to redirect to another location.
* An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
*/
redirects?: Schema$Redirect[];
/**
* A list of rewrites that will act as if the service were given the destination URL.
* An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
*/
rewrites?: Schema$Rewrite[];
/**
Expand Down

0 comments on commit dbd1c7d

Please sign in to comment.