OAuth2 scopes used by this API.
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" )
GoogleFirebaseAppcheckV1betaAppAttestConfig: 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/v1beta1/projects.iosApps/patch).
type GoogleFirebaseAppcheckV1betaAppAttestConfig 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaAppAttestConfig) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaAppCheckToken: Encapsulates an *App Check token*, which are used to access Firebase services protected by App Check.
type GoogleFirebaseAppcheckV1betaAppCheckToken struct { // AttestationToken: An 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. AttestationToken string `json:"attestationToken,omitempty"` // Token: An 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. 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. "AttestationToken") 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. "AttestationToken") 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaAppCheckToken) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaAttestationTokenResponse: Encapsulates an *App Check token*, which are used to access Firebase services protected by App Check.
type GoogleFirebaseAppcheckV1betaAttestationTokenResponse struct { // AttestationToken: An 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. AttestationToken string `json:"attestationToken,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"` // ForceSendFields is a list of field names (e.g. "AttestationToken") 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. "AttestationToken") 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaAttestationTokenResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse: Response message for the BatchGetAppAttestConfigs method.
type GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse struct { // Configs: AppAttestConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1betaAppAttestConfig `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse: Response message for the BatchGetDeviceCheckConfigs method.
type GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse struct { // Configs: DeviceCheckConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1betaDeviceCheckConfig `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse: Response message for the BatchGetPlayIntegrityConfigs method.
type GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse struct { // Configs: PlayIntegrityConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1betaPlayIntegrityConfig `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse: Response message for the BatchGetRecaptchaConfigs method.
type GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse struct { // Configs: RecaptchaConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1betaRecaptchaConfig `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse: Response message for the BatchGetRecaptchaEnterpriseConfigs method.
type GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse struct { // Configs: RecaptchaEnterpriseConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse: Response message for the BatchGetRecaptchaV3Configs method.
type GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse struct { // Configs: RecaptchaV3Configs retrieved. Configs []*GoogleFirebaseAppcheckV1betaRecaptchaV3Config `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse: Response message for the BatchGetSafetyNetConfigs method.
type GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse struct { // Configs: SafetyNetConfigs retrieved. Configs []*GoogleFirebaseAppcheckV1betaSafetyNetConfig `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest: Request message for the BatchUpdateResourcePolicies method.
type GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest struct { // Requests: Required. The request messages specifying the ResourcePolicy // objects to update. A maximum of 100 objects can be updated in a batch. Requests []*GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse: Response message for the BatchUpdateResourcePolicies method.
type GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse struct { // ResourcePolicies: ResourcePolicy objects after the updates have been // applied. ResourcePolicies []*GoogleFirebaseAppcheckV1betaResourcePolicy `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest: Request message for the BatchUpdateServices method.
type GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest struct { // Requests: Required. The request messages specifying the Services to update. // A maximum of 100 objects can be updated in a batch. Requests []*GoogleFirebaseAppcheckV1betaUpdateServiceRequest `json:"requests,omitempty"` // UpdateMask: Optional. A comma-separated list of names of fields in the // Services to update. Example: `display_name`. If this field is present, the // `update_mask` field in the UpdateServiceRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse: Response message for the BatchUpdateServices method.
type GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse struct { // Services: Service objects after the updates have been applied. Services []*GoogleFirebaseAppcheckV1betaService `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaDebugToken: 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.
type GoogleFirebaseAppcheckV1betaDebugToken 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaDebugToken) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaDeviceCheckConfig: 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/v1beta1/projects.iosApps/patch).
type GoogleFirebaseAppcheckV1betaDeviceCheckConfig 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaDeviceCheckConfig) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest: Request message for the ExchangeAppAttestAssertion method.
type GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest: Request message for the ExchangeAppAttestAttestation method.
type GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse: Response message for the ExchangeAppAttestAttestation method.
type GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse struct { // AppCheckToken: Encapsulates an App Check token. AppCheckToken *GoogleFirebaseAppcheckV1betaAppCheckToken `json:"appCheckToken,omitempty"` // Artifact: An artifact that can be used in future calls to // ExchangeAppAttestAssertion. Artifact string `json:"artifact,omitempty"` // AttestationToken: Encapsulates an App Check token. AttestationToken *GoogleFirebaseAppcheckV1betaAttestationTokenResponse `json:"attestationToken,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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest: Request message for the ExchangeCustomToken method.
type GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest: Request message for the ExchangeDebugToken method.
type GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest: Request message for the ExchangeDeviceCheckToken method.
type GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest: Request message for the ExchangePlayIntegrityToken method.
type GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest: Request message for the ExchangeRecaptchaEnterpriseToken method.
type GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest: Request message for the ExchangeRecaptchaToken method.
type GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest struct { // RecaptchaToken: Required. The reCAPTCHA token as returned by the reCAPTCHA // v3 JavaScript API (https://developers.google.com/recaptcha/docs/v3). RecaptchaToken string `json:"recaptchaToken,omitempty"` // ForceSendFields is a list of field names (e.g. "RecaptchaToken") 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. "RecaptchaToken") 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest: Request message for the ExchangeRecaptchaV3Token method.
type GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest: Request message for the ExchangeSafetyNetToken method.
type GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest: Request message for the GenerateAppAttestChallenge method.
type GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest struct { }
GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse: Response message for the GenerateAppAttestChallenge method.
type GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest: Request message for the GeneratePlayIntegrityChallenge method.
type GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest struct { }
GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse: Response message for the GeneratePlayIntegrityChallenge method.
type GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaListDebugTokensResponse: Response message for the ListDebugTokens method.
type GoogleFirebaseAppcheckV1betaListDebugTokensResponse struct { // DebugTokens: The DebugTokens retrieved. DebugTokens []*GoogleFirebaseAppcheckV1betaDebugToken `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaListDebugTokensResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse: Response message for the ListResourcePolicies method.
type GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse 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 []*GoogleFirebaseAppcheckV1betaResourcePolicy `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaListServicesResponse: Response message for the ListServices method.
type GoogleFirebaseAppcheckV1betaListServicesResponse 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 []*GoogleFirebaseAppcheckV1betaService `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaListServicesResponse) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaPlayIntegrityConfig: 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).
type GoogleFirebaseAppcheckV1betaPlayIntegrityConfig 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaPublicJwk: 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).
type GoogleFirebaseAppcheckV1betaPublicJwk 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaPublicJwk) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaPublicJwkSet: 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.
type GoogleFirebaseAppcheckV1betaPublicJwkSet struct { // Keys: The set of public keys. See section 5.1 of RFC 7517 // (https://tools.ietf.org/html/rfc7517#section-5). Keys []*GoogleFirebaseAppcheckV1betaPublicJwk `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaPublicJwkSet) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaRecaptchaConfig: An app's reCAPTCHA v3 configuration object. This configuration is used by ExchangeRecaptchaToken to validate reCAPTCHA tokens issued to apps by reCAPTCHA v3. It also controls certain properties of the returned `AppCheckToken`, such as its ttl.
type GoogleFirebaseAppcheckV1betaRecaptchaConfig struct { // Name: Required. The relative resource name of the reCAPTCHA v3 configuration // object, in the format: ``` // projects/{project_number}/apps/{app_id}/recaptchaConfig ``` 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaRecaptchaConfig) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig: 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.
type GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaRecaptchaV3Config: 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.
type GoogleFirebaseAppcheckV1betaRecaptchaV3Config 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaRecaptchaV3Config) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaResourcePolicy: 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.
type GoogleFirebaseAppcheckV1betaResourcePolicy struct { // EnforcementMode: Required. The App Check enforcement mode for this resource. // This will override the EnforcementMode setting on the parent 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. 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaResourcePolicy) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaSafetyNetConfig: 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/v1beta1/projects.androidApps.sha/create).
type GoogleFirebaseAppcheckV1betaSafetyNetConfig 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaSafetyNetConfig) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaService: The enforcement configuration for a Firebase service supported by App Check.
type GoogleFirebaseAppcheckV1betaService 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"` // 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. 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) * // `identitytoolkit.googleapis.com` (Firebase Authentication with Identity // Platform) Name string `json:"name,omitempty"` // UpdateTime: Output only. Timestamp when this service 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaService) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest: Request message for the UpdateResourcePolicy method as well as an individual update message for the BatchUpdateResourcePolicies method.
type GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest 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 *GoogleFirebaseAppcheckV1betaResourcePolicy `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaUpdateServiceRequest: Request message for the UpdateService method as well as an individual update message for the BatchUpdateServices method.
type GoogleFirebaseAppcheckV1betaUpdateServiceRequest 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) * // `identitytoolkit.googleapis.com` (Firebase Authentication with Identity // Platform) For Firebase Authentication to work with App Check, you must first // upgrade to Firebase Authentication with Identity Platform // (https://firebase.google.com/docs/auth#identity-platform). Service *GoogleFirebaseAppcheckV1betaService `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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaUpdateServiceRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest: Request message for the VerifyAppCheckToken method.
type GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest struct { // AppCheckToken: Required. The App Check token to verify. App Check tokens // exchanged from the SafetyNet provider are not supported; an HTTP 400 error // will be returned. AppCheckToken string `json:"appCheckToken,omitempty"` // 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest) MarshalJSON() ([]byte, error)
GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse: Response message for the VerifyAppCheckToken method.
type GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse struct { // AlreadyConsumed: Whether this token was already consumed. If this is the // first time this method has seen the given App Check token, this field will // be omitted from the response. The given token will then be marked as // `already_consumed` (set to `true`) for all future invocations of this method // for that token. Note that if the given App Check token is invalid, an HTTP // 403 error is returned instead of a response containing this field, // regardless whether the token was already consumed. AlreadyConsumed bool `json:"alreadyConsumed,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AlreadyConsumed") 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. "AlreadyConsumed") 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:"-"` }
func (s *GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse) MarshalJSON() ([]byte, error)
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 GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
type JwksGetCall struct {
// contains filtered or unexported fields
}
func (c *JwksGetCall) Context(ctx context.Context) *JwksGetCall
Context sets the context to be used in this call's Do method.
func (c *JwksGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaPublicJwkSet, error)
Do executes the "firebaseappcheck.jwks.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaPublicJwkSet.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *JwksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewJwksService(s *Service) *JwksService
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.
type OauthClientsExchangeAppAttestAssertionCall struct {
// contains filtered or unexported fields
}
func (c *OauthClientsExchangeAppAttestAssertionCall) Context(ctx context.Context) *OauthClientsExchangeAppAttestAssertionCall
Context sets the context to be used in this call's Do method.
func (c *OauthClientsExchangeAppAttestAssertionCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.oauthClients.exchangeAppAttestAssertion" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *OauthClientsExchangeAppAttestAttestationCall) Context(ctx context.Context) *OauthClientsExchangeAppAttestAttestationCall
Context sets the context to be used in this call's Do method.
func (c *OauthClientsExchangeAppAttestAttestationCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse, error)
Do executes the "firebaseappcheck.oauthClients.exchangeAppAttestAttestation" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *OauthClientsExchangeDebugTokenCall) Context(ctx context.Context) *OauthClientsExchangeDebugTokenCall
Context sets the context to be used in this call's Do method.
func (c *OauthClientsExchangeDebugTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.oauthClients.exchangeDebugToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *OauthClientsGenerateAppAttestChallengeCall) Context(ctx context.Context) *OauthClientsGenerateAppAttestChallengeCall
Context sets the context to be used in this call's Do method.
func (c *OauthClientsGenerateAppAttestChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse, error)
Do executes the "firebaseappcheck.oauthClients.generateAppAttestChallenge" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse.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 (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 (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 struct {
// contains filtered or unexported fields
}
func NewOauthClientsService(s *Service) *OauthClientsService
func (r *OauthClientsService) ExchangeAppAttestAssertion(appid string, googlefirebaseappcheckv1betaexchangeappattestassertionrequest *GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest) *OauthClientsExchangeAppAttestAssertionCall
ExchangeAppAttestAssertion: Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.
func (r *OauthClientsService) ExchangeAppAttestAttestation(appid string, googlefirebaseappcheckv1betaexchangeappattestattestationrequest *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest) *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).
func (r *OauthClientsService) ExchangeDebugToken(appid string, googlefirebaseappcheckv1betaexchangedebugtokenrequest *GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest) *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.
func (r *OauthClientsService) GenerateAppAttestChallenge(appid string, googlefirebaseappcheckv1betagenerateappattestchallengerequest *GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest) *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.
type ProjectsAppsAppAttestConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsAppAttestConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.appAttestConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetAppAttestConfigsResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsAppAttestConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsAppAttestConfigGetCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsAppAttestConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppAttestConfig, error)
Do executes the "firebaseappcheck.projects.apps.appAttestConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppAttestConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsAppAttestConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsAppAttestConfigPatchCall) Context(ctx context.Context) *ProjectsAppsAppAttestConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsAppAttestConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppAttestConfig, error)
Do executes the "firebaseappcheck.projects.apps.appAttestConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppAttestConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsAppAttestConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsAppAttestConfigService(s *Service) *ProjectsAppsAppAttestConfigService
func (r *ProjectsAppsAppAttestConfigService) BatchGet(parent string) *ProjectsAppsAppAttestConfigBatchGetCall
BatchGet: Atomically gets the AppAttestConfigs for the specified list of apps.
func (r *ProjectsAppsAppAttestConfigService) Get(name string) *ProjectsAppsAppAttestConfigGetCall
Get: Gets the AppAttestConfig for the specified app.
func (r *ProjectsAppsAppAttestConfigService) Patch(name string, googlefirebaseappcheckv1betaappattestconfig *GoogleFirebaseAppcheckV1betaAppAttestConfig) *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.
type ProjectsAppsDebugTokensCreateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDebugTokensCreateCall) Context(ctx context.Context) *ProjectsAppsDebugTokensCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDebugTokensCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaDebugToken, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaDebugToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDebugTokensDeleteCall) Context(ctx context.Context) *ProjectsAppsDebugTokensDeleteCall
Context sets the context to be used in this call's Do method.
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 (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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDebugTokensGetCall) Context(ctx context.Context) *ProjectsAppsDebugTokensGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDebugTokensGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaDebugToken, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaDebugToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsDebugTokensGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDebugTokensListCall) Context(ctx context.Context) *ProjectsAppsDebugTokensListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDebugTokensListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaListDebugTokensResponse, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaListDebugTokensResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsDebugTokensListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 (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 (c *ProjectsAppsDebugTokensListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppcheckV1betaListDebugTokensResponse) 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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDebugTokensPatchCall) Context(ctx context.Context) *ProjectsAppsDebugTokensPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDebugTokensPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaDebugToken, error)
Do executes the "firebaseappcheck.projects.apps.debugTokens.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaDebugToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsDebugTokensPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsDebugTokensService(s *Service) *ProjectsAppsDebugTokensService
func (r *ProjectsAppsDebugTokensService) Create(parent string, googlefirebaseappcheckv1betadebugtoken *GoogleFirebaseAppcheckV1betaDebugToken) *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.
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.
func (r *ProjectsAppsDebugTokensService) Get(name string) *ProjectsAppsDebugTokensGetCall
Get: Gets the specified DebugToken. For security reasons, the `token` field is never populated in the response.
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.
func (r *ProjectsAppsDebugTokensService) Patch(name string, googlefirebaseappcheckv1betadebugtoken *GoogleFirebaseAppcheckV1betaDebugToken) *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.
type ProjectsAppsDeviceCheckConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.deviceCheckConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetDeviceCheckConfigsResponse.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 (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 (c *ProjectsAppsDeviceCheckConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDeviceCheckConfigGetCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDeviceCheckConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaDeviceCheckConfig, error)
Do executes the "firebaseappcheck.projects.apps.deviceCheckConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaDeviceCheckConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsDeviceCheckConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsDeviceCheckConfigPatchCall) Context(ctx context.Context) *ProjectsAppsDeviceCheckConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsDeviceCheckConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaDeviceCheckConfig, error)
Do executes the "firebaseappcheck.projects.apps.deviceCheckConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaDeviceCheckConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsDeviceCheckConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsDeviceCheckConfigService(s *Service) *ProjectsAppsDeviceCheckConfigService
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.
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.
func (r *ProjectsAppsDeviceCheckConfigService) Patch(name string, googlefirebaseappcheckv1betadevicecheckconfig *GoogleFirebaseAppcheckV1betaDeviceCheckConfig) *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.
type ProjectsAppsExchangeAppAttestAssertionCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeAppAttestAssertionCall) Context(ctx context.Context) *ProjectsAppsExchangeAppAttestAssertionCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeAppAttestAssertionCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeAppAttestAssertion" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeAppAttestAttestationCall) Context(ctx context.Context) *ProjectsAppsExchangeAppAttestAttestationCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeAppAttestAttestationCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse, error)
Do executes the "firebaseappcheck.projects.apps.exchangeAppAttestAttestation" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeCustomTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeCustomTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeCustomTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeCustomToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeDebugTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeDebugTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeDebugTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeDebugToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeDeviceCheckTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeDeviceCheckTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeDeviceCheckToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Context(ctx context.Context) *ProjectsAppsExchangePlayIntegrityTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangePlayIntegrityTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangePlayIntegrityToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeRecaptchaEnterpriseToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeRecaptchaTokenCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeRecaptchaTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeRecaptchaTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeRecaptchaToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsAppsExchangeRecaptchaTokenCall) Fields(s ...googleapi.Field) *ProjectsAppsExchangeRecaptchaTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsAppsExchangeRecaptchaTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsAppsExchangeRecaptchaV3TokenCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Context(ctx context.Context) *ProjectsAppsExchangeRecaptchaV3TokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeRecaptchaV3TokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeRecaptchaV3Token" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsExchangeSafetyNetTokenCall) Context(ctx context.Context) *ProjectsAppsExchangeSafetyNetTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsExchangeSafetyNetTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaAppCheckToken, error)
Do executes the "firebaseappcheck.projects.apps.exchangeSafetyNetToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaAppCheckToken.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsGenerateAppAttestChallengeCall) Context(ctx context.Context) *ProjectsAppsGenerateAppAttestChallengeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsGenerateAppAttestChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse, error)
Do executes the "firebaseappcheck.projects.apps.generateAppAttestChallenge" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeResponse.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 (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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Context(ctx context.Context) *ProjectsAppsGeneratePlayIntegrityChallengeCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsGeneratePlayIntegrityChallengeCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse, error)
Do executes the "firebaseappcheck.projects.apps.generatePlayIntegrityChallenge" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse.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 (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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.playIntegrityConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetPlayIntegrityConfigsResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsPlayIntegrityConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsPlayIntegrityConfigGetCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsPlayIntegrityConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaPlayIntegrityConfig, error)
Do executes the "firebaseappcheck.projects.apps.playIntegrityConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsPlayIntegrityConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Context(ctx context.Context) *ProjectsAppsPlayIntegrityConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsPlayIntegrityConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaPlayIntegrityConfig, error)
Do executes the "firebaseappcheck.projects.apps.playIntegrityConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsPlayIntegrityConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsPlayIntegrityConfigService(s *Service) *ProjectsAppsPlayIntegrityConfigService
func (r *ProjectsAppsPlayIntegrityConfigService) BatchGet(parent string) *ProjectsAppsPlayIntegrityConfigBatchGetCall
BatchGet: Atomically gets the PlayIntegrityConfigs for the specified list of apps.
func (r *ProjectsAppsPlayIntegrityConfigService) Get(name string) *ProjectsAppsPlayIntegrityConfigGetCall
Get: Gets the PlayIntegrityConfig for the specified app.
func (r *ProjectsAppsPlayIntegrityConfigService) Patch(name string, googlefirebaseappcheckv1betaplayintegrityconfig *GoogleFirebaseAppcheckV1betaPlayIntegrityConfig) *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.
type ProjectsAppsRecaptchaConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetRecaptchaConfigsResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsAppsRecaptchaConfigBatchGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaConfigBatchGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsAppsRecaptchaConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsAppsRecaptchaConfigBatchGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaConfigBatchGetCall
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 (c *ProjectsAppsRecaptchaConfigBatchGetCall) Names(names ...string) *ProjectsAppsRecaptchaConfigBatchGetCall
Names sets the optional parameter "names": Required. The relative resource names of the RecaptchaConfigs to retrieve, in the format: ``` projects/{project_number}/apps/{app_id}/recaptchaConfig ``` A maximum of 100 objects can be retrieved in a batch.
type ProjectsAppsRecaptchaConfigGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaRecaptchaConfig, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaRecaptchaConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsAppsRecaptchaConfigGetCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaConfigGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsAppsRecaptchaConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsAppsRecaptchaConfigGetCall) IfNoneMatch(entityTag string) *ProjectsAppsRecaptchaConfigGetCall
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 ProjectsAppsRecaptchaConfigPatchCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaRecaptchaConfig, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaRecaptchaConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsAppsRecaptchaConfigPatchCall) Fields(s ...googleapi.Field) *ProjectsAppsRecaptchaConfigPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsAppsRecaptchaConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (c *ProjectsAppsRecaptchaConfigPatchCall) UpdateMask(updateMask string) *ProjectsAppsRecaptchaConfigPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A comma-separated list of names of fields in the RecaptchaConfig to update. Example: `site_secret`.
type ProjectsAppsRecaptchaConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsAppsRecaptchaConfigService(s *Service) *ProjectsAppsRecaptchaConfigService
func (r *ProjectsAppsRecaptchaConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaConfigBatchGetCall
BatchGet: Atomically gets the RecaptchaConfigs for the specified list of apps. For security reasons, the `site_secret` field is never populated in the response.
func (r *ProjectsAppsRecaptchaConfigService) Get(name string) *ProjectsAppsRecaptchaConfigGetCall
Get: Gets the RecaptchaConfig for the specified app. For security reasons, the `site_secret` field is never populated in the response.
func (r *ProjectsAppsRecaptchaConfigService) Patch(name string, googlefirebaseappcheckv1betarecaptchaconfig *GoogleFirebaseAppcheckV1betaRecaptchaConfig) *ProjectsAppsRecaptchaConfigPatchCall
Patch: Updates the RecaptchaConfig for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA tokens for App Check tokens. For security reasons, the `site_secret` field is never populated in the response.
type ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetRecaptchaEnterpriseConfigsResponse.Serve rResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsRecaptchaEnterpriseConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaEnterpriseConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaEnterpriseConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsRecaptchaEnterpriseConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsRecaptchaEnterpriseConfigService(s *Service) *ProjectsAppsRecaptchaEnterpriseConfigService
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) BatchGet(parent string) *ProjectsAppsRecaptchaEnterpriseConfigBatchGetCall
BatchGet: Atomically gets the RecaptchaEnterpriseConfigs for the specified list of apps.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Get(name string) *ProjectsAppsRecaptchaEnterpriseConfigGetCall
Get: Gets the RecaptchaEnterpriseConfig for the specified app.
func (r *ProjectsAppsRecaptchaEnterpriseConfigService) Patch(name string, googlefirebaseappcheckv1betarecaptchaenterpriseconfig *GoogleFirebaseAppcheckV1betaRecaptchaEnterpriseConfig) *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.
type ProjectsAppsRecaptchaV3ConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaV3Config.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetRecaptchaV3ConfigsResponse.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 (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 (c *ProjectsAppsRecaptchaV3ConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaV3ConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaRecaptchaV3Config, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaV3Config.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaRecaptchaV3Config.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsRecaptchaV3ConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Context(ctx context.Context) *ProjectsAppsRecaptchaV3ConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaRecaptchaV3Config, error)
Do executes the "firebaseappcheck.projects.apps.recaptchaV3Config.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaRecaptchaV3Config.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsRecaptchaV3ConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsRecaptchaV3ConfigService(s *Service) *ProjectsAppsRecaptchaV3ConfigService
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.
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.
func (r *ProjectsAppsRecaptchaV3ConfigService) Patch(name string, googlefirebaseappcheckv1betarecaptchav3config *GoogleFirebaseAppcheckV1betaRecaptchaV3Config) *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.
type ProjectsAppsSafetyNetConfigBatchGetCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigBatchGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsSafetyNetConfigBatchGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse, error)
Do executes the "firebaseappcheck.projects.apps.safetyNetConfig.batchGet" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsSafetyNetConfigBatchGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsSafetyNetConfigGetCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsSafetyNetConfigGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaSafetyNetConfig, error)
Do executes the "firebaseappcheck.projects.apps.safetyNetConfig.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaSafetyNetConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsSafetyNetConfigGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsAppsSafetyNetConfigPatchCall) Context(ctx context.Context) *ProjectsAppsSafetyNetConfigPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsAppsSafetyNetConfigPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaSafetyNetConfig, error)
Do executes the "firebaseappcheck.projects.apps.safetyNetConfig.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaSafetyNetConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsAppsSafetyNetConfigPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsAppsSafetyNetConfigService(s *Service) *ProjectsAppsSafetyNetConfigService
func (r *ProjectsAppsSafetyNetConfigService) BatchGet(parent string) *ProjectsAppsSafetyNetConfigBatchGetCall
BatchGet: Atomically gets the SafetyNetConfigs for the specified list of apps.
func (r *ProjectsAppsSafetyNetConfigService) Get(name string) *ProjectsAppsSafetyNetConfigGetCall
Get: Gets the SafetyNetConfig for the specified app.
func (r *ProjectsAppsSafetyNetConfigService) Patch(name string, googlefirebaseappcheckv1betasafetynetconfig *GoogleFirebaseAppcheckV1betaSafetyNetConfig) *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.
type ProjectsAppsService struct { AppAttestConfig *ProjectsAppsAppAttestConfigService DebugTokens *ProjectsAppsDebugTokensService DeviceCheckConfig *ProjectsAppsDeviceCheckConfigService PlayIntegrityConfig *ProjectsAppsPlayIntegrityConfigService RecaptchaConfig *ProjectsAppsRecaptchaConfigService RecaptchaEnterpriseConfig *ProjectsAppsRecaptchaEnterpriseConfigService RecaptchaV3Config *ProjectsAppsRecaptchaV3ConfigService SafetyNetConfig *ProjectsAppsSafetyNetConfigService // contains filtered or unexported fields }
func NewProjectsAppsService(s *Service) *ProjectsAppsService
func (r *ProjectsAppsService) ExchangeAppAttestAssertion(appid string, googlefirebaseappcheckv1betaexchangeappattestassertionrequest *GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest) *ProjectsAppsExchangeAppAttestAssertionCall
ExchangeAppAttestAssertion: Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.
func (r *ProjectsAppsService) ExchangeAppAttestAttestation(appid string, googlefirebaseappcheckv1betaexchangeappattestattestationrequest *GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest) *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).
func (r *ProjectsAppsService) ExchangeCustomToken(appid string, googlefirebaseappcheckv1betaexchangecustomtokenrequest *GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest) *ProjectsAppsExchangeCustomTokenCall
ExchangeCustomToken: Validates a custom token signed using your project's Admin SDK service account credentials. If valid, returns an AppCheckToken.
func (r *ProjectsAppsService) ExchangeDebugToken(appid string, googlefirebaseappcheckv1betaexchangedebugtokenrequest *GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest) *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.
func (r *ProjectsAppsService) ExchangeDeviceCheckToken(appid string, googlefirebaseappcheckv1betaexchangedevicechecktokenrequest *GoogleFirebaseAppcheckV1betaExchangeDeviceCheckTokenRequest) *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.
func (r *ProjectsAppsService) ExchangePlayIntegrityToken(appid string, googlefirebaseappcheckv1betaexchangeplayintegritytokenrequest *GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest) *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.
func (r *ProjectsAppsService) ExchangeRecaptchaEnterpriseToken(appid string, googlefirebaseappcheckv1betaexchangerecaptchaenterprisetokenrequest *GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest) *ProjectsAppsExchangeRecaptchaEnterpriseTokenCall
ExchangeRecaptchaEnterpriseToken: Validates a reCAPTCHA Enterprise response token (https://cloud.google.com/recaptcha-enterprise/docs/create-assessment#retrieve_token). If valid, returns an App Check token AppCheckToken.
func (r *ProjectsAppsService) ExchangeRecaptchaToken(appid string, googlefirebaseappcheckv1betaexchangerecaptchatokenrequest *GoogleFirebaseAppcheckV1betaExchangeRecaptchaTokenRequest) *ProjectsAppsExchangeRecaptchaTokenCall
ExchangeRecaptchaToken: Validates a reCAPTCHA v3 response token (https://developers.google.com/recaptcha/docs/v3). If valid, returns an AppCheckToken.
func (r *ProjectsAppsService) ExchangeRecaptchaV3Token(appid string, googlefirebaseappcheckv1betaexchangerecaptchav3tokenrequest *GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest) *ProjectsAppsExchangeRecaptchaV3TokenCall
ExchangeRecaptchaV3Token: Validates a reCAPTCHA v3 response token (https://developers.google.com/recaptcha/docs/v3). If valid, returns an AppCheckToken.
func (r *ProjectsAppsService) ExchangeSafetyNetToken(appid string, googlefirebaseappcheckv1betaexchangesafetynettokenrequest *GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest) *ProjectsAppsExchangeSafetyNetTokenCall
ExchangeSafetyNetToken: Validates a SafetyNet token (https://developer.android.com/training/safetynet/attestation#request-attestation-step). If valid, returns an AppCheckToken.
func (r *ProjectsAppsService) GenerateAppAttestChallenge(appid string, googlefirebaseappcheckv1betagenerateappattestchallengerequest *GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest) *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.
func (r *ProjectsAppsService) GeneratePlayIntegrityChallenge(appid string, googlefirebaseappcheckv1betagenerateplayintegritychallengerequest *GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeRequest) *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.
type ProjectsService struct { Apps *ProjectsAppsService Services *ProjectsServicesService // contains filtered or unexported fields }
func NewProjectsService(s *Service) *ProjectsService
func (r *ProjectsService) VerifyAppCheckToken(projectid string, googlefirebaseappcheckv1betaverifyappchecktokenrequest *GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenRequest) *ProjectsVerifyAppCheckTokenCall
VerifyAppCheckToken: Verifies the given App Check token and returns token usage signals that callers may act upon. This method currently only supports App Check tokens exchanged from the following attestation providers: * Play Integrity API * App Attest * DeviceCheck (`DCDevice` tokens) * reCAPTCHA Enterprise * reCAPTCHA v3 * Custom providers App Check tokens exchanged from debug secrets are also supported. Calling this method on an otherwise valid App Check token with an unsupported provider will cause an HTTP 400 error to be returned. Returns whether this token was already consumed before this call. If this is the first time this method has seen the given App Check token, the field `already_consumed` in the response will be absent. The given token will then be marked as `already_consumed` (set to `true`) for all future invocations of this method for that token. Note that if the given App Check token is invalid, an HTTP 403 error is returned instead of a response object, regardless whether the token was already consumed. Currently, when evaluating whether an App Check token was already consumed, only calls to this exact method are counted. Use of the App Check token elsewhere will not mark the token as being already consumed. The caller must have the `firebaseappcheck.appCheckTokens.verify` (https://firebase.google.com/docs/projects/iam/permissions#app-check) permission to call this method. This permission is part of the Firebase App Check Token Verifier role (https://firebase.google.com/docs/projects/iam/roles-predefined-product#app-check).
type ProjectsServicesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesBatchUpdateCall) Context(ctx context.Context) *ProjectsServicesBatchUpdateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse, error)
Do executes the "firebaseappcheck.projects.services.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchUpdateServicesResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesGetCall) Context(ctx context.Context) *ProjectsServicesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaService, error)
Do executes the "firebaseappcheck.projects.services.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaService.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsServicesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesListCall) Context(ctx context.Context) *ProjectsServicesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaListServicesResponse, error)
Do executes the "firebaseappcheck.projects.services.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaListServicesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsServicesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 set to zero (or too large a value is specified), the server will impose its own limit.
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 (c *ProjectsServicesListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppcheckV1betaListServicesResponse) 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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesPatchCall) Context(ctx context.Context) *ProjectsServicesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaService, error)
Do executes the "firebaseappcheck.projects.services.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaService.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsServicesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesBatchUpdateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesResourcePoliciesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.batchUpdate" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse.ServerRespon se.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesResourcePoliciesCreateCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesCreateCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesResourcePoliciesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaResourcePolicy, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaResourcePolicy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesResourcePoliciesDeleteCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesDeleteCall
Context sets the context to be used in this call's Do method.
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 (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 (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 (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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesResourcePoliciesGetCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesGetCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesResourcePoliciesGetCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaResourcePolicy, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaResourcePolicy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsServicesResourcePoliciesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesResourcePoliciesListCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesListCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesResourcePoliciesListCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse.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 (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 (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 (c *ProjectsServicesResourcePoliciesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 (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 (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 (c *ProjectsServicesResourcePoliciesListCall) Pages(ctx context.Context, f func(*GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse) 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 struct {
// contains filtered or unexported fields
}
func (c *ProjectsServicesResourcePoliciesPatchCall) Context(ctx context.Context) *ProjectsServicesResourcePoliciesPatchCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsServicesResourcePoliciesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaResourcePolicy, error)
Do executes the "firebaseappcheck.projects.services.resourcePolicies.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaResourcePolicy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *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 (c *ProjectsServicesResourcePoliciesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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 struct {
// contains filtered or unexported fields
}
func NewProjectsServicesResourcePoliciesService(s *Service) *ProjectsServicesResourcePoliciesService
func (r *ProjectsServicesResourcePoliciesService) BatchUpdate(parent string, googlefirebaseappcheckv1betabatchupdateresourcepoliciesrequest *GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest) *ProjectsServicesResourcePoliciesBatchUpdateCall
BatchUpdate: Atomically updates the specified ResourcePolicy configurations.
func (r *ProjectsServicesResourcePoliciesService) Create(parent string, googlefirebaseappcheckv1betaresourcepolicy *GoogleFirebaseAppcheckV1betaResourcePolicy) *ProjectsServicesResourcePoliciesCreateCall
Create: Creates the specified ResourcePolicy configuration.
func (r *ProjectsServicesResourcePoliciesService) Delete(name string) *ProjectsServicesResourcePoliciesDeleteCall
Delete: Deletes the specified ResourcePolicy configuration.
func (r *ProjectsServicesResourcePoliciesService) Get(name string) *ProjectsServicesResourcePoliciesGetCall
Get: Gets the requested ResourcePolicy configuration.
func (r *ProjectsServicesResourcePoliciesService) List(parent string) *ProjectsServicesResourcePoliciesListCall
List: Lists all ResourcePolicy configurations for the specified project and service.
func (r *ProjectsServicesResourcePoliciesService) Patch(name string, googlefirebaseappcheckv1betaresourcepolicy *GoogleFirebaseAppcheckV1betaResourcePolicy) *ProjectsServicesResourcePoliciesPatchCall
Patch: Updates the specified ResourcePolicy configuration.
type ProjectsServicesService struct { ResourcePolicies *ProjectsServicesResourcePoliciesService // contains filtered or unexported fields }
func NewProjectsServicesService(s *Service) *ProjectsServicesService
func (r *ProjectsServicesService) BatchUpdate(parent string, googlefirebaseappcheckv1betabatchupdateservicesrequest *GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest) *ProjectsServicesBatchUpdateCall
BatchUpdate: Atomically updates the specified Service configurations.
func (r *ProjectsServicesService) Get(name string) *ProjectsServicesGetCall
Get: Gets the Service configuration for the specified service name.
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.
func (r *ProjectsServicesService) Patch(name string, googlefirebaseappcheckv1betaservice *GoogleFirebaseAppcheckV1betaService) *ProjectsServicesPatchCall
Patch: Updates the specified Service configuration.
type ProjectsVerifyAppCheckTokenCall struct {
// contains filtered or unexported fields
}
func (c *ProjectsVerifyAppCheckTokenCall) Context(ctx context.Context) *ProjectsVerifyAppCheckTokenCall
Context sets the context to be used in this call's Do method.
func (c *ProjectsVerifyAppCheckTokenCall) Do(opts ...googleapi.CallOption) (*GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse, error)
Do executes the "firebaseappcheck.projects.verifyAppCheckToken" call. Any non-2xx status code is an error. Response headers are in either *GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (c *ProjectsVerifyAppCheckTokenCall) Fields(s ...googleapi.Field) *ProjectsVerifyAppCheckTokenCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (c *ProjectsVerifyAppCheckTokenCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
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(client *http.Client) (*Service, error)
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(ctx context.Context, opts ...option.ClientOption) (*Service, error)
NewService creates a new Service.