mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
update thrift, opencensus, others (#893)
* update thrift, opencensus, others * stats: update to opencensus 0.6.0 view api
This commit is contained in:
47
vendor/google.golang.org/api/admin/directory/v1/admin-api.json
generated
vendored
47
vendor/google.golang.org/api/admin/directory/v1/admin-api.json
generated
vendored
@@ -93,7 +93,7 @@
|
||||
"description": "The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/admin-sdk/directory/",
|
||||
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/FEIM1JSTcD4HhoBpMoEeP9vkMCQ\"",
|
||||
"etag": "\"-iA1DTNe4s-I6JZXPt1t1Ypy8IU/ny7NvsE3PzK3etgzPNk9J8KeI7k\"",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
@@ -1166,7 +1166,7 @@
|
||||
]
|
||||
},
|
||||
"hasMember": {
|
||||
"description": "Checks Membership of an user within a Group",
|
||||
"description": "Checks whether the given user is a member of the group. Membership can be direct or nested.",
|
||||
"httpMethod": "GET",
|
||||
"id": "directory.members.hasMember",
|
||||
"parameterOrder": [
|
||||
@@ -1175,13 +1175,13 @@
|
||||
],
|
||||
"parameters": {
|
||||
"groupKey": {
|
||||
"description": "Email or immutable Id of the group",
|
||||
"description": "Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"memberKey": {
|
||||
"description": "Email or immutable Id of the member",
|
||||
"description": "Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
@@ -2056,6 +2056,19 @@
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"maxResults": {
|
||||
"description": "Maximum number of results to return.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"maximum": "500",
|
||||
"minimum": "1",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Token to specify the next page in the list.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "customer/{customer}/resources/buildings",
|
||||
@@ -2254,7 +2267,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"query": {
|
||||
"description": "String query used to filter results. Should be of the form \"field operator value\" where field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match and ':' for prefix match where applicable. For prefix match, the value should always be followed by a *.",
|
||||
"description": "String query used to filter results. Should be of the form \"field operator value\" where field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match and ':' for prefix match or HAS match where applicable. For prefix match, the value should always be followed by a *. Supported fields include generatedResourceName, name, buildingId, featureInstances.feature.name. For example buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -2436,6 +2449,14 @@
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"maxResults": {
|
||||
"description": "Maximum number of results to return.",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"maximum": "500",
|
||||
"minimum": "1",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "Token to specify the next page in the list.",
|
||||
"location": "query",
|
||||
@@ -3914,7 +3935,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20171212",
|
||||
"revision": "20180316",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Alias": {
|
||||
@@ -4353,7 +4374,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"downloadUrl": {
|
||||
"description": "File downlod URL",
|
||||
"description": "File download URL",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
@@ -4463,23 +4484,30 @@
|
||||
"type": "string"
|
||||
},
|
||||
"tpmVersionInfo": {
|
||||
"description": "Trusted Platform Module (TPM) (Read-only)",
|
||||
"properties": {
|
||||
"family": {
|
||||
"description": "TPM family.",
|
||||
"type": "string"
|
||||
},
|
||||
"firmwareVersion": {
|
||||
"description": "TPM firmware version.",
|
||||
"type": "string"
|
||||
},
|
||||
"manufacturer": {
|
||||
"description": "TPM manufacturer code.",
|
||||
"type": "string"
|
||||
},
|
||||
"specLevel": {
|
||||
"description": "TPM specification level.",
|
||||
"type": "string"
|
||||
},
|
||||
"tpmModel": {
|
||||
"description": "TPM model number.",
|
||||
"type": "string"
|
||||
},
|
||||
"vendorSpecific": {
|
||||
"description": "Vendor-specific information such as Vendor ID.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -4804,7 +4832,8 @@
|
||||
"id": "FeatureInstance",
|
||||
"properties": {
|
||||
"feature": {
|
||||
"$ref": "Feature"
|
||||
"$ref": "Feature",
|
||||
"description": "The feature that this is an instance of. A calendar resource may have multiple instances of a feature."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -5007,7 +5036,7 @@
|
||||
"id": "MembersHasMember",
|
||||
"properties": {
|
||||
"isMember": {
|
||||
"description": "Identifies whether given user is a member or not.",
|
||||
"description": "Identifies whether the given user is a member of the group. Membership can be direct or nested.",
|
||||
"readOnly": true,
|
||||
"type": "boolean"
|
||||
}
|
||||
|
||||
97
vendor/google.golang.org/api/admin/directory/v1/admin-gen.go
generated
vendored
97
vendor/google.golang.org/api/admin/directory/v1/admin-gen.go
generated
vendored
@@ -1132,6 +1132,7 @@ type ChromeOsDevice struct {
|
||||
// SupportEndDate: Final date the device will be supported (Read-only)
|
||||
SupportEndDate string `json:"supportEndDate,omitempty"`
|
||||
|
||||
// TpmVersionInfo: Trusted Platform Module (TPM) (Read-only)
|
||||
TpmVersionInfo *ChromeOsDeviceTpmVersionInfo `json:"tpmVersionInfo,omitempty"`
|
||||
|
||||
// WillAutoRenew: Will Chromebook auto renew after support end date
|
||||
@@ -1200,7 +1201,7 @@ type ChromeOsDeviceDeviceFiles struct {
|
||||
// CreateTime: Date and time the file was created
|
||||
CreateTime string `json:"createTime,omitempty"`
|
||||
|
||||
// DownloadUrl: File downlod URL
|
||||
// DownloadUrl: File download URL
|
||||
DownloadUrl string `json:"downloadUrl,omitempty"`
|
||||
|
||||
// Name: File name
|
||||
@@ -1263,17 +1264,25 @@ func (s *ChromeOsDeviceRecentUsers) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ChromeOsDeviceTpmVersionInfo: Trusted Platform Module (TPM)
|
||||
// (Read-only)
|
||||
type ChromeOsDeviceTpmVersionInfo struct {
|
||||
// Family: TPM family.
|
||||
Family string `json:"family,omitempty"`
|
||||
|
||||
// FirmwareVersion: TPM firmware version.
|
||||
FirmwareVersion string `json:"firmwareVersion,omitempty"`
|
||||
|
||||
// Manufacturer: TPM manufacturer code.
|
||||
Manufacturer string `json:"manufacturer,omitempty"`
|
||||
|
||||
// SpecLevel: TPM specification level.
|
||||
SpecLevel string `json:"specLevel,omitempty"`
|
||||
|
||||
// TpmModel: TPM model number.
|
||||
TpmModel string `json:"tpmModel,omitempty"`
|
||||
|
||||
// VendorSpecific: Vendor-specific information such as Vendor ID.
|
||||
VendorSpecific string `json:"vendorSpecific,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Family") to
|
||||
@@ -1740,6 +1749,8 @@ func (s *Feature) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// FeatureInstance: JSON template for a "feature instance".
|
||||
type FeatureInstance struct {
|
||||
// Feature: The feature that this is an instance of. A calendar resource
|
||||
// may have multiple instances of a feature.
|
||||
Feature *Feature `json:"feature,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Feature") to
|
||||
@@ -2035,7 +2046,8 @@ func (s *Members) MarshalJSON() ([]byte, error) {
|
||||
// MembersHasMember: JSON template for Has Member response in Directory
|
||||
// API.
|
||||
type MembersHasMember struct {
|
||||
// IsMember: Identifies whether given user is a member or not.
|
||||
// IsMember: Identifies whether the given user is a member of the group.
|
||||
// Membership can be direct or nested.
|
||||
IsMember bool `json:"isMember,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
@@ -8766,7 +8778,8 @@ type MembersHasMemberCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// HasMember: Checks Membership of an user within a Group
|
||||
// HasMember: Checks whether the given user is a member of the group.
|
||||
// Membership can be direct or nested.
|
||||
func (r *MembersService) HasMember(groupKey string, memberKey string) *MembersHasMemberCall {
|
||||
c := &MembersHasMemberCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.groupKey = groupKey
|
||||
@@ -8869,7 +8882,7 @@ func (c *MembersHasMemberCall) Do(opts ...googleapi.CallOption) (*MembersHasMemb
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Checks Membership of an user within a Group",
|
||||
// "description": "Checks whether the given user is a member of the group. Membership can be direct or nested.",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "directory.members.hasMember",
|
||||
// "parameterOrder": [
|
||||
@@ -8878,13 +8891,13 @@ func (c *MembersHasMemberCall) Do(opts ...googleapi.CallOption) (*MembersHasMemb
|
||||
// ],
|
||||
// "parameters": {
|
||||
// "groupKey": {
|
||||
// "description": "Email or immutable Id of the group",
|
||||
// "description": "Identifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "memberKey": {
|
||||
// "description": "Email or immutable Id of the member",
|
||||
// "description": "Identifies the user member in the API request. The value can be the user's primary email address, alias, or unique ID.",
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
@@ -12578,6 +12591,20 @@ func (r *ResourcesBuildingsService) List(customer string) *ResourcesBuildingsLis
|
||||
return c
|
||||
}
|
||||
|
||||
// MaxResults sets the optional parameter "maxResults": Maximum number
|
||||
// of results to return.
|
||||
func (c *ResourcesBuildingsListCall) MaxResults(maxResults int64) *ResourcesBuildingsListCall {
|
||||
c.urlParams_.Set("maxResults", fmt.Sprint(maxResults))
|
||||
return c
|
||||
}
|
||||
|
||||
// PageToken sets the optional parameter "pageToken": Token to specify
|
||||
// the next page in the list.
|
||||
func (c *ResourcesBuildingsListCall) PageToken(pageToken string) *ResourcesBuildingsListCall {
|
||||
c.urlParams_.Set("pageToken", pageToken)
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
@@ -12684,6 +12711,19 @@ func (c *ResourcesBuildingsListCall) Do(opts ...googleapi.CallOption) (*Building
|
||||
// "location": "path",
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "description": "Maximum number of results to return.",
|
||||
// "format": "int32",
|
||||
// "location": "query",
|
||||
// "maximum": "500",
|
||||
// "minimum": "1",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "pageToken": {
|
||||
// "description": "Token to specify the next page in the list.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "path": "customer/{customer}/resources/buildings",
|
||||
@@ -12698,6 +12738,27 @@ func (c *ResourcesBuildingsListCall) Do(opts ...googleapi.CallOption) (*Building
|
||||
|
||||
}
|
||||
|
||||
// Pages invokes f for each page of results.
|
||||
// A non-nil error returned from f will halt the iteration.
|
||||
// The provided context supersedes any context provided to the Context method.
|
||||
func (c *ResourcesBuildingsListCall) Pages(ctx context.Context, f func(*Buildings) error) error {
|
||||
c.ctx_ = ctx
|
||||
defer c.PageToken(c.urlParams_.Get("pageToken")) // reset paging to original point
|
||||
for {
|
||||
x, err := c.Do()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := f(x); err != nil {
|
||||
return err
|
||||
}
|
||||
if x.NextPageToken == "" {
|
||||
return nil
|
||||
}
|
||||
c.PageToken(x.NextPageToken)
|
||||
}
|
||||
}
|
||||
|
||||
// method id "directory.resources.buildings.patch":
|
||||
|
||||
type ResourcesBuildingsPatchCall struct {
|
||||
@@ -13418,8 +13479,11 @@ func (c *ResourcesCalendarsListCall) PageToken(pageToken string) *ResourcesCalen
|
||||
// filter results. Should be of the form "field operator value" where
|
||||
// field can be any of supported fields and operators can be any of
|
||||
// supported operations. Operators include '=' for exact match and ':'
|
||||
// for prefix match where applicable. For prefix match, the value should
|
||||
// always be followed by a *.
|
||||
// for prefix match or HAS match where applicable. For prefix match, the
|
||||
// value should always be followed by a *. Supported fields include
|
||||
// generatedResourceName, name, buildingId,
|
||||
// featureInstances.feature.name. For example buildingId=US-NYC-9TH AND
|
||||
// featureInstances.feature.name:Phone.
|
||||
func (c *ResourcesCalendarsListCall) Query(query string) *ResourcesCalendarsListCall {
|
||||
c.urlParams_.Set("query", query)
|
||||
return c
|
||||
@@ -13551,7 +13615,7 @@ func (c *ResourcesCalendarsListCall) Do(opts ...googleapi.CallOption) (*Calendar
|
||||
// "type": "string"
|
||||
// },
|
||||
// "query": {
|
||||
// "description": "String query used to filter results. Should be of the form \"field operator value\" where field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match and ':' for prefix match where applicable. For prefix match, the value should always be followed by a *.",
|
||||
// "description": "String query used to filter results. Should be of the form \"field operator value\" where field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match and ':' for prefix match or HAS match where applicable. For prefix match, the value should always be followed by a *. Supported fields include generatedResourceName, name, buildingId, featureInstances.feature.name. For example buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone.",
|
||||
// "location": "query",
|
||||
// "type": "string"
|
||||
// }
|
||||
@@ -14287,6 +14351,13 @@ func (r *ResourcesFeaturesService) List(customer string) *ResourcesFeaturesListC
|
||||
return c
|
||||
}
|
||||
|
||||
// MaxResults sets the optional parameter "maxResults": Maximum number
|
||||
// of results to return.
|
||||
func (c *ResourcesFeaturesListCall) MaxResults(maxResults int64) *ResourcesFeaturesListCall {
|
||||
c.urlParams_.Set("maxResults", fmt.Sprint(maxResults))
|
||||
return c
|
||||
}
|
||||
|
||||
// PageToken sets the optional parameter "pageToken": Token to specify
|
||||
// the next page in the list.
|
||||
func (c *ResourcesFeaturesListCall) PageToken(pageToken string) *ResourcesFeaturesListCall {
|
||||
@@ -14401,6 +14472,14 @@ func (c *ResourcesFeaturesListCall) Do(opts ...googleapi.CallOption) (*Features,
|
||||
// "required": true,
|
||||
// "type": "string"
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "description": "Maximum number of results to return.",
|
||||
// "format": "int32",
|
||||
// "location": "query",
|
||||
// "maximum": "500",
|
||||
// "minimum": "1",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "pageToken": {
|
||||
// "description": "Token to specify the next page in the list.",
|
||||
// "location": "query",
|
||||
|
||||
Reference in New Issue
Block a user