Documentation ¶
Overview ¶
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package alpha defines operations in the declarative SDK.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package identitytoolkit provides types and functions for representing identitytoolkit GCP resources.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLConfigSchema() *dcl.Schema
- func DCLOAuthIdpConfigSchema() *dcl.Schema
- func DCLTenantOAuthIdpConfigSchema() *dcl.Schema
- func DCLTenantSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyConfig(ctx context.Context, rawDesired *Config, opts ...dcl.ApplyOption) (*Config, error)
- func (c *Client) ApplyOAuthIdpConfig(ctx context.Context, rawDesired *OAuthIdpConfig, opts ...dcl.ApplyOption) (*OAuthIdpConfig, error)
- func (c *Client) ApplyTenant(ctx context.Context, rawDesired *Tenant, opts ...dcl.ApplyOption) (*Tenant, error)
- func (c *Client) ApplyTenantOAuthIdpConfig(ctx context.Context, rawDesired *TenantOAuthIdpConfig, opts ...dcl.ApplyOption) (*TenantOAuthIdpConfig, error)
- func (c *Client) DeleteAllOAuthIdpConfig(ctx context.Context, project string, filter func(*OAuthIdpConfig) bool) error
- func (c *Client) DeleteAllTenant(ctx context.Context, project string, filter func(*Tenant) bool) error
- func (c *Client) DeleteAllTenantOAuthIdpConfig(ctx context.Context, project, tenant string, ...) error
- func (c *Client) DeleteOAuthIdpConfig(ctx context.Context, r *OAuthIdpConfig) error
- func (c *Client) DeleteTenant(ctx context.Context, r *Tenant) error
- func (c *Client) DeleteTenantOAuthIdpConfig(ctx context.Context, r *TenantOAuthIdpConfig) error
- func (c *Client) GetConfig(ctx context.Context, r *Config) (*Config, error)
- func (c *Client) GetOAuthIdpConfig(ctx context.Context, r *OAuthIdpConfig) (*OAuthIdpConfig, error)
- func (c *Client) GetTenant(ctx context.Context, r *Tenant) (*Tenant, error)
- func (c *Client) GetTenantOAuthIdpConfig(ctx context.Context, r *TenantOAuthIdpConfig) (*TenantOAuthIdpConfig, error)
- func (c *Client) ListOAuthIdpConfig(ctx context.Context, project string) (*OAuthIdpConfigList, error)
- func (c *Client) ListOAuthIdpConfigWithMaxResults(ctx context.Context, project string, pageSize int32) (*OAuthIdpConfigList, error)
- func (c *Client) ListTenant(ctx context.Context, project string) (*TenantList, error)
- func (c *Client) ListTenantOAuthIdpConfig(ctx context.Context, project, tenant string) (*TenantOAuthIdpConfigList, error)
- func (c *Client) ListTenantOAuthIdpConfigWithMaxResults(ctx context.Context, project, tenant string, pageSize int32) (*TenantOAuthIdpConfigList, error)
- func (c *Client) ListTenantWithMaxResults(ctx context.Context, project string, pageSize int32) (*TenantList, error)
- type Config
- type ConfigBlockingFunctions
- type ConfigBlockingFunctionsTriggers
- type ConfigClient
- type ConfigClientPermissions
- type ConfigList
- type ConfigMfa
- type ConfigMfaStateEnum
- type ConfigMonitoring
- type ConfigMonitoringRequestLogging
- type ConfigMultiTenant
- type ConfigNotification
- type ConfigNotificationSendEmail
- type ConfigNotificationSendEmailChangeEmailTemplate
- func (r *ConfigNotificationSendEmailChangeEmailTemplate) Empty() bool
- func (r *ConfigNotificationSendEmailChangeEmailTemplate) HashCode() string
- func (r *ConfigNotificationSendEmailChangeEmailTemplate) String() string
- func (r *ConfigNotificationSendEmailChangeEmailTemplate) UnmarshalJSON(data []byte) error
- type ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum
- type ConfigNotificationSendEmailDnsInfo
- type ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum
- type ConfigNotificationSendEmailMethodEnum
- type ConfigNotificationSendEmailResetPasswordTemplate
- func (r *ConfigNotificationSendEmailResetPasswordTemplate) Empty() bool
- func (r *ConfigNotificationSendEmailResetPasswordTemplate) HashCode() string
- func (r *ConfigNotificationSendEmailResetPasswordTemplate) String() string
- func (r *ConfigNotificationSendEmailResetPasswordTemplate) UnmarshalJSON(data []byte) error
- type ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum
- type ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate
- func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) Empty() bool
- func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) HashCode() string
- func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) String() string
- func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) UnmarshalJSON(data []byte) error
- type ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum
- type ConfigNotificationSendEmailSmtp
- type ConfigNotificationSendEmailSmtpSecurityModeEnum
- type ConfigNotificationSendEmailVerifyEmailTemplate
- func (r *ConfigNotificationSendEmailVerifyEmailTemplate) Empty() bool
- func (r *ConfigNotificationSendEmailVerifyEmailTemplate) HashCode() string
- func (r *ConfigNotificationSendEmailVerifyEmailTemplate) String() string
- func (r *ConfigNotificationSendEmailVerifyEmailTemplate) UnmarshalJSON(data []byte) error
- type ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum
- type ConfigNotificationSendSms
- type ConfigNotificationSendSmsSmsTemplate
- type ConfigQuota
- type ConfigQuotaSignUpQuotaConfig
- type ConfigSignIn
- type ConfigSignInAnonymous
- type ConfigSignInEmail
- type ConfigSignInEmailHashConfig
- type ConfigSignInEmailHashConfigAlgorithmEnum
- type ConfigSignInHashConfig
- type ConfigSignInHashConfigAlgorithmEnum
- type ConfigSignInPhoneNumber
- type ConfigSubtypeEnum
- type OAuthIdpConfig
- type OAuthIdpConfigList
- type OAuthIdpConfigResponseType
- type Tenant
- type TenantList
- type TenantMfaConfig
- type TenantMfaConfigEnabledProvidersEnum
- type TenantMfaConfigStateEnum
- type TenantOAuthIdpConfig
- type TenantOAuthIdpConfigList
- type TenantOAuthIdpConfigResponseType
Constants ¶
const ConfigMaxPage = -1
const OAuthIdpConfigMaxPage = -1
const TenantMaxPage = -1
const TenantOAuthIdpConfigMaxPage = -1
Variables ¶
var YAML_config = []byte("info:\n title: IdentityToolkit/Config\n description: The IdentityToolkit Config resource\n x-dcl-struct-name: Config\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\n apply:\n description: The function used to apply information about a Config\n parameters:\n - name: Config\n required: true\n description: A full instance of a Config\ncomponents:\n schemas:\n Config:\n title: Config\n x-dcl-id: projects/{{project}}/config\n x-dcl-uses-state-hint: true\n x-dcl-parent-container: project\n x-dcl-has-create: false\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - project\n properties:\n authorizedDomains:\n type: array\n x-dcl-go-name: AuthorizedDomains\n description: List of domains authorized for OAuth redirects\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n blockingFunctions:\n type: object\n x-dcl-go-name: BlockingFunctions\n x-dcl-go-type: ConfigBlockingFunctions\n description: Configuration related to blocking functions.\n properties:\n triggers:\n type: object\n additionalProperties:\n type: object\n x-dcl-go-type: ConfigBlockingFunctionsTriggers\n properties:\n functionUri:\n type: string\n x-dcl-go-name: FunctionUri\n description: HTTP URI trigger for the Cloud Function.\n x-dcl-references:\n - resource: Cloudfunctions/Function\n field: httpsTrigger.url\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: When the trigger was changed.\n x-dcl-go-name: Triggers\n description: 'Map of Trigger to event type. Key should be one of the\n supported event types: \"beforeCreate\", \"beforeSignIn\"'\n client:\n type: object\n x-dcl-go-name: Client\n x-dcl-go-type: ConfigClient\n description: Options related to how clients making requests on behalf of\n a project should be configured.\n properties:\n apiKey:\n type: string\n x-dcl-go-name: ApiKey\n readOnly: true\n description: Output only. API key that can be used when making requests\n for this project.\n x-dcl-sensitive: true\n firebaseSubdomain:\n type: string\n x-dcl-go-name: FirebaseSubdomain\n readOnly: true\n description: Output only. Firebase subdomain.\n permissions:\n type: object\n x-dcl-go-name: Permissions\n x-dcl-go-type: ConfigClientPermissions\n description: Configuration related to restricting a user's ability to\n affect their account.\n properties:\n disabledUserDeletion:\n type: boolean\n x-dcl-go-name: DisabledUserDeletion\n description: When true, end users cannot delete their account on\n the associated project through any of our API methods\n disabledUserSignup:\n type: boolean\n x-dcl-go-name: DisabledUserSignup\n description: When true, end users cannot sign up for a new account\n on the associated project through any of our API methods\n mfa:\n type: object\n x-dcl-go-name: Mfa\n x-dcl-go-type: ConfigMfa\n description: Configuration for this project's multi-factor authentication,\n including whether it is active and what factors can be used for the second\n factor\n properties:\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ConfigMfaStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n monitoring:\n type: object\n x-dcl-go-name: Monitoring\n x-dcl-go-type: ConfigMonitoring\n description: Configuration related to monitoring project activity.\n properties:\n requestLogging:\n type: object\n x-dcl-go-name: RequestLogging\n x-dcl-go-type: ConfigMonitoringRequestLogging\n description: Configuration for logging requests made to this project\n to Stackdriver Logging\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether logging is enabled for this project or not.\n multiTenant:\n type: object\n x-dcl-go-name: MultiTenant\n x-dcl-go-type: ConfigMultiTenant\n description: Configuration related to multi-tenant functionality.\n properties:\n allowTenants:\n type: boolean\n x-dcl-go-name: AllowTenants\n description: Whether this project can have tenants or not.\n defaultTenantLocation:\n type: string\n x-dcl-go-name: DefaultTenantLocation\n description: The default cloud parent org or folder that the tenant\n project should be created under. The parent resource name should be\n in the format of \"<type>/<number>\", such as \"folders/123\" or \"organizations/456\".\n If the value is not set, the tenant will be created under the same\n organization or folder as the agent project.\n x-dcl-references:\n - resource: Cloudresourcemanager/Folder\n field: name\n - resource: Cloudresourcemanager/Organization\n field: name\n notification:\n type: object\n x-dcl-go-name: Notification\n x-dcl-go-type: ConfigNotification\n description: Configuration related to sending notifications to users.\n properties:\n defaultLocale:\n type: string\n x-dcl-go-name: DefaultLocale\n description: Default locale used for email and SMS in IETF BCP 47 format.\n sendEmail:\n type: object\n x-dcl-go-name: SendEmail\n x-dcl-go-type: ConfigNotificationSendEmail\n description: Options for email sending.\n properties:\n callbackUri:\n type: string\n x-dcl-go-name: CallbackUri\n description: action url in email template.\n changeEmailTemplate:\n type: object\n x-dcl-go-name: ChangeEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplate\n description: Email template for change email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n dnsInfo:\n type: object\n x-dcl-go-name: DnsInfo\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfo\n description: Information of custom domain DNS verification.\n properties:\n customDomain:\n type: string\n x-dcl-go-name: CustomDomain\n readOnly: true\n description: Output only. The applied verified custom domain.\n x-kubernetes-immutable: true\n customDomainState:\n type: string\n x-dcl-go-name: CustomDomainState\n x-dcl-go-type: ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum\n readOnly: true\n description: 'Output only. The current verification state of\n the custom domain. The custom domain will only be used once\n the domain verification is successful. Possible values: VERIFICATION_STATE_UNSPECIFIED,\n NOT_STARTED, IN_PROGRESS, FAILED, SUCCEEDED'\n x-kubernetes-immutable: true\n enum:\n - VERIFICATION_STATE_UNSPECIFIED\n - NOT_STARTED\n - IN_PROGRESS\n - FAILED\n - SUCCEEDED\n domainVerificationRequestTime:\n type: string\n format: date-time\n x-dcl-go-name: DomainVerificationRequestTime\n readOnly: true\n description: Output only. The timestamp of initial request for\n the current domain verification.\n x-kubernetes-immutable: true\n pendingCustomDomain:\n type: string\n x-dcl-go-name: PendingCustomDomain\n readOnly: true\n description: Output only. The custom domain that's to be verified.\n x-kubernetes-immutable: true\n useCustomDomain:\n type: boolean\n x-dcl-go-name: UseCustomDomain\n description: Whether to use custom domain.\n method:\n type: string\n x-dcl-go-name: Method\n x-dcl-go-type: ConfigNotificationSendEmailMethodEnum\n description: 'The method used for sending an email. Possible values:\n METHOD_UNSPECIFIED, DEFAULT, CUSTOM_SMTP'\n enum:\n - METHOD_UNSPECIFIED\n - DEFAULT\n - CUSTOM_SMTP\n resetPasswordTemplate:\n type: object\n x-dcl-go-name: ResetPasswordTemplate\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplate\n description: Email template for reset password\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n revertSecondFactorAdditionTemplate:\n type: object\n x-dcl-go-name: RevertSecondFactorAdditionTemplate\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate\n description: Email template for reverting second factor addition\n emails\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n smtp:\n type: object\n x-dcl-go-name: Smtp\n x-dcl-go-type: ConfigNotificationSendEmailSmtp\n description: Use a custom SMTP relay\n properties:\n host:\n type: string\n x-dcl-go-name: Host\n description: SMTP relay host\n password:\n type: string\n x-dcl-go-name: Password\n description: SMTP relay password\n x-dcl-sensitive: true\n x-dcl-mutable-unreadable: true\n port:\n type: integer\n format: int64\n x-dcl-go-name: Port\n description: SMTP relay port\n securityMode:\n type: string\n x-dcl-go-name: SecurityMode\n x-dcl-go-type: ConfigNotificationSendEmailSmtpSecurityModeEnum\n description: 'SMTP security mode. Possible values: SECURITY_MODE_UNSPECIFIED,\n SSL, START_TLS'\n enum:\n - SECURITY_MODE_UNSPECIFIED\n - SSL\n - START_TLS\n senderEmail:\n type: string\n x-dcl-go-name: SenderEmail\n description: Sender email for the SMTP relay\n username:\n type: string\n x-dcl-go-name: Username\n description: SMTP relay username\n verifyEmailTemplate:\n type: object\n x-dcl-go-name: VerifyEmailTemplate\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplate\n description: Email template for verify email\n properties:\n body:\n type: string\n x-dcl-go-name: Body\n description: Email body\n x-kubernetes-immutable: true\n bodyFormat:\n type: string\n x-dcl-go-name: BodyFormat\n x-dcl-go-type: ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum\n description: 'Email body format Possible values: BODY_FORMAT_UNSPECIFIED,\n PLAIN_TEXT, HTML'\n enum:\n - BODY_FORMAT_UNSPECIFIED\n - PLAIN_TEXT\n - HTML\n customized:\n type: boolean\n x-dcl-go-name: Customized\n readOnly: true\n description: Output only. Whether the body or subject of the\n email is customized.\n x-kubernetes-immutable: true\n replyTo:\n type: string\n x-dcl-go-name: ReplyTo\n description: Reply-to address\n senderDisplayName:\n type: string\n x-dcl-go-name: SenderDisplayName\n description: Sender display name\n senderLocalPart:\n type: string\n x-dcl-go-name: SenderLocalPart\n description: Local part of From address\n subject:\n type: string\n x-dcl-go-name: Subject\n description: Subject of the email\n sendSms:\n type: object\n x-dcl-go-name: SendSms\n x-dcl-go-type: ConfigNotificationSendSms\n description: Options for SMS sending.\n properties:\n smsTemplate:\n type: object\n x-dcl-go-name: SmsTemplate\n x-dcl-go-type: ConfigNotificationSendSmsSmsTemplate\n readOnly: true\n description: Output only. The template to use when sending an SMS.\n x-kubernetes-immutable: true\n properties:\n content:\n type: string\n x-dcl-go-name: Content\n readOnly: true\n description: 'Output only. The SMS''s content. Can contain the\n following placeholders which will be replaced with the appropriate\n values: %APP_NAME% - For Android or iOS apps, the app''s display\n name. For web apps, the domain hosting the application. %LOGIN_CODE%\n - The OOB code being sent in the SMS.'\n x-kubernetes-immutable: true\n useDeviceLocale:\n type: boolean\n x-dcl-go-name: UseDeviceLocale\n description: Whether to use the accept_language header for SMS.\n project:\n type: string\n x-dcl-go-name: Project\n description: The project of the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n quota:\n type: object\n x-dcl-go-name: Quota\n x-dcl-go-type: ConfigQuota\n description: Configuration related to quotas.\n properties:\n signUpQuotaConfig:\n type: object\n x-dcl-go-name: SignUpQuotaConfig\n x-dcl-go-type: ConfigQuotaSignUpQuotaConfig\n description: Quota for the Signup endpoint, if overwritten. Signup quota\n is measured in sign ups per project per hour per IP.\n properties:\n quota:\n type: integer\n format: int64\n x-dcl-go-name: Quota\n description: Corresponds to the 'refill_token_count' field in QuotaServer\n config\n quotaDuration:\n type: string\n x-dcl-go-name: QuotaDuration\n description: How long this quota will be active for\n startTime:\n type: string\n format: date-time\n x-dcl-go-name: StartTime\n description: When this quota will take affect\n signIn:\n type: object\n x-dcl-go-name: SignIn\n x-dcl-go-type: ConfigSignIn\n description: Configuration related to local sign in methods.\n properties:\n allowDuplicateEmails:\n type: boolean\n x-dcl-go-name: AllowDuplicateEmails\n description: Whether to allow more than one account to have the same\n email.\n anonymous:\n type: object\n x-dcl-go-name: Anonymous\n x-dcl-go-type: ConfigSignInAnonymous\n description: Configuration options related to authenticating an anonymous\n user.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether anonymous user auth is enabled for the project\n or not.\n email:\n type: object\n x-dcl-go-name: Email\n x-dcl-go-type: ConfigSignInEmail\n description: Configuration options related to authenticating a user\n by their email address.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether email auth is enabled for the project or not.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInEmailHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInEmailHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms\n used in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5,\n HMAC_SHA512, SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512,\n STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n See https://tools.ietf.org/html/rfc7914 for explanation of\n field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n passwordRequired:\n type: boolean\n x-dcl-go-name: PasswordRequired\n description: Whether a password is required for email auth or not.\n If true, both an email and password must be provided to sign in.\n If false, a user may sign in via either email/password or email\n link.\n hashConfig:\n type: object\n x-dcl-go-name: HashConfig\n x-dcl-go-type: ConfigSignInHashConfig\n readOnly: true\n description: Output only. Hash config information.\n properties:\n algorithm:\n type: string\n x-dcl-go-name: Algorithm\n x-dcl-go-type: ConfigSignInHashConfigAlgorithmEnum\n readOnly: true\n description: 'Output only. Different password hash algorithms used\n in Identity Toolkit. Possible values: HASH_ALGORITHM_UNSPECIFIED,\n HMAC_SHA256, HMAC_SHA1, HMAC_MD5, SCRYPT, PBKDF_SHA1, MD5, HMAC_SHA512,\n SHA1, BCRYPT, PBKDF2_SHA256, SHA256, SHA512, STANDARD_SCRYPT'\n enum:\n - HASH_ALGORITHM_UNSPECIFIED\n - HMAC_SHA256\n - HMAC_SHA1\n - HMAC_MD5\n - SCRYPT\n - PBKDF_SHA1\n - MD5\n - HMAC_SHA512\n - SHA1\n - BCRYPT\n - PBKDF2_SHA256\n - SHA256\n - SHA512\n - STANDARD_SCRYPT\n memoryCost:\n type: integer\n format: int64\n x-dcl-go-name: MemoryCost\n readOnly: true\n description: Output only. Memory cost for hash calculation. Used\n by scrypt and other similar password derivation algorithms. See\n https://tools.ietf.org/html/rfc7914 for explanation of field.\n rounds:\n type: integer\n format: int64\n x-dcl-go-name: Rounds\n readOnly: true\n description: Output only. How many rounds for hash calculation.\n Used by scrypt and other similar password derivation algorithms.\n saltSeparator:\n type: string\n x-dcl-go-name: SaltSeparator\n readOnly: true\n description: Output only. Non-printable character to be inserted\n between the salt and plain text password in base64.\n signerKey:\n type: string\n x-dcl-go-name: SignerKey\n readOnly: true\n description: Output only. Signer key in base64.\n x-dcl-sensitive: true\n phoneNumber:\n type: object\n x-dcl-go-name: PhoneNumber\n x-dcl-go-type: ConfigSignInPhoneNumber\n description: Configuration options related to authenticated a user by\n their phone number.\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Whether phone number auth is enabled for the project\n or not.\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of that can be used for phone auth testing.\n subtype:\n type: string\n x-dcl-go-name: Subtype\n x-dcl-go-type: ConfigSubtypeEnum\n readOnly: true\n description: 'Output only. The subtype of this config. Possible values:\n SUBTYPE_UNSPECIFIED, IDENTITY_PLATFORM, FIREBASE_AUTH'\n x-kubernetes-immutable: true\n enum:\n - SUBTYPE_UNSPECIFIED\n - IDENTITY_PLATFORM\n - FIREBASE_AUTH\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/config.yaml
var YAML_oauth_idp_config = []byte("info:\n title: IdentityToolkit/OAuthIdpConfig\n description: The IdentityToolkit OAuthIdpConfig resource\n x-dcl-struct-name: OAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n apply:\n description: The function used to apply information about a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n delete:\n description: The function used to delete a OAuthIdpConfig\n parameters:\n - name: OAuthIdpConfig\n required: true\n description: A full instance of a OAuthIdpConfig\n deleteAll:\n description: The function used to delete all OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many OAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n OAuthIdpConfig:\n title: OAuthIdpConfig\n x-dcl-id: projects/{{project}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - project\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: OAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/oauth_idp_config.yaml
var YAML_tenant = []byte("info:\n title: IdentityToolkit/Tenant\n description: The IdentityToolkit Tenant resource\n x-dcl-struct-name: Tenant\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n apply:\n description: The function used to apply information about a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n delete:\n description: The function used to delete a Tenant\n parameters:\n - name: Tenant\n required: true\n description: A full instance of a Tenant\n deleteAll:\n description: The function used to delete all Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Tenant\n parameters:\n - name: project\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Tenant:\n title: Tenant\n x-dcl-id: projects/{{project}}/tenants/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - project\n properties:\n allowPasswordSignup:\n type: boolean\n x-dcl-go-name: AllowPasswordSignup\n description: Whether to allow email/password user authentication.\n disableAuth:\n type: boolean\n x-dcl-go-name: DisableAuth\n description: Whether authentication is disabled for the tenant. If true,\n the users under the disabled tenant are not allowed to sign-in. Admins\n of the disabled tenant are not able to manage its users.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Display name of the tenant.\n enableAnonymousUser:\n type: boolean\n x-dcl-go-name: EnableAnonymousUser\n description: Whether to enable anonymous user authentication.\n enableEmailLinkSignin:\n type: boolean\n x-dcl-go-name: EnableEmailLinkSignin\n description: Whether to enable email link user authentication.\n mfaConfig:\n type: object\n x-dcl-go-name: MfaConfig\n x-dcl-go-type: TenantMfaConfig\n description: The tenant-level configuration of MFA options.\n properties:\n enabledProviders:\n type: array\n x-dcl-go-name: EnabledProviders\n description: A list of usable second factors for this project.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: TenantMfaConfigEnabledProvidersEnum\n enum:\n - PROVIDER_UNSPECIFIED\n - PHONE_SMS\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: TenantMfaConfigStateEnum\n description: 'Whether MultiFactor Authentication has been enabled for\n this project. Possible values: STATE_UNSPECIFIED, DISABLED, ENABLED,\n MANDATORY'\n enum:\n - STATE_UNSPECIFIED\n - DISABLED\n - ENABLED\n - MANDATORY\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\"'\n x-kubernetes-immutable: true\n x-dcl-server-generated-parameter: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n testPhoneNumbers:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: TestPhoneNumbers\n description: A map of <test phone number, fake code> pairs that can be used\n for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/)\n and a maximum of 10 pairs can be added (error will be thrown once exceeded).\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/tenant.yaml
var YAML_tenant_oauth_idp_config = []byte("info:\n title: IdentityToolkit/TenantOAuthIdpConfig\n description: The IdentityToolkit TenantOAuthIdpConfig resource\n x-dcl-struct-name: TenantOAuthIdpConfig\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n apply:\n description: The function used to apply information about a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n delete:\n description: The function used to delete a TenantOAuthIdpConfig\n parameters:\n - name: TenantOAuthIdpConfig\n required: true\n description: A full instance of a TenantOAuthIdpConfig\n deleteAll:\n description: The function used to delete all TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many TenantOAuthIdpConfig\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: tenant\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n TenantOAuthIdpConfig:\n title: TenantOAuthIdpConfig\n x-dcl-id: projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - project\n - tenant\n properties:\n clientId:\n type: string\n x-dcl-go-name: ClientId\n description: The client id of an OAuth client.\n clientSecret:\n type: string\n x-dcl-go-name: ClientSecret\n description: The client secret of the OAuth client, to enable OIDC code\n flow.\n x-dcl-sensitive: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: The config's display name set by developers.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: True if allows the user to sign in with the provider.\n issuer:\n type: string\n x-dcl-go-name: Issuer\n description: For OIDC Idps, the issuer identifier.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the Config resource\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n responseType:\n type: object\n x-dcl-go-name: ResponseType\n x-dcl-go-type: TenantOAuthIdpConfigResponseType\n description: 'The multiple response type to request for in the OAuth authorization\n flow. This can possibly be a combination of set bits (e.g.: {id\\_token,\n token}).'\n properties:\n code:\n type: boolean\n x-dcl-go-name: Code\n description: If true, authorization code is returned from IdP's authorization\n endpoint.\n idToken:\n type: boolean\n x-dcl-go-name: IdToken\n description: If true, ID token is returned from IdP's authorization\n endpoint.\n token:\n type: boolean\n x-dcl-go-name: Token\n description: If true, access token is returned from IdP's authorization\n endpoint.\n tenant:\n type: string\n x-dcl-go-name: Tenant\n description: The tenant for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Identitytoolkit/Tenant\n field: name\n parent: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/identitytoolkit/alpha/tenant_oauth_idp_config.yaml
Functions ¶
func DCLConfigSchema ¶ added in v1.10.3
func DCLOAuthIdpConfigSchema ¶ added in v1.10.3
func DCLTenantOAuthIdpConfigSchema ¶ added in v1.10.3
func DCLTenantSchema ¶ added in v1.10.3
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyConfig ¶
func (*Client) ApplyOAuthIdpConfig ¶
func (c *Client) ApplyOAuthIdpConfig(ctx context.Context, rawDesired *OAuthIdpConfig, opts ...dcl.ApplyOption) (*OAuthIdpConfig, error)
func (*Client) ApplyTenant ¶
func (*Client) ApplyTenantOAuthIdpConfig ¶
func (c *Client) ApplyTenantOAuthIdpConfig(ctx context.Context, rawDesired *TenantOAuthIdpConfig, opts ...dcl.ApplyOption) (*TenantOAuthIdpConfig, error)
func (*Client) DeleteAllOAuthIdpConfig ¶
func (c *Client) DeleteAllOAuthIdpConfig(ctx context.Context, project string, filter func(*OAuthIdpConfig) bool) error
DeleteAllOAuthIdpConfig deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllTenant ¶
func (c *Client) DeleteAllTenant(ctx context.Context, project string, filter func(*Tenant) bool) error
DeleteAllTenant deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllTenantOAuthIdpConfig ¶
func (c *Client) DeleteAllTenantOAuthIdpConfig(ctx context.Context, project, tenant string, filter func(*TenantOAuthIdpConfig) bool) error
DeleteAllTenantOAuthIdpConfig deletes all resources that the filter functions returns true on.
func (*Client) DeleteOAuthIdpConfig ¶
func (c *Client) DeleteOAuthIdpConfig(ctx context.Context, r *OAuthIdpConfig) error
func (*Client) DeleteTenantOAuthIdpConfig ¶
func (c *Client) DeleteTenantOAuthIdpConfig(ctx context.Context, r *TenantOAuthIdpConfig) error
func (*Client) GetOAuthIdpConfig ¶
func (c *Client) GetOAuthIdpConfig(ctx context.Context, r *OAuthIdpConfig) (*OAuthIdpConfig, error)
func (*Client) GetTenantOAuthIdpConfig ¶
func (c *Client) GetTenantOAuthIdpConfig(ctx context.Context, r *TenantOAuthIdpConfig) (*TenantOAuthIdpConfig, error)
func (*Client) ListOAuthIdpConfig ¶
func (*Client) ListOAuthIdpConfigWithMaxResults ¶
func (*Client) ListTenant ¶
func (*Client) ListTenantOAuthIdpConfig ¶
func (*Client) ListTenantOAuthIdpConfigWithMaxResults ¶
func (*Client) ListTenantWithMaxResults ¶
type Config ¶
type Config struct { SignIn *ConfigSignIn `json:"signIn"` Notification *ConfigNotification `json:"notification"` Quota *ConfigQuota `json:"quota"` Monitoring *ConfigMonitoring `json:"monitoring"` MultiTenant *ConfigMultiTenant `json:"multiTenant"` AuthorizedDomains []string `json:"authorizedDomains"` Subtype *ConfigSubtypeEnum `json:"subtype"` Client *ConfigClient `json:"client"` Mfa *ConfigMfa `json:"mfa"` BlockingFunctions *ConfigBlockingFunctions `json:"blockingFunctions"` Project *string `json:"project"` }
func (*Config) Describe ¶
func (r *Config) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type ConfigBlockingFunctions ¶
type ConfigBlockingFunctions struct { Triggers map[string]ConfigBlockingFunctionsTriggers `json:"triggers"` // contains filtered or unexported fields }
var EmptyConfigBlockingFunctions *ConfigBlockingFunctions = &ConfigBlockingFunctions{empty: true}
This object is used to assert a desired state where this ConfigBlockingFunctions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigBlockingFunctions) Empty ¶
func (r *ConfigBlockingFunctions) Empty() bool
func (*ConfigBlockingFunctions) HashCode ¶
func (r *ConfigBlockingFunctions) HashCode() string
func (*ConfigBlockingFunctions) String ¶
func (r *ConfigBlockingFunctions) String() string
func (*ConfigBlockingFunctions) UnmarshalJSON ¶
func (r *ConfigBlockingFunctions) UnmarshalJSON(data []byte) error
type ConfigBlockingFunctionsTriggers ¶
type ConfigBlockingFunctionsTriggers struct { FunctionUri *string `json:"functionUri"` UpdateTime *string `json:"updateTime"` // contains filtered or unexported fields }
var EmptyConfigBlockingFunctionsTriggers *ConfigBlockingFunctionsTriggers = &ConfigBlockingFunctionsTriggers{empty: true}
This object is used to assert a desired state where this ConfigBlockingFunctionsTriggers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigBlockingFunctionsTriggers) Empty ¶
func (r *ConfigBlockingFunctionsTriggers) Empty() bool
func (*ConfigBlockingFunctionsTriggers) HashCode ¶
func (r *ConfigBlockingFunctionsTriggers) HashCode() string
func (*ConfigBlockingFunctionsTriggers) String ¶
func (r *ConfigBlockingFunctionsTriggers) String() string
func (*ConfigBlockingFunctionsTriggers) UnmarshalJSON ¶
func (r *ConfigBlockingFunctionsTriggers) UnmarshalJSON(data []byte) error
type ConfigClient ¶
type ConfigClient struct { ApiKey *string `json:"apiKey"` Permissions *ConfigClientPermissions `json:"permissions"` FirebaseSubdomain *string `json:"firebaseSubdomain"` // contains filtered or unexported fields }
var EmptyConfigClient *ConfigClient = &ConfigClient{empty: true}
This object is used to assert a desired state where this ConfigClient is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigClient) Empty ¶
func (r *ConfigClient) Empty() bool
func (*ConfigClient) HashCode ¶
func (r *ConfigClient) HashCode() string
func (*ConfigClient) String ¶
func (r *ConfigClient) String() string
func (*ConfigClient) UnmarshalJSON ¶
func (r *ConfigClient) UnmarshalJSON(data []byte) error
type ConfigClientPermissions ¶
type ConfigClientPermissions struct { DisabledUserSignup *bool `json:"disabledUserSignup"` DisabledUserDeletion *bool `json:"disabledUserDeletion"` // contains filtered or unexported fields }
var EmptyConfigClientPermissions *ConfigClientPermissions = &ConfigClientPermissions{empty: true}
This object is used to assert a desired state where this ConfigClientPermissions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigClientPermissions) Empty ¶
func (r *ConfigClientPermissions) Empty() bool
func (*ConfigClientPermissions) HashCode ¶
func (r *ConfigClientPermissions) HashCode() string
func (*ConfigClientPermissions) String ¶
func (r *ConfigClientPermissions) String() string
func (*ConfigClientPermissions) UnmarshalJSON ¶
func (r *ConfigClientPermissions) UnmarshalJSON(data []byte) error
type ConfigList ¶
type ConfigList struct { Items []*Config // contains filtered or unexported fields }
type ConfigMfa ¶
type ConfigMfa struct { State *ConfigMfaStateEnum `json:"state"` // contains filtered or unexported fields }
This object is used to assert a desired state where this ConfigMfa is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigMfa) UnmarshalJSON ¶
type ConfigMfaStateEnum ¶
type ConfigMfaStateEnum string
The enum ConfigMfaStateEnum.
func ConfigMfaStateEnumRef ¶
func ConfigMfaStateEnumRef(s string) *ConfigMfaStateEnum
ConfigMfaStateEnumRef returns a *ConfigMfaStateEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigMfaStateEnum) Validate ¶
func (v ConfigMfaStateEnum) Validate() error
type ConfigMonitoring ¶
type ConfigMonitoring struct { RequestLogging *ConfigMonitoringRequestLogging `json:"requestLogging"` // contains filtered or unexported fields }
var EmptyConfigMonitoring *ConfigMonitoring = &ConfigMonitoring{empty: true}
This object is used to assert a desired state where this ConfigMonitoring is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigMonitoring) Empty ¶
func (r *ConfigMonitoring) Empty() bool
func (*ConfigMonitoring) HashCode ¶
func (r *ConfigMonitoring) HashCode() string
func (*ConfigMonitoring) String ¶
func (r *ConfigMonitoring) String() string
func (*ConfigMonitoring) UnmarshalJSON ¶
func (r *ConfigMonitoring) UnmarshalJSON(data []byte) error
type ConfigMonitoringRequestLogging ¶
type ConfigMonitoringRequestLogging struct { Enabled *bool `json:"enabled"` // contains filtered or unexported fields }
var EmptyConfigMonitoringRequestLogging *ConfigMonitoringRequestLogging = &ConfigMonitoringRequestLogging{empty: true}
This object is used to assert a desired state where this ConfigMonitoringRequestLogging is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigMonitoringRequestLogging) Empty ¶
func (r *ConfigMonitoringRequestLogging) Empty() bool
func (*ConfigMonitoringRequestLogging) HashCode ¶
func (r *ConfigMonitoringRequestLogging) HashCode() string
func (*ConfigMonitoringRequestLogging) String ¶
func (r *ConfigMonitoringRequestLogging) String() string
func (*ConfigMonitoringRequestLogging) UnmarshalJSON ¶
func (r *ConfigMonitoringRequestLogging) UnmarshalJSON(data []byte) error
type ConfigMultiTenant ¶
type ConfigMultiTenant struct { AllowTenants *bool `json:"allowTenants"` DefaultTenantLocation *string `json:"defaultTenantLocation"` // contains filtered or unexported fields }
var EmptyConfigMultiTenant *ConfigMultiTenant = &ConfigMultiTenant{empty: true}
This object is used to assert a desired state where this ConfigMultiTenant is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigMultiTenant) Empty ¶
func (r *ConfigMultiTenant) Empty() bool
func (*ConfigMultiTenant) HashCode ¶
func (r *ConfigMultiTenant) HashCode() string
func (*ConfigMultiTenant) String ¶
func (r *ConfigMultiTenant) String() string
func (*ConfigMultiTenant) UnmarshalJSON ¶
func (r *ConfigMultiTenant) UnmarshalJSON(data []byte) error
type ConfigNotification ¶
type ConfigNotification struct { SendEmail *ConfigNotificationSendEmail `json:"sendEmail"` SendSms *ConfigNotificationSendSms `json:"sendSms"` DefaultLocale *string `json:"defaultLocale"` // contains filtered or unexported fields }
var EmptyConfigNotification *ConfigNotification = &ConfigNotification{empty: true}
This object is used to assert a desired state where this ConfigNotification is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotification) Empty ¶
func (r *ConfigNotification) Empty() bool
func (*ConfigNotification) HashCode ¶
func (r *ConfigNotification) HashCode() string
func (*ConfigNotification) String ¶
func (r *ConfigNotification) String() string
func (*ConfigNotification) UnmarshalJSON ¶
func (r *ConfigNotification) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmail ¶
type ConfigNotificationSendEmail struct { Method *ConfigNotificationSendEmailMethodEnum `json:"method"` Smtp *ConfigNotificationSendEmailSmtp `json:"smtp"` ResetPasswordTemplate *ConfigNotificationSendEmailResetPasswordTemplate `json:"resetPasswordTemplate"` VerifyEmailTemplate *ConfigNotificationSendEmailVerifyEmailTemplate `json:"verifyEmailTemplate"` ChangeEmailTemplate *ConfigNotificationSendEmailChangeEmailTemplate `json:"changeEmailTemplate"` CallbackUri *string `json:"callbackUri"` DnsInfo *ConfigNotificationSendEmailDnsInfo `json:"dnsInfo"` RevertSecondFactorAdditionTemplate *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate `json:"revertSecondFactorAdditionTemplate"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmail *ConfigNotificationSendEmail = &ConfigNotificationSendEmail{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmail is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmail) Empty ¶
func (r *ConfigNotificationSendEmail) Empty() bool
func (*ConfigNotificationSendEmail) HashCode ¶
func (r *ConfigNotificationSendEmail) HashCode() string
func (*ConfigNotificationSendEmail) String ¶
func (r *ConfigNotificationSendEmail) String() string
func (*ConfigNotificationSendEmail) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmail) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailChangeEmailTemplate ¶
type ConfigNotificationSendEmailChangeEmailTemplate struct { SenderLocalPart *string `json:"senderLocalPart"` Subject *string `json:"subject"` SenderDisplayName *string `json:"senderDisplayName"` Body *string `json:"body"` BodyFormat *ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum `json:"bodyFormat"` ReplyTo *string `json:"replyTo"` Customized *bool `json:"customized"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmailChangeEmailTemplate *ConfigNotificationSendEmailChangeEmailTemplate = &ConfigNotificationSendEmailChangeEmailTemplate{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmailChangeEmailTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmailChangeEmailTemplate) Empty ¶
func (r *ConfigNotificationSendEmailChangeEmailTemplate) Empty() bool
func (*ConfigNotificationSendEmailChangeEmailTemplate) HashCode ¶
func (r *ConfigNotificationSendEmailChangeEmailTemplate) HashCode() string
func (*ConfigNotificationSendEmailChangeEmailTemplate) String ¶
func (r *ConfigNotificationSendEmailChangeEmailTemplate) String() string
func (*ConfigNotificationSendEmailChangeEmailTemplate) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmailChangeEmailTemplate) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum ¶
type ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum string
The enum ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum.
func ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnumRef ¶
func ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnumRef(s string) *ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum
ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnumRef returns a *ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum) Validate ¶
func (v ConfigNotificationSendEmailChangeEmailTemplateBodyFormatEnum) Validate() error
type ConfigNotificationSendEmailDnsInfo ¶
type ConfigNotificationSendEmailDnsInfo struct { CustomDomain *string `json:"customDomain"` UseCustomDomain *bool `json:"useCustomDomain"` PendingCustomDomain *string `json:"pendingCustomDomain"` CustomDomainState *ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum `json:"customDomainState"` DomainVerificationRequestTime *string `json:"domainVerificationRequestTime"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmailDnsInfo *ConfigNotificationSendEmailDnsInfo = &ConfigNotificationSendEmailDnsInfo{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmailDnsInfo is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmailDnsInfo) Empty ¶
func (r *ConfigNotificationSendEmailDnsInfo) Empty() bool
func (*ConfigNotificationSendEmailDnsInfo) HashCode ¶
func (r *ConfigNotificationSendEmailDnsInfo) HashCode() string
func (*ConfigNotificationSendEmailDnsInfo) String ¶
func (r *ConfigNotificationSendEmailDnsInfo) String() string
func (*ConfigNotificationSendEmailDnsInfo) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmailDnsInfo) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum ¶
type ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum string
The enum ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum.
func ConfigNotificationSendEmailDnsInfoCustomDomainStateEnumRef ¶
func ConfigNotificationSendEmailDnsInfoCustomDomainStateEnumRef(s string) *ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum
ConfigNotificationSendEmailDnsInfoCustomDomainStateEnumRef returns a *ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum) Validate ¶
func (v ConfigNotificationSendEmailDnsInfoCustomDomainStateEnum) Validate() error
type ConfigNotificationSendEmailMethodEnum ¶
type ConfigNotificationSendEmailMethodEnum string
The enum ConfigNotificationSendEmailMethodEnum.
func ConfigNotificationSendEmailMethodEnumRef ¶
func ConfigNotificationSendEmailMethodEnumRef(s string) *ConfigNotificationSendEmailMethodEnum
ConfigNotificationSendEmailMethodEnumRef returns a *ConfigNotificationSendEmailMethodEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailMethodEnum) Validate ¶
func (v ConfigNotificationSendEmailMethodEnum) Validate() error
type ConfigNotificationSendEmailResetPasswordTemplate ¶
type ConfigNotificationSendEmailResetPasswordTemplate struct { SenderLocalPart *string `json:"senderLocalPart"` Subject *string `json:"subject"` SenderDisplayName *string `json:"senderDisplayName"` Body *string `json:"body"` BodyFormat *ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum `json:"bodyFormat"` ReplyTo *string `json:"replyTo"` Customized *bool `json:"customized"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmailResetPasswordTemplate *ConfigNotificationSendEmailResetPasswordTemplate = &ConfigNotificationSendEmailResetPasswordTemplate{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmailResetPasswordTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmailResetPasswordTemplate) Empty ¶
func (r *ConfigNotificationSendEmailResetPasswordTemplate) Empty() bool
func (*ConfigNotificationSendEmailResetPasswordTemplate) HashCode ¶
func (r *ConfigNotificationSendEmailResetPasswordTemplate) HashCode() string
func (*ConfigNotificationSendEmailResetPasswordTemplate) String ¶
func (r *ConfigNotificationSendEmailResetPasswordTemplate) String() string
func (*ConfigNotificationSendEmailResetPasswordTemplate) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmailResetPasswordTemplate) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum ¶
type ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum string
The enum ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum.
func ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnumRef ¶
func ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnumRef(s string) *ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum
ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnumRef returns a *ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum) Validate ¶
func (v ConfigNotificationSendEmailResetPasswordTemplateBodyFormatEnum) Validate() error
type ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate ¶
type ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate struct { SenderLocalPart *string `json:"senderLocalPart"` Subject *string `json:"subject"` SenderDisplayName *string `json:"senderDisplayName"` Body *string `json:"body"` BodyFormat *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum `json:"bodyFormat"` ReplyTo *string `json:"replyTo"` Customized *bool `json:"customized"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmailRevertSecondFactorAdditionTemplate *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate = &ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) Empty ¶
func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) Empty() bool
func (*ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) HashCode ¶
func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) HashCode() string
func (*ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) String ¶
func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) String() string
func (*ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplate) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum ¶
type ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum string
The enum ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum.
func ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnumRef ¶
func ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnumRef(s string) *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum
ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnumRef returns a *ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum) Validate ¶
func (v ConfigNotificationSendEmailRevertSecondFactorAdditionTemplateBodyFormatEnum) Validate() error
type ConfigNotificationSendEmailSmtp ¶
type ConfigNotificationSendEmailSmtp struct { SenderEmail *string `json:"senderEmail"` Host *string `json:"host"` Port *int64 `json:"port"` Username *string `json:"username"` Password *string `json:"password"` SecurityMode *ConfigNotificationSendEmailSmtpSecurityModeEnum `json:"securityMode"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmailSmtp *ConfigNotificationSendEmailSmtp = &ConfigNotificationSendEmailSmtp{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmailSmtp is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmailSmtp) Empty ¶
func (r *ConfigNotificationSendEmailSmtp) Empty() bool
func (*ConfigNotificationSendEmailSmtp) HashCode ¶
func (r *ConfigNotificationSendEmailSmtp) HashCode() string
func (*ConfigNotificationSendEmailSmtp) String ¶
func (r *ConfigNotificationSendEmailSmtp) String() string
func (*ConfigNotificationSendEmailSmtp) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmailSmtp) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailSmtpSecurityModeEnum ¶
type ConfigNotificationSendEmailSmtpSecurityModeEnum string
The enum ConfigNotificationSendEmailSmtpSecurityModeEnum.
func ConfigNotificationSendEmailSmtpSecurityModeEnumRef ¶
func ConfigNotificationSendEmailSmtpSecurityModeEnumRef(s string) *ConfigNotificationSendEmailSmtpSecurityModeEnum
ConfigNotificationSendEmailSmtpSecurityModeEnumRef returns a *ConfigNotificationSendEmailSmtpSecurityModeEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailSmtpSecurityModeEnum) Validate ¶
func (v ConfigNotificationSendEmailSmtpSecurityModeEnum) Validate() error
type ConfigNotificationSendEmailVerifyEmailTemplate ¶
type ConfigNotificationSendEmailVerifyEmailTemplate struct { SenderLocalPart *string `json:"senderLocalPart"` Subject *string `json:"subject"` SenderDisplayName *string `json:"senderDisplayName"` Body *string `json:"body"` BodyFormat *ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum `json:"bodyFormat"` ReplyTo *string `json:"replyTo"` Customized *bool `json:"customized"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendEmailVerifyEmailTemplate *ConfigNotificationSendEmailVerifyEmailTemplate = &ConfigNotificationSendEmailVerifyEmailTemplate{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendEmailVerifyEmailTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendEmailVerifyEmailTemplate) Empty ¶
func (r *ConfigNotificationSendEmailVerifyEmailTemplate) Empty() bool
func (*ConfigNotificationSendEmailVerifyEmailTemplate) HashCode ¶
func (r *ConfigNotificationSendEmailVerifyEmailTemplate) HashCode() string
func (*ConfigNotificationSendEmailVerifyEmailTemplate) String ¶
func (r *ConfigNotificationSendEmailVerifyEmailTemplate) String() string
func (*ConfigNotificationSendEmailVerifyEmailTemplate) UnmarshalJSON ¶
func (r *ConfigNotificationSendEmailVerifyEmailTemplate) UnmarshalJSON(data []byte) error
type ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum ¶
type ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum string
The enum ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum.
func ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnumRef ¶
func ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnumRef(s string) *ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum
ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnumRef returns a *ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum) Validate ¶
func (v ConfigNotificationSendEmailVerifyEmailTemplateBodyFormatEnum) Validate() error
type ConfigNotificationSendSms ¶
type ConfigNotificationSendSms struct { UseDeviceLocale *bool `json:"useDeviceLocale"` SmsTemplate *ConfigNotificationSendSmsSmsTemplate `json:"smsTemplate"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendSms *ConfigNotificationSendSms = &ConfigNotificationSendSms{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendSms is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendSms) Empty ¶
func (r *ConfigNotificationSendSms) Empty() bool
func (*ConfigNotificationSendSms) HashCode ¶
func (r *ConfigNotificationSendSms) HashCode() string
func (*ConfigNotificationSendSms) String ¶
func (r *ConfigNotificationSendSms) String() string
func (*ConfigNotificationSendSms) UnmarshalJSON ¶
func (r *ConfigNotificationSendSms) UnmarshalJSON(data []byte) error
type ConfigNotificationSendSmsSmsTemplate ¶
type ConfigNotificationSendSmsSmsTemplate struct { Content *string `json:"content"` // contains filtered or unexported fields }
var EmptyConfigNotificationSendSmsSmsTemplate *ConfigNotificationSendSmsSmsTemplate = &ConfigNotificationSendSmsSmsTemplate{empty: true}
This object is used to assert a desired state where this ConfigNotificationSendSmsSmsTemplate is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigNotificationSendSmsSmsTemplate) Empty ¶
func (r *ConfigNotificationSendSmsSmsTemplate) Empty() bool
func (*ConfigNotificationSendSmsSmsTemplate) HashCode ¶
func (r *ConfigNotificationSendSmsSmsTemplate) HashCode() string
func (*ConfigNotificationSendSmsSmsTemplate) String ¶
func (r *ConfigNotificationSendSmsSmsTemplate) String() string
func (*ConfigNotificationSendSmsSmsTemplate) UnmarshalJSON ¶
func (r *ConfigNotificationSendSmsSmsTemplate) UnmarshalJSON(data []byte) error
type ConfigQuota ¶
type ConfigQuota struct { SignUpQuotaConfig *ConfigQuotaSignUpQuotaConfig `json:"signUpQuotaConfig"` // contains filtered or unexported fields }
var EmptyConfigQuota *ConfigQuota = &ConfigQuota{empty: true}
This object is used to assert a desired state where this ConfigQuota is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigQuota) Empty ¶
func (r *ConfigQuota) Empty() bool
func (*ConfigQuota) HashCode ¶
func (r *ConfigQuota) HashCode() string
func (*ConfigQuota) String ¶
func (r *ConfigQuota) String() string
func (*ConfigQuota) UnmarshalJSON ¶
func (r *ConfigQuota) UnmarshalJSON(data []byte) error
type ConfigQuotaSignUpQuotaConfig ¶
type ConfigQuotaSignUpQuotaConfig struct { Quota *int64 `json:"quota"` StartTime *string `json:"startTime"` QuotaDuration *string `json:"quotaDuration"` // contains filtered or unexported fields }
var EmptyConfigQuotaSignUpQuotaConfig *ConfigQuotaSignUpQuotaConfig = &ConfigQuotaSignUpQuotaConfig{empty: true}
This object is used to assert a desired state where this ConfigQuotaSignUpQuotaConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigQuotaSignUpQuotaConfig) Empty ¶
func (r *ConfigQuotaSignUpQuotaConfig) Empty() bool
func (*ConfigQuotaSignUpQuotaConfig) HashCode ¶
func (r *ConfigQuotaSignUpQuotaConfig) HashCode() string
func (*ConfigQuotaSignUpQuotaConfig) String ¶
func (r *ConfigQuotaSignUpQuotaConfig) String() string
func (*ConfigQuotaSignUpQuotaConfig) UnmarshalJSON ¶
func (r *ConfigQuotaSignUpQuotaConfig) UnmarshalJSON(data []byte) error
type ConfigSignIn ¶
type ConfigSignIn struct { Email *ConfigSignInEmail `json:"email"` PhoneNumber *ConfigSignInPhoneNumber `json:"phoneNumber"` Anonymous *ConfigSignInAnonymous `json:"anonymous"` AllowDuplicateEmails *bool `json:"allowDuplicateEmails"` HashConfig *ConfigSignInHashConfig `json:"hashConfig"` // contains filtered or unexported fields }
var EmptyConfigSignIn *ConfigSignIn = &ConfigSignIn{empty: true}
This object is used to assert a desired state where this ConfigSignIn is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigSignIn) Empty ¶
func (r *ConfigSignIn) Empty() bool
func (*ConfigSignIn) HashCode ¶
func (r *ConfigSignIn) HashCode() string
func (*ConfigSignIn) String ¶
func (r *ConfigSignIn) String() string
func (*ConfigSignIn) UnmarshalJSON ¶
func (r *ConfigSignIn) UnmarshalJSON(data []byte) error
type ConfigSignInAnonymous ¶
type ConfigSignInAnonymous struct { Enabled *bool `json:"enabled"` // contains filtered or unexported fields }
var EmptyConfigSignInAnonymous *ConfigSignInAnonymous = &ConfigSignInAnonymous{empty: true}
This object is used to assert a desired state where this ConfigSignInAnonymous is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigSignInAnonymous) Empty ¶
func (r *ConfigSignInAnonymous) Empty() bool
func (*ConfigSignInAnonymous) HashCode ¶
func (r *ConfigSignInAnonymous) HashCode() string
func (*ConfigSignInAnonymous) String ¶
func (r *ConfigSignInAnonymous) String() string
func (*ConfigSignInAnonymous) UnmarshalJSON ¶
func (r *ConfigSignInAnonymous) UnmarshalJSON(data []byte) error
type ConfigSignInEmail ¶
type ConfigSignInEmail struct { Enabled *bool `json:"enabled"` PasswordRequired *bool `json:"passwordRequired"` HashConfig *ConfigSignInEmailHashConfig `json:"hashConfig"` // contains filtered or unexported fields }
var EmptyConfigSignInEmail *ConfigSignInEmail = &ConfigSignInEmail{empty: true}
This object is used to assert a desired state where this ConfigSignInEmail is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigSignInEmail) Empty ¶
func (r *ConfigSignInEmail) Empty() bool
func (*ConfigSignInEmail) HashCode ¶
func (r *ConfigSignInEmail) HashCode() string
func (*ConfigSignInEmail) String ¶
func (r *ConfigSignInEmail) String() string
func (*ConfigSignInEmail) UnmarshalJSON ¶
func (r *ConfigSignInEmail) UnmarshalJSON(data []byte) error
type ConfigSignInEmailHashConfig ¶
type ConfigSignInEmailHashConfig struct { Algorithm *ConfigSignInEmailHashConfigAlgorithmEnum `json:"algorithm"` SignerKey *string `json:"signerKey"` SaltSeparator *string `json:"saltSeparator"` Rounds *int64 `json:"rounds"` MemoryCost *int64 `json:"memoryCost"` // contains filtered or unexported fields }
var EmptyConfigSignInEmailHashConfig *ConfigSignInEmailHashConfig = &ConfigSignInEmailHashConfig{empty: true}
This object is used to assert a desired state where this ConfigSignInEmailHashConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigSignInEmailHashConfig) Empty ¶
func (r *ConfigSignInEmailHashConfig) Empty() bool
func (*ConfigSignInEmailHashConfig) HashCode ¶
func (r *ConfigSignInEmailHashConfig) HashCode() string
func (*ConfigSignInEmailHashConfig) String ¶
func (r *ConfigSignInEmailHashConfig) String() string
func (*ConfigSignInEmailHashConfig) UnmarshalJSON ¶
func (r *ConfigSignInEmailHashConfig) UnmarshalJSON(data []byte) error
type ConfigSignInEmailHashConfigAlgorithmEnum ¶
type ConfigSignInEmailHashConfigAlgorithmEnum string
The enum ConfigSignInEmailHashConfigAlgorithmEnum.
func ConfigSignInEmailHashConfigAlgorithmEnumRef ¶
func ConfigSignInEmailHashConfigAlgorithmEnumRef(s string) *ConfigSignInEmailHashConfigAlgorithmEnum
ConfigSignInEmailHashConfigAlgorithmEnumRef returns a *ConfigSignInEmailHashConfigAlgorithmEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigSignInEmailHashConfigAlgorithmEnum) Validate ¶
func (v ConfigSignInEmailHashConfigAlgorithmEnum) Validate() error
type ConfigSignInHashConfig ¶
type ConfigSignInHashConfig struct { Algorithm *ConfigSignInHashConfigAlgorithmEnum `json:"algorithm"` SignerKey *string `json:"signerKey"` SaltSeparator *string `json:"saltSeparator"` Rounds *int64 `json:"rounds"` MemoryCost *int64 `json:"memoryCost"` // contains filtered or unexported fields }
var EmptyConfigSignInHashConfig *ConfigSignInHashConfig = &ConfigSignInHashConfig{empty: true}
This object is used to assert a desired state where this ConfigSignInHashConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigSignInHashConfig) Empty ¶
func (r *ConfigSignInHashConfig) Empty() bool
func (*ConfigSignInHashConfig) HashCode ¶
func (r *ConfigSignInHashConfig) HashCode() string
func (*ConfigSignInHashConfig) String ¶
func (r *ConfigSignInHashConfig) String() string
func (*ConfigSignInHashConfig) UnmarshalJSON ¶
func (r *ConfigSignInHashConfig) UnmarshalJSON(data []byte) error
type ConfigSignInHashConfigAlgorithmEnum ¶
type ConfigSignInHashConfigAlgorithmEnum string
The enum ConfigSignInHashConfigAlgorithmEnum.
func ConfigSignInHashConfigAlgorithmEnumRef ¶
func ConfigSignInHashConfigAlgorithmEnumRef(s string) *ConfigSignInHashConfigAlgorithmEnum
ConfigSignInHashConfigAlgorithmEnumRef returns a *ConfigSignInHashConfigAlgorithmEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigSignInHashConfigAlgorithmEnum) Validate ¶
func (v ConfigSignInHashConfigAlgorithmEnum) Validate() error
type ConfigSignInPhoneNumber ¶
type ConfigSignInPhoneNumber struct { Enabled *bool `json:"enabled"` TestPhoneNumbers map[string]string `json:"testPhoneNumbers"` // contains filtered or unexported fields }
var EmptyConfigSignInPhoneNumber *ConfigSignInPhoneNumber = &ConfigSignInPhoneNumber{empty: true}
This object is used to assert a desired state where this ConfigSignInPhoneNumber is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ConfigSignInPhoneNumber) Empty ¶
func (r *ConfigSignInPhoneNumber) Empty() bool
func (*ConfigSignInPhoneNumber) HashCode ¶
func (r *ConfigSignInPhoneNumber) HashCode() string
func (*ConfigSignInPhoneNumber) String ¶
func (r *ConfigSignInPhoneNumber) String() string
func (*ConfigSignInPhoneNumber) UnmarshalJSON ¶
func (r *ConfigSignInPhoneNumber) UnmarshalJSON(data []byte) error
type ConfigSubtypeEnum ¶
type ConfigSubtypeEnum string
The enum ConfigSubtypeEnum.
func ConfigSubtypeEnumRef ¶
func ConfigSubtypeEnumRef(s string) *ConfigSubtypeEnum
ConfigSubtypeEnumRef returns a *ConfigSubtypeEnum with the value of string s If the empty string is provided, nil is returned.
func (ConfigSubtypeEnum) Validate ¶
func (v ConfigSubtypeEnum) Validate() error
type OAuthIdpConfig ¶
type OAuthIdpConfig struct { Name *string `json:"name"` ClientId *string `json:"clientId"` Issuer *string `json:"issuer"` DisplayName *string `json:"displayName"` Enabled *bool `json:"enabled"` ClientSecret *string `json:"clientSecret"` ResponseType *OAuthIdpConfigResponseType `json:"responseType"` Project *string `json:"project"` }
func (*OAuthIdpConfig) Describe ¶
func (r *OAuthIdpConfig) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*OAuthIdpConfig) ID ¶
func (r *OAuthIdpConfig) ID() (string, error)
func (*OAuthIdpConfig) String ¶
func (r *OAuthIdpConfig) String() string
type OAuthIdpConfigList ¶
type OAuthIdpConfigList struct { Items []*OAuthIdpConfig // contains filtered or unexported fields }
func (*OAuthIdpConfigList) HasNext ¶
func (l *OAuthIdpConfigList) HasNext() bool
type OAuthIdpConfigResponseType ¶
type OAuthIdpConfigResponseType struct { IdToken *bool `json:"idToken"` Code *bool `json:"code"` Token *bool `json:"token"` // contains filtered or unexported fields }
var EmptyOAuthIdpConfigResponseType *OAuthIdpConfigResponseType = &OAuthIdpConfigResponseType{empty: true}
This object is used to assert a desired state where this OAuthIdpConfigResponseType is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*OAuthIdpConfigResponseType) Empty ¶
func (r *OAuthIdpConfigResponseType) Empty() bool
func (*OAuthIdpConfigResponseType) HashCode ¶
func (r *OAuthIdpConfigResponseType) HashCode() string
func (*OAuthIdpConfigResponseType) String ¶
func (r *OAuthIdpConfigResponseType) String() string
func (*OAuthIdpConfigResponseType) UnmarshalJSON ¶
func (r *OAuthIdpConfigResponseType) UnmarshalJSON(data []byte) error
type Tenant ¶
type Tenant struct { Name *string `json:"name"` DisplayName *string `json:"displayName"` AllowPasswordSignup *bool `json:"allowPasswordSignup"` EnableEmailLinkSignin *bool `json:"enableEmailLinkSignin"` DisableAuth *bool `json:"disableAuth"` EnableAnonymousUser *bool `json:"enableAnonymousUser"` MfaConfig *TenantMfaConfig `json:"mfaConfig"` TestPhoneNumbers map[string]string `json:"testPhoneNumbers"` Project *string `json:"project"` }
func (*Tenant) Describe ¶
func (r *Tenant) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type TenantList ¶
type TenantList struct { Items []*Tenant // contains filtered or unexported fields }
func (*TenantList) HasNext ¶
func (l *TenantList) HasNext() bool
type TenantMfaConfig ¶
type TenantMfaConfig struct { State *TenantMfaConfigStateEnum `json:"state"` EnabledProviders []TenantMfaConfigEnabledProvidersEnum `json:"enabledProviders"` // contains filtered or unexported fields }
var EmptyTenantMfaConfig *TenantMfaConfig = &TenantMfaConfig{empty: true}
This object is used to assert a desired state where this TenantMfaConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*TenantMfaConfig) Empty ¶
func (r *TenantMfaConfig) Empty() bool
func (*TenantMfaConfig) HashCode ¶
func (r *TenantMfaConfig) HashCode() string
func (*TenantMfaConfig) String ¶
func (r *TenantMfaConfig) String() string
func (*TenantMfaConfig) UnmarshalJSON ¶
func (r *TenantMfaConfig) UnmarshalJSON(data []byte) error
type TenantMfaConfigEnabledProvidersEnum ¶
type TenantMfaConfigEnabledProvidersEnum string
The enum TenantMfaConfigEnabledProvidersEnum.
func TenantMfaConfigEnabledProvidersEnumRef ¶
func TenantMfaConfigEnabledProvidersEnumRef(s string) *TenantMfaConfigEnabledProvidersEnum
TenantMfaConfigEnabledProvidersEnumRef returns a *TenantMfaConfigEnabledProvidersEnum with the value of string s If the empty string is provided, nil is returned.
func (TenantMfaConfigEnabledProvidersEnum) Validate ¶
func (v TenantMfaConfigEnabledProvidersEnum) Validate() error
type TenantMfaConfigStateEnum ¶
type TenantMfaConfigStateEnum string
The enum TenantMfaConfigStateEnum.
func TenantMfaConfigStateEnumRef ¶
func TenantMfaConfigStateEnumRef(s string) *TenantMfaConfigStateEnum
TenantMfaConfigStateEnumRef returns a *TenantMfaConfigStateEnum with the value of string s If the empty string is provided, nil is returned.
func (TenantMfaConfigStateEnum) Validate ¶
func (v TenantMfaConfigStateEnum) Validate() error
type TenantOAuthIdpConfig ¶
type TenantOAuthIdpConfig struct { Name *string `json:"name"` ClientId *string `json:"clientId"` Issuer *string `json:"issuer"` DisplayName *string `json:"displayName"` Enabled *bool `json:"enabled"` ClientSecret *string `json:"clientSecret"` ResponseType *TenantOAuthIdpConfigResponseType `json:"responseType"` Project *string `json:"project"` Tenant *string `json:"tenant"` }
func (*TenantOAuthIdpConfig) Describe ¶
func (r *TenantOAuthIdpConfig) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*TenantOAuthIdpConfig) ID ¶
func (r *TenantOAuthIdpConfig) ID() (string, error)
func (*TenantOAuthIdpConfig) String ¶
func (r *TenantOAuthIdpConfig) String() string
type TenantOAuthIdpConfigList ¶
type TenantOAuthIdpConfigList struct { Items []*TenantOAuthIdpConfig // contains filtered or unexported fields }
func (*TenantOAuthIdpConfigList) HasNext ¶
func (l *TenantOAuthIdpConfigList) HasNext() bool
type TenantOAuthIdpConfigResponseType ¶
type TenantOAuthIdpConfigResponseType struct { IdToken *bool `json:"idToken"` Code *bool `json:"code"` Token *bool `json:"token"` // contains filtered or unexported fields }
var EmptyTenantOAuthIdpConfigResponseType *TenantOAuthIdpConfigResponseType = &TenantOAuthIdpConfigResponseType{empty: true}
This object is used to assert a desired state where this TenantOAuthIdpConfigResponseType is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*TenantOAuthIdpConfigResponseType) Empty ¶
func (r *TenantOAuthIdpConfigResponseType) Empty() bool
func (*TenantOAuthIdpConfigResponseType) HashCode ¶
func (r *TenantOAuthIdpConfigResponseType) HashCode() string
func (*TenantOAuthIdpConfigResponseType) String ¶
func (r *TenantOAuthIdpConfigResponseType) String() string
func (*TenantOAuthIdpConfigResponseType) UnmarshalJSON ¶
func (r *TenantOAuthIdpConfigResponseType) UnmarshalJSON(data []byte) error
Source Files ¶
- client.go
- config.go
- config_alpha_yaml_embed.go
- config_internal.go
- config_schema.go
- identitytoolkit_utils.go
- oauth_idp_config.go
- oauth_idp_config_alpha_yaml_embed.go
- oauth_idp_config_internal.go
- oauth_idp_config_schema.go
- tenant.go
- tenant_alpha_yaml_embed.go
- tenant_internal.go
- tenant_oauth_idp_config.go
- tenant_oauth_idp_config_alpha_yaml_embed.go
- tenant_oauth_idp_config_internal.go
- tenant_oauth_idp_config_schema.go
- tenant_schema.go