Documentation ¶
Overview ¶
Package firebaseappcheck provides access to the Firebase App Check API.
For product documentation, see: https://firebase.google.com/docs/app-check
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/firebaseappcheck/v1" ... ctx := context.Background() firebaseappcheckService, err := firebaseappcheck.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use google.golang.org/api/option.WithScopes:
firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithScopes(firebaseappcheck.FirebaseScope))
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) firebaseappcheckService, err := firebaseappcheck.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type GoogleFirebaseAppcheckV1AppAttestConfig
- type GoogleFirebaseAppcheckV1AppCheckToken
- type GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse
- type GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse
- type GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse
- type GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse
- type GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse
- type GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse
- type GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest
- type GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse
- type GoogleFirebaseAppcheckV1BatchUpdateServicesRequest
- type GoogleFirebaseAppcheckV1BatchUpdateServicesResponse
- type GoogleFirebaseAppcheckV1DebugToken
- type GoogleFirebaseAppcheckV1DeviceCheckConfig
- type GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest
- type GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest
- type GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse
- type GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest
- type GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest
- type GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest
- type GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest
- type GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest
- type GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest
- type GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest
- type GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest
- type GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
- type GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest
- type GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse
- type GoogleFirebaseAppcheckV1ListDebugTokensResponse
- type GoogleFirebaseAppcheckV1ListResourcePoliciesResponse
- type GoogleFirebaseAppcheckV1ListServicesResponse
- type GoogleFirebaseAppcheckV1PlayIntegrityConfig
- type GoogleFirebaseAppcheckV1PublicJwk
- type GoogleFirebaseAppcheckV1PublicJwkSet
- type GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig
- type GoogleFirebaseAppcheckV1RecaptchaV3Config
- type GoogleFirebaseAppcheckV1ResourcePolicy
- type GoogleFirebaseAppcheckV1SafetyNetConfig
- type GoogleFirebaseAppcheckV1Service
- type GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest
- type GoogleFirebaseAppcheckV1UpdateServiceRequest
- type GoogleProtobufEmpty
- type JwksGetCall
- func (c *JwksGetCall) Context(ctx context.Context) *JwksGetCall
- func (c *JwksGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1PublicJwkSet, error)
- func (c *JwksGetCall) Fields(s ...googleapi.Field) *JwksGetCall
- func (c *JwksGetCall) Header() http.Header
- func (c *JwksGetCall) IfNoneMatch(entityTag string) *JwksGetCall
- type JwksService
- type OauthClientsExchangeAppAttestAssertionCall
- func (c *OauthClientsExchangeAppAttestAssertionCall) Context(ctx context.Context) *OauthClientsExchangeAppAttestAssertionCall
- func (c *OauthClientsExchangeAppAttestAssertionCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *OauthClientsExchangeAppAttestAssertionCall) Fields(s ...googleapi.Field) *OauthClientsExchangeAppAttestAssertionCall
- func (c *OauthClientsExchangeAppAttestAssertionCall) Header() http.Header
- type OauthClientsExchangeAppAttestAttestationCall
- func (c *OauthClientsExchangeAppAttestAttestationCall) Context(ctx context.Context) *OauthClientsExchangeAppAttestAttestationCall
- func (c *OauthClientsExchangeAppAttestAttestationCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse, error)
- func (c *OauthClientsExchangeAppAttestAttestationCall) Fields(s ...googleapi.Field) *OauthClientsExchangeAppAttestAttestationCall
- func (c *OauthClientsExchangeAppAttestAttestationCall) Header() http.Header
- type OauthClientsExchangeDebugTokenCall
- func (c *OauthClientsExchangeDebugTokenCall) Context(ctx context.Context) *OauthClientsExchangeDebugTokenCall
- func (c *OauthClientsExchangeDebugTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *OauthClientsExchangeDebugTokenCall) Fields(s ...googleapi.Field) *OauthClientsExchangeDebugTokenCall
- func (c *OauthClientsExchangeDebugTokenCall) Header() http.Header
- type OauthClientsGenerateAppAttestChallengeCall
- func (c *OauthClientsGenerateAppAttestChallengeCall) Context(ctx context.Context) *OauthClientsGenerateAppAttestChallengeCall
- func (c *OauthClientsGenerateAppAttestChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse, error)
- func (c *OauthClientsGenerateAppAttestChallengeCall) Fields(s ...googleapi.Field) *OauthClientsGenerateAppAttestChallengeCall
- func (c *OauthClientsGenerateAppAttestChallengeCall) Header() http.Header
- type OauthClientsService
- func (r *OauthClientsService) ExchangeAppAttestAssertion(appid string, ...) *OauthClientsExchangeAppAttestAssertionCall
- func (r *OauthClientsService) ExchangeAppAttestAttestation(appid string, ...) *OauthClientsExchangeAppAttestAttestationCall
- func (r *OauthClientsService) ExchangeDebugToken(appid string, ...) *OauthClientsExchangeDebugTokenCall
- func (r *OauthClientsService) GenerateAppAttestChallenge(appid string, ...) *OauthClientsGenerateAppAttestChallengeCall
- type ProjectsAppsAppAttestConfigBatchGetCall
- func (c *ProjectsAppsAppAttestConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigBatchGetCall
- func (c *ProjectsAppsAppAttestConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse, error)
- func (c *ProjectsAppsAppAttestConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsAppAttestConfigBatchGetCall
- func (c *ProjectsAppsAppAttestConfigBatchGetCall) Header() http.Header
- func (c *ProjectsAppsAppAttestConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsAppAttestConfigBatchGetCall
- func (c *ProjectsAppsAppAttestConfigBatchGetCall) Names(names ...string) *ProjectsAppsAppAttestConfigBatchGetCall
- type ProjectsAppsAppAttestConfigGetCall
- func (c *ProjectsAppsAppAttestConfigGetCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigGetCall
- func (c *ProjectsAppsAppAttestConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppAttestConfig, error)
- func (c *ProjectsAppsAppAttestConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsAppAttestConfigGetCall
- func (c *ProjectsAppsAppAttestConfigGetCall) Header() http.Header
- func (c *ProjectsAppsAppAttestConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsAppAttestConfigGetCall
- type ProjectsAppsAppAttestConfigPatchCall
- func (c *ProjectsAppsAppAttestConfigPatchCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigPatchCall
- func (c *ProjectsAppsAppAttestConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppAttestConfig, error)
- func (c *ProjectsAppsAppAttestConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsAppAttestConfigPatchCall
- func (c *ProjectsAppsAppAttestConfigPatchCall) Header() http.Header
- func (c *ProjectsAppsAppAttestConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsAppAttestConfigPatchCall
- type ProjectsAppsAppAttestConfigService
- func (r *ProjectsAppsAppAttestConfigService) BatchGet(parent string) *ProjectsAppsAppAttestConfigBatchGetCall
- func (r *ProjectsAppsAppAttestConfigService) Get(name string) *ProjectsAppsAppAttestConfigGetCall
- func (r *ProjectsAppsAppAttestConfigService) Patch(name string, ...) *ProjectsAppsAppAttestConfigPatchCall
- type ProjectsAppsDebugTokensCreateCall
- func (c *ProjectsAppsDebugTokensCreateCall) Context(ctx context.Context) *ProjectsAppsDebugTokensCreateCall
- func (c *ProjectsAppsDebugTokensCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DebugToken, error)
- func (c *ProjectsAppsDebugTokensCreateCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensCreateCall
- func (c *ProjectsAppsDebugTokensCreateCall) Header() http.Header
- type ProjectsAppsDebugTokensDeleteCall
- func (c *ProjectsAppsDebugTokensDeleteCall) Context(ctx context.Context) *ProjectsAppsDebugTokensDeleteCall
- func (c *ProjectsAppsDebugTokensDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAppsDebugTokensDeleteCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensDeleteCall
- func (c *ProjectsAppsDebugTokensDeleteCall) Header() http.Header
- type ProjectsAppsDebugTokensGetCall
- func (c *ProjectsAppsDebugTokensGetCall) Context(ctx context.Context) *ProjectsAppsDebugTokensGetCall
- func (c *ProjectsAppsDebugTokensGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DebugToken, error)
- func (c *ProjectsAppsDebugTokensGetCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensGetCall
- func (c *ProjectsAppsDebugTokensGetCall) Header() http.Header
- func (c *ProjectsAppsDebugTokensGetCall) IfNoneMatch(entityTag string) *ProjectsAppsDebugTokensGetCall
- type ProjectsAppsDebugTokensListCall
- func (c *ProjectsAppsDebugTokensListCall) Context(ctx context.Context) *ProjectsAppsDebugTokensListCall
- func (c *ProjectsAppsDebugTokensListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ListDebugTokensResponse, error)
- func (c *ProjectsAppsDebugTokensListCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensListCall
- func (c *ProjectsAppsDebugTokensListCall) Header() http.Header
- func (c *ProjectsAppsDebugTokensListCall) IfNoneMatch(entityTag string) *ProjectsAppsDebugTokensListCall
- func (c *ProjectsAppsDebugTokensListCall) PageSize(pageSize int64) *ProjectsAppsDebugTokensListCall
- func (c *ProjectsAppsDebugTokensListCall) PageToken(pageToken string) *ProjectsAppsDebugTokensListCall
- func (c *ProjectsAppsDebugTokensListCall) Pages(ctx context.Context, ...) error
- type ProjectsAppsDebugTokensPatchCall
- func (c *ProjectsAppsDebugTokensPatchCall) Context(ctx context.Context) *ProjectsAppsDebugTokensPatchCall
- func (c *ProjectsAppsDebugTokensPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DebugToken, error)
- func (c *ProjectsAppsDebugTokensPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensPatchCall
- func (c *ProjectsAppsDebugTokensPatchCall) Header() http.Header
- func (c *ProjectsAppsDebugTokensPatchCall) UpdateMask(updateMask string) *ProjectsAppsDebugTokensPatchCall
- type ProjectsAppsDebugTokensService
- func (r *ProjectsAppsDebugTokensService) Create(parent string, ...) *ProjectsAppsDebugTokensCreateCall
- func (r *ProjectsAppsDebugTokensService) Delete(name string) *ProjectsAppsDebugTokensDeleteCall
- func (r *ProjectsAppsDebugTokensService) Get(name string) *ProjectsAppsDebugTokensGetCall
- func (r *ProjectsAppsDebugTokensService) List(parent string) *ProjectsAppsDebugTokensListCall
- func (r *ProjectsAppsDebugTokensService) Patch(name string, ...) *ProjectsAppsDebugTokensPatchCall
- type ProjectsAppsDeviceCheckConfigBatchGetCall
- func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigBatchGetCall
- func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse, error)
- func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsDeviceCheckConfigBatchGetCall
- func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Header() http.Header
- func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsDeviceCheckConfigBatchGetCall
- func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Names(names ...string) *ProjectsAppsDeviceCheckConfigBatchGetCall
- type ProjectsAppsDeviceCheckConfigGetCall
- func (c *ProjectsAppsDeviceCheckConfigGetCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigGetCall
- func (c *ProjectsAppsDeviceCheckConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DeviceCheckConfig, error)
- func (c *ProjectsAppsDeviceCheckConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsDeviceCheckConfigGetCall
- func (c *ProjectsAppsDeviceCheckConfigGetCall) Header() http.Header
- func (c *ProjectsAppsDeviceCheckConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsDeviceCheckConfigGetCall
- type ProjectsAppsDeviceCheckConfigPatchCall
- func (c *ProjectsAppsDeviceCheckConfigPatchCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigPatchCall
- func (c *ProjectsAppsDeviceCheckConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DeviceCheckConfig, error)
- func (c *ProjectsAppsDeviceCheckConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsDeviceCheckConfigPatchCall
- func (c *ProjectsAppsDeviceCheckConfigPatchCall) Header() http.Header
- func (c *ProjectsAppsDeviceCheckConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsDeviceCheckConfigPatchCall
- type ProjectsAppsDeviceCheckConfigService
- func (r *ProjectsAppsDeviceCheckConfigService) BatchGet(parent string) *ProjectsAppsDeviceCheckConfigBatchGetCall
- func (r *ProjectsAppsDeviceCheckConfigService) Get(name string) *ProjectsAppsDeviceCheckConfigGetCall
- func (r *ProjectsAppsDeviceCheckConfigService) Patch(name string, ...) *ProjectsAppsDeviceCheckConfigPatchCall
- type ProjectsAppsExchangeAppAttestAssertionCall
- func (c *ProjectsAppsExchangeAppAttestAssertionCall) Context(ctx context.Context) *ProjectsAppsExchangeAppAttestAssertionCall
- func (c *ProjectsAppsExchangeAppAttestAssertionCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeAppAttestAssertionCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeAppAttestAssertionCall
- func (c *ProjectsAppsExchangeAppAttestAssertionCall) Header() http.Header
- type ProjectsAppsExchangeAppAttestAttestationCall
- func (c *ProjectsAppsExchangeAppAttestAttestationCall) Context(ctx context.Context) *ProjectsAppsExchangeAppAttestAttestationCall
- func (c *ProjectsAppsExchangeAppAttestAttestationCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse, error)
- func (c *ProjectsAppsExchangeAppAttestAttestationCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeAppAttestAttestationCall
- func (c *ProjectsAppsExchangeAppAttestAttestationCall) Header() http.Header
- type ProjectsAppsExchangeCustomTokenCall
- func (c *ProjectsAppsExchangeCustomTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeCustomTokenCall
- func (c *ProjectsAppsExchangeCustomTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeCustomTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeCustomTokenCall
- func (c *ProjectsAppsExchangeCustomTokenCall) Header() http.Header
- type ProjectsAppsExchangeDebugTokenCall
- func (c *ProjectsAppsExchangeDebugTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeDebugTokenCall
- func (c *ProjectsAppsExchangeDebugTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeDebugTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeDebugTokenCall
- func (c *ProjectsAppsExchangeDebugTokenCall) Header() http.Header
- type ProjectsAppsExchangeDeviceCheckTokenCall
- func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeDeviceCheckTokenCall
- func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeDeviceCheckTokenCall
- func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Header() http.Header
- type ProjectsAppsExchangePlayIntegrityTokenCall
- func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Context(ctx context.Context) *ProjectsAppsExchangePlayIntegrityTokenCall
- func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangePlayIntegrityTokenCall
- func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Header() http.Header
- type ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
- func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
- func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
- func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Header() http.Header
- type ProjectsAppsExchangeRecaptchaV3TokenCall
- func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaV3TokenCall
- func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeRecaptchaV3TokenCall
- func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Header() http.Header
- type ProjectsAppsExchangeSafetyNetTokenCall
- func (c *ProjectsAppsExchangeSafetyNetTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeSafetyNetTokenCall
- func (c *ProjectsAppsExchangeSafetyNetTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
- func (c *ProjectsAppsExchangeSafetyNetTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeSafetyNetTokenCall
- func (c *ProjectsAppsExchangeSafetyNetTokenCall) Header() http.Header
- type ProjectsAppsGenerateAppAttestChallengeCall
- func (c *ProjectsAppsGenerateAppAttestChallengeCall) Context(ctx context.Context) *ProjectsAppsGenerateAppAttestChallengeCall
- func (c *ProjectsAppsGenerateAppAttestChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse, error)
- func (c *ProjectsAppsGenerateAppAttestChallengeCall) Fields(s ...googleapi.Field) *ProjectsAppsGenerateAppAttestChallengeCall
- func (c *ProjectsAppsGenerateAppAttestChallengeCall) Header() http.Header
- type ProjectsAppsGeneratePlayIntegrityChallengeCall
- func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Context(ctx context.Context) *ProjectsAppsGeneratePlayIntegrityChallengeCall
- func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse, error)
- func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Fields(s ...googleapi.Field) *ProjectsAppsGeneratePlayIntegrityChallengeCall
- func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Header() http.Header
- type ProjectsAppsPlayIntegrityConfigBatchGetCall
- func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigBatchGetCall
- func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse, error)
- func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsPlayIntegrityConfigBatchGetCall
- func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Header() http.Header
- func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
- func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Names(names ...string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
- type ProjectsAppsPlayIntegrityConfigGetCall
- func (c *ProjectsAppsPlayIntegrityConfigGetCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigGetCall
- func (c *ProjectsAppsPlayIntegrityConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1PlayIntegrityConfig, error)
- func (c *ProjectsAppsPlayIntegrityConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsPlayIntegrityConfigGetCall
- func (c *ProjectsAppsPlayIntegrityConfigGetCall) Header() http.Header
- func (c *ProjectsAppsPlayIntegrityConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsPlayIntegrityConfigGetCall
- type ProjectsAppsPlayIntegrityConfigPatchCall
- func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigPatchCall
- func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1PlayIntegrityConfig, error)
- func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsPlayIntegrityConfigPatchCall
- func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Header() http.Header
- func (c *ProjectsAppsPlayIntegrityConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsPlayIntegrityConfigPatchCall
- type ProjectsAppsPlayIntegrityConfigService
- func (r *ProjectsAppsPlayIntegrityConfigService) BatchGet(parent string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
- func (r *ProjectsAppsPlayIntegrityConfigService) Get(name string) *ProjectsAppsPlayIntegrityConfigGetCall
- func (r *ProjectsAppsPlayIntegrityConfigService) Patch(name string, ...) *ProjectsAppsPlayIntegrityConfigPatchCall
- type ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse, error)
- func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Header() http.Header
- func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Names(names ...string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
- type ProjectsAppsRecaptchaEnterpriseConfigGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig, error)
- func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Header() http.Header
- func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
- type ProjectsAppsRecaptchaEnterpriseConfigPatchCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig, error)
- func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
- func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Header() http.Header
- func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
- type ProjectsAppsRecaptchaEnterpriseConfigService
- func (r *ProjectsAppsRecaptchaEnterpriseConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
- func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Get(name string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
- func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Patch(name string, ...) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
- type ProjectsAppsRecaptchaV3ConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse, error)
- func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Header() http.Header
- func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Names(names ...string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
- type ProjectsAppsRecaptchaV3ConfigGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaV3Config, error)
- func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaV3ConfigGetCall
- func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Header() http.Header
- func (c *ProjectsAppsRecaptchaV3ConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaV3ConfigGetCall
- type ProjectsAppsRecaptchaV3ConfigPatchCall
- func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigPatchCall
- func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaV3Config, error)
- func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaV3ConfigPatchCall
- func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Header() http.Header
- func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsRecaptchaV3ConfigPatchCall
- type ProjectsAppsRecaptchaV3ConfigService
- func (r *ProjectsAppsRecaptchaV3ConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
- func (r *ProjectsAppsRecaptchaV3ConfigService) Get(name string) *ProjectsAppsRecaptchaV3ConfigGetCall
- func (r *ProjectsAppsRecaptchaV3ConfigService) Patch(name string, ...) *ProjectsAppsRecaptchaV3ConfigPatchCall
- type ProjectsAppsSafetyNetConfigBatchGetCall
- func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigBatchGetCall
- func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse, error)
- func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsSafetyNetConfigBatchGetCall
- func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Header() http.Header
- func (c *ProjectsAppsSafetyNetConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsSafetyNetConfigBatchGetCall
- func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Names(names ...string) *ProjectsAppsSafetyNetConfigBatchGetCall
- type ProjectsAppsSafetyNetConfigGetCall
- func (c *ProjectsAppsSafetyNetConfigGetCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigGetCall
- func (c *ProjectsAppsSafetyNetConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1SafetyNetConfig, error)
- func (c *ProjectsAppsSafetyNetConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsSafetyNetConfigGetCall
- func (c *ProjectsAppsSafetyNetConfigGetCall) Header() http.Header
- func (c *ProjectsAppsSafetyNetConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsSafetyNetConfigGetCall
- type ProjectsAppsSafetyNetConfigPatchCall
- func (c *ProjectsAppsSafetyNetConfigPatchCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigPatchCall
- func (c *ProjectsAppsSafetyNetConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1SafetyNetConfig, error)
- func (c *ProjectsAppsSafetyNetConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsSafetyNetConfigPatchCall
- func (c *ProjectsAppsSafetyNetConfigPatchCall) Header() http.Header
- func (c *ProjectsAppsSafetyNetConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsSafetyNetConfigPatchCall
- type ProjectsAppsSafetyNetConfigService
- func (r *ProjectsAppsSafetyNetConfigService) BatchGet(parent string) *ProjectsAppsSafetyNetConfigBatchGetCall
- func (r *ProjectsAppsSafetyNetConfigService) Get(name string) *ProjectsAppsSafetyNetConfigGetCall
- func (r *ProjectsAppsSafetyNetConfigService) Patch(name string, ...) *ProjectsAppsSafetyNetConfigPatchCall
- type ProjectsAppsService
- func (r *ProjectsAppsService) ExchangeAppAttestAssertion(appid string, ...) *ProjectsAppsExchangeAppAttestAssertionCall
- func (r *ProjectsAppsService) ExchangeAppAttestAttestation(appid string, ...) *ProjectsAppsExchangeAppAttestAttestationCall
- func (r *ProjectsAppsService) ExchangeCustomToken(appid string, ...) *ProjectsAppsExchangeCustomTokenCall
- func (r *ProjectsAppsService) ExchangeDebugToken(appid string, ...) *ProjectsAppsExchangeDebugTokenCall
- func (r *ProjectsAppsService) ExchangeDeviceCheckToken(appid string, ...) *ProjectsAppsExchangeDeviceCheckTokenCall
- func (r *ProjectsAppsService) ExchangePlayIntegrityToken(appid string, ...) *ProjectsAppsExchangePlayIntegrityTokenCall
- func (r *ProjectsAppsService) ExchangeRecaptchaEnterpriseToken(appid string, ...) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
- func (r *ProjectsAppsService) ExchangeRecaptchaV3Token(appid string, ...) *ProjectsAppsExchangeRecaptchaV3TokenCall
- func (r *ProjectsAppsService) ExchangeSafetyNetToken(appid string, ...) *ProjectsAppsExchangeSafetyNetTokenCall
- func (r *ProjectsAppsService) GenerateAppAttestChallenge(appid string, ...) *ProjectsAppsGenerateAppAttestChallengeCall
- func (r *ProjectsAppsService) GeneratePlayIntegrityChallenge(appid string, ...) *ProjectsAppsGeneratePlayIntegrityChallengeCall
- type ProjectsService
- type ProjectsServicesBatchUpdateCall
- func (c *ProjectsServicesBatchUpdateCall) Context(ctx context.Context) *ProjectsServicesBatchUpdateCall
- func (c *ProjectsServicesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchUpdateServicesResponse, error)
- func (c *ProjectsServicesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsServicesBatchUpdateCall
- func (c *ProjectsServicesBatchUpdateCall) Header() http.Header
- type ProjectsServicesGetCall
- func (c *ProjectsServicesGetCall) Context(ctx context.Context) *ProjectsServicesGetCall
- func (c *ProjectsServicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1Service, error)
- func (c *ProjectsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsServicesGetCall
- func (c *ProjectsServicesGetCall) Header() http.Header
- func (c *ProjectsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsServicesGetCall
- type ProjectsServicesListCall
- func (c *ProjectsServicesListCall) Context(ctx context.Context) *ProjectsServicesListCall
- func (c *ProjectsServicesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ListServicesResponse, error)
- func (c *ProjectsServicesListCall) Fields(s ...googleapi.Field) *ProjectsServicesListCall
- func (c *ProjectsServicesListCall) Header() http.Header
- func (c *ProjectsServicesListCall) IfNoneMatch(entityTag string) *ProjectsServicesListCall
- func (c *ProjectsServicesListCall) PageSize(pageSize int64) *ProjectsServicesListCall
- func (c *ProjectsServicesListCall) PageToken(pageToken string) *ProjectsServicesListCall
- func (c *ProjectsServicesListCall) Pages(ctx context.Context, ...) error
- type ProjectsServicesPatchCall
- func (c *ProjectsServicesPatchCall) Context(ctx context.Context) *ProjectsServicesPatchCall
- func (c *ProjectsServicesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1Service, error)
- func (c *ProjectsServicesPatchCall) Fields(s ...googleapi.Field) *ProjectsServicesPatchCall
- func (c *ProjectsServicesPatchCall) Header() http.Header
- func (c *ProjectsServicesPatchCall) UpdateMask(updateMask string) *ProjectsServicesPatchCall
- type ProjectsServicesResourcePoliciesBatchUpdateCall
- func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesBatchUpdateCall
- func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse, error)
- func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesBatchUpdateCall
- func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Header() http.Header
- type ProjectsServicesResourcePoliciesCreateCall
- func (c *ProjectsServicesResourcePoliciesCreateCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesCreateCall
- func (c *ProjectsServicesResourcePoliciesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ResourcePolicy, error)
- func (c *ProjectsServicesResourcePoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesCreateCall
- func (c *ProjectsServicesResourcePoliciesCreateCall) Header() http.Header
- type ProjectsServicesResourcePoliciesDeleteCall
- func (c *ProjectsServicesResourcePoliciesDeleteCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesDeleteCall
- func (c *ProjectsServicesResourcePoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsServicesResourcePoliciesDeleteCall) Etag(etag string) *ProjectsServicesResourcePoliciesDeleteCall
- func (c *ProjectsServicesResourcePoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesDeleteCall
- func (c *ProjectsServicesResourcePoliciesDeleteCall) Header() http.Header
- type ProjectsServicesResourcePoliciesGetCall
- func (c *ProjectsServicesResourcePoliciesGetCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesGetCall
- func (c *ProjectsServicesResourcePoliciesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ResourcePolicy, error)
- func (c *ProjectsServicesResourcePoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesGetCall
- func (c *ProjectsServicesResourcePoliciesGetCall) Header() http.Header
- func (c *ProjectsServicesResourcePoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsServicesResourcePoliciesGetCall
- type ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ListResourcePoliciesResponse, error)
- func (c *ProjectsServicesResourcePoliciesListCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) Filter(filter string) *ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) Header() http.Header
- func (c *ProjectsServicesResourcePoliciesListCall) IfNoneMatch(entityTag string) *ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) PageSize(pageSize int64) *ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) PageToken(pageToken string) *ProjectsServicesResourcePoliciesListCall
- func (c *ProjectsServicesResourcePoliciesListCall) Pages(ctx context.Context, ...) error
- type ProjectsServicesResourcePoliciesPatchCall
- func (c *ProjectsServicesResourcePoliciesPatchCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesPatchCall
- func (c *ProjectsServicesResourcePoliciesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ResourcePolicy, error)
- func (c *ProjectsServicesResourcePoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesPatchCall
- func (c *ProjectsServicesResourcePoliciesPatchCall) Header() http.Header
- func (c *ProjectsServicesResourcePoliciesPatchCall) UpdateMask(updateMask string) *ProjectsServicesResourcePoliciesPatchCall
- type ProjectsServicesResourcePoliciesService
- func (r *ProjectsServicesResourcePoliciesService) BatchUpdate(parent string, ...) *ProjectsServicesResourcePoliciesBatchUpdateCall
- func (r *ProjectsServicesResourcePoliciesService) Create(parent string, ...) *ProjectsServicesResourcePoliciesCreateCall
- func (r *ProjectsServicesResourcePoliciesService) Delete(name string) *ProjectsServicesResourcePoliciesDeleteCall
- func (r *ProjectsServicesResourcePoliciesService) Get(name string) *ProjectsServicesResourcePoliciesGetCall
- func (r *ProjectsServicesResourcePoliciesService) List(parent string) *ProjectsServicesResourcePoliciesListCall
- func (r *ProjectsServicesResourcePoliciesService) Patch(name string, ...) *ProjectsServicesResourcePoliciesPatchCall
- type ProjectsServicesService
- func (r *ProjectsServicesService) BatchUpdate(parent string, ...) *ProjectsServicesBatchUpdateCall
- func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall
- func (r *ProjectsServicesService) List(parent string) *ProjectsServicesListCall
- func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1service *GoogleFirebaseAppcheckV1Service) *ProjectsServicesPatchCall
- type Service
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the email // address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View and administer all your Firebase data and settings FirebaseScope = "https://www.googleapis.com/auth/firebase" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleFirebaseAppcheckV1AppAttestConfig ¶
type GoogleFirebaseAppcheckV1AppAttestConfig struct { // Name: Required. The relative resource name of the App Attest configuration // object, in the format: “` // projects/{project_number}/apps/{app_id}/appAttestConfig “` Name string `json:"name,omitempty"` // TokenTtl: Specifies the duration for which App Check tokens exchanged from // App Attest artifacts will be valid. If unset, a default value of 1 hour is // assumed. Must be between 30 minutes and 7 days, inclusive. TokenTtl string `json:"tokenTtl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1AppAttestConfig: An app's App Attest configuration object. This configuration controls certain properties of the `AppCheckToken` returned by ExchangeAppAttestAttestation and ExchangeAppAttestAssertion, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the Firebase Management Service (https://firebase.google.com/docs/projects/api/reference/rest/v11/projects.iosApps/patch).
func (GoogleFirebaseAppcheckV1AppAttestConfig) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1AppAttestConfig) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1AppCheckToken ¶
type GoogleFirebaseAppcheckV1AppCheckToken struct { // Token: The App Check token. App Check tokens are signed JWTs // (https://tools.ietf.org/html/rfc7519) containing claims that identify the // attested app and Firebase project. This token is used to access Firebase // services protected by App Check. These tokens can also be verified by your // own custom backends // (https://firebase.google.com/docs/app-check/custom-resource-backend) using // the Firebase Admin SDK. Token string `json:"token,omitempty"` // Ttl: The duration from the time this token is minted until its expiration. // This field is intended to ease client-side token management, since the // client may have clock skew, but is still able to accurately measure a // duration. Ttl string `json:"ttl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Token") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Token") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1AppCheckToken: Encapsulates an *App Check token*, which are used to access Firebase services protected by App Check.
func (GoogleFirebaseAppcheckV1AppCheckToken) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1AppCheckToken) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse ¶
type GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse struct { // Configs: AppAttestConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1AppAttestConfig `json:"configs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse: Response message for the BatchGetAppAttestConfigs method.
func (GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse ¶
type GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse struct { // Configs: DeviceCheckConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1DeviceCheckConfig `json:"configs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse: Response message for the BatchGetDeviceCheckConfigs method.
func (GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse ¶
type GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse struct { // Configs: PlayIntegrityConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1PlayIntegrityConfig `json:"configs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse: Response message for the BatchGetPlayIntegrityConfigs method.
func (GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse ¶
type GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse struct { // Configs: RecaptchaEnterpriseConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig `json:"configs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse: Response message for the BatchGetRecaptchaEnterpriseConfigs method.
func (GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse ¶
type GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse struct { // Configs: RecaptchaV3Configs retrieved. Configs []*GoogleFirebaseAppcheckV1RecaptchaV3Config `json:"configs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse: Response message for the BatchGetRecaptchaV3Configs method.
func (GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse ¶
type GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse struct { // Configs: SafetyNetConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1SafetyNetConfig `json:"configs,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Configs") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Configs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse: Response message for the BatchGetSafetyNetConfigs method.
func (GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest ¶ added in v0.188.0
type GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest struct { // Requests: Required. The request messages specifying the ResourcePolicy // objects to update. A maximum of 100 objects can be updated in a batch. Requests []*GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest `json:"requests,omitempty"` // UpdateMask: Optional. A comma-separated list of names of fields in the // ResourcePolicy objects to update. Example: `enforcement_mode`. If this field // is present, the `update_mask` field in the UpdateResourcePolicyRequest // messages must all match this field, or the entire batch fails and no updates // will be committed. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest: Request message for the BatchUpdateResourcePolicies method.
func (GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest) MarshalJSON ¶ added in v0.188.0
func (s GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse ¶ added in v0.188.0
type GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse struct { // ResourcePolicies: ResourcePolicy objects after the updates have been // applied. ResourcePolicies []*GoogleFirebaseAppcheckV1ResourcePolicy `json:"resourcePolicies,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ResourcePolicies") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ResourcePolicies") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse: Response message for the BatchUpdateResourcePolicies method.
func (GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse) MarshalJSON ¶ added in v0.188.0
func (s GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchUpdateServicesRequest ¶
type GoogleFirebaseAppcheckV1BatchUpdateServicesRequest struct { // Requests: Required. The request messages specifying the Services to update. // A maximum of 100 objects can be updated in a batch. Requests []*GoogleFirebaseAppcheckV1UpdateServiceRequest `json:"requests,omitempty"` // UpdateMask: Optional. A comma-separated list of names of fields in the // Services to update. Example: `display_name`. If the `update_mask` field is // set in both this request and any of the UpdateServiceRequest messages, they // must match or the entire batch fails and no updates will be committed. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchUpdateServicesRequest: Request message for the BatchUpdateServices method.
func (GoogleFirebaseAppcheckV1BatchUpdateServicesRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchUpdateServicesRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1BatchUpdateServicesResponse ¶
type GoogleFirebaseAppcheckV1BatchUpdateServicesResponse struct { // Services: Service objects after the updates have been applied. Services []*GoogleFirebaseAppcheckV1Service `json:"services,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Services") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Services") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1BatchUpdateServicesResponse: Response message for the BatchUpdateServices method.
func (GoogleFirebaseAppcheckV1BatchUpdateServicesResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1BatchUpdateServicesResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1DebugToken ¶
type GoogleFirebaseAppcheckV1DebugToken struct { // DisplayName: Required. A human readable display name used to identify this // debug token. DisplayName string `json:"displayName,omitempty"` // Name: Required. The relative resource name of the debug token, in the // format: “` // projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} “` Name string `json:"name,omitempty"` // Token: Required. Input only. Immutable. The secret token itself. Must be // provided during creation, and must be a UUID4, case insensitive. This field // is immutable once set, and cannot be provided during an UpdateDebugToken // request. You can, however, delete this debug token using DeleteDebugToken to // revoke it. For security reasons, this field will never be populated in any // response. Token string `json:"token,omitempty"` // UpdateTime: Output only. Timestamp when this debug token was most recently // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1DebugToken: A *debug token* is a secret used during the development or integration testing of an app. It essentially allows the development or integration testing to bypass app attestation while still allowing App Check to enforce protection on supported production Firebase services.
func (GoogleFirebaseAppcheckV1DebugToken) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1DebugToken) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1DeviceCheckConfig ¶
type GoogleFirebaseAppcheckV1DeviceCheckConfig struct { // KeyId: Required. The key identifier of a private key enabled with // DeviceCheck, created in your Apple Developer account. KeyId string `json:"keyId,omitempty"` // Name: Required. The relative resource name of the DeviceCheck configuration // object, in the format: “` // projects/{project_number}/apps/{app_id}/deviceCheckConfig “` Name string `json:"name,omitempty"` // PrivateKey: Required. Input only. The contents of the private key (`.p8`) // file associated with the key specified by `key_id`. For security reasons, // this field will never be populated in any response. PrivateKey string `json:"privateKey,omitempty"` // PrivateKeySet: Output only. Whether the `private_key` field was previously // set. Since we will never return the `private_key` field, this field is the // only way to find out whether it was previously set. PrivateKeySet bool `json:"privateKeySet,omitempty"` // TokenTtl: Specifies the duration for which App Check tokens exchanged from // DeviceCheck tokens will be valid. If unset, a default value of 1 hour is // assumed. Must be between 30 minutes and 7 days, inclusive. TokenTtl string `json:"tokenTtl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "KeyId") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KeyId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1DeviceCheckConfig: An app's DeviceCheck configuration object. This configuration is used by ExchangeDeviceCheckToken to validate device tokens issued to apps by DeviceCheck. It also controls certain properties of the returned `AppCheckToken`, such as its ttl. Note that the Team ID registered with your app is used as part of the validation process. Please register it via the Firebase Console or programmatically via the Firebase Management Service (https://firebase.google.com/docs/projects/api/reference/rest/v11/projects.iosApps/patch).
func (GoogleFirebaseAppcheckV1DeviceCheckConfig) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1DeviceCheckConfig) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest ¶
type GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest struct { // Artifact: Required. The artifact returned by a previous call to // ExchangeAppAttestAttestation. Artifact string `json:"artifact,omitempty"` // Assertion: Required. The CBOR-encoded assertion returned by the client-side // App Attest API. Assertion string `json:"assertion,omitempty"` // Challenge: Required. A one-time challenge returned by an immediately prior // call to GenerateAppAttestChallenge. Challenge string `json:"challenge,omitempty"` // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // ForceSendFields is a list of field names (e.g. "Artifact") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifact") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest: Request message for the ExchangeAppAttestAssertion method.
func (GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest ¶
type GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest struct { // AttestationStatement: Required. The App Attest statement returned by the // client-side App Attest API. This is a base64url encoded CBOR object in the // JSON response. AttestationStatement string `json:"attestationStatement,omitempty"` // Challenge: Required. A one-time challenge returned by an immediately prior // call to GenerateAppAttestChallenge. Challenge string `json:"challenge,omitempty"` // KeyId: Required. The key ID generated by App Attest for the client app. KeyId string `json:"keyId,omitempty"` // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // ForceSendFields is a list of field names (e.g. "AttestationStatement") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttestationStatement") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest: Request message for the ExchangeAppAttestAttestation method.
func (GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse ¶
type GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse struct { // AppCheckToken: Encapsulates an App Check token. AppCheckToken *GoogleFirebaseAppcheckV1AppCheckToken `json:"appCheckToken,omitempty"` // Artifact: An artifact that can be used in future calls to // ExchangeAppAttestAssertion. Artifact string `json:"artifact,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppCheckToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AppCheckToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse: Response message for the ExchangeAppAttestAttestation method.
func (GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest struct { // CustomToken: Required. A custom token signed using your project's Admin SDK // service account credentials. CustomToken string `json:"customToken,omitempty"` // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // ForceSendFields is a list of field names (e.g. "CustomToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CustomToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest: Request message for the ExchangeCustomToken method.
func (GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest struct { // DebugToken: Required. A debug token secret. This string must match a debug // token secret previously created using CreateDebugToken. DebugToken string `json:"debugToken,omitempty"` // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // ForceSendFields is a list of field names (e.g. "DebugToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DebugToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest: Request message for the ExchangeDebugToken method.
func (GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest struct { // DeviceToken: Required. The `device_token` as returned by Apple's client-side // DeviceCheck API // (https://developer.apple.com/documentation/devicecheck/dcdevice). This is // the base64 encoded `Data` (Swift) or `NSData` (ObjC) object. DeviceToken string `json:"deviceToken,omitempty"` // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // ForceSendFields is a list of field names (e.g. "DeviceToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeviceToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest: Request message for the ExchangeDeviceCheckToken method.
func (GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest struct { // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // PlayIntegrityToken: Required. The integrity verdict response token from Play // Integrity // (https://developer.android.com/google/play/integrity/verdict#decrypt-verify) // issued to your app. PlayIntegrityToken string `json:"playIntegrityToken,omitempty"` // ForceSendFields is a list of field names (e.g. "LimitedUse") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LimitedUse") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest: Request message for the ExchangePlayIntegrityToken method.
func (GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest struct { // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // RecaptchaEnterpriseToken: Required. The reCAPTCHA token as returned by the // reCAPTCHA Enterprise JavaScript API // (https://cloud.google.com/recaptcha-enterprise/docs/instrument-web-pages). RecaptchaEnterpriseToken string `json:"recaptchaEnterpriseToken,omitempty"` // ForceSendFields is a list of field names (e.g. "LimitedUse") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LimitedUse") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest: Request message for the ExchangeRecaptchaEnterpriseToken method.
func (GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest struct { // LimitedUse: Specifies whether this attestation is for use in a *limited use* // (`true`) or *session based* (`false`) context. To enable this attestation to // be used with the *replay protection* feature, set this to `true`. The // default value is `false`. LimitedUse bool `json:"limitedUse,omitempty"` // RecaptchaV3Token: Required. The reCAPTCHA token as returned by the reCAPTCHA // v3 JavaScript API (https://developers.google.com/recaptcha/docs/v3). RecaptchaV3Token string `json:"recaptchaV3Token,omitempty"` // ForceSendFields is a list of field names (e.g. "LimitedUse") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LimitedUse") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest: Request message for the ExchangeRecaptchaV3Token method.
func (GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest ¶
type GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest struct { // SafetyNetToken: Required. The SafetyNet attestation response // (https://developer.android.com/training/safetynet/attestation#request-attestation-step) // issued to your app. SafetyNetToken string `json:"safetyNetToken,omitempty"` // ForceSendFields is a list of field names (e.g. "SafetyNetToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SafetyNetToken") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest: Request message for the ExchangeSafetyNetToken method.
func (GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest ¶
type GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest struct { }
GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest: Request message for the GenerateAppAttestChallenge method.
type GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse ¶
type GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse struct { // Challenge: A one-time use challenge for the client to pass to the App Attest // API. Challenge string `json:"challenge,omitempty"` // Ttl: The duration from the time this challenge is minted until its // expiration. This field is intended to ease client-side token management, // since the client may have clock skew, but is still able to accurately // measure a duration. Ttl string `json:"ttl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Challenge") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Challenge") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse: Response message for the GenerateAppAttestChallenge method.
func (GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest ¶
type GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest struct { }
GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest: Request message for the GeneratePlayIntegrityChallenge method.
type GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse ¶
type GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse struct { // Challenge: A one-time use challenge // (https://developer.android.com/google/play/integrity/verdict#protect-against-replay-attacks) // for the client to pass to the Play Integrity API. Challenge string `json:"challenge,omitempty"` // Ttl: The duration from the time this challenge is minted until its // expiration. This field is intended to ease client-side token management, // since the client may have clock skew, but is still able to accurately // measure a duration. Ttl string `json:"ttl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Challenge") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Challenge") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse: Response message for the GeneratePlayIntegrityChallenge method.
func (GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ListDebugTokensResponse ¶
type GoogleFirebaseAppcheckV1ListDebugTokensResponse struct { // DebugTokens: The DebugTokens retrieved. DebugTokens []*GoogleFirebaseAppcheckV1DebugToken `json:"debugTokens,omitempty"` // NextPageToken: If the result list is too large to fit in a single response, // then a token is returned. If the string is empty or omitted, then this // response is the last page of results. This token can be used in a subsequent // call to ListDebugTokens to find the next group of DebugTokens. Page tokens // are short-lived and should not be persisted. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DebugTokens") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DebugTokens") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ListDebugTokensResponse: Response message for the ListDebugTokens method.
func (GoogleFirebaseAppcheckV1ListDebugTokensResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ListDebugTokensResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ListResourcePoliciesResponse ¶ added in v0.188.0
type GoogleFirebaseAppcheckV1ListResourcePoliciesResponse struct { // NextPageToken: If the result list is too large to fit in a single response, // then a token is returned. If the string is empty or omitted, then this // response is the last page of results. This token can be used in a subsequent // call to ListResourcePolicies to find the next group of ResourcePolicy // objects. Page tokens are short-lived and should not be persisted. NextPageToken string `json:"nextPageToken,omitempty"` // ResourcePolicies: The ResourcePolicy objects retrieved. ResourcePolicies []*GoogleFirebaseAppcheckV1ResourcePolicy `json:"resourcePolicies,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ListResourcePoliciesResponse: Response message for the ListResourcePolicies method.
func (GoogleFirebaseAppcheckV1ListResourcePoliciesResponse) MarshalJSON ¶ added in v0.188.0
func (s GoogleFirebaseAppcheckV1ListResourcePoliciesResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ListServicesResponse ¶
type GoogleFirebaseAppcheckV1ListServicesResponse struct { // NextPageToken: If the result list is too large to fit in a single response, // then a token is returned. If the string is empty or omitted, then this // response is the last page of results. This token can be used in a subsequent // call to ListServices to find the next group of Services. Page tokens are // short-lived and should not be persisted. NextPageToken string `json:"nextPageToken,omitempty"` // Services: The Services retrieved. Services []*GoogleFirebaseAppcheckV1Service `json:"services,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ListServicesResponse: Response message for the ListServices method.
func (GoogleFirebaseAppcheckV1ListServicesResponse) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1ListServicesResponse) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1PlayIntegrityConfig ¶
type GoogleFirebaseAppcheckV1PlayIntegrityConfig struct { // Name: Required. The relative resource name of the Play Integrity // configuration object, in the format: “` // projects/{project_number}/apps/{app_id}/playIntegrityConfig “` Name string `json:"name,omitempty"` // TokenTtl: Specifies the duration for which App Check tokens exchanged from // Play Integrity tokens will be valid. If unset, a default value of 1 hour is // assumed. Must be between 30 minutes and 7 days, inclusive. TokenTtl string `json:"tokenTtl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1PlayIntegrityConfig: An app's Play Integrity configuration object. This configuration controls certain properties of the `AppCheckToken` returned by ExchangePlayIntegrityToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by the Play Integrity API; please register them via the Firebase Console or programmatically via the Firebase Management Service (https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.androidApps.sha/create).
func (GoogleFirebaseAppcheckV1PlayIntegrityConfig) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1PlayIntegrityConfig) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1PublicJwk ¶
type GoogleFirebaseAppcheckV1PublicJwk struct { // Alg: See section 4.4 of RFC 7517 // (https://tools.ietf.org/html/rfc7517#section-4.4). Alg string `json:"alg,omitempty"` // E: See section 6.3.1.2 of RFC 7518 // (https://tools.ietf.org/html/rfc7518#section-6.3.1.2). E string `json:"e,omitempty"` // Kid: See section 4.5 of RFC 7517 // (https://tools.ietf.org/html/rfc7517#section-4.5). Kid string `json:"kid,omitempty"` // Kty: See section 4.1 of RFC 7517 // (https://tools.ietf.org/html/rfc7517#section-4.1). Kty string `json:"kty,omitempty"` // N: See section 6.3.1.1 of RFC 7518 // (https://tools.ietf.org/html/rfc7518#section-6.3.1.1). N string `json:"n,omitempty"` // Use: See section 4.2 of RFC 7517 // (https://tools.ietf.org/html/rfc7517#section-4.2). Use string `json:"use,omitempty"` // ForceSendFields is a list of field names (e.g. "Alg") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Alg") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1PublicJwk: A JWK as specified by section 4 of RFC 7517 (https://tools.ietf.org/html/rfc7517#section-4) and section 6.3.1 of RFC 7518 (https://tools.ietf.org/html/rfc7518#section-6.3.1).
func (GoogleFirebaseAppcheckV1PublicJwk) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1PublicJwk) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1PublicJwkSet ¶
type GoogleFirebaseAppcheckV1PublicJwkSet struct { // Keys: The set of public keys. See section 5.1 of RFC 7517 // (https://tools.ietf.org/html/rfc7517#section-5). Keys []*GoogleFirebaseAppcheckV1PublicJwk `json:"keys,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Keys") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Keys") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1PublicJwkSet: The currently active set of public keys that can be used to verify App Check tokens. This object is a JWK set as specified by section 5 of RFC 7517 (https://tools.ietf.org/html/rfc7517#section-5). For security, the response **must not** be cached for longer than six hours.
func (GoogleFirebaseAppcheckV1PublicJwkSet) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1PublicJwkSet) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig ¶
type GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig struct { // Name: Required. The relative resource name of the reCAPTCHA Enterprise // configuration object, in the format: “` // projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig “` Name string `json:"name,omitempty"` // SiteKey: The score-based site key created in reCAPTCHA Enterprise // (https://cloud.google.com/recaptcha-enterprise/docs/create-key#creating_a_site_key) // used to invoke reCAPTCHA and generate the reCAPTCHA tokens // (https://cloud.google.com/recaptcha-enterprise/docs/instrument-web-pages) // for your application. Important: This is *not* the `site_secret` (as it is // in reCAPTCHA v3), but rather your score-based reCAPTCHA Enterprise site key. SiteKey string `json:"siteKey,omitempty"` // TokenTtl: Specifies the duration for which App Check tokens exchanged from // reCAPTCHA Enterprise tokens will be valid. If unset, a default value of 1 // hour is assumed. Must be between 30 minutes and 7 days, inclusive. TokenTtl string `json:"tokenTtl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig: An app's reCAPTCHA Enterprise configuration object. This configuration is used by ExchangeRecaptchaEnterpriseToken to validate reCAPTCHA tokens issued to apps by reCAPTCHA Enterprise. It also controls certain properties of the returned `AppCheckToken`, such as its ttl.
func (GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1RecaptchaV3Config ¶
type GoogleFirebaseAppcheckV1RecaptchaV3Config struct { // Name: Required. The relative resource name of the reCAPTCHA v3 configuration // object, in the format: “` // projects/{project_number}/apps/{app_id}/recaptchaV3Config “` Name string `json:"name,omitempty"` // SiteSecret: Required. Input only. The site secret used to identify your // service for reCAPTCHA v3 verification. For security reasons, this field will // never be populated in any response. SiteSecret string `json:"siteSecret,omitempty"` // SiteSecretSet: Output only. Whether the `site_secret` field was previously // set. Since we will never return the `site_secret` field, this field is the // only way to find out whether it was previously set. SiteSecretSet bool `json:"siteSecretSet,omitempty"` // TokenTtl: Specifies the duration for which App Check tokens exchanged from // reCAPTCHA tokens will be valid. If unset, a default value of 1 day is // assumed. Must be between 30 minutes and 7 days, inclusive. TokenTtl string `json:"tokenTtl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1RecaptchaV3Config: An app's reCAPTCHA v3 configuration object. This configuration is used by ExchangeRecaptchaV3Token to validate reCAPTCHA tokens issued to apps by reCAPTCHA v3. It also controls certain properties of the returned `AppCheckToken`, such as its ttl.
func (GoogleFirebaseAppcheckV1RecaptchaV3Config) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1RecaptchaV3Config) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1ResourcePolicy ¶ added in v0.188.0
type GoogleFirebaseAppcheckV1ResourcePolicy struct { // EnforcementMode: Required. The App Check enforcement mode for this resource. // This will override the EnforcementMode setting on the service. // // Possible values: // "OFF" - Firebase App Check is not enforced for the service, nor are App // Check metrics collected. Though the service is not protected by App Check in // this mode, other applicable protections, such as user authorization, are // still enforced. An unconfigured service is in this mode by default. // "UNENFORCED" - Firebase App Check is not enforced for the service. App // Check metrics are collected to help you decide when to turn on enforcement // for the service. Though the service is not protected by App Check in this // mode, other applicable protections, such as user authorization, are still // enforced. Some services require certain conditions to be met before they // will work with App Check, such as requiring you to upgrade to a specific // service tier. Until those requirements are met for a service, this // `UNENFORCED` setting will have no effect and App Check will not work with // that service. // "ENFORCED" - Firebase App Check is enforced for the service. The service // will reject any request that attempts to access your project's resources if // it does not have valid App Check token attached, with some exceptions // depending on the service; for example, some services will still allow // requests bearing the developer's privileged service account credentials // without an App Check token. App Check metrics continue to be collected to // help you detect issues with your App Check integration and monitor the // composition of your callers. While the service is protected by App Check, // other applicable protections, such as user authorization, continue to be // enforced at the same time. Use caution when choosing to enforce App Check on // a Firebase service. If your users have not updated to an App Check capable // version of your app, their apps will no longer be able to use your Firebase // services that are enforcing App Check. App Check metrics can help you decide // whether to enforce App Check on your Firebase services. If your app has not // launched yet, you should enable enforcement immediately, since there are no // outdated clients in use. Some services require certain conditions to be met // before they will work with App Check, such as requiring you to upgrade to a // specific service tier. Until those requirements are met for a service, this // `ENFORCED` setting will have no effect and App Check will not work with that // service. EnforcementMode string `json:"enforcementMode,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client // has an up-to-date value before proceeding. This etag is strongly validated // as defined by RFC 7232. Etag string `json:"etag,omitempty"` // Name: Required. Identifier. The relative name of the resource policy object, // in the format: “` // projects/{project_number}/services/{service_id}/resourcePolicies/{resource_po // licy_id} “` Note that the `service_id` element must be a supported service // ID. Currently, the following service IDs are supported: * // `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a // system-generated UID. Name string `json:"name,omitempty"` // TargetResource: Required. Service specific name of the resource object to // which this policy applies, in the format: * // `//oauth2.googleapis.com/projects/{project_number}/oauthClients/{oauth_client // _id}` (Google Identity for iOS) Note that the resource must belong to the // service specified in the `name` and be from the same project as this policy, // but the resource is allowed to be missing at the time of creation of this // policy; in that case, we make a best-effort attempt at respecting this // policy, but it may not have any effect until the resource is fully created. TargetResource string `json:"targetResource,omitempty"` // UpdateTime: Output only. Timestamp when this resource policy configuration // object was most recently updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EnforcementMode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnforcementMode") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1ResourcePolicy: App Check enforcement policy for a specific resource of a Firebase service supported by App Check. Note that this policy will override the service-level configuration.
func (GoogleFirebaseAppcheckV1ResourcePolicy) MarshalJSON ¶ added in v0.188.0
func (s GoogleFirebaseAppcheckV1ResourcePolicy) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1SafetyNetConfig ¶
type GoogleFirebaseAppcheckV1SafetyNetConfig struct { // Name: Required. The relative resource name of the SafetyNet configuration // object, in the format: “` // projects/{project_number}/apps/{app_id}/safetyNetConfig “` Name string `json:"name,omitempty"` // TokenTtl: Specifies the duration for which App Check tokens exchanged from // SafetyNet tokens will be valid. If unset, a default value of 1 hour is // assumed. Must be between 30 minutes and 7 days, inclusive. TokenTtl string `json:"tokenTtl,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1SafetyNetConfig: An app's SafetyNet configuration object. This configuration controls certain properties of the `AppCheckToken` returned by ExchangeSafetyNetToken, such as its ttl. Note that your registered SHA-256 certificate fingerprints are used to validate tokens issued by SafetyNet; please register them via the Firebase Console or programmatically via the Firebase Management Service (https://firebase.google.com/docs/projects/api/reference/rest/v11/projects.androidApps.sha/create).
func (GoogleFirebaseAppcheckV1SafetyNetConfig) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1SafetyNetConfig) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1Service ¶
type GoogleFirebaseAppcheckV1Service struct { // EnforcementMode: Required. The App Check enforcement mode for this service. // // Possible values: // "OFF" - Firebase App Check is not enforced for the service, nor are App // Check metrics collected. Though the service is not protected by App Check in // this mode, other applicable protections, such as user authorization, are // still enforced. An unconfigured service is in this mode by default. // "UNENFORCED" - Firebase App Check is not enforced for the service. App // Check metrics are collected to help you decide when to turn on enforcement // for the service. Though the service is not protected by App Check in this // mode, other applicable protections, such as user authorization, are still // enforced. Some services require certain conditions to be met before they // will work with App Check, such as requiring you to upgrade to a specific // service tier. Until those requirements are met for a service, this // `UNENFORCED` setting will have no effect and App Check will not work with // that service. // "ENFORCED" - Firebase App Check is enforced for the service. The service // will reject any request that attempts to access your project's resources if // it does not have valid App Check token attached, with some exceptions // depending on the service; for example, some services will still allow // requests bearing the developer's privileged service account credentials // without an App Check token. App Check metrics continue to be collected to // help you detect issues with your App Check integration and monitor the // composition of your callers. While the service is protected by App Check, // other applicable protections, such as user authorization, continue to be // enforced at the same time. Use caution when choosing to enforce App Check on // a Firebase service. If your users have not updated to an App Check capable // version of your app, their apps will no longer be able to use your Firebase // services that are enforcing App Check. App Check metrics can help you decide // whether to enforce App Check on your Firebase services. If your app has not // launched yet, you should enable enforcement immediately, since there are no // outdated clients in use. Some services require certain conditions to be met // before they will work with App Check, such as requiring you to upgrade to a // specific service tier. Until those requirements are met for a service, this // `ENFORCED` setting will have no effect and App Check will not work with that // service. EnforcementMode string `json:"enforcementMode,omitempty"` // Name: Required. The relative resource name of the service configuration // object, in the format: “` projects/{project_number}/services/{service_id} // “` Note that the `service_id` element must be a supported service ID. // Currently, the following service IDs are supported: * // `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * // `firebasedatabase.googleapis.com` (Firebase Realtime Database) * // `firestore.googleapis.com` (Cloud Firestore) Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EnforcementMode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnforcementMode") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1Service: The enforcement configuration for a Firebase service supported by App Check.
func (GoogleFirebaseAppcheckV1Service) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1Service) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest ¶ added in v0.188.0
type GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest struct { // ResourcePolicy: Required. The ResourcePolicy to update. The ResourcePolicy's // `name` field is used to identify the ResourcePolicy to be updated, in the // format: “` // projects/{project_number}/services/{service_id}/resourcePolicies/{resource_po // licy_id} “` Note that the `service_id` element must be a supported service // ID. Currently, the following service IDs are supported: * // `oauth2.googleapis.com` (Google Identity for iOS) ResourcePolicy *GoogleFirebaseAppcheckV1ResourcePolicy `json:"resourcePolicy,omitempty"` // UpdateMask: Required. A comma-separated list of names of fields in the // ResourcePolicy to update. Example: `enforcement_mode`. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "ResourcePolicy") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ResourcePolicy") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest: Request message for the UpdateResourcePolicy method as well as an individual update message for the BatchUpdateResourcePolicies method.
func (GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest) MarshalJSON ¶ added in v0.188.0
func (s GoogleFirebaseAppcheckV1UpdateResourcePolicyRequest) MarshalJSON() ([]byte, error)
type GoogleFirebaseAppcheckV1UpdateServiceRequest ¶
type GoogleFirebaseAppcheckV1UpdateServiceRequest struct { // Service: Required. The Service to update. The Service's `name` field is used // to identify the Service to be updated, in the format: “` // projects/{project_number}/services/{service_id} “` Note that the // `service_id` element must be a supported service ID. Currently, the // following service IDs are supported: * `firebasestorage.googleapis.com` // (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase // Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) Service *GoogleFirebaseAppcheckV1Service `json:"service,omitempty"` // UpdateMask: Required. A comma-separated list of names of fields in the // Service to update. Example: `enforcement_mode`. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Service") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Service") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleFirebaseAppcheckV1UpdateServiceRequest: Request message for the UpdateService method as well as an individual update message for the BatchUpdateServices method.
func (GoogleFirebaseAppcheckV1UpdateServiceRequest) MarshalJSON ¶
func (s GoogleFirebaseAppcheckV1UpdateServiceRequest) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty ¶
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
GoogleProtobufEmpty: 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); }
type JwksGetCall ¶
type JwksGetCall struct {
// contains filtered or unexported fields
}
func (*JwksGetCall) Context ¶
func (c *JwksGetCall) Context(ctx context.Context) *JwksGetCall
Context sets the context to be used in this call's Do method.
func (*JwksGetCall) Do ¶
func (c *JwksGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1PublicJwkSet, error)
Do executes the "firebaseappcheck.jwks.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1PublicJwkSet.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 (*JwksGetCall) Fields ¶
func (c *JwksGetCall) Fields(s ...googleapi.Field) *JwksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*JwksGetCall) Header ¶
func (c *JwksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*JwksGetCall) IfNoneMatch ¶
func (c *JwksGetCall) IfNoneMatch(entityTag string) *JwksGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type JwksService ¶
type JwksService struct {
// contains filtered or unexported fields
}
func NewJwksService ¶
func NewJwksService(s *Service) *JwksService
func (*JwksService) Get ¶
func (r *JwksService) Get(name string) *JwksGetCall
Get: Returns a public JWK set as specified by RFC 7517 (https://tools.ietf.org/html/rfc7517) that can be used to verify App Check tokens. Exactly one of the public keys in the returned set will successfully validate any App Check token that is currently valid.
- name: The relative resource name to the public JWK set. Must always be exactly the string `jwks`.
type OauthClientsExchangeAppAttestAssertionCall ¶ added in v0.182.0
type OauthClientsExchangeAppAttestAssertionCall struct {
// contains filtered or unexported fields
}
func (*OauthClientsExchangeAppAttestAssertionCall) Context ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAssertionCall) Context(ctx context.Context) *OauthClientsExchangeAppAttestAssertionCall
Context sets the context to be used in this call's Do method.
func (*OauthClientsExchangeAppAttestAssertionCall) Do ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAssertionCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.oauthClients.exchangeAppAttestAssertion" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*OauthClientsExchangeAppAttestAssertionCall) Fields ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAssertionCall) Fields(s ...googleapi.Field) *OauthClientsExchangeAppAttestAssertionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OauthClientsExchangeAppAttestAssertionCall) Header ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAssertionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OauthClientsExchangeAppAttestAttestationCall ¶ added in v0.182.0
type OauthClientsExchangeAppAttestAttestationCall struct {
// contains filtered or unexported fields
}
func (*OauthClientsExchangeAppAttestAttestationCall) Context ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAttestationCall) Context(ctx context.Context) *OauthClientsExchangeAppAttestAttestationCall
Context sets the context to be used in this call's Do method.
func (*OauthClientsExchangeAppAttestAttestationCall) Do ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAttestationCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse, error)
Do executes the "firebaseappcheck.oauthClients.exchangeAppAttestAttestation" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse.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 (*OauthClientsExchangeAppAttestAttestationCall) Fields ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAttestationCall) Fields(s ...googleapi.Field) *OauthClientsExchangeAppAttestAttestationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OauthClientsExchangeAppAttestAttestationCall) Header ¶ added in v0.182.0
func (c *OauthClientsExchangeAppAttestAttestationCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OauthClientsExchangeDebugTokenCall ¶ added in v0.182.0
type OauthClientsExchangeDebugTokenCall struct {
// contains filtered or unexported fields
}
func (*OauthClientsExchangeDebugTokenCall) Context ¶ added in v0.182.0
func (c *OauthClientsExchangeDebugTokenCall) Context(ctx context.Context) *OauthClientsExchangeDebugTokenCall
Context sets the context to be used in this call's Do method.
func (*OauthClientsExchangeDebugTokenCall) Do ¶ added in v0.182.0
func (c *OauthClientsExchangeDebugTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.oauthClients.exchangeDebugToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*OauthClientsExchangeDebugTokenCall) Fields ¶ added in v0.182.0
func (c *OauthClientsExchangeDebugTokenCall) Fields(s ...googleapi.Field) *OauthClientsExchangeDebugTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OauthClientsExchangeDebugTokenCall) Header ¶ added in v0.182.0
func (c *OauthClientsExchangeDebugTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OauthClientsGenerateAppAttestChallengeCall ¶ added in v0.182.0
type OauthClientsGenerateAppAttestChallengeCall struct {
// contains filtered or unexported fields
}
func (*OauthClientsGenerateAppAttestChallengeCall) Context ¶ added in v0.182.0
func (c *OauthClientsGenerateAppAttestChallengeCall) Context(ctx context.Context) *OauthClientsGenerateAppAttestChallengeCall
Context sets the context to be used in this call's Do method.
func (*OauthClientsGenerateAppAttestChallengeCall) Do ¶ added in v0.182.0
func (c *OauthClientsGenerateAppAttestChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse, error)
Do executes the "firebaseappcheck.oauthClients.generateAppAttestChallenge" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.ServerResponse.He ader 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 (*OauthClientsGenerateAppAttestChallengeCall) Fields ¶ added in v0.182.0
func (c *OauthClientsGenerateAppAttestChallengeCall) Fields(s ...googleapi.Field) *OauthClientsGenerateAppAttestChallengeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OauthClientsGenerateAppAttestChallengeCall) Header ¶ added in v0.182.0
func (c *OauthClientsGenerateAppAttestChallengeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OauthClientsService ¶ added in v0.182.0
type OauthClientsService struct {
// contains filtered or unexported fields
}
func NewOauthClientsService ¶ added in v0.182.0
func NewOauthClientsService(s *Service) *OauthClientsService
func (*OauthClientsService) ExchangeAppAttestAssertion ¶ added in v0.182.0
func (r *OauthClientsService) ExchangeAppAttestAssertion(appid string, googlefirebaseappcheckv1exchangeappattestassertionrequest *GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest) *OauthClientsExchangeAppAttestAssertionCall
ExchangeAppAttestAssertion: Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*OauthClientsService) ExchangeAppAttestAttestation ¶ added in v0.182.0
func (r *OauthClientsService) ExchangeAppAttestAttestation(appid string, googlefirebaseappcheckv1exchangeappattestattestationrequest *GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest) *OauthClientsExchangeAppAttestAttestationCall
ExchangeAppAttestAttestation: Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful).
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*OauthClientsService) ExchangeDebugToken ¶ added in v0.182.0
func (r *OauthClientsService) ExchangeDebugToken(appid string, googlefirebaseappcheckv1exchangedebugtokenrequest *GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest) *OauthClientsExchangeDebugTokenCall
ExchangeDebugToken: Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse.
- app: The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*OauthClientsService) GenerateAppAttestChallenge ¶ added in v0.182.0
func (r *OauthClientsService) GenerateAppAttestChallenge(appid string, googlefirebaseappcheckv1generateappattestchallengerequest *GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest) *OauthClientsGenerateAppAttestChallengeCall
GenerateAppAttestChallenge: Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls.
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
type ProjectsAppsAppAttestConfigBatchGetCall ¶
type ProjectsAppsAppAttestConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsAppAttestConfigBatchGetCall) Context ¶
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsAppAttestConfigBatchGetCall) Do ¶
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.appAttestConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchGetAppAttestConfigsResponse.ServerResponse.Head er 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 (*ProjectsAppsAppAttestConfigBatchGetCall) Fields ¶
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsAppAttestConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsAppAttestConfigBatchGetCall) Header ¶
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsAppAttestConfigBatchGetCall) IfNoneMatch ¶
func (c *ProjectsAppsAppAttestConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsAppAttestConfigBatchGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsAppAttestConfigBatchGetCall) Names ¶
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Names(names ...string) *ProjectsAppsAppAttestConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the AppAttestConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/appAttestConfig ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsAppAttestConfigGetCall ¶
type ProjectsAppsAppAttestConfigGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsAppAttestConfigGetCall) Context ¶
func (c *ProjectsAppsAppAttestConfigGetCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsAppAttestConfigGetCall) Do ¶
func (c *ProjectsAppsAppAttestConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppAttestConfig, error)
Do executes the "firebaseappcheck.projects.apps.appAttestConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppAttestConfig.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 (*ProjectsAppsAppAttestConfigGetCall) Fields ¶
func (c *ProjectsAppsAppAttestConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsAppAttestConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsAppAttestConfigGetCall) Header ¶
func (c *ProjectsAppsAppAttestConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsAppAttestConfigGetCall) IfNoneMatch ¶
func (c *ProjectsAppsAppAttestConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsAppAttestConfigGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsAppAttestConfigPatchCall ¶
type ProjectsAppsAppAttestConfigPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsAppAttestConfigPatchCall) Context ¶
func (c *ProjectsAppsAppAttestConfigPatchCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsAppAttestConfigPatchCall) Do ¶
func (c *ProjectsAppsAppAttestConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppAttestConfig, error)
Do executes the "firebaseappcheck.projects.apps.appAttestConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppAttestConfig.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 (*ProjectsAppsAppAttestConfigPatchCall) Fields ¶
func (c *ProjectsAppsAppAttestConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsAppAttestConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsAppAttestConfigPatchCall) Header ¶
func (c *ProjectsAppsAppAttestConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsAppAttestConfigPatchCall) UpdateMask ¶
func (c *ProjectsAppsAppAttestConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsAppAttestConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the AppAttestConfig to update. Example: `token_ttl`.
type ProjectsAppsAppAttestConfigService ¶
type ProjectsAppsAppAttestConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsAppAttestConfigService ¶
func NewProjectsAppsAppAttestConfigService(s *Service) *ProjectsAppsAppAttestConfigService
func (*ProjectsAppsAppAttestConfigService) BatchGet ¶
func (r *ProjectsAppsAppAttestConfigService) BatchGet(parent string) *ProjectsAppsAppAttestConfigBatchGetCall
BatchGet: Atomically gets the AppAttestConfigs for the specified list of apps.
- parent: The parent project name shared by all AppAttestConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails.
func (*ProjectsAppsAppAttestConfigService) Get ¶
func (r *ProjectsAppsAppAttestConfigService) Get(name string) *ProjectsAppsAppAttestConfigGetCall
Get: Gets the AppAttestConfig for the specified app.
- name: The relative resource name of the AppAttestConfig, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ```.
func (*ProjectsAppsAppAttestConfigService) Patch ¶
func (r *ProjectsAppsAppAttestConfigService) Patch(name string, googlefirebaseappcheckv1appattestconfig *GoogleFirebaseAppcheckV1AppAttestConfig) *ProjectsAppsAppAttestConfigPatchCall
Patch: Updates the AppAttestConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange AppAttest tokens for App Check tokens.
- name: The relative resource name of the App Attest configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/appAttestConfig ```.
type ProjectsAppsDebugTokensCreateCall ¶
type ProjectsAppsDebugTokensCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDebugTokensCreateCall) Context ¶
func (c *ProjectsAppsDebugTokensCreateCall) Context(ctx context.Context) *ProjectsAppsDebugTokensCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDebugTokensCreateCall) Do ¶
func (c *ProjectsAppsDebugTokensCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DebugToken, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1DebugToken.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 (*ProjectsAppsDebugTokensCreateCall) Fields ¶
func (c *ProjectsAppsDebugTokensCreateCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDebugTokensCreateCall) Header ¶
func (c *ProjectsAppsDebugTokensCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsDebugTokensDeleteCall ¶
type ProjectsAppsDebugTokensDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDebugTokensDeleteCall) Context ¶
func (c *ProjectsAppsDebugTokensDeleteCall) Context(ctx context.Context) *ProjectsAppsDebugTokensDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDebugTokensDeleteCall) Do ¶
func (c *ProjectsAppsDebugTokensDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 (*ProjectsAppsDebugTokensDeleteCall) Fields ¶
func (c *ProjectsAppsDebugTokensDeleteCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDebugTokensDeleteCall) Header ¶
func (c *ProjectsAppsDebugTokensDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsDebugTokensGetCall ¶
type ProjectsAppsDebugTokensGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDebugTokensGetCall) Context ¶
func (c *ProjectsAppsDebugTokensGetCall) Context(ctx context.Context) *ProjectsAppsDebugTokensGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDebugTokensGetCall) Do ¶
func (c *ProjectsAppsDebugTokensGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DebugToken, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1DebugToken.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 (*ProjectsAppsDebugTokensGetCall) Fields ¶
func (c *ProjectsAppsDebugTokensGetCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDebugTokensGetCall) Header ¶
func (c *ProjectsAppsDebugTokensGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsDebugTokensGetCall) IfNoneMatch ¶
func (c *ProjectsAppsDebugTokensGetCall) IfNoneMatch(entityTag string) *ProjectsAppsDebugTokensGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsDebugTokensListCall ¶
type ProjectsAppsDebugTokensListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDebugTokensListCall) Context ¶
func (c *ProjectsAppsDebugTokensListCall) Context(ctx context.Context) *ProjectsAppsDebugTokensListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDebugTokensListCall) Do ¶
func (c *ProjectsAppsDebugTokensListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ListDebugTokensResponse, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ListDebugTokensResponse.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 (*ProjectsAppsDebugTokensListCall) Fields ¶
func (c *ProjectsAppsDebugTokensListCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDebugTokensListCall) Header ¶
func (c *ProjectsAppsDebugTokensListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsDebugTokensListCall) IfNoneMatch ¶
func (c *ProjectsAppsDebugTokensListCall) IfNoneMatch(entityTag string) *ProjectsAppsDebugTokensListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsDebugTokensListCall) PageSize ¶
func (c *ProjectsAppsDebugTokensListCall) PageSize(pageSize int64) *ProjectsAppsDebugTokensListCall
PageSize sets the optional parameter "pageSize": The maximum number of DebugTokens to return in the response. Note that an app can have at most 20 debug tokens. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
func (*ProjectsAppsDebugTokensListCall) PageToken ¶
func (c *ProjectsAppsDebugTokensListCall) PageToken(pageToken string) *ProjectsAppsDebugTokensListCall
PageToken sets the optional parameter "pageToken": Token returned from a previous call to ListDebugTokens indicating where in the set of DebugTokens to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListDebugTokens must match the call that provided the page token; if they do not match, the result is undefined.
func (*ProjectsAppsDebugTokensListCall) Pages ¶
func (c *ProjectsAppsDebugTokensListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppcheckV1ListDebugTokensResponse) error) error
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.
type ProjectsAppsDebugTokensPatchCall ¶
type ProjectsAppsDebugTokensPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDebugTokensPatchCall) Context ¶
func (c *ProjectsAppsDebugTokensPatchCall) Context(ctx context.Context) *ProjectsAppsDebugTokensPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDebugTokensPatchCall) Do ¶
func (c *ProjectsAppsDebugTokensPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DebugToken, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1DebugToken.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 (*ProjectsAppsDebugTokensPatchCall) Fields ¶
func (c *ProjectsAppsDebugTokensPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsDebugTokensPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDebugTokensPatchCall) Header ¶
func (c *ProjectsAppsDebugTokensPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsDebugTokensPatchCall) UpdateMask ¶
func (c *ProjectsAppsDebugTokensPatchCall) UpdateMask(updateMask string) *ProjectsAppsDebugTokensPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the DebugToken to update. Example: `display_name`.
type ProjectsAppsDebugTokensService ¶
type ProjectsAppsDebugTokensService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsDebugTokensService ¶
func NewProjectsAppsDebugTokensService(s *Service) *ProjectsAppsDebugTokensService
func (*ProjectsAppsDebugTokensService) Create ¶
func (r *ProjectsAppsDebugTokensService) Create(parent string, googlefirebaseappcheckv1debugtoken *GoogleFirebaseAppcheckV1DebugToken) *ProjectsAppsDebugTokensCreateCall
Create: Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the `token` field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens.
- parent: The relative resource name of the parent app in which the specified DebugToken will be created, in the format: ``` projects/{project_number}/apps/{app_id} ```.
func (*ProjectsAppsDebugTokensService) Delete ¶
func (r *ProjectsAppsDebugTokensService) Delete(name string) *ProjectsAppsDebugTokensDeleteCall
Delete: Deletes the specified DebugToken. A deleted debug token cannot be used to exchange for an App Check token. Use this method when you suspect the secret `token` has been compromised or when you no longer need the debug token.
- name: The relative resource name of the DebugToken to delete, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```.
func (*ProjectsAppsDebugTokensService) Get ¶
func (r *ProjectsAppsDebugTokensService) Get(name string) *ProjectsAppsDebugTokensGetCall
Get: Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response.
- name: The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```.
func (*ProjectsAppsDebugTokensService) List ¶
func (r *ProjectsAppsDebugTokensService) List(parent string) *ProjectsAppsDebugTokensListCall
List: Lists all DebugTokens for the specified app. For security reasons, the `token` field is never populated in the response.
- parent: The relative resource name of the parent app for which to list each associated DebugToken, in the format: ``` projects/{project_number}/apps/{app_id} ```.
func (*ProjectsAppsDebugTokensService) Patch ¶
func (r *ProjectsAppsDebugTokensService) Patch(name string, googlefirebaseappcheckv1debugtoken *GoogleFirebaseAppcheckV1DebugToken) *ProjectsAppsDebugTokensPatchCall
Patch: Updates the specified DebugToken. For security reasons, the `token` field cannot be updated, nor will it be populated in the response, but you can revoke the debug token using DeleteDebugToken.
- name: The relative resource name of the debug token, in the format: ``` projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id} ```.
type ProjectsAppsDeviceCheckConfigBatchGetCall ¶
type ProjectsAppsDeviceCheckConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDeviceCheckConfigBatchGetCall) Context ¶
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDeviceCheckConfigBatchGetCall) Do ¶
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.deviceCheckConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchGetDeviceCheckConfigsResponse.ServerResponse.He ader 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 (*ProjectsAppsDeviceCheckConfigBatchGetCall) Fields ¶
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsDeviceCheckConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDeviceCheckConfigBatchGetCall) Header ¶
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsDeviceCheckConfigBatchGetCall) IfNoneMatch ¶
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsDeviceCheckConfigBatchGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsDeviceCheckConfigBatchGetCall) Names ¶
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Names(names ...string) *ProjectsAppsDeviceCheckConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the DeviceCheckConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsDeviceCheckConfigGetCall ¶
type ProjectsAppsDeviceCheckConfigGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDeviceCheckConfigGetCall) Context ¶
func (c *ProjectsAppsDeviceCheckConfigGetCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDeviceCheckConfigGetCall) Do ¶
func (c *ProjectsAppsDeviceCheckConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DeviceCheckConfig, error)
Do executes the "firebaseappcheck.projects.apps.deviceCheckConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1DeviceCheckConfig.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 (*ProjectsAppsDeviceCheckConfigGetCall) Fields ¶
func (c *ProjectsAppsDeviceCheckConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsDeviceCheckConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDeviceCheckConfigGetCall) Header ¶
func (c *ProjectsAppsDeviceCheckConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsDeviceCheckConfigGetCall) IfNoneMatch ¶
func (c *ProjectsAppsDeviceCheckConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsDeviceCheckConfigGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsDeviceCheckConfigPatchCall ¶
type ProjectsAppsDeviceCheckConfigPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsDeviceCheckConfigPatchCall) Context ¶
func (c *ProjectsAppsDeviceCheckConfigPatchCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsDeviceCheckConfigPatchCall) Do ¶
func (c *ProjectsAppsDeviceCheckConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1DeviceCheckConfig, error)
Do executes the "firebaseappcheck.projects.apps.deviceCheckConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1DeviceCheckConfig.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 (*ProjectsAppsDeviceCheckConfigPatchCall) Fields ¶
func (c *ProjectsAppsDeviceCheckConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsDeviceCheckConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsDeviceCheckConfigPatchCall) Header ¶
func (c *ProjectsAppsDeviceCheckConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsDeviceCheckConfigPatchCall) UpdateMask ¶
func (c *ProjectsAppsDeviceCheckConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsDeviceCheckConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the DeviceCheckConfig to update. Example: `key_id,private_key`.
type ProjectsAppsDeviceCheckConfigService ¶
type ProjectsAppsDeviceCheckConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsDeviceCheckConfigService ¶
func NewProjectsAppsDeviceCheckConfigService(s *Service) *ProjectsAppsDeviceCheckConfigService
func (*ProjectsAppsDeviceCheckConfigService) BatchGet ¶
func (r *ProjectsAppsDeviceCheckConfigService) BatchGet(parent string) *ProjectsAppsDeviceCheckConfigBatchGetCall
BatchGet: Atomically gets the DeviceCheckConfigs for the specified list of apps. For security reasons, the `private_key` field is never populated in the response.
- parent: The parent project name shared by all DeviceCheckConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails.
func (*ProjectsAppsDeviceCheckConfigService) Get ¶
func (r *ProjectsAppsDeviceCheckConfigService) Get(name string) *ProjectsAppsDeviceCheckConfigGetCall
Get: Gets the DeviceCheckConfig for the specified app. For security reasons, the `private_key` field is never populated in the response.
- name: The relative resource name of the DeviceCheckConfig, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
func (*ProjectsAppsDeviceCheckConfigService) Patch ¶
func (r *ProjectsAppsDeviceCheckConfigService) Patch(name string, googlefirebaseappcheckv1devicecheckconfig *GoogleFirebaseAppcheckV1DeviceCheckConfig) *ProjectsAppsDeviceCheckConfigPatchCall
Patch: Updates the DeviceCheckConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange DeviceCheck tokens for App Check tokens. For security reasons, the `private_key` field is never populated in the response.
- name: The relative resource name of the DeviceCheck configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/deviceCheckConfig ```.
type ProjectsAppsExchangeAppAttestAssertionCall ¶
type ProjectsAppsExchangeAppAttestAssertionCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeAppAttestAssertionCall) Context ¶
func (c *ProjectsAppsExchangeAppAttestAssertionCall) Context(ctx context.Context) *ProjectsAppsExchangeAppAttestAssertionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeAppAttestAssertionCall) Do ¶
func (c *ProjectsAppsExchangeAppAttestAssertionCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeAppAttestAssertion" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeAppAttestAssertionCall) Fields ¶
func (c *ProjectsAppsExchangeAppAttestAssertionCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeAppAttestAssertionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeAppAttestAssertionCall) Header ¶
func (c *ProjectsAppsExchangeAppAttestAssertionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeAppAttestAttestationCall ¶
type ProjectsAppsExchangeAppAttestAttestationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeAppAttestAttestationCall) Context ¶
func (c *ProjectsAppsExchangeAppAttestAttestationCall) Context(ctx context.Context) *ProjectsAppsExchangeAppAttestAttestationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeAppAttestAttestationCall) Do ¶
func (c *ProjectsAppsExchangeAppAttestAttestationCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse, error)
Do executes the "firebaseappcheck.projects.apps.exchangeAppAttestAttestation" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse.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 (*ProjectsAppsExchangeAppAttestAttestationCall) Fields ¶
func (c *ProjectsAppsExchangeAppAttestAttestationCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeAppAttestAttestationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeAppAttestAttestationCall) Header ¶
func (c *ProjectsAppsExchangeAppAttestAttestationCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeCustomTokenCall ¶
type ProjectsAppsExchangeCustomTokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeCustomTokenCall) Context ¶
func (c *ProjectsAppsExchangeCustomTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeCustomTokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeCustomTokenCall) Do ¶
func (c *ProjectsAppsExchangeCustomTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeCustomToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeCustomTokenCall) Fields ¶
func (c *ProjectsAppsExchangeCustomTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeCustomTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeCustomTokenCall) Header ¶
func (c *ProjectsAppsExchangeCustomTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeDebugTokenCall ¶
type ProjectsAppsExchangeDebugTokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeDebugTokenCall) Context ¶
func (c *ProjectsAppsExchangeDebugTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeDebugTokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeDebugTokenCall) Do ¶
func (c *ProjectsAppsExchangeDebugTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeDebugToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeDebugTokenCall) Fields ¶
func (c *ProjectsAppsExchangeDebugTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeDebugTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeDebugTokenCall) Header ¶
func (c *ProjectsAppsExchangeDebugTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeDeviceCheckTokenCall ¶
type ProjectsAppsExchangeDeviceCheckTokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeDeviceCheckTokenCall) Context ¶
func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeDeviceCheckTokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeDeviceCheckTokenCall) Do ¶
func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeDeviceCheckToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeDeviceCheckTokenCall) Fields ¶
func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeDeviceCheckTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeDeviceCheckTokenCall) Header ¶
func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangePlayIntegrityTokenCall ¶
type ProjectsAppsExchangePlayIntegrityTokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangePlayIntegrityTokenCall) Context ¶
func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Context(ctx context.Context) *ProjectsAppsExchangePlayIntegrityTokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangePlayIntegrityTokenCall) Do ¶
func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangePlayIntegrityToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangePlayIntegrityTokenCall) Fields ¶
func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangePlayIntegrityTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangePlayIntegrityTokenCall) Header ¶
func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeRecaptchaEnterpriseTokenCall ¶
type ProjectsAppsExchangeRecaptchaEnterpriseTokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Context ¶
func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Do ¶
func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeRecaptchaEnterpriseToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Fields ¶
func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Header ¶
func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeRecaptchaV3TokenCall ¶
type ProjectsAppsExchangeRecaptchaV3TokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeRecaptchaV3TokenCall) Context ¶
func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaV3TokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeRecaptchaV3TokenCall) Do ¶
func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeRecaptchaV3Token" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeRecaptchaV3TokenCall) Fields ¶
func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeRecaptchaV3TokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeRecaptchaV3TokenCall) Header ¶
func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeSafetyNetTokenCall ¶
type ProjectsAppsExchangeSafetyNetTokenCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsExchangeSafetyNetTokenCall) Context ¶
func (c *ProjectsAppsExchangeSafetyNetTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeSafetyNetTokenCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsExchangeSafetyNetTokenCall) Do ¶
func (c *ProjectsAppsExchangeSafetyNetTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1AppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeSafetyNetToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1AppCheckToken.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 (*ProjectsAppsExchangeSafetyNetTokenCall) Fields ¶
func (c *ProjectsAppsExchangeSafetyNetTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeSafetyNetTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsExchangeSafetyNetTokenCall) Header ¶
func (c *ProjectsAppsExchangeSafetyNetTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsGenerateAppAttestChallengeCall ¶
type ProjectsAppsGenerateAppAttestChallengeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsGenerateAppAttestChallengeCall) Context ¶
func (c *ProjectsAppsGenerateAppAttestChallengeCall) Context(ctx context.Context) *ProjectsAppsGenerateAppAttestChallengeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsGenerateAppAttestChallengeCall) Do ¶
func (c *ProjectsAppsGenerateAppAttestChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse, error)
Do executes the "firebaseappcheck.projects.apps.generateAppAttestChallenge" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.ServerResponse.He ader 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 (*ProjectsAppsGenerateAppAttestChallengeCall) Fields ¶
func (c *ProjectsAppsGenerateAppAttestChallengeCall) Fields(s ...googleapi.Field) *ProjectsAppsGenerateAppAttestChallengeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsGenerateAppAttestChallengeCall) Header ¶
func (c *ProjectsAppsGenerateAppAttestChallengeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsGeneratePlayIntegrityChallengeCall ¶
type ProjectsAppsGeneratePlayIntegrityChallengeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsGeneratePlayIntegrityChallengeCall) Context ¶
func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Context(ctx context.Context) *ProjectsAppsGeneratePlayIntegrityChallengeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsGeneratePlayIntegrityChallengeCall) Do ¶
func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse, error)
Do executes the "firebaseappcheck.projects.apps.generatePlayIntegrityChallenge" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeResponse.ServerRespons e.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 (*ProjectsAppsGeneratePlayIntegrityChallengeCall) Fields ¶
func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Fields(s ...googleapi.Field) *ProjectsAppsGeneratePlayIntegrityChallengeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsGeneratePlayIntegrityChallengeCall) Header ¶
func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsPlayIntegrityConfigBatchGetCall ¶
type ProjectsAppsPlayIntegrityConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsPlayIntegrityConfigBatchGetCall) Context ¶
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsPlayIntegrityConfigBatchGetCall) Do ¶
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.playIntegrityConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchGetPlayIntegrityConfigsResponse.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 (*ProjectsAppsPlayIntegrityConfigBatchGetCall) Fields ¶
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsPlayIntegrityConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsPlayIntegrityConfigBatchGetCall) Header ¶
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsPlayIntegrityConfigBatchGetCall) IfNoneMatch ¶
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsPlayIntegrityConfigBatchGetCall) Names ¶
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Names(names ...string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the PlayIntegrityConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsPlayIntegrityConfigGetCall ¶
type ProjectsAppsPlayIntegrityConfigGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsPlayIntegrityConfigGetCall) Context ¶
func (c *ProjectsAppsPlayIntegrityConfigGetCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsPlayIntegrityConfigGetCall) Do ¶
func (c *ProjectsAppsPlayIntegrityConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1PlayIntegrityConfig, error)
Do executes the "firebaseappcheck.projects.apps.playIntegrityConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1PlayIntegrityConfig.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 (*ProjectsAppsPlayIntegrityConfigGetCall) Fields ¶
func (c *ProjectsAppsPlayIntegrityConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsPlayIntegrityConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsPlayIntegrityConfigGetCall) Header ¶
func (c *ProjectsAppsPlayIntegrityConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsPlayIntegrityConfigGetCall) IfNoneMatch ¶
func (c *ProjectsAppsPlayIntegrityConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsPlayIntegrityConfigGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsPlayIntegrityConfigPatchCall ¶
type ProjectsAppsPlayIntegrityConfigPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsPlayIntegrityConfigPatchCall) Context ¶
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsPlayIntegrityConfigPatchCall) Do ¶
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1PlayIntegrityConfig, error)
Do executes the "firebaseappcheck.projects.apps.playIntegrityConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1PlayIntegrityConfig.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 (*ProjectsAppsPlayIntegrityConfigPatchCall) Fields ¶
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsPlayIntegrityConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsPlayIntegrityConfigPatchCall) Header ¶
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsPlayIntegrityConfigPatchCall) UpdateMask ¶
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsPlayIntegrityConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the PlayIntegrityConfig to update. Example: `token_ttl`.
type ProjectsAppsPlayIntegrityConfigService ¶
type ProjectsAppsPlayIntegrityConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsPlayIntegrityConfigService ¶
func NewProjectsAppsPlayIntegrityConfigService(s *Service) *ProjectsAppsPlayIntegrityConfigService
func (*ProjectsAppsPlayIntegrityConfigService) BatchGet ¶
func (r *ProjectsAppsPlayIntegrityConfigService) BatchGet(parent string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
BatchGet: Atomically gets the PlayIntegrityConfigs for the specified list of apps.
- parent: The parent project name shared by all PlayIntegrityConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails.
func (*ProjectsAppsPlayIntegrityConfigService) Get ¶
func (r *ProjectsAppsPlayIntegrityConfigService) Get(name string) *ProjectsAppsPlayIntegrityConfigGetCall
Get: Gets the PlayIntegrityConfig for the specified app.
- name: The relative resource name of the PlayIntegrityConfig, in the format: ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
func (*ProjectsAppsPlayIntegrityConfigService) Patch ¶
func (r *ProjectsAppsPlayIntegrityConfigService) Patch(name string, googlefirebaseappcheckv1playintegrityconfig *GoogleFirebaseAppcheckV1PlayIntegrityConfig) *ProjectsAppsPlayIntegrityConfigPatchCall
Patch: Updates the PlayIntegrityConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange Play Integrity tokens for App Check tokens.
- name: The relative resource name of the Play Integrity configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/playIntegrityConfig ```.
type ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall ¶
type ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Context ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Do ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchGetRecaptchaEnterpriseConfigsResponse.ServerRes ponse.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 (*ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Fields ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Header ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) IfNoneMatch ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Names ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Names(names ...string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the RecaptchaEnterpriseConfigs to retrieve, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsRecaptchaEnterpriseConfigGetCall ¶
type ProjectsAppsRecaptchaEnterpriseConfigGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsRecaptchaEnterpriseConfigGetCall) Context ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsRecaptchaEnterpriseConfigGetCall) Do ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.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 (*ProjectsAppsRecaptchaEnterpriseConfigGetCall) Fields ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsRecaptchaEnterpriseConfigGetCall) Header ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsRecaptchaEnterpriseConfigGetCall) IfNoneMatch ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsRecaptchaEnterpriseConfigPatchCall ¶
type ProjectsAppsRecaptchaEnterpriseConfigPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Context ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Do ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig.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 (*ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Fields ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Header ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsRecaptchaEnterpriseConfigPatchCall) UpdateMask ¶
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the RecaptchaEnterpriseConfig to update. Example: `site_key`.
type ProjectsAppsRecaptchaEnterpriseConfigService ¶
type ProjectsAppsRecaptchaEnterpriseConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsRecaptchaEnterpriseConfigService ¶
func NewProjectsAppsRecaptchaEnterpriseConfigService(s *Service) *ProjectsAppsRecaptchaEnterpriseConfigService
func (*ProjectsAppsRecaptchaEnterpriseConfigService) BatchGet ¶
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
BatchGet: Atomically gets the RecaptchaEnterpriseConfigs for the specified list of apps.
- parent: The parent project name shared by all RecaptchaEnterpriseConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails.
func (*ProjectsAppsRecaptchaEnterpriseConfigService) Get ¶
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Get(name string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
Get: Gets the RecaptchaEnterpriseConfig for the specified app.
- name: The relative resource name of the RecaptchaEnterpriseConfig, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ```.
func (*ProjectsAppsRecaptchaEnterpriseConfigService) Patch ¶
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Patch(name string, googlefirebaseappcheckv1recaptchaenterpriseconfig *GoogleFirebaseAppcheckV1RecaptchaEnterpriseConfig) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
Patch: Updates the RecaptchaEnterpriseConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA Enterprise tokens for App Check tokens.
- name: The relative resource name of the reCAPTCHA Enterprise configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaEnterpriseConfig ```.
type ProjectsAppsRecaptchaV3ConfigBatchGetCall ¶
type ProjectsAppsRecaptchaV3ConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsRecaptchaV3ConfigBatchGetCall) Context ¶
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsRecaptchaV3ConfigBatchGetCall) Do ¶
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaV3Config.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchGetRecaptchaV3ConfigsResponse.ServerResponse.He ader 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 (*ProjectsAppsRecaptchaV3ConfigBatchGetCall) Fields ¶
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsRecaptchaV3ConfigBatchGetCall) Header ¶
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsRecaptchaV3ConfigBatchGetCall) IfNoneMatch ¶
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsRecaptchaV3ConfigBatchGetCall) Names ¶
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Names(names ...string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the RecaptchaV3Configs to retrieve, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsRecaptchaV3ConfigGetCall ¶
type ProjectsAppsRecaptchaV3ConfigGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsRecaptchaV3ConfigGetCall) Context ¶
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsRecaptchaV3ConfigGetCall) Do ¶
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaV3Config, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaV3Config.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1RecaptchaV3Config.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 (*ProjectsAppsRecaptchaV3ConfigGetCall) Fields ¶
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaV3ConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsRecaptchaV3ConfigGetCall) Header ¶
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsRecaptchaV3ConfigGetCall) IfNoneMatch ¶
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaV3ConfigGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsRecaptchaV3ConfigPatchCall ¶
type ProjectsAppsRecaptchaV3ConfigPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsRecaptchaV3ConfigPatchCall) Context ¶
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsRecaptchaV3ConfigPatchCall) Do ¶
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1RecaptchaV3Config, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaV3Config.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1RecaptchaV3Config.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 (*ProjectsAppsRecaptchaV3ConfigPatchCall) Fields ¶
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaV3ConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsRecaptchaV3ConfigPatchCall) Header ¶
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsRecaptchaV3ConfigPatchCall) UpdateMask ¶
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsRecaptchaV3ConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the RecaptchaV3Config to update. Example: `site_secret`.
type ProjectsAppsRecaptchaV3ConfigService ¶
type ProjectsAppsRecaptchaV3ConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsRecaptchaV3ConfigService ¶
func NewProjectsAppsRecaptchaV3ConfigService(s *Service) *ProjectsAppsRecaptchaV3ConfigService
func (*ProjectsAppsRecaptchaV3ConfigService) BatchGet ¶
func (r *ProjectsAppsRecaptchaV3ConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
BatchGet: Atomically gets the RecaptchaV3Configs for the specified list of apps. For security reasons, the `site_secret` field is never populated in the response.
- parent: The parent project name shared by all RecaptchaV3Configs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails.
func (*ProjectsAppsRecaptchaV3ConfigService) Get ¶
func (r *ProjectsAppsRecaptchaV3ConfigService) Get(name string) *ProjectsAppsRecaptchaV3ConfigGetCall
Get: Gets the RecaptchaV3Config for the specified app. For security reasons, the `site_secret` field is never populated in the response.
- name: The relative resource name of the RecaptchaV3Config, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
func (*ProjectsAppsRecaptchaV3ConfigService) Patch ¶
func (r *ProjectsAppsRecaptchaV3ConfigService) Patch(name string, googlefirebaseappcheckv1recaptchav3config *GoogleFirebaseAppcheckV1RecaptchaV3Config) *ProjectsAppsRecaptchaV3ConfigPatchCall
Patch: Updates the RecaptchaV3Config for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3 tokens for App Check tokens. For security reasons, the `site_secret` field is never populated in the response.
- name: The relative resource name of the reCAPTCHA v3 configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaV3Config ```.
type ProjectsAppsSafetyNetConfigBatchGetCall ¶
type ProjectsAppsSafetyNetConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsSafetyNetConfigBatchGetCall) Context ¶
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsSafetyNetConfigBatchGetCall) Do ¶
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.safetyNetConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse.ServerResponse.Head er 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 (*ProjectsAppsSafetyNetConfigBatchGetCall) Fields ¶
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsSafetyNetConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsSafetyNetConfigBatchGetCall) Header ¶
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsSafetyNetConfigBatchGetCall) IfNoneMatch ¶
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsSafetyNetConfigBatchGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsAppsSafetyNetConfigBatchGetCall) Names ¶
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Names(names ...string) *ProjectsAppsSafetyNetConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the SafetyNetConfigs to retrieve, in the format ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsSafetyNetConfigGetCall ¶
type ProjectsAppsSafetyNetConfigGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsSafetyNetConfigGetCall) Context ¶
func (c *ProjectsAppsSafetyNetConfigGetCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsSafetyNetConfigGetCall) Do ¶
func (c *ProjectsAppsSafetyNetConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1SafetyNetConfig, error)
Do executes the "firebaseappcheck.projects.apps.safetyNetConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1SafetyNetConfig.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 (*ProjectsAppsSafetyNetConfigGetCall) Fields ¶
func (c *ProjectsAppsSafetyNetConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsSafetyNetConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsSafetyNetConfigGetCall) Header ¶
func (c *ProjectsAppsSafetyNetConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsSafetyNetConfigGetCall) IfNoneMatch ¶
func (c *ProjectsAppsSafetyNetConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsSafetyNetConfigGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsAppsSafetyNetConfigPatchCall ¶
type ProjectsAppsSafetyNetConfigPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAppsSafetyNetConfigPatchCall) Context ¶
func (c *ProjectsAppsSafetyNetConfigPatchCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsAppsSafetyNetConfigPatchCall) Do ¶
func (c *ProjectsAppsSafetyNetConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1SafetyNetConfig, error)
Do executes the "firebaseappcheck.projects.apps.safetyNetConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1SafetyNetConfig.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 (*ProjectsAppsSafetyNetConfigPatchCall) Fields ¶
func (c *ProjectsAppsSafetyNetConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsSafetyNetConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsAppsSafetyNetConfigPatchCall) Header ¶
func (c *ProjectsAppsSafetyNetConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsAppsSafetyNetConfigPatchCall) UpdateMask ¶
func (c *ProjectsAppsSafetyNetConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsSafetyNetConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the SafetyNetConfig to update. Example: `token_ttl`.
type ProjectsAppsSafetyNetConfigService ¶
type ProjectsAppsSafetyNetConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsSafetyNetConfigService ¶
func NewProjectsAppsSafetyNetConfigService(s *Service) *ProjectsAppsSafetyNetConfigService
func (*ProjectsAppsSafetyNetConfigService) BatchGet ¶
func (r *ProjectsAppsSafetyNetConfigService) BatchGet(parent string) *ProjectsAppsSafetyNetConfigBatchGetCall
BatchGet: Atomically gets the SafetyNetConfigs for the specified list of apps.
- parent: The parent project name shared by all SafetyNetConfigs being retrieved, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being retrieved must match this field, or the entire batch fails.
func (*ProjectsAppsSafetyNetConfigService) Get ¶
func (r *ProjectsAppsSafetyNetConfigService) Get(name string) *ProjectsAppsSafetyNetConfigGetCall
Get: Gets the SafetyNetConfig for the specified app.
- name: The relative resource name of the SafetyNetConfig, in the format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ```.
func (*ProjectsAppsSafetyNetConfigService) Patch ¶
func (r *ProjectsAppsSafetyNetConfigService) Patch(name string, googlefirebaseappcheckv1safetynetconfig *GoogleFirebaseAppcheckV1SafetyNetConfig) *ProjectsAppsSafetyNetConfigPatchCall
Patch: Updates the SafetyNetConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange SafetyNet tokens for App Check tokens.
- name: The relative resource name of the SafetyNet configuration object, in the format: ``` projects/{project_number}/apps/{app_id}/safetyNetConfig ```.
type ProjectsAppsService ¶
type ProjectsAppsService struct { AppAttestConfig *ProjectsAppsAppAttestConfigService DebugTokens *ProjectsAppsDebugTokensService DeviceCheckConfig *ProjectsAppsDeviceCheckConfigService PlayIntegrityConfig *ProjectsAppsPlayIntegrityConfigService RecaptchaEnterpriseConfig *ProjectsAppsRecaptchaEnterpriseConfigService RecaptchaV3Config *ProjectsAppsRecaptchaV3ConfigService SafetyNetConfig *ProjectsAppsSafetyNetConfigService // contains filtered or unexported fields }
func NewProjectsAppsService ¶
func NewProjectsAppsService(s *Service) *ProjectsAppsService
func (*ProjectsAppsService) ExchangeAppAttestAssertion ¶
func (r *ProjectsAppsService) ExchangeAppAttestAssertion(appid string, googlefirebaseappcheckv1exchangeappattestassertionrequest *GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest) *ProjectsAppsExchangeAppAttestAssertionCall
ExchangeAppAttestAssertion: Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeAppAttestAttestation ¶
func (r *ProjectsAppsService) ExchangeAppAttestAttestation(appid string, googlefirebaseappcheckv1exchangeappattestattestationrequest *GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest) *ProjectsAppsExchangeAppAttestAttestationCall
ExchangeAppAttestAttestation: Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful).
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeCustomToken ¶
func (r *ProjectsAppsService) ExchangeCustomToken(appid string, googlefirebaseappcheckv1exchangecustomtokenrequest *GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest) *ProjectsAppsExchangeCustomTokenCall
ExchangeCustomToken: Validates a custom token signed using your project's Admin SDK service account credentials. If valid, returns an AppCheckToken.
- app: The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeDebugToken ¶
func (r *ProjectsAppsService) ExchangeDebugToken(appid string, googlefirebaseappcheckv1exchangedebugtokenrequest *GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest) *ProjectsAppsExchangeDebugTokenCall
ExchangeDebugToken: Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse.
- app: The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeDeviceCheckToken ¶
func (r *ProjectsAppsService) ExchangeDeviceCheckToken(appid string, googlefirebaseappcheckv1exchangedevicechecktokenrequest *GoogleFirebaseAppcheckV1ExchangeDeviceCheckTokenRequest) *ProjectsAppsExchangeDeviceCheckTokenCall
ExchangeDeviceCheckToken: Accepts a `device_token` (https://developer.apple.com/documentation/devicecheck/dcdevice) issued by DeviceCheck, and attempts to validate it with Apple. If valid, returns an AppCheckToken.
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangePlayIntegrityToken ¶
func (r *ProjectsAppsService) ExchangePlayIntegrityToken(appid string, googlefirebaseappcheckv1exchangeplayintegritytokenrequest *GoogleFirebaseAppcheckV1ExchangePlayIntegrityTokenRequest) *ProjectsAppsExchangePlayIntegrityTokenCall
ExchangePlayIntegrityToken: Validates an integrity verdict response token from Play Integrity (https://developer.android.com/google/play/integrity/verdict#decrypt-verify). If valid, returns an AppCheckToken.
- app: The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeRecaptchaEnterpriseToken ¶
func (r *ProjectsAppsService) ExchangeRecaptchaEnterpriseToken(appid string, googlefirebaseappcheckv1exchangerecaptchaenterprisetokenrequest *GoogleFirebaseAppcheckV1ExchangeRecaptchaEnterpriseTokenRequest) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
ExchangeRecaptchaEnterpriseToken: Validates a reCAPTCHA Enterprise response token (https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns an AppCheckToken.
- app: The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeRecaptchaV3Token ¶
func (r *ProjectsAppsService) ExchangeRecaptchaV3Token(appid string, googlefirebaseappcheckv1exchangerecaptchav3tokenrequest *GoogleFirebaseAppcheckV1ExchangeRecaptchaV3TokenRequest) *ProjectsAppsExchangeRecaptchaV3TokenCall
ExchangeRecaptchaV3Token: Validates a reCAPTCHA v3 response token (https://developers.google.com/recaptcha/docs/v3). If valid, returns an AppCheckToken.
- app: The relative resource name of the web app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) ExchangeSafetyNetToken ¶
func (r *ProjectsAppsService) ExchangeSafetyNetToken(appid string, googlefirebaseappcheckv1exchangesafetynettokenrequest *GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest) *ProjectsAppsExchangeSafetyNetTokenCall
ExchangeSafetyNetToken: Validates a SafetyNet token (https://developer.android.com/training/safetynet/attestation#request-attestation-step). If valid, returns an AppCheckToken.
- app: The relative resource name of the Android app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) GenerateAppAttestChallenge ¶
func (r *ProjectsAppsService) GenerateAppAttestChallenge(appid string, googlefirebaseappcheckv1generateappattestchallengerequest *GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest) *ProjectsAppsGenerateAppAttestChallengeCall
GenerateAppAttestChallenge: Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls.
- app: The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
func (*ProjectsAppsService) GeneratePlayIntegrityChallenge ¶
func (r *ProjectsAppsService) GeneratePlayIntegrityChallenge(appid string, googlefirebaseappcheckv1generateplayintegritychallengerequest *GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest) *ProjectsAppsGeneratePlayIntegrityChallengeCall
GeneratePlayIntegrityChallenge: Generates a challenge that protects the integrity of an immediately following integrity verdict request to the Play Integrity API. The next call to ExchangePlayIntegrityToken using the resulting integrity token will verify the presence and validity of the challenge. A challenge should not be reused for multiple calls.
- app: The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's AIP 2510 (https://google.aip.dev/cloud/2510) standard.
type ProjectsService ¶
type ProjectsService struct { Apps *ProjectsAppsService Services *ProjectsServicesService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type ProjectsServicesBatchUpdateCall ¶
type ProjectsServicesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesBatchUpdateCall) Context ¶
func (c *ProjectsServicesBatchUpdateCall) Context(ctx context.Context) *ProjectsServicesBatchUpdateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesBatchUpdateCall) Do ¶
func (c *ProjectsServicesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchUpdateServicesResponse, error)
Do executes the "firebaseappcheck.projects.services.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchUpdateServicesResponse.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 (*ProjectsServicesBatchUpdateCall) Fields ¶
func (c *ProjectsServicesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsServicesBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesBatchUpdateCall) Header ¶
func (c *ProjectsServicesBatchUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsServicesGetCall ¶
type ProjectsServicesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesGetCall) Context ¶
func (c *ProjectsServicesGetCall) Context(ctx context.Context) *ProjectsServicesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesGetCall) Do ¶
func (c *ProjectsServicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1Service, error)
Do executes the "firebaseappcheck.projects.services.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1Service.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 (*ProjectsServicesGetCall) Fields ¶
func (c *ProjectsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsServicesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesGetCall) Header ¶
func (c *ProjectsServicesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsServicesGetCall) IfNoneMatch ¶
func (c *ProjectsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsServicesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsServicesListCall ¶
type ProjectsServicesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesListCall) Context ¶
func (c *ProjectsServicesListCall) Context(ctx context.Context) *ProjectsServicesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesListCall) Do ¶
func (c *ProjectsServicesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ListServicesResponse, error)
Do executes the "firebaseappcheck.projects.services.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ListServicesResponse.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 (*ProjectsServicesListCall) Fields ¶
func (c *ProjectsServicesListCall) Fields(s ...googleapi.Field) *ProjectsServicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesListCall) Header ¶
func (c *ProjectsServicesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsServicesListCall) IfNoneMatch ¶
func (c *ProjectsServicesListCall) IfNoneMatch(entityTag string) *ProjectsServicesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsServicesListCall) PageSize ¶
func (c *ProjectsServicesListCall) PageSize(pageSize int64) *ProjectsServicesListCall
PageSize sets the optional parameter "pageSize": The maximum number of Services to return in the response. Only explicitly configured services are returned. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
func (*ProjectsServicesListCall) PageToken ¶
func (c *ProjectsServicesListCall) PageToken(pageToken string) *ProjectsServicesListCall
PageToken sets the optional parameter "pageToken": Token returned from a previous call to ListServices indicating where in the set of Services to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListServices must match the call that provided the page token; if they do not match, the result is undefined.
func (*ProjectsServicesListCall) Pages ¶
func (c *ProjectsServicesListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppcheckV1ListServicesResponse) error) error
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.
type ProjectsServicesPatchCall ¶
type ProjectsServicesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesPatchCall) Context ¶
func (c *ProjectsServicesPatchCall) Context(ctx context.Context) *ProjectsServicesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesPatchCall) Do ¶
func (c *ProjectsServicesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1Service, error)
Do executes the "firebaseappcheck.projects.services.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1Service.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 (*ProjectsServicesPatchCall) Fields ¶
func (c *ProjectsServicesPatchCall) Fields(s ...googleapi.Field) *ProjectsServicesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesPatchCall) Header ¶
func (c *ProjectsServicesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsServicesPatchCall) UpdateMask ¶
func (c *ProjectsServicesPatchCall) UpdateMask(updateMask string) *ProjectsServicesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`.
type ProjectsServicesResourcePoliciesBatchUpdateCall ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesResourcePoliciesBatchUpdateCall) Context ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesBatchUpdateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesResourcePoliciesBatchUpdateCall) Do ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesResponse.ServerResponse.H eader 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 (*ProjectsServicesResourcePoliciesBatchUpdateCall) Fields ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesResourcePoliciesBatchUpdateCall) Header ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsServicesResourcePoliciesCreateCall ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesResourcePoliciesCreateCall) Context ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesCreateCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesResourcePoliciesCreateCall) Do ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ResourcePolicy, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ResourcePolicy.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 (*ProjectsServicesResourcePoliciesCreateCall) Fields ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesResourcePoliciesCreateCall) Header ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsServicesResourcePoliciesDeleteCall ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesResourcePoliciesDeleteCall) Context ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesDeleteCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesResourcePoliciesDeleteCall) Do ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.delete" call. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.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 (*ProjectsServicesResourcePoliciesDeleteCall) Etag ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesDeleteCall) Etag(etag string) *ProjectsServicesResourcePoliciesDeleteCall
Etag sets the optional parameter "etag": The checksum to be validated against the current ResourcePolicy, to ensure the client has an up-to-date value before proceeding. This checksum is computed by the server based on the values of fields in the ResourcePolicy object, and can be obtained from the ResourcePolicy object received from the last CreateResourcePolicy, GetResourcePolicy, ListResourcePolicies, UpdateResourcePolicy, or BatchUpdateResourcePolicies call. This etag is strongly validated as defined by RFC 7232.
func (*ProjectsServicesResourcePoliciesDeleteCall) Fields ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesResourcePoliciesDeleteCall) Header ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsServicesResourcePoliciesGetCall ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesResourcePoliciesGetCall) Context ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesGetCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesResourcePoliciesGetCall) Do ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ResourcePolicy, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ResourcePolicy.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 (*ProjectsServicesResourcePoliciesGetCall) Fields ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesResourcePoliciesGetCall) Header ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsServicesResourcePoliciesGetCall) IfNoneMatch ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsServicesResourcePoliciesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsServicesResourcePoliciesListCall ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesResourcePoliciesListCall) Context ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesResourcePoliciesListCall) Do ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ListResourcePoliciesResponse, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ListResourcePoliciesResponse.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 (*ProjectsServicesResourcePoliciesListCall) Fields ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesResourcePoliciesListCall) Filter ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) Filter(filter string) *ProjectsServicesResourcePoliciesListCall
Filter sets the optional parameter "filter": Filters the results by the specified rule. For the exact syntax of this field, please consult the AIP-160 (https://google.aip.dev/160) standard. Currently, since the only fields in the ResourcePolicy resource are the scalar fields `enforcement_mode` and `target_resource`, this method does not support the traversal operator (`.`) or the has operator (`:`). Here are some examples of valid filters: * `enforcement_mode = ENFORCED` * `target_resource = "//oauth2.googleapis.com/projects/12345/oauthClients/" * `enforcement_mode = ENFORCED AND target_resource = "//oauth2.googleapis.com/projects/12345/oauthClients/"
func (*ProjectsServicesResourcePoliciesListCall) Header ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsServicesResourcePoliciesListCall) IfNoneMatch ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) IfNoneMatch(entityTag string) *ProjectsServicesResourcePoliciesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsServicesResourcePoliciesListCall) PageSize ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) PageSize(pageSize int64) *ProjectsServicesResourcePoliciesListCall
PageSize sets the optional parameter "pageSize": The maximum number of ResourcePolicy objects to return in the response. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
func (*ProjectsServicesResourcePoliciesListCall) PageToken ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) PageToken(pageToken string) *ProjectsServicesResourcePoliciesListCall
PageToken sets the optional parameter "pageToken": Token returned from a previous call to ListResourcePolicies indicating where in the set of ResourcePolicy objects to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListResourcePolicies must match the call that provided the page token; if they do not match, the result is undefined.
func (*ProjectsServicesResourcePoliciesListCall) Pages ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppcheckV1ListResourcePoliciesResponse) error) error
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.
type ProjectsServicesResourcePoliciesPatchCall ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsServicesResourcePoliciesPatchCall) Context ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesPatchCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsServicesResourcePoliciesPatchCall) Do ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1ResourcePolicy, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1ResourcePolicy.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 (*ProjectsServicesResourcePoliciesPatchCall) Fields ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsServicesResourcePoliciesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsServicesResourcePoliciesPatchCall) Header ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsServicesResourcePoliciesPatchCall) UpdateMask ¶ added in v0.188.0
func (c *ProjectsServicesResourcePoliciesPatchCall) UpdateMask(updateMask string) *ProjectsServicesResourcePoliciesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the ResourcePolicy to update. Example: `enforcement_mode`.
type ProjectsServicesResourcePoliciesService ¶ added in v0.188.0
type ProjectsServicesResourcePoliciesService struct {
// contains filtered or unexported fields
}
func NewProjectsServicesResourcePoliciesService ¶ added in v0.188.0
func NewProjectsServicesResourcePoliciesService(s *Service) *ProjectsServicesResourcePoliciesService
func (*ProjectsServicesResourcePoliciesService) BatchUpdate ¶ added in v0.188.0
func (r *ProjectsServicesResourcePoliciesService) BatchUpdate(parent string, googlefirebaseappcheckv1batchupdateresourcepoliciesrequest *GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest) *ProjectsServicesResourcePoliciesBatchUpdateCall
BatchUpdate: Atomically updates the specified ResourcePolicy configurations.
- parent: The parent service name, in the format ``` projects/{project_number}/services/{service_id} ``` The parent collection in the `name` field of any resource being updated must match this field, or the entire batch fails.
func (*ProjectsServicesResourcePoliciesService) Create ¶ added in v0.188.0
func (r *ProjectsServicesResourcePoliciesService) Create(parent string, googlefirebaseappcheckv1resourcepolicy *GoogleFirebaseAppcheckV1ResourcePolicy) *ProjectsServicesResourcePoliciesCreateCall
Create: Creates the specified ResourcePolicy configuration.
- parent: The relative resource name of the parent Service in which the specified ResourcePolicy will be created, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS).
func (*ProjectsServicesResourcePoliciesService) Delete ¶ added in v0.188.0
func (r *ProjectsServicesResourcePoliciesService) Delete(name string) *ProjectsServicesResourcePoliciesDeleteCall
Delete: Deletes the specified ResourcePolicy configuration.
- name: The relative resource name of the ResourcePolicy to delete, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_ policy_id} ```.
func (*ProjectsServicesResourcePoliciesService) Get ¶ added in v0.188.0
func (r *ProjectsServicesResourcePoliciesService) Get(name string) *ProjectsServicesResourcePoliciesGetCall
Get: Gets the requested ResourcePolicy configuration.
- name: The relative resource name of the ResourcePolicy to retrieve, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_ policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS).
func (*ProjectsServicesResourcePoliciesService) List ¶ added in v0.188.0
func (r *ProjectsServicesResourcePoliciesService) List(parent string) *ProjectsServicesResourcePoliciesListCall
List: Lists all ResourcePolicy configurations for the specified project and service.
- parent: The relative resource name of the parent Service for which to list each associated ResourcePolicy, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS).
func (*ProjectsServicesResourcePoliciesService) Patch ¶ added in v0.188.0
func (r *ProjectsServicesResourcePoliciesService) Patch(name string, googlefirebaseappcheckv1resourcepolicy *GoogleFirebaseAppcheckV1ResourcePolicy) *ProjectsServicesResourcePoliciesPatchCall
Patch: Updates the specified ResourcePolicy configuration.
- name: Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_ policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.
type ProjectsServicesService ¶
type ProjectsServicesService struct { ResourcePolicies *ProjectsServicesResourcePoliciesService // contains filtered or unexported fields }
func NewProjectsServicesService ¶
func NewProjectsServicesService(s *Service) *ProjectsServicesService
func (*ProjectsServicesService) BatchUpdate ¶
func (r *ProjectsServicesService) BatchUpdate(parent string, googlefirebaseappcheckv1batchupdateservicesrequest *GoogleFirebaseAppcheckV1BatchUpdateServicesRequest) *ProjectsServicesBatchUpdateCall
BatchUpdate: Atomically updates the specified Service configurations.
- parent: The parent project name shared by all Service configurations being updated, in the format ``` projects/{project_number} ``` The parent collection in the `name` field of any resource being updated must match this field, or the entire batch fails.
func (*ProjectsServicesService) Get ¶
func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall
Get: Gets the Service configuration for the specified service name.
- name: The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore).
func (*ProjectsServicesService) List ¶
func (r *ProjectsServicesService) List(parent string) *ProjectsServicesListCall
List: Lists all Service configurations for the specified project. Only Services which were explicitly configured using UpdateService or BatchUpdateServices will be returned.
- parent: The relative resource name of the parent project for which to list each associated Service, in the format: ``` projects/{project_number} ```.
func (*ProjectsServicesService) Patch ¶
func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1service *GoogleFirebaseAppcheckV1Service) *ProjectsServicesPatchCall
Patch: Updates the specified Service configuration.
- name: The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore).
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Jwks *JwksService OauthClients *OauthClientsService Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.