Documentation
¶
Overview ¶
Copyright 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 DCLAndroidAppSchema() *dcl.Schema
- func DCLAppleAppSchema() *dcl.Schema
- func DCLFirebaseProjectSchema() *dcl.Schema
- func DCLWebAppSchema() *dcl.Schema
- type AndroidApp
- type AndroidAppList
- type AppleApp
- type AppleAppList
- type Client
- func (c *Client) ApplyAndroidApp(ctx context.Context, rawDesired *AndroidApp, opts ...dcl.ApplyOption) (*AndroidApp, error)
- func (c *Client) ApplyAppleApp(ctx context.Context, rawDesired *AppleApp, opts ...dcl.ApplyOption) (*AppleApp, error)
- func (c *Client) ApplyFirebaseProject(ctx context.Context, rawDesired *FirebaseProject, opts ...dcl.ApplyOption) (*FirebaseProject, error)
- func (c *Client) ApplyWebApp(ctx context.Context, rawDesired *WebApp, opts ...dcl.ApplyOption) (*WebApp, error)
- func (c *Client) DeleteAllAndroidApp(ctx context.Context, project string, filter func(*AndroidApp) bool) error
- func (c *Client) DeleteAllAppleApp(ctx context.Context, project string, filter func(*AppleApp) bool) error
- func (c *Client) DeleteAllWebApp(ctx context.Context, project string, filter func(*WebApp) bool) error
- func (c *Client) DeleteAndroidApp(ctx context.Context, r *AndroidApp) error
- func (c *Client) DeleteAppleApp(ctx context.Context, r *AppleApp) error
- func (c *Client) DeleteWebApp(ctx context.Context, r *WebApp) error
- func (c *Client) GetAndroidApp(ctx context.Context, r *AndroidApp) (*AndroidApp, error)
- func (c *Client) GetAppleApp(ctx context.Context, r *AppleApp) (*AppleApp, error)
- func (c *Client) GetFirebaseProject(ctx context.Context, r *FirebaseProject) (*FirebaseProject, error)
- func (c *Client) GetWebApp(ctx context.Context, r *WebApp) (*WebApp, error)
- func (c *Client) ListAndroidApp(ctx context.Context, project string) (*AndroidAppList, error)
- func (c *Client) ListAndroidAppWithMaxResults(ctx context.Context, project string, pageSize int32) (*AndroidAppList, error)
- func (c *Client) ListAppleApp(ctx context.Context, project string) (*AppleAppList, error)
- func (c *Client) ListAppleAppWithMaxResults(ctx context.Context, project string, pageSize int32) (*AppleAppList, error)
- func (c *Client) ListFirebaseProject(ctx context.Context) (*FirebaseProjectList, error)
- func (c *Client) ListFirebaseProjectWithMaxResults(ctx context.Context, pageSize int32) (*FirebaseProjectList, error)
- func (c *Client) ListWebApp(ctx context.Context, project string) (*WebAppList, error)
- func (c *Client) ListWebAppWithMaxResults(ctx context.Context, project string, pageSize int32) (*WebAppList, error)
- type FirebaseProject
- type FirebaseProjectList
- type FirebaseProjectResources
- type FirebaseProjectStateEnum
- type WebApp
- type WebAppList
Constants ¶
const AndroidAppMaxPage = -1
const AppleAppMaxPage = -1
const FirebaseProjectMaxPage = -1
const WebAppMaxPage = -1
Variables ¶
var YAML_android_app []byte
var YAML_apple_app []byte
var YAML_firebase_project []byte
var YAML_web_app []byte
Functions ¶
func DCLAndroidAppSchema ¶ added in v1.17.0
func DCLAppleAppSchema ¶ added in v1.16.0
func DCLFirebaseProjectSchema ¶ added in v1.16.0
func DCLWebAppSchema ¶
Types ¶
type AndroidApp ¶ added in v1.17.0
type AndroidApp struct {
Name *string `json:"name"`
AppId *string `json:"appId"`
DisplayName *string `json:"displayName"`
ProjectId *string `json:"projectId"`
PackageName *string `json:"packageName"`
ApiKeyId *string `json:"apiKeyId"`
Project *string `json:"project"`
}
func (*AndroidApp) Describe ¶ added in v1.17.0
func (r *AndroidApp) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AndroidApp) ID ¶ added in v1.17.0
func (r *AndroidApp) ID() (string, error)
func (*AndroidApp) String ¶ added in v1.17.0
func (r *AndroidApp) String() string
type AndroidAppList ¶ added in v1.17.0
type AndroidAppList struct {
Items []*AndroidApp
// contains filtered or unexported fields
}
func (*AndroidAppList) HasNext ¶ added in v1.17.0
func (l *AndroidAppList) HasNext() bool
type AppleApp ¶ added in v1.16.0
type AppleApp struct {
Name *string `json:"name"`
AppId *string `json:"appId"`
DisplayName *string `json:"displayName"`
ProjectId *string `json:"projectId"`
BundleId *string `json:"bundleId"`
AppStoreId *string `json:"appStoreId"`
TeamId *string `json:"teamId"`
ApiKeyId *string `json:"apiKeyId"`
Project *string `json:"project"`
}
func (*AppleApp) Describe ¶ added in v1.16.0
func (r *AppleApp) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type AppleAppList ¶ added in v1.16.0
type AppleAppList struct {
Items []*AppleApp
// contains filtered or unexported fields
}
func (*AppleAppList) HasNext ¶ added in v1.16.0
func (l *AppleAppList) HasNext() bool
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) ApplyAndroidApp ¶ added in v1.17.0
func (c *Client) ApplyAndroidApp(ctx context.Context, rawDesired *AndroidApp, opts ...dcl.ApplyOption) (*AndroidApp, error)
func (*Client) ApplyAppleApp ¶ added in v1.16.0
func (*Client) ApplyFirebaseProject ¶ added in v1.16.0
func (c *Client) ApplyFirebaseProject(ctx context.Context, rawDesired *FirebaseProject, opts ...dcl.ApplyOption) (*FirebaseProject, error)
func (*Client) ApplyWebApp ¶
func (*Client) DeleteAllAndroidApp ¶ added in v1.17.0
func (c *Client) DeleteAllAndroidApp(ctx context.Context, project string, filter func(*AndroidApp) bool) error
DeleteAllAndroidApp deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllAppleApp ¶ added in v1.16.0
func (c *Client) DeleteAllAppleApp(ctx context.Context, project string, filter func(*AppleApp) bool) error
DeleteAllAppleApp deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllWebApp ¶
func (c *Client) DeleteAllWebApp(ctx context.Context, project string, filter func(*WebApp) bool) error
DeleteAllWebApp deletes all resources that the filter functions returns true on.
func (*Client) DeleteAndroidApp ¶ added in v1.17.0
func (c *Client) DeleteAndroidApp(ctx context.Context, r *AndroidApp) error
func (*Client) DeleteAppleApp ¶ added in v1.16.0
func (*Client) GetAndroidApp ¶ added in v1.17.0
func (c *Client) GetAndroidApp(ctx context.Context, r *AndroidApp) (*AndroidApp, error)
func (*Client) GetAppleApp ¶ added in v1.16.0
func (*Client) GetFirebaseProject ¶ added in v1.16.0
func (c *Client) GetFirebaseProject(ctx context.Context, r *FirebaseProject) (*FirebaseProject, error)
func (*Client) ListAndroidApp ¶ added in v1.17.0
func (*Client) ListAndroidAppWithMaxResults ¶ added in v1.17.0
func (*Client) ListAppleApp ¶ added in v1.16.0
func (*Client) ListAppleAppWithMaxResults ¶ added in v1.16.0
func (*Client) ListFirebaseProject ¶ added in v1.16.0
func (c *Client) ListFirebaseProject(ctx context.Context) (*FirebaseProjectList, error)
func (*Client) ListFirebaseProjectWithMaxResults ¶ added in v1.16.0
func (*Client) ListWebApp ¶
func (*Client) ListWebAppWithMaxResults ¶
type FirebaseProject ¶ added in v1.16.0
type FirebaseProject struct {
ProjectId *string `json:"projectId"`
ProjectNumber *int64 `json:"projectNumber"`
DisplayName *string `json:"displayName"`
Resources *FirebaseProjectResources `json:"resources"`
State *FirebaseProjectStateEnum `json:"state"`
Annotations map[string]string `json:"annotations"`
Project *string `json:"project"`
}
func (*FirebaseProject) Describe ¶ added in v1.16.0
func (r *FirebaseProject) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*FirebaseProject) ID ¶ added in v1.16.0
func (r *FirebaseProject) ID() (string, error)
func (*FirebaseProject) String ¶ added in v1.16.0
func (r *FirebaseProject) String() string
type FirebaseProjectList ¶ added in v1.16.0
type FirebaseProjectList struct {
Items []*FirebaseProject
// contains filtered or unexported fields
}
func (*FirebaseProjectList) HasNext ¶ added in v1.16.0
func (l *FirebaseProjectList) HasNext() bool
type FirebaseProjectResources ¶ added in v1.16.0
type FirebaseProjectResources struct {
HostingSite *string `json:"hostingSite"`
RealtimeDatabaseInstance *string `json:"realtimeDatabaseInstance"`
StorageBucket *string `json:"storageBucket"`
LocationId *string `json:"locationId"`
// contains filtered or unexported fields
}
var EmptyFirebaseProjectResources *FirebaseProjectResources = &FirebaseProjectResources{empty: true}
This object is used to assert a desired state where this FirebaseProjectResources is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*FirebaseProjectResources) Empty ¶ added in v1.16.0
func (r *FirebaseProjectResources) Empty() bool
func (*FirebaseProjectResources) HashCode ¶ added in v1.16.0
func (r *FirebaseProjectResources) HashCode() string
func (*FirebaseProjectResources) String ¶ added in v1.16.0
func (r *FirebaseProjectResources) String() string
func (*FirebaseProjectResources) UnmarshalJSON ¶ added in v1.16.0
func (r *FirebaseProjectResources) UnmarshalJSON(data []byte) error
type FirebaseProjectStateEnum ¶ added in v1.16.0
type FirebaseProjectStateEnum string
The enum FirebaseProjectStateEnum.
func FirebaseProjectStateEnumRef ¶ added in v1.16.0
func FirebaseProjectStateEnumRef(s string) *FirebaseProjectStateEnum
FirebaseProjectStateEnumRef returns a *FirebaseProjectStateEnum with the value of string s If the empty string is provided, nil is returned.
func (FirebaseProjectStateEnum) Validate ¶ added in v1.16.0
func (v FirebaseProjectStateEnum) Validate() error
type WebApp ¶
type WebApp struct {
Name *string `json:"name"`
AppId *string `json:"appId"`
DisplayName *string `json:"displayName"`
ProjectId *string `json:"projectId"`
AppUrls []string `json:"appUrls"`
WebId *string `json:"webId"`
ApiKeyId *string `json:"apiKeyId"`
Project *string `json:"project"`
}
func (*WebApp) Describe ¶
func (r *WebApp) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type WebAppList ¶
type WebAppList struct {
Items []*WebApp
// contains filtered or unexported fields
}
func (*WebAppList) HasNext ¶
func (l *WebAppList) HasNext() bool
Source Files
¶
- android_app.go
- android_app_alpha_yaml_embed.go
- android_app_internal.go
- android_app_schema.go
- apple_app.go
- apple_app_alpha_yaml_embed.go
- apple_app_internal.go
- apple_app_schema.go
- client.go
- firebase_project.go
- firebase_project_alpha_yaml_embed.go
- firebase_project_internal.go
- firebase_project_schema.go
- web_app.go
- web_app_alpha_yaml_embed.go
- web_app_internal.go
- web_app_schema.go