google-api-client 0.30.2 → 0.30.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -188,6 +188,7 @@ module Google
|
|
188
188
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
189
189
|
# @private
|
190
190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
191
|
+
property :can_reschedule, as: 'canReschedule'
|
191
192
|
property :end_time, as: 'endTime'
|
192
193
|
property :start_time, as: 'startTime'
|
193
194
|
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/firebase_v1beta1/service.rb'
|
16
|
+
require 'google/apis/firebase_v1beta1/classes.rb'
|
17
|
+
require 'google/apis/firebase_v1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Firebase Management API
|
22
|
+
#
|
23
|
+
# The Firebase Management API enables programmatic setup and management of
|
24
|
+
# Firebase projects, including a project's Firebase resources and Firebase apps.
|
25
|
+
#
|
26
|
+
# @see https://firebase.google.com
|
27
|
+
module FirebaseV1beta1
|
28
|
+
VERSION = 'V1beta1'
|
29
|
+
REVISION = '20190618'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
|
34
|
+
# View your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
+
|
37
|
+
# View and administer all your Firebase data and settings
|
38
|
+
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
39
|
+
|
40
|
+
# View all your Firebase data and settings
|
41
|
+
AUTH_FIREBASE_READONLY = 'https://www.googleapis.com/auth/firebase.readonly'
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,1063 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module FirebaseV1beta1
|
24
|
+
|
25
|
+
# All fields are required.
|
26
|
+
class AddFirebaseRequest
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Deprecated. Instead, call FinalizeDefaultLocation after you add
|
30
|
+
# Firebase services to your project.
|
31
|
+
# <br>
|
32
|
+
# <br>The ID of the project's Cloud resource location. The location should be
|
33
|
+
# one of the AppEngine locations defined here:
|
34
|
+
# https://cloud.google.com/appengine/docs/locations
|
35
|
+
# Corresponds to the JSON property `locationId`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :location_id
|
38
|
+
|
39
|
+
# The region code (CLDR) that the account will use for Firebase Analytics
|
40
|
+
# data.
|
41
|
+
# <br>For example: US, GB, or DE
|
42
|
+
# <br>
|
43
|
+
# <br>In Java, use `com.google.i18n.identifiers.RegionCode`.
|
44
|
+
# Corresponds to the JSON property `regionCode`
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :region_code
|
47
|
+
|
48
|
+
# The time zone that the account will use for Firebase Analytics data.
|
49
|
+
# <br>For example: America/Los_Angeles or Africa/Abidjan
|
50
|
+
# Corresponds to the JSON property `timeZone`
|
51
|
+
# @return [String]
|
52
|
+
attr_accessor :time_zone
|
53
|
+
|
54
|
+
def initialize(**args)
|
55
|
+
update!(**args)
|
56
|
+
end
|
57
|
+
|
58
|
+
# Update properties of this object
|
59
|
+
def update!(**args)
|
60
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
61
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
62
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
#
|
67
|
+
class AdminSdkConfig
|
68
|
+
include Google::Apis::Core::Hashable
|
69
|
+
|
70
|
+
# The default Firebase Realtime Database URL.
|
71
|
+
# Corresponds to the JSON property `databaseURL`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :database_url
|
74
|
+
|
75
|
+
# The default resource location of other Firebase resources
|
76
|
+
# (such as Cloud Firestore).
|
77
|
+
# <br>For examples, see https://cloud.google.com/appengine/docs/locations.
|
78
|
+
# Corresponds to the JSON property `locationId`
|
79
|
+
# @return [String]
|
80
|
+
attr_accessor :location_id
|
81
|
+
|
82
|
+
# Immutable. The globally unique, user-assigned project ID of the parent
|
83
|
+
# Project.
|
84
|
+
# Corresponds to the JSON property `projectId`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :project_id
|
87
|
+
|
88
|
+
# The default Cloud Storage for Firebase storage bucket name.
|
89
|
+
# Corresponds to the JSON property `storageBucket`
|
90
|
+
# @return [String]
|
91
|
+
attr_accessor :storage_bucket
|
92
|
+
|
93
|
+
def initialize(**args)
|
94
|
+
update!(**args)
|
95
|
+
end
|
96
|
+
|
97
|
+
# Update properties of this object
|
98
|
+
def update!(**args)
|
99
|
+
@database_url = args[:database_url] if args.key?(:database_url)
|
100
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
101
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
102
|
+
@storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# Details of a Firebase App for Android.
|
107
|
+
class AndroidApp
|
108
|
+
include Google::Apis::Core::Hashable
|
109
|
+
|
110
|
+
# Immutable. The globally unique, Firebase-assigned identifier of the App.
|
111
|
+
# <br>
|
112
|
+
# <br>This identifier should be treated as an opaque token, as the data
|
113
|
+
# format is not specified.
|
114
|
+
# Corresponds to the JSON property `appId`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :app_id
|
117
|
+
|
118
|
+
# The user-assigned display name of the App.
|
119
|
+
# Corresponds to the JSON property `displayName`
|
120
|
+
# @return [String]
|
121
|
+
attr_accessor :display_name
|
122
|
+
|
123
|
+
# The fully qualified resource name of the App, in the format:
|
124
|
+
# <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var></code>
|
125
|
+
# Corresponds to the JSON property `name`
|
126
|
+
# @return [String]
|
127
|
+
attr_accessor :name
|
128
|
+
|
129
|
+
# The canonical package name of the Android App as would appear in the
|
130
|
+
# Google Play Developer Console.
|
131
|
+
# Corresponds to the JSON property `packageName`
|
132
|
+
# @return [String]
|
133
|
+
attr_accessor :package_name
|
134
|
+
|
135
|
+
# The globally unique, user-assigned ID of the parent Project for the App.
|
136
|
+
# Corresponds to the JSON property `projectId`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :project_id
|
139
|
+
|
140
|
+
def initialize(**args)
|
141
|
+
update!(**args)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Update properties of this object
|
145
|
+
def update!(**args)
|
146
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
147
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
148
|
+
@name = args[:name] if args.key?(:name)
|
149
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
150
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# Configuration metadata of a single Firebase App for Android.
|
155
|
+
class AndroidAppConfig
|
156
|
+
include Google::Apis::Core::Hashable
|
157
|
+
|
158
|
+
# The contents of the JSON configuration file.
|
159
|
+
# Corresponds to the JSON property `configFileContents`
|
160
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :config_file_contents
|
163
|
+
|
164
|
+
# The filename that the configuration artifact is typically saved as.
|
165
|
+
# <br>For example: `google-services.json`
|
166
|
+
# Corresponds to the JSON property `configFilename`
|
167
|
+
# @return [String]
|
168
|
+
attr_accessor :config_filename
|
169
|
+
|
170
|
+
def initialize(**args)
|
171
|
+
update!(**args)
|
172
|
+
end
|
173
|
+
|
174
|
+
# Update properties of this object
|
175
|
+
def update!(**args)
|
176
|
+
@config_file_contents = args[:config_file_contents] if args.key?(:config_file_contents)
|
177
|
+
@config_filename = args[:config_filename] if args.key?(:config_filename)
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# The default resources associated with a `FirebaseProject`.
|
182
|
+
class DefaultResources
|
183
|
+
include Google::Apis::Core::Hashable
|
184
|
+
|
185
|
+
# The default Firebase Hosting site name, in the format:
|
186
|
+
# <br><code><var>projectId</var></code>
|
187
|
+
# <br>Though rare, your `projectId` might already be used as the name for an
|
188
|
+
# existing Hosting site in another project (learn more about creating
|
189
|
+
# non-default,
|
190
|
+
# [additional sites](https://firebase.google.com/docs/hosting/multisites)).
|
191
|
+
# In these cases, your `projectId` is appended with a hyphen then five
|
192
|
+
# alphanumeric characters to create your default Hosting site name. For
|
193
|
+
# example, if your `projectId` is `myproject123`, your default Hosting site
|
194
|
+
# name might be:
|
195
|
+
# <br><code>myproject123-a5c16</code>
|
196
|
+
# Corresponds to the JSON property `hostingSite`
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :hosting_site
|
199
|
+
|
200
|
+
# The default resource location of other Firebase resources, such as
|
201
|
+
# Cloud Firestore. This field is omitted if the default resource location has
|
202
|
+
# not been finalized yet.
|
203
|
+
# <br>For examples, see https://cloud.google.com/appengine/docs/locations.
|
204
|
+
# Corresponds to the JSON property `locationId`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :location_id
|
207
|
+
|
208
|
+
# The default Firebase Realtime Database instance name, in the format:
|
209
|
+
# <br><code><var>projectId</var></code>
|
210
|
+
# <br>Though rare, your `projectId` might already be used as the name for an
|
211
|
+
# existing Realtime Database instance in another project (learn more about
|
212
|
+
# [database
|
213
|
+
# sharding](https://firebase.google.com/docs/database/usage/sharding)). In
|
214
|
+
# these cases, your `projectId` is appended with a hyphen then five
|
215
|
+
# alphanumeric characters to create your default Realtime Database instance
|
216
|
+
# name. For example, if your `projectId` is `myproject123`, your default
|
217
|
+
# database instance name might be:
|
218
|
+
# <br><code>myproject123-a5c16</code>
|
219
|
+
# Corresponds to the JSON property `realtimeDatabaseInstance`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :realtime_database_instance
|
222
|
+
|
223
|
+
# The default Cloud Storage for Firebase storage bucket, in the format:
|
224
|
+
# <br><code><var>projectId</var>.appspot.com</code>. This field is omitted
|
225
|
+
# if the default resource location has not been finalized yet.
|
226
|
+
# Corresponds to the JSON property `storageBucket`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :storage_bucket
|
229
|
+
|
230
|
+
def initialize(**args)
|
231
|
+
update!(**args)
|
232
|
+
end
|
233
|
+
|
234
|
+
# Update properties of this object
|
235
|
+
def update!(**args)
|
236
|
+
@hosting_site = args[:hosting_site] if args.key?(:hosting_site)
|
237
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
238
|
+
@realtime_database_instance = args[:realtime_database_instance] if args.key?(:realtime_database_instance)
|
239
|
+
@storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
244
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
245
|
+
# or the response type of an API method. For instance:
|
246
|
+
# service Foo `
|
247
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
248
|
+
# `
|
249
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
250
|
+
class Empty
|
251
|
+
include Google::Apis::Core::Hashable
|
252
|
+
|
253
|
+
def initialize(**args)
|
254
|
+
update!(**args)
|
255
|
+
end
|
256
|
+
|
257
|
+
# Update properties of this object
|
258
|
+
def update!(**args)
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
# A high-level summary of an App.
|
263
|
+
class FirebaseAppInfo
|
264
|
+
include Google::Apis::Core::Hashable
|
265
|
+
|
266
|
+
# Immutable. The globally unique, Firebase-assigned identifier of the App.
|
267
|
+
# <br>
|
268
|
+
# <br>This identifier should be treated as an opaque token, as the data
|
269
|
+
# format is not specified.
|
270
|
+
# Corresponds to the JSON property `appId`
|
271
|
+
# @return [String]
|
272
|
+
attr_accessor :app_id
|
273
|
+
|
274
|
+
# The user-assigned display name of the Firebase App.
|
275
|
+
# Corresponds to the JSON property `displayName`
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :display_name
|
278
|
+
|
279
|
+
# The fully qualified resource name of the Firebase App, in the format:
|
280
|
+
# <br><code>projects/<var>projectId</var>/iosApps/<var>appId</var></code>
|
281
|
+
# or <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var>
|
282
|
+
# </code>
|
283
|
+
# Corresponds to the JSON property `name`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :name
|
286
|
+
|
287
|
+
# The platform of the Firebase App.
|
288
|
+
# Corresponds to the JSON property `platform`
|
289
|
+
# @return [String]
|
290
|
+
attr_accessor :platform
|
291
|
+
|
292
|
+
def initialize(**args)
|
293
|
+
update!(**args)
|
294
|
+
end
|
295
|
+
|
296
|
+
# Update properties of this object
|
297
|
+
def update!(**args)
|
298
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
299
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
300
|
+
@name = args[:name] if args.key?(:name)
|
301
|
+
@platform = args[:platform] if args.key?(:platform)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# A `FirebaseProject` is the top-level Firebase entity. It is the container for
|
306
|
+
# Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime
|
307
|
+
# Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and
|
308
|
+
# Google Cloud Platform (GCP) resources.
|
309
|
+
# <br>
|
310
|
+
# <br>You can create a new `FirebaseProject` in the
|
311
|
+
# [Firebase console](https://console.firebase.google.com/),
|
312
|
+
# or you can add Firebase resources to an existing
|
313
|
+
# [GCP
|
314
|
+
# `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/
|
315
|
+
# projects)
|
316
|
+
# by calling
|
317
|
+
# AddFirebase.
|
318
|
+
# <br>
|
319
|
+
# <br>A `FirebaseProject` is actually also a GCP `Project`, so a
|
320
|
+
# `FirebaseProject` uses underlying GCP identifiers (most importantly,
|
321
|
+
# `projectId`) as its own for easy interop with GCP APIs.
|
322
|
+
class FirebaseProject
|
323
|
+
include Google::Apis::Core::Hashable
|
324
|
+
|
325
|
+
# The user-assigned display name of the Project.
|
326
|
+
# Corresponds to the JSON property `displayName`
|
327
|
+
# @return [String]
|
328
|
+
attr_accessor :display_name
|
329
|
+
|
330
|
+
# The fully qualified resource name of the Project, in the format:
|
331
|
+
# <br><code>projects/<var>projectId</var></code>
|
332
|
+
# Corresponds to the JSON property `name`
|
333
|
+
# @return [String]
|
334
|
+
attr_accessor :name
|
335
|
+
|
336
|
+
# Immutable. The globally unique, user-assigned ID of the Project.
|
337
|
+
# Corresponds to the JSON property `projectId`
|
338
|
+
# @return [String]
|
339
|
+
attr_accessor :project_id
|
340
|
+
|
341
|
+
# The globally unique, Google-assigned identifier of the Project.
|
342
|
+
# Corresponds to the JSON property `projectNumber`
|
343
|
+
# @return [Fixnum]
|
344
|
+
attr_accessor :project_number
|
345
|
+
|
346
|
+
# The default resources associated with a `FirebaseProject`.
|
347
|
+
# Corresponds to the JSON property `resources`
|
348
|
+
# @return [Google::Apis::FirebaseV1beta1::DefaultResources]
|
349
|
+
attr_accessor :resources
|
350
|
+
|
351
|
+
def initialize(**args)
|
352
|
+
update!(**args)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Update properties of this object
|
356
|
+
def update!(**args)
|
357
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
358
|
+
@name = args[:name] if args.key?(:name)
|
359
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
360
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
361
|
+
@resources = args[:resources] if args.key?(:resources)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
# Details of a Firebase App for iOS.
|
366
|
+
class IosApp
|
367
|
+
include Google::Apis::Core::Hashable
|
368
|
+
|
369
|
+
# Immutable. The globally unique, Firebase-assigned identifier of the App.
|
370
|
+
# <br>
|
371
|
+
# <br>This identifier should be treated as an opaque token, as the data
|
372
|
+
# format is not specified.
|
373
|
+
# Corresponds to the JSON property `appId`
|
374
|
+
# @return [String]
|
375
|
+
attr_accessor :app_id
|
376
|
+
|
377
|
+
# The automatically generated Apple ID assigned to the App by Apple in the
|
378
|
+
# iOS App Store.
|
379
|
+
# Corresponds to the JSON property `appStoreId`
|
380
|
+
# @return [String]
|
381
|
+
attr_accessor :app_store_id
|
382
|
+
|
383
|
+
# The canonical bundle ID of the iOS App as it would appear in the iOS
|
384
|
+
# AppStore.
|
385
|
+
# Corresponds to the JSON property `bundleId`
|
386
|
+
# @return [String]
|
387
|
+
attr_accessor :bundle_id
|
388
|
+
|
389
|
+
# The user-assigned display name of the App.
|
390
|
+
# Corresponds to the JSON property `displayName`
|
391
|
+
# @return [String]
|
392
|
+
attr_accessor :display_name
|
393
|
+
|
394
|
+
# The fully qualified resource name of the App, in the format:
|
395
|
+
# <br><code>projects/<var>projectId</var>/iosApps/<var>appId</var></code>
|
396
|
+
# Corresponds to the JSON property `name`
|
397
|
+
# @return [String]
|
398
|
+
attr_accessor :name
|
399
|
+
|
400
|
+
# The globally unique, user-assigned ID of the parent Project for the App.
|
401
|
+
# Corresponds to the JSON property `projectId`
|
402
|
+
# @return [String]
|
403
|
+
attr_accessor :project_id
|
404
|
+
|
405
|
+
def initialize(**args)
|
406
|
+
update!(**args)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Update properties of this object
|
410
|
+
def update!(**args)
|
411
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
412
|
+
@app_store_id = args[:app_store_id] if args.key?(:app_store_id)
|
413
|
+
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
414
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
415
|
+
@name = args[:name] if args.key?(:name)
|
416
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# Configuration metadata of a single Firebase App for iOS.
|
421
|
+
class IosAppConfig
|
422
|
+
include Google::Apis::Core::Hashable
|
423
|
+
|
424
|
+
# The content of the XML configuration file.
|
425
|
+
# Corresponds to the JSON property `configFileContents`
|
426
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :config_file_contents
|
429
|
+
|
430
|
+
# The filename that the configuration artifact is typically saved as.
|
431
|
+
# <br>For example: `GoogleService-Info.plist`
|
432
|
+
# Corresponds to the JSON property `configFilename`
|
433
|
+
# @return [String]
|
434
|
+
attr_accessor :config_filename
|
435
|
+
|
436
|
+
def initialize(**args)
|
437
|
+
update!(**args)
|
438
|
+
end
|
439
|
+
|
440
|
+
# Update properties of this object
|
441
|
+
def update!(**args)
|
442
|
+
@config_file_contents = args[:config_file_contents] if args.key?(:config_file_contents)
|
443
|
+
@config_filename = args[:config_filename] if args.key?(:config_filename)
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
#
|
448
|
+
class ListAndroidAppsResponse
|
449
|
+
include Google::Apis::Core::Hashable
|
450
|
+
|
451
|
+
# List of each AndroidApp that is in the parent Firebase Project.
|
452
|
+
# Corresponds to the JSON property `apps`
|
453
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::AndroidApp>]
|
454
|
+
attr_accessor :apps
|
455
|
+
|
456
|
+
# If the result list is too large to fit in a single response, then a token
|
457
|
+
# is returned. If the string is empty, then this response is the last page of
|
458
|
+
# results.
|
459
|
+
# <br>
|
460
|
+
# <br>This token can be used in a subsequent call to `ListAndroidApps` to
|
461
|
+
# find the next group of Apps.
|
462
|
+
# <br>
|
463
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
464
|
+
# Corresponds to the JSON property `nextPageToken`
|
465
|
+
# @return [String]
|
466
|
+
attr_accessor :next_page_token
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
@apps = args[:apps] if args.key?(:apps)
|
475
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
#
|
480
|
+
class ListAvailableProjectsResponse
|
481
|
+
include Google::Apis::Core::Hashable
|
482
|
+
|
483
|
+
# If the result list is too large to fit in a single response, then a token
|
484
|
+
# is returned. If the string is empty, then this response is the last page of
|
485
|
+
# results.
|
486
|
+
# <br>
|
487
|
+
# <br>This token can be used in a subsequent calls to `ListAvailableProjects`
|
488
|
+
# to find the next group of GCP `Projects`.
|
489
|
+
# <br>
|
490
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
491
|
+
# Corresponds to the JSON property `nextPageToken`
|
492
|
+
# @return [String]
|
493
|
+
attr_accessor :next_page_token
|
494
|
+
|
495
|
+
# The list of GCP `Projects` which can have Firebase resources added to them.
|
496
|
+
# Corresponds to the JSON property `projectInfo`
|
497
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::ProjectInfo>]
|
498
|
+
attr_accessor :project_info
|
499
|
+
|
500
|
+
def initialize(**args)
|
501
|
+
update!(**args)
|
502
|
+
end
|
503
|
+
|
504
|
+
# Update properties of this object
|
505
|
+
def update!(**args)
|
506
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
507
|
+
@project_info = args[:project_info] if args.key?(:project_info)
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
#
|
512
|
+
class ListFirebaseProjectsResponse
|
513
|
+
include Google::Apis::Core::Hashable
|
514
|
+
|
515
|
+
# If the result list is too large to fit in a single response, then a token
|
516
|
+
# is returned. If the string is empty, then this response is the last page of
|
517
|
+
# results.
|
518
|
+
# <br>
|
519
|
+
# <br>This token can be used in a subsequent calls to `ListFirebaseProjects`
|
520
|
+
# to find the next group of Projects.
|
521
|
+
# <br>
|
522
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
523
|
+
# Corresponds to the JSON property `nextPageToken`
|
524
|
+
# @return [String]
|
525
|
+
attr_accessor :next_page_token
|
526
|
+
|
527
|
+
# One page of the list of Projects that are accessible to the caller.
|
528
|
+
# Corresponds to the JSON property `results`
|
529
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::FirebaseProject>]
|
530
|
+
attr_accessor :results
|
531
|
+
|
532
|
+
def initialize(**args)
|
533
|
+
update!(**args)
|
534
|
+
end
|
535
|
+
|
536
|
+
# Update properties of this object
|
537
|
+
def update!(**args)
|
538
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
539
|
+
@results = args[:results] if args.key?(:results)
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
#
|
544
|
+
class ListIosAppsResponse
|
545
|
+
include Google::Apis::Core::Hashable
|
546
|
+
|
547
|
+
# List of each IosApp that is in the parent Firebase Project.
|
548
|
+
# Corresponds to the JSON property `apps`
|
549
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::IosApp>]
|
550
|
+
attr_accessor :apps
|
551
|
+
|
552
|
+
# If the result list is too large to fit in a single response, then a token
|
553
|
+
# is returned. If the string is empty, then this response is the last page of
|
554
|
+
# results.
|
555
|
+
# <br>
|
556
|
+
# <br>This token can be used in a subsequent call to `ListIosApps` to find
|
557
|
+
# the next group of Apps.
|
558
|
+
# <br>
|
559
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
560
|
+
# Corresponds to the JSON property `nextPageToken`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :next_page_token
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@apps = args[:apps] if args.key?(:apps)
|
571
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
#
|
576
|
+
class ListShaCertificatesResponse
|
577
|
+
include Google::Apis::Core::Hashable
|
578
|
+
|
579
|
+
# The list of SHA certificates associated with the App.
|
580
|
+
# Corresponds to the JSON property `certificates`
|
581
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::ShaCertificate>]
|
582
|
+
attr_accessor :certificates
|
583
|
+
|
584
|
+
def initialize(**args)
|
585
|
+
update!(**args)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Update properties of this object
|
589
|
+
def update!(**args)
|
590
|
+
@certificates = args[:certificates] if args.key?(:certificates)
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
#
|
595
|
+
class ListWebAppsResponse
|
596
|
+
include Google::Apis::Core::Hashable
|
597
|
+
|
598
|
+
# List of each WebApp that is in the parent Firebase Project.
|
599
|
+
# Corresponds to the JSON property `apps`
|
600
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::WebApp>]
|
601
|
+
attr_accessor :apps
|
602
|
+
|
603
|
+
# If the result list is too large to fit in a single response, then a token
|
604
|
+
# is returned. If the string is empty, then this response is the last page of
|
605
|
+
# results.
|
606
|
+
# <br>
|
607
|
+
# <br>This token can be used in a subsequent call to `ListWebApps` to find
|
608
|
+
# the next group of Apps.
|
609
|
+
# <br>
|
610
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
611
|
+
# Corresponds to the JSON property `nextPageToken`
|
612
|
+
# @return [String]
|
613
|
+
attr_accessor :next_page_token
|
614
|
+
|
615
|
+
def initialize(**args)
|
616
|
+
update!(**args)
|
617
|
+
end
|
618
|
+
|
619
|
+
# Update properties of this object
|
620
|
+
def update!(**args)
|
621
|
+
@apps = args[:apps] if args.key?(:apps)
|
622
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
# This is proto2's version of MessageSet.
|
627
|
+
class MessageSet
|
628
|
+
include Google::Apis::Core::Hashable
|
629
|
+
|
630
|
+
def initialize(**args)
|
631
|
+
update!(**args)
|
632
|
+
end
|
633
|
+
|
634
|
+
# Update properties of this object
|
635
|
+
def update!(**args)
|
636
|
+
end
|
637
|
+
end
|
638
|
+
|
639
|
+
# This resource represents a long-running operation that is the result of a
|
640
|
+
# network API call.
|
641
|
+
class Operation
|
642
|
+
include Google::Apis::Core::Hashable
|
643
|
+
|
644
|
+
# If the value is `false`, it means the operation is still in progress.
|
645
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
646
|
+
# available.
|
647
|
+
# Corresponds to the JSON property `done`
|
648
|
+
# @return [Boolean]
|
649
|
+
attr_accessor :done
|
650
|
+
alias_method :done?, :done
|
651
|
+
|
652
|
+
# The `Status` type defines a logical error model that is suitable for
|
653
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
654
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
655
|
+
# three pieces of data: error code, error message, and error details.
|
656
|
+
# You can find out more about this error model and how to work with it in the
|
657
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
658
|
+
# Corresponds to the JSON property `error`
|
659
|
+
# @return [Google::Apis::FirebaseV1beta1::Status]
|
660
|
+
attr_accessor :error
|
661
|
+
|
662
|
+
# Service-specific metadata associated with the operation. It typically
|
663
|
+
# contains progress information and common metadata such as create time.
|
664
|
+
# Some services might not provide such metadata. Any method that returns a
|
665
|
+
# long-running operation should document the metadata type, if any.
|
666
|
+
# Corresponds to the JSON property `metadata`
|
667
|
+
# @return [Hash<String,Object>]
|
668
|
+
attr_accessor :metadata
|
669
|
+
|
670
|
+
# The server-assigned name, which is only unique within the same service that
|
671
|
+
# originally returns it. If you use the default HTTP mapping, the
|
672
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
673
|
+
# Corresponds to the JSON property `name`
|
674
|
+
# @return [String]
|
675
|
+
attr_accessor :name
|
676
|
+
|
677
|
+
# The normal response of the operation in case of success. If the original
|
678
|
+
# method returns no data on success, such as `Delete`, the response is
|
679
|
+
# `google.protobuf.Empty`. If the original method is standard
|
680
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
681
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
682
|
+
# is the original method name. For example, if the original method name
|
683
|
+
# is `TakeSnapshot()`, the inferred response type is
|
684
|
+
# `TakeSnapshotResponse`.
|
685
|
+
# Corresponds to the JSON property `response`
|
686
|
+
# @return [Hash<String,Object>]
|
687
|
+
attr_accessor :response
|
688
|
+
|
689
|
+
def initialize(**args)
|
690
|
+
update!(**args)
|
691
|
+
end
|
692
|
+
|
693
|
+
# Update properties of this object
|
694
|
+
def update!(**args)
|
695
|
+
@done = args[:done] if args.key?(:done)
|
696
|
+
@error = args[:error] if args.key?(:error)
|
697
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
698
|
+
@name = args[:name] if args.key?(:name)
|
699
|
+
@response = args[:response] if args.key?(:response)
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
# A reference to a Google Cloud Platform (GCP) `Project`.
|
704
|
+
class ProjectInfo
|
705
|
+
include Google::Apis::Core::Hashable
|
706
|
+
|
707
|
+
# The user-assigned display name of the GCP `Project`, for example:
|
708
|
+
# <code>My App</code>
|
709
|
+
# Corresponds to the JSON property `displayName`
|
710
|
+
# @return [String]
|
711
|
+
attr_accessor :display_name
|
712
|
+
|
713
|
+
# The default resource location of other Firebase resources
|
714
|
+
# (such as Cloud Firestore).
|
715
|
+
# <br>Not all projects will have this field populated. If it is
|
716
|
+
# not populated, it means that the project is not yet associated with any
|
717
|
+
# region. Consequently, a call to AddFirebase <b>must</b> provide a location
|
718
|
+
# in this case.
|
719
|
+
# <br>For examples, see https://cloud.google.com/appengine/docs/locations.
|
720
|
+
# Corresponds to the JSON property `locationId`
|
721
|
+
# @return [String]
|
722
|
+
attr_accessor :location_id
|
723
|
+
|
724
|
+
# The resource name of the GCP `Project` to which Firebase resources can be
|
725
|
+
# added, in the format:
|
726
|
+
# <br><code>projects/<var>projectId</var></code>
|
727
|
+
# Corresponds to the JSON property `project`
|
728
|
+
# @return [String]
|
729
|
+
attr_accessor :project
|
730
|
+
|
731
|
+
def initialize(**args)
|
732
|
+
update!(**args)
|
733
|
+
end
|
734
|
+
|
735
|
+
# Update properties of this object
|
736
|
+
def update!(**args)
|
737
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
738
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
739
|
+
@project = args[:project] if args.key?(:project)
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
743
|
+
#
|
744
|
+
class SearchFirebaseAppsResponse
|
745
|
+
include Google::Apis::Core::Hashable
|
746
|
+
|
747
|
+
# One page of results from a call to `SearchFirebaseApps`.
|
748
|
+
# Corresponds to the JSON property `apps`
|
749
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::FirebaseAppInfo>]
|
750
|
+
attr_accessor :apps
|
751
|
+
|
752
|
+
# If the result list is too large to fit in a single response, then a token
|
753
|
+
# is returned.
|
754
|
+
# <br>
|
755
|
+
# <br>This token can be used in a subsequent calls to `SearchFirebaseApps`
|
756
|
+
# to find the next group of Apps.
|
757
|
+
# <br>If the string is empty, then this response is the last page of results.
|
758
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
759
|
+
# Corresponds to the JSON property `nextPageToken`
|
760
|
+
# @return [String]
|
761
|
+
attr_accessor :next_page_token
|
762
|
+
|
763
|
+
def initialize(**args)
|
764
|
+
update!(**args)
|
765
|
+
end
|
766
|
+
|
767
|
+
# Update properties of this object
|
768
|
+
def update!(**args)
|
769
|
+
@apps = args[:apps] if args.key?(:apps)
|
770
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
771
|
+
end
|
772
|
+
end
|
773
|
+
|
774
|
+
# A SHA-1 or SHA-256 certificate associated with the AndroidApp.
|
775
|
+
class ShaCertificate
|
776
|
+
include Google::Apis::Core::Hashable
|
777
|
+
|
778
|
+
# The SHA certificate type.
|
779
|
+
# Corresponds to the JSON property `certType`
|
780
|
+
# @return [String]
|
781
|
+
attr_accessor :cert_type
|
782
|
+
|
783
|
+
# The fully qualified resource name of the `sha-key`, in the format:
|
784
|
+
# <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var>/sha/<var>
|
785
|
+
# shaHash</var></code>
|
786
|
+
# Corresponds to the JSON property `name`
|
787
|
+
# @return [String]
|
788
|
+
attr_accessor :name
|
789
|
+
|
790
|
+
# The certificate hash for the App.
|
791
|
+
# Corresponds to the JSON property `shaHash`
|
792
|
+
# @return [String]
|
793
|
+
attr_accessor :sha_hash
|
794
|
+
|
795
|
+
def initialize(**args)
|
796
|
+
update!(**args)
|
797
|
+
end
|
798
|
+
|
799
|
+
# Update properties of this object
|
800
|
+
def update!(**args)
|
801
|
+
@cert_type = args[:cert_type] if args.key?(:cert_type)
|
802
|
+
@name = args[:name] if args.key?(:name)
|
803
|
+
@sha_hash = args[:sha_hash] if args.key?(:sha_hash)
|
804
|
+
end
|
805
|
+
end
|
806
|
+
|
807
|
+
# The `Status` type defines a logical error model that is suitable for
|
808
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
809
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
810
|
+
# three pieces of data: error code, error message, and error details.
|
811
|
+
# You can find out more about this error model and how to work with it in the
|
812
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
813
|
+
class Status
|
814
|
+
include Google::Apis::Core::Hashable
|
815
|
+
|
816
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
817
|
+
# Corresponds to the JSON property `code`
|
818
|
+
# @return [Fixnum]
|
819
|
+
attr_accessor :code
|
820
|
+
|
821
|
+
# A list of messages that carry the error details. There is a common set of
|
822
|
+
# message types for APIs to use.
|
823
|
+
# Corresponds to the JSON property `details`
|
824
|
+
# @return [Array<Hash<String,Object>>]
|
825
|
+
attr_accessor :details
|
826
|
+
|
827
|
+
# A developer-facing error message, which should be in English. Any
|
828
|
+
# user-facing error message should be localized and sent in the
|
829
|
+
# google.rpc.Status.details field, or localized by the client.
|
830
|
+
# Corresponds to the JSON property `message`
|
831
|
+
# @return [String]
|
832
|
+
attr_accessor :message
|
833
|
+
|
834
|
+
def initialize(**args)
|
835
|
+
update!(**args)
|
836
|
+
end
|
837
|
+
|
838
|
+
# Update properties of this object
|
839
|
+
def update!(**args)
|
840
|
+
@code = args[:code] if args.key?(:code)
|
841
|
+
@details = args[:details] if args.key?(:details)
|
842
|
+
@message = args[:message] if args.key?(:message)
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
# Wire-format for a Status object
|
847
|
+
class StatusProto
|
848
|
+
include Google::Apis::Core::Hashable
|
849
|
+
|
850
|
+
# The canonical error code (see codes.proto) that most closely
|
851
|
+
# corresponds to this status. May be missing.
|
852
|
+
# Corresponds to the JSON property `canonicalCode`
|
853
|
+
# @return [Fixnum]
|
854
|
+
attr_accessor :canonical_code
|
855
|
+
|
856
|
+
# Numeric code drawn from the space specified below. Often, this is the
|
857
|
+
# canonical error space, and code is drawn from google3/util/task/codes.proto
|
858
|
+
# Corresponds to the JSON property `code`
|
859
|
+
# @return [Fixnum]
|
860
|
+
attr_accessor :code
|
861
|
+
|
862
|
+
# Detail message
|
863
|
+
# Corresponds to the JSON property `message`
|
864
|
+
# @return [String]
|
865
|
+
attr_accessor :message
|
866
|
+
|
867
|
+
# This is proto2's version of MessageSet.
|
868
|
+
# Corresponds to the JSON property `messageSet`
|
869
|
+
# @return [Google::Apis::FirebaseV1beta1::MessageSet]
|
870
|
+
attr_accessor :message_set
|
871
|
+
|
872
|
+
# Message that groups a protocol type_id (as defined by MessageSet),
|
873
|
+
# with an encoded message of that type. Its use is similar to
|
874
|
+
# MessageSet, except it represents a single (type, encoded message)
|
875
|
+
# instead of a set.
|
876
|
+
# To fill for known protocol type:
|
877
|
+
# MyProtocolMsg proto;
|
878
|
+
# TypedMessage typed_msg;
|
879
|
+
# typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID);
|
880
|
+
# proto.AppendToCord(typed_msg.mutable_message());
|
881
|
+
# To fill for unknown protocol type:
|
882
|
+
# ProtocolMessage proto;
|
883
|
+
# TypedMessage typed_msg;
|
884
|
+
# typed_msg.set_type_id(proto.GetMapper()->type_id());
|
885
|
+
# proto.AppendToCord(typed_msg.mutable_message());
|
886
|
+
# Corresponds to the JSON property `payload`
|
887
|
+
# @return [Google::Apis::FirebaseV1beta1::TypedMessage]
|
888
|
+
attr_accessor :payload
|
889
|
+
|
890
|
+
# The following are usually only present when code != 0
|
891
|
+
# Space to which this status belongs
|
892
|
+
# Corresponds to the JSON property `space`
|
893
|
+
# @return [String]
|
894
|
+
attr_accessor :space
|
895
|
+
|
896
|
+
def initialize(**args)
|
897
|
+
update!(**args)
|
898
|
+
end
|
899
|
+
|
900
|
+
# Update properties of this object
|
901
|
+
def update!(**args)
|
902
|
+
@canonical_code = args[:canonical_code] if args.key?(:canonical_code)
|
903
|
+
@code = args[:code] if args.key?(:code)
|
904
|
+
@message = args[:message] if args.key?(:message)
|
905
|
+
@message_set = args[:message_set] if args.key?(:message_set)
|
906
|
+
@payload = args[:payload] if args.key?(:payload)
|
907
|
+
@space = args[:space] if args.key?(:space)
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
911
|
+
# Message that groups a protocol type_id (as defined by MessageSet),
|
912
|
+
# with an encoded message of that type. Its use is similar to
|
913
|
+
# MessageSet, except it represents a single (type, encoded message)
|
914
|
+
# instead of a set.
|
915
|
+
# To fill for known protocol type:
|
916
|
+
# MyProtocolMsg proto;
|
917
|
+
# TypedMessage typed_msg;
|
918
|
+
# typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID);
|
919
|
+
# proto.AppendToCord(typed_msg.mutable_message());
|
920
|
+
# To fill for unknown protocol type:
|
921
|
+
# ProtocolMessage proto;
|
922
|
+
# TypedMessage typed_msg;
|
923
|
+
# typed_msg.set_type_id(proto.GetMapper()->type_id());
|
924
|
+
# proto.AppendToCord(typed_msg.mutable_message());
|
925
|
+
class TypedMessage
|
926
|
+
include Google::Apis::Core::Hashable
|
927
|
+
|
928
|
+
# Message bytes.
|
929
|
+
# Corresponds to the JSON property `message`
|
930
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
931
|
+
# @return [String]
|
932
|
+
attr_accessor :message
|
933
|
+
|
934
|
+
# Identifier for the type.
|
935
|
+
# Corresponds to the JSON property `typeId`
|
936
|
+
# @return [Fixnum]
|
937
|
+
attr_accessor :type_id
|
938
|
+
|
939
|
+
def initialize(**args)
|
940
|
+
update!(**args)
|
941
|
+
end
|
942
|
+
|
943
|
+
# Update properties of this object
|
944
|
+
def update!(**args)
|
945
|
+
@message = args[:message] if args.key?(:message)
|
946
|
+
@type_id = args[:type_id] if args.key?(:type_id)
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
950
|
+
# Details of a Firebase App for the web.
|
951
|
+
class WebApp
|
952
|
+
include Google::Apis::Core::Hashable
|
953
|
+
|
954
|
+
# Immutable. The globally unique, Firebase-assigned identifier of the App.
|
955
|
+
# <br>
|
956
|
+
# <br>This identifier should be treated as an opaque token, as the data
|
957
|
+
# format is not specified.
|
958
|
+
# Corresponds to the JSON property `appId`
|
959
|
+
# @return [String]
|
960
|
+
attr_accessor :app_id
|
961
|
+
|
962
|
+
# The fully qualified URLs where the App is hosted.
|
963
|
+
# Corresponds to the JSON property `appUrls`
|
964
|
+
# @return [Array<String>]
|
965
|
+
attr_accessor :app_urls
|
966
|
+
|
967
|
+
# The user-assigned display name of the App.
|
968
|
+
# Corresponds to the JSON property `displayName`
|
969
|
+
# @return [String]
|
970
|
+
attr_accessor :display_name
|
971
|
+
|
972
|
+
# The fully qualified resource name of the App, for example:
|
973
|
+
# <br><code>projects/<var>projectId</var>/webApps/<var>appId</var></code>
|
974
|
+
# Corresponds to the JSON property `name`
|
975
|
+
# @return [String]
|
976
|
+
attr_accessor :name
|
977
|
+
|
978
|
+
# The globally unique, user-assigned ID of the parent Project for the App.
|
979
|
+
# Corresponds to the JSON property `projectId`
|
980
|
+
# @return [String]
|
981
|
+
attr_accessor :project_id
|
982
|
+
|
983
|
+
def initialize(**args)
|
984
|
+
update!(**args)
|
985
|
+
end
|
986
|
+
|
987
|
+
# Update properties of this object
|
988
|
+
def update!(**args)
|
989
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
990
|
+
@app_urls = args[:app_urls] if args.key?(:app_urls)
|
991
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
992
|
+
@name = args[:name] if args.key?(:name)
|
993
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
# Configuration metadata of a single Firebase App for the web.
|
998
|
+
class WebAppConfig
|
999
|
+
include Google::Apis::Core::Hashable
|
1000
|
+
|
1001
|
+
# The API key associated with the web App.
|
1002
|
+
# Corresponds to the JSON property `apiKey`
|
1003
|
+
# @return [String]
|
1004
|
+
attr_accessor :api_key
|
1005
|
+
|
1006
|
+
# Immutable. The globally unique, Firebase-assigned identifier of the App.
|
1007
|
+
# Corresponds to the JSON property `appId`
|
1008
|
+
# @return [String]
|
1009
|
+
attr_accessor :app_id
|
1010
|
+
|
1011
|
+
# The domain Firebase Auth configures for OAuth redirects, in the format:
|
1012
|
+
# <br><code><var>projectId</var>.firebaseapp.com</code>
|
1013
|
+
# Corresponds to the JSON property `authDomain`
|
1014
|
+
# @return [String]
|
1015
|
+
attr_accessor :auth_domain
|
1016
|
+
|
1017
|
+
# The default Firebase Realtime Database URL.
|
1018
|
+
# Corresponds to the JSON property `databaseURL`
|
1019
|
+
# @return [String]
|
1020
|
+
attr_accessor :database_url
|
1021
|
+
|
1022
|
+
# The default resource location of other Firebase resources
|
1023
|
+
# (such as Cloud Firestore).
|
1024
|
+
# <br>For examples, see https://cloud.google.com/appengine/docs/locations.
|
1025
|
+
# Corresponds to the JSON property `locationId`
|
1026
|
+
# @return [String]
|
1027
|
+
attr_accessor :location_id
|
1028
|
+
|
1029
|
+
# The sender ID for use with Firebase Cloud Messaging.
|
1030
|
+
# Corresponds to the JSON property `messagingSenderId`
|
1031
|
+
# @return [String]
|
1032
|
+
attr_accessor :messaging_sender_id
|
1033
|
+
|
1034
|
+
# Immutable. The globally unique, user-assigned project ID of the parent
|
1035
|
+
# Project for the App.
|
1036
|
+
# Corresponds to the JSON property `projectId`
|
1037
|
+
# @return [String]
|
1038
|
+
attr_accessor :project_id
|
1039
|
+
|
1040
|
+
# The default Cloud Storage for Firebase storage bucket name.
|
1041
|
+
# Corresponds to the JSON property `storageBucket`
|
1042
|
+
# @return [String]
|
1043
|
+
attr_accessor :storage_bucket
|
1044
|
+
|
1045
|
+
def initialize(**args)
|
1046
|
+
update!(**args)
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# Update properties of this object
|
1050
|
+
def update!(**args)
|
1051
|
+
@api_key = args[:api_key] if args.key?(:api_key)
|
1052
|
+
@app_id = args[:app_id] if args.key?(:app_id)
|
1053
|
+
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
1054
|
+
@database_url = args[:database_url] if args.key?(:database_url)
|
1055
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
1056
|
+
@messaging_sender_id = args[:messaging_sender_id] if args.key?(:messaging_sender_id)
|
1057
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1058
|
+
@storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
end
|
1063
|
+
end
|