mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 10:33:34 +00:00
vendor: update all dependencies to latest versions
This commit is contained in:
82
vendor/google.golang.org/api/identitytoolkit/v3/identitytoolkit-api.json
generated
vendored
82
vendor/google.golang.org/api/identitytoolkit/v3/identitytoolkit-api.json
generated
vendored
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/YDuUtEWk-s4RoFmU1uyfiL_piZ0\"",
|
||||
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/-CIGDhyktArHgwyopFUaXBy_0sc\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "identitytoolkit:v3",
|
||||
"name": "identitytoolkit",
|
||||
"canonicalName": "Identity Toolkit",
|
||||
"version": "v3",
|
||||
"revision": "20170828",
|
||||
"revision": "20170927",
|
||||
"title": "Google Identity Toolkit API",
|
||||
"description": "Help the third party sites to implement federated login.",
|
||||
"ownerDomain": "google.com",
|
||||
@@ -120,6 +120,13 @@
|
||||
"sessionId": {
|
||||
"type": "string",
|
||||
"description": "Session ID which should be passed in the following verifyAssertion request."
|
||||
},
|
||||
"signinMethods": {
|
||||
"type": "array",
|
||||
"description": "All sign-in methods this user has used.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -158,6 +165,43 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"EmailLinkSigninResponse": {
|
||||
"id": "EmailLinkSigninResponse",
|
||||
"type": "object",
|
||||
"description": "Response of email signIn.",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The user's email."
|
||||
},
|
||||
"expiresIn": {
|
||||
"type": "string",
|
||||
"description": "Expiration time of STS id token in seconds.",
|
||||
"format": "int64"
|
||||
},
|
||||
"idToken": {
|
||||
"type": "string",
|
||||
"description": "The STS id token to login the newly signed in user."
|
||||
},
|
||||
"isNewUser": {
|
||||
"type": "boolean",
|
||||
"description": "Whether the user is new."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"description": "The fixed string \"identitytoolkit#EmailLinkSigninResponse\".",
|
||||
"default": "identitytoolkit#EmailLinkSigninResponse"
|
||||
},
|
||||
"localId": {
|
||||
"type": "string",
|
||||
"description": "The RP local ID of the user."
|
||||
},
|
||||
"refreshToken": {
|
||||
"type": "string",
|
||||
"description": "The refresh token for the signed in user."
|
||||
}
|
||||
}
|
||||
},
|
||||
"EmailTemplate": {
|
||||
"id": "EmailTemplate",
|
||||
"type": "object",
|
||||
@@ -360,6 +404,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"IdentitytoolkitRelyingpartyEmailLinkSigninRequest": {
|
||||
"id": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest",
|
||||
"type": "object",
|
||||
"description": "Request to sign in with email.",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"description": "The email address of the user."
|
||||
},
|
||||
"idToken": {
|
||||
"type": "string",
|
||||
"description": "Token for linking flow."
|
||||
},
|
||||
"oobCode": {
|
||||
"type": "string",
|
||||
"description": "The confirmation code."
|
||||
}
|
||||
}
|
||||
},
|
||||
"IdentitytoolkitRelyingpartyGetAccountInfoRequest": {
|
||||
"id": "IdentitytoolkitRelyingpartyGetAccountInfoRequest",
|
||||
"type": "object",
|
||||
@@ -1751,6 +1814,21 @@
|
||||
"https://www.googleapis.com/auth/firebase"
|
||||
]
|
||||
},
|
||||
"emailLinkSignin": {
|
||||
"id": "identitytoolkit.relyingparty.emailLinkSignin",
|
||||
"path": "emailLinkSignin",
|
||||
"httpMethod": "POST",
|
||||
"description": "Reset password for a user.",
|
||||
"request": {
|
||||
"$ref": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "EmailLinkSigninResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
},
|
||||
"getAccountInfo": {
|
||||
"id": "identitytoolkit.relyingparty.getAccountInfo",
|
||||
"path": "getAccountInfo",
|
||||
|
||||
409
vendor/google.golang.org/api/identitytoolkit/v3/identitytoolkit-gen.go
generated
vendored
409
vendor/google.golang.org/api/identitytoolkit/v3/identitytoolkit-gen.go
generated
vendored
@@ -118,6 +118,9 @@ type CreateAuthUriResponse struct {
|
||||
// verifyAssertion request.
|
||||
SessionId string `json:"sessionId,omitempty"`
|
||||
|
||||
// SigninMethods: All sign-in methods this user has used.
|
||||
SigninMethods []string `json:"signinMethods,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
@@ -140,8 +143,8 @@ type CreateAuthUriResponse struct {
|
||||
}
|
||||
|
||||
func (s *CreateAuthUriResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod CreateAuthUriResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod CreateAuthUriResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -172,8 +175,8 @@ type DeleteAccountResponse struct {
|
||||
}
|
||||
|
||||
func (s *DeleteAccountResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DeleteAccountResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DeleteAccountResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -211,8 +214,58 @@ type DownloadAccountResponse struct {
|
||||
}
|
||||
|
||||
func (s *DownloadAccountResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod DownloadAccountResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod DownloadAccountResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// EmailLinkSigninResponse: Response of email signIn.
|
||||
type EmailLinkSigninResponse struct {
|
||||
// Email: The user's email.
|
||||
Email string `json:"email,omitempty"`
|
||||
|
||||
// ExpiresIn: Expiration time of STS id token in seconds.
|
||||
ExpiresIn int64 `json:"expiresIn,omitempty,string"`
|
||||
|
||||
// IdToken: The STS id token to login the newly signed in user.
|
||||
IdToken string `json:"idToken,omitempty"`
|
||||
|
||||
// IsNewUser: Whether the user is new.
|
||||
IsNewUser bool `json:"isNewUser,omitempty"`
|
||||
|
||||
// Kind: The fixed string "identitytoolkit#EmailLinkSigninResponse".
|
||||
Kind string `json:"kind,omitempty"`
|
||||
|
||||
// LocalId: The RP local ID of the user.
|
||||
LocalId string `json:"localId,omitempty"`
|
||||
|
||||
// RefreshToken: The refresh token for the signed in user.
|
||||
RefreshToken string `json:"refreshToken,omitempty"`
|
||||
|
||||
// ServerResponse contains the HTTP response code and headers from the
|
||||
// server.
|
||||
googleapi.ServerResponse `json:"-"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Email") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Email") to include in API
|
||||
// requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *EmailLinkSigninResponse) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod EmailLinkSigninResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -254,8 +307,8 @@ type EmailTemplate struct {
|
||||
}
|
||||
|
||||
func (s *EmailTemplate) MarshalJSON() ([]byte, error) {
|
||||
type noMethod EmailTemplate
|
||||
raw := noMethod(*s)
|
||||
type NoMethod EmailTemplate
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -289,8 +342,8 @@ type GetAccountInfoResponse struct {
|
||||
}
|
||||
|
||||
func (s *GetAccountInfoResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetAccountInfoResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GetAccountInfoResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -329,8 +382,8 @@ type GetOobConfirmationCodeResponse struct {
|
||||
}
|
||||
|
||||
func (s *GetOobConfirmationCodeResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetOobConfirmationCodeResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GetOobConfirmationCodeResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -368,8 +421,8 @@ type GetRecaptchaParamResponse struct {
|
||||
}
|
||||
|
||||
func (s *GetRecaptchaParamResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod GetRecaptchaParamResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod GetRecaptchaParamResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -450,8 +503,8 @@ type IdentitytoolkitRelyingpartyCreateAuthUriRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyCreateAuthUriRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyCreateAuthUriRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyCreateAuthUriRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -488,8 +541,8 @@ type IdentitytoolkitRelyingpartyDeleteAccountRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyDeleteAccountRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyDeleteAccountRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyDeleteAccountRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -531,8 +584,43 @@ type IdentitytoolkitRelyingpartyDownloadAccountRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyDownloadAccountRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyDownloadAccountRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyDownloadAccountRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// IdentitytoolkitRelyingpartyEmailLinkSigninRequest: Request to sign in
|
||||
// with email.
|
||||
type IdentitytoolkitRelyingpartyEmailLinkSigninRequest struct {
|
||||
// Email: The email address of the user.
|
||||
Email string `json:"email,omitempty"`
|
||||
|
||||
// IdToken: Token for linking flow.
|
||||
IdToken string `json:"idToken,omitempty"`
|
||||
|
||||
// OobCode: The confirmation code.
|
||||
OobCode string `json:"oobCode,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Email") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Email") to include in API
|
||||
// requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyEmailLinkSigninRequest) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod IdentitytoolkitRelyingpartyEmailLinkSigninRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -576,8 +664,8 @@ type IdentitytoolkitRelyingpartyGetAccountInfoRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyGetAccountInfoRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyGetAccountInfoRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyGetAccountInfoRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -642,8 +730,8 @@ type IdentitytoolkitRelyingpartyGetProjectConfigResponse struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyGetProjectConfigResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyGetProjectConfigResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyGetProjectConfigResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -680,8 +768,8 @@ type IdentitytoolkitRelyingpartyResetPasswordRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyResetPasswordRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyResetPasswordRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyResetPasswordRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -719,8 +807,8 @@ type IdentitytoolkitRelyingpartySendVerificationCodeRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySendVerificationCodeRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySendVerificationCodeRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySendVerificationCodeRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -752,8 +840,8 @@ type IdentitytoolkitRelyingpartySendVerificationCodeResponse struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySendVerificationCodeResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySendVerificationCodeResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySendVerificationCodeResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -852,8 +940,8 @@ type IdentitytoolkitRelyingpartySetAccountInfoRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySetAccountInfoRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySetAccountInfoRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySetAccountInfoRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -913,8 +1001,8 @@ type IdentitytoolkitRelyingpartySetProjectConfigRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySetProjectConfigRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySetProjectConfigRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySetProjectConfigRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -946,8 +1034,8 @@ type IdentitytoolkitRelyingpartySetProjectConfigResponse struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySetProjectConfigResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySetProjectConfigResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySetProjectConfigResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -978,8 +1066,8 @@ type IdentitytoolkitRelyingpartySignOutUserRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySignOutUserRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySignOutUserRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySignOutUserRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1011,8 +1099,8 @@ type IdentitytoolkitRelyingpartySignOutUserResponse struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySignOutUserResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySignOutUserResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySignOutUserResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1077,8 +1165,8 @@ type IdentitytoolkitRelyingpartySignupNewUserRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartySignupNewUserRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartySignupNewUserRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartySignupNewUserRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1149,8 +1237,8 @@ type IdentitytoolkitRelyingpartyUploadAccountRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyUploadAccountRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyUploadAccountRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyUploadAccountRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1216,8 +1304,8 @@ type IdentitytoolkitRelyingpartyVerifyAssertionRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyVerifyAssertionRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyVerifyAssertionRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyVerifyAssertionRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1258,8 +1346,8 @@ type IdentitytoolkitRelyingpartyVerifyCustomTokenRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyVerifyCustomTokenRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyVerifyCustomTokenRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyVerifyCustomTokenRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1315,8 +1403,8 @@ type IdentitytoolkitRelyingpartyVerifyPasswordRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyVerifyPasswordRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyVerifyPasswordRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyVerifyPasswordRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1357,8 +1445,8 @@ type IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1407,8 +1495,8 @@ type IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse struct {
|
||||
}
|
||||
|
||||
func (s *IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1451,8 +1539,8 @@ type IdpConfig struct {
|
||||
}
|
||||
|
||||
func (s *IdpConfig) MarshalJSON() ([]byte, error) {
|
||||
type noMethod IdpConfig
|
||||
raw := noMethod(*s)
|
||||
type NoMethod IdpConfig
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1529,8 +1617,8 @@ type Relyingparty struct {
|
||||
}
|
||||
|
||||
func (s *Relyingparty) MarshalJSON() ([]byte, error) {
|
||||
type noMethod Relyingparty
|
||||
raw := noMethod(*s)
|
||||
type NoMethod Relyingparty
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1572,8 +1660,8 @@ type ResetPasswordResponse struct {
|
||||
}
|
||||
|
||||
func (s *ResetPasswordResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod ResetPasswordResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod ResetPasswordResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1639,8 +1727,8 @@ type SetAccountInfoResponse struct {
|
||||
}
|
||||
|
||||
func (s *SetAccountInfoResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SetAccountInfoResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SetAccountInfoResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1677,8 +1765,8 @@ type SetAccountInfoResponseProviderUserInfo struct {
|
||||
}
|
||||
|
||||
func (s *SetAccountInfoResponseProviderUserInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SetAccountInfoResponseProviderUserInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SetAccountInfoResponseProviderUserInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1730,8 +1818,8 @@ type SignupNewUserResponse struct {
|
||||
}
|
||||
|
||||
func (s *SignupNewUserResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod SignupNewUserResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod SignupNewUserResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1765,8 +1853,8 @@ type UploadAccountResponse struct {
|
||||
}
|
||||
|
||||
func (s *UploadAccountResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UploadAccountResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UploadAccountResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1795,8 +1883,8 @@ type UploadAccountResponseError struct {
|
||||
}
|
||||
|
||||
func (s *UploadAccountResponseError) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UploadAccountResponseError
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UploadAccountResponseError
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -1878,18 +1966,18 @@ type UserInfo struct {
|
||||
}
|
||||
|
||||
func (s *UserInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UserInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UserInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
func (s *UserInfo) UnmarshalJSON(data []byte) error {
|
||||
type noMethod UserInfo
|
||||
type NoMethod UserInfo
|
||||
var s1 struct {
|
||||
PasswordUpdatedAt gensupport.JSONFloat64 `json:"passwordUpdatedAt"`
|
||||
*noMethod
|
||||
*NoMethod
|
||||
}
|
||||
s1.noMethod = (*noMethod)(s)
|
||||
s1.NoMethod = (*NoMethod)(s)
|
||||
if err := json.Unmarshal(data, &s1); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -1942,8 +2030,8 @@ type UserInfoProviderUserInfo struct {
|
||||
}
|
||||
|
||||
func (s *UserInfoProviderUserInfo) MarshalJSON() ([]byte, error) {
|
||||
type noMethod UserInfoProviderUserInfo
|
||||
raw := noMethod(*s)
|
||||
type NoMethod UserInfoProviderUserInfo
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2108,8 +2196,8 @@ type VerifyAssertionResponse struct {
|
||||
}
|
||||
|
||||
func (s *VerifyAssertionResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod VerifyAssertionResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod VerifyAssertionResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2155,8 +2243,8 @@ type VerifyCustomTokenResponse struct {
|
||||
}
|
||||
|
||||
func (s *VerifyCustomTokenResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod VerifyCustomTokenResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod VerifyCustomTokenResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2224,8 +2312,8 @@ type VerifyPasswordResponse struct {
|
||||
}
|
||||
|
||||
func (s *VerifyPasswordResponse) MarshalJSON() ([]byte, error) {
|
||||
type noMethod VerifyPasswordResponse
|
||||
raw := noMethod(*s)
|
||||
type NoMethod VerifyPasswordResponse
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
@@ -2325,7 +2413,7 @@ func (c *RelyingpartyCreateAuthUriCall) Do(opts ...googleapi.CallOption) (*Creat
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2442,7 +2530,7 @@ func (c *RelyingpartyDeleteAccountCall) Do(opts ...googleapi.CallOption) (*Delet
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2559,7 +2647,7 @@ func (c *RelyingpartyDownloadAccountCall) Do(opts ...googleapi.CallOption) (*Dow
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2603,6 +2691,123 @@ func (c *RelyingpartyDownloadAccountCall) Pages(ctx context.Context, f func(*Dow
|
||||
}
|
||||
}
|
||||
|
||||
// method id "identitytoolkit.relyingparty.emailLinkSignin":
|
||||
|
||||
type RelyingpartyEmailLinkSigninCall struct {
|
||||
s *Service
|
||||
identitytoolkitrelyingpartyemaillinksigninrequest *IdentitytoolkitRelyingpartyEmailLinkSigninRequest
|
||||
urlParams_ gensupport.URLParams
|
||||
ctx_ context.Context
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// EmailLinkSignin: Reset password for a user.
|
||||
func (r *RelyingpartyService) EmailLinkSignin(identitytoolkitrelyingpartyemaillinksigninrequest *IdentitytoolkitRelyingpartyEmailLinkSigninRequest) *RelyingpartyEmailLinkSigninCall {
|
||||
c := &RelyingpartyEmailLinkSigninCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.identitytoolkitrelyingpartyemaillinksigninrequest = identitytoolkitrelyingpartyemaillinksigninrequest
|
||||
return c
|
||||
}
|
||||
|
||||
// Fields allows partial responses to be retrieved. See
|
||||
// https://developers.google.com/gdata/docs/2.0/basics#PartialResponse
|
||||
// for more information.
|
||||
func (c *RelyingpartyEmailLinkSigninCall) Fields(s ...googleapi.Field) *RelyingpartyEmailLinkSigninCall {
|
||||
c.urlParams_.Set("fields", googleapi.CombineFields(s))
|
||||
return c
|
||||
}
|
||||
|
||||
// Context sets the context to be used in this call's Do method. Any
|
||||
// pending HTTP request will be aborted if the provided context is
|
||||
// canceled.
|
||||
func (c *RelyingpartyEmailLinkSigninCall) Context(ctx context.Context) *RelyingpartyEmailLinkSigninCall {
|
||||
c.ctx_ = ctx
|
||||
return c
|
||||
}
|
||||
|
||||
// Header returns an http.Header that can be modified by the caller to
|
||||
// add HTTP headers to the request.
|
||||
func (c *RelyingpartyEmailLinkSigninCall) Header() http.Header {
|
||||
if c.header_ == nil {
|
||||
c.header_ = make(http.Header)
|
||||
}
|
||||
return c.header_
|
||||
}
|
||||
|
||||
func (c *RelyingpartyEmailLinkSigninCall) doRequest(alt string) (*http.Response, error) {
|
||||
reqHeaders := make(http.Header)
|
||||
for k, v := range c.header_ {
|
||||
reqHeaders[k] = v
|
||||
}
|
||||
reqHeaders.Set("User-Agent", c.s.userAgent())
|
||||
var body io.Reader = nil
|
||||
body, err := googleapi.WithoutDataWrapper.JSONReader(c.identitytoolkitrelyingpartyemaillinksigninrequest)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
reqHeaders.Set("Content-Type", "application/json")
|
||||
c.urlParams_.Set("alt", alt)
|
||||
urls := googleapi.ResolveRelative(c.s.BasePath, "emailLinkSignin")
|
||||
urls += "?" + c.urlParams_.Encode()
|
||||
req, _ := http.NewRequest("POST", urls, body)
|
||||
req.Header = reqHeaders
|
||||
return gensupport.SendRequest(c.ctx_, c.s.client, req)
|
||||
}
|
||||
|
||||
// Do executes the "identitytoolkit.relyingparty.emailLinkSignin" call.
|
||||
// Exactly one of *EmailLinkSigninResponse or error will be non-nil. Any
|
||||
// non-2xx status code is an error. Response headers are in either
|
||||
// *EmailLinkSigninResponse.ServerResponse.Header or (if a response was
|
||||
// returned at all) in error.(*googleapi.Error).Header. Use
|
||||
// googleapi.IsNotModified to check whether the returned error was
|
||||
// because http.StatusNotModified was returned.
|
||||
func (c *RelyingpartyEmailLinkSigninCall) Do(opts ...googleapi.CallOption) (*EmailLinkSigninResponse, error) {
|
||||
gensupport.SetOptions(c.urlParams_, opts...)
|
||||
res, err := c.doRequest("json")
|
||||
if res != nil && res.StatusCode == http.StatusNotModified {
|
||||
if res.Body != nil {
|
||||
res.Body.Close()
|
||||
}
|
||||
return nil, &googleapi.Error{
|
||||
Code: res.StatusCode,
|
||||
Header: res.Header,
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer googleapi.CloseBody(res)
|
||||
if err := googleapi.CheckResponse(res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ret := &EmailLinkSigninResponse{
|
||||
ServerResponse: googleapi.ServerResponse{
|
||||
Header: res.Header,
|
||||
HTTPStatusCode: res.StatusCode,
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Reset password for a user.",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "identitytoolkit.relyingparty.emailLinkSignin",
|
||||
// "path": "emailLinkSignin",
|
||||
// "request": {
|
||||
// "$ref": "IdentitytoolkitRelyingpartyEmailLinkSigninRequest"
|
||||
// },
|
||||
// "response": {
|
||||
// "$ref": "EmailLinkSigninResponse"
|
||||
// },
|
||||
// "scopes": [
|
||||
// "https://www.googleapis.com/auth/cloud-platform"
|
||||
// ]
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// method id "identitytoolkit.relyingparty.getAccountInfo":
|
||||
|
||||
type RelyingpartyGetAccountInfoCall struct {
|
||||
@@ -2698,7 +2903,7 @@ func (c *RelyingpartyGetAccountInfoCall) Do(opts ...googleapi.CallOption) (*GetA
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2815,7 +3020,7 @@ func (c *RelyingpartyGetOobConfirmationCodeCall) Do(opts ...googleapi.CallOption
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -2956,7 +3161,7 @@ func (c *RelyingpartyGetProjectConfigCall) Do(opts ...googleapi.CallOption) (*Id
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3069,7 +3274,7 @@ func (c *RelyingpartyGetPublicKeysCall) Do(opts ...googleapi.CallOption) (map[st
|
||||
}
|
||||
var ret map[string]string
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3190,7 +3395,7 @@ func (c *RelyingpartyGetRecaptchaParamCall) Do(opts ...googleapi.CallOption) (*G
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3304,7 +3509,7 @@ func (c *RelyingpartyResetPasswordCall) Do(opts ...googleapi.CallOption) (*Reset
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3424,7 +3629,7 @@ func (c *RelyingpartySendVerificationCodeCall) Do(opts ...googleapi.CallOption)
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3541,7 +3746,7 @@ func (c *RelyingpartySetAccountInfoCall) Do(opts ...googleapi.CallOption) (*SetA
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3660,7 +3865,7 @@ func (c *RelyingpartySetProjectConfigCall) Do(opts ...googleapi.CallOption) (*Id
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3779,7 +3984,7 @@ func (c *RelyingpartySignOutUserCall) Do(opts ...googleapi.CallOption) (*Identit
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -3896,7 +4101,7 @@ func (c *RelyingpartySignupNewUserCall) Do(opts ...googleapi.CallOption) (*Signu
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4013,7 +4218,7 @@ func (c *RelyingpartyUploadAccountCall) Do(opts ...googleapi.CallOption) (*Uploa
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4131,7 +4336,7 @@ func (c *RelyingpartyVerifyAssertionCall) Do(opts ...googleapi.CallOption) (*Ver
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4248,7 +4453,7 @@ func (c *RelyingpartyVerifyCustomTokenCall) Do(opts ...googleapi.CallOption) (*V
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4365,7 +4570,7 @@ func (c *RelyingpartyVerifyPasswordCall) Do(opts ...googleapi.CallOption) (*Veri
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
@@ -4485,7 +4690,7 @@ func (c *RelyingpartyVerifyPhoneNumberCall) Do(opts ...googleapi.CallOption) (*I
|
||||
},
|
||||
}
|
||||
target := &ret
|
||||
if err := json.NewDecoder(res.Body).Decode(target); err != nil {
|
||||
if err := gensupport.DecodeResponse(target, res); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ret, nil
|
||||
|
||||
Reference in New Issue
Block a user