Autogenerated update (2020-07-28)

Update:
- firebase_v1beta1
- fitness_v1
- storagetransfer_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2020-07-28 00:38:09 +00:00
parent 8868489c35
commit 0982f57d84
8 changed files with 635 additions and 457 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://firebase.google.com # @see https://firebase.google.com
module FirebaseV1beta1 module FirebaseV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200720' REVISION = '20200724'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,36 +26,33 @@ module Google
class AddFirebaseRequest class AddFirebaseRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. Instead, to set your project's default GCP resource location, # Deprecated. Instead, to set a Project's default GCP resource location,
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
# after you add Firebase resources to your project. # after you add Firebase resources to the GCP `Project`.
# <br> # The ID of the Project's default GCP resource location. The location
# <br>The ID of the project's default GCP resource location. The location # must be one of the available [GCP resource
# must be one of the available
# [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). # locations](https://firebase.google.com/docs/projects/locations).
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
attr_accessor :location_id attr_accessor :location_id
# Deprecated. Instead, to link your Project with a Google Analytics account, # Deprecated. Instead, to link a Project with a Google Analytics
# call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) # account, call
# after you add Firebase resources to your Project. # [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics)
# <br> # after you add Firebase resources to the GCP `Project`.
# <br>The region code (CLDR) that the account will use for Firebase Analytics # The region code (CLDR) that the account will use for Google Analytics
# data. # data
# <br>For example: US, GB, or DE # <br>For example: US, GB, or DE
# <br> # In Java, use `com.google.i18n.identifiers.RegionCode`.
# <br>In Java, use `com.google.i18n.identifiers.RegionCode`.
# Corresponds to the JSON property `regionCode` # Corresponds to the JSON property `regionCode`
# @return [String] # @return [String]
attr_accessor :region_code attr_accessor :region_code
# Deprecated. Instead, to link your Project with a Google Analytics account, # Deprecated. Instead, to link a Project with a Google Analytics
# call [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) # account, call
# after you add Firebase resources to your Project. # [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics)
# <br> # after you add Firebase resources to the GCP `Project`.
# <br>The time zone that the account will use for Firebase Analytics data. # The time zone that the account will use for Google Analytics data.
# <br>For example: America/Los_Angeles or Africa/Abidjan # <br>For example: America/Los_Angeles or Africa/Abidjan
# Corresponds to the JSON property `timeZone` # Corresponds to the JSON property `timeZone`
# @return [String] # @return [String]
@ -79,17 +76,16 @@ module Google
# The ID for the existing # The ID for the existing
# [Google Analytics account](http://www.google.com/analytics/) that you # [Google Analytics account](http://www.google.com/analytics/) that you
# want to link with your `FirebaseProject`. # want to link with the `FirebaseProject`.
# <br> # Specifying this field will provision a new Google Analytics
# <br>Specifying this field will provision a new Google Analytics
# property in your Google Analytics account and associate the new property # property in your Google Analytics account and associate the new property
# with your `FirebaseProject`. # with the `FirebaseProject`.
# Corresponds to the JSON property `analyticsAccountId` # Corresponds to the JSON property `analyticsAccountId`
# @return [String] # @return [String]
attr_accessor :analytics_account_id attr_accessor :analytics_account_id
# The ID for the existing Google Analytics property that you want to # The ID for the existing Google Analytics property that you want to
# associate with your `FirebaseProject`. # associate with the `FirebaseProject`.
# Corresponds to the JSON property `analyticsPropertyId` # Corresponds to the JSON property `analyticsPropertyId`
# @return [String] # @return [String]
attr_accessor :analytics_property_id attr_accessor :analytics_property_id
@ -114,20 +110,22 @@ module Google
# @return [String] # @return [String]
attr_accessor :database_url attr_accessor :database_url
# The ID of the project's default GCP resource location. The location is one # The ID of the Project's default GCP resource location. The location is one
# of the available # of the available
# [GCP resource # [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). <br> # locations](https://firebase.google.com/docs/projects/locations).
# <br>This field is omitted if the default GCP resource location has not been # This field is omitted if the default GCP resource location has not been
# finalized yet. To set your project's default GCP resource location, # finalized yet. To set a Project's default GCP resource location,
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
# after you add Firebase services to your project. # after you add Firebase resources to the Project.
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
attr_accessor :location_id attr_accessor :location_id
# Immutable. The globally unique, user-assigned project ID of the parent # Immutable. A user-assigned unique identifier for the `FirebaseProject`.
# Project. # This identifier may appear in URLs or names for some Firebase resources
# associated with the Project, but it should generally be treated as a
# convenience alias to reference the Project.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
@ -159,12 +157,12 @@ module Google
# @return [Google::Apis::FirebaseV1beta1::AnalyticsProperty] # @return [Google::Apis::FirebaseV1beta1::AnalyticsProperty]
attr_accessor :analytics_property attr_accessor :analytics_property
# For Android Apps and iOS Apps: A map of `app` to `streamId` for each # <ul>
# <li>For `AndroidApps` and `IosApps`: a map of `app` to `streamId` for each
# Firebase App in the specified `FirebaseProject`. Each `app` and # Firebase App in the specified `FirebaseProject`. Each `app` and
# `streamId` appears only once.<br> # `streamId` appears only once.
# <br> # <li>For `WebApps`: a map of `app` to `streamId` and `measurementId` for
# For Web Apps: A map of `app` to `streamId` and `measurementId` for each # each `WebApp` in the specified `FirebaseProject`. Each `app`, `streamId`,
# Firebase App in the specified `FirebaseProject`. Each `app`, `streamId`,
# and `measurementId` appears only once. # and `measurementId` appears only once.
# Corresponds to the JSON property `streamMappings` # Corresponds to the JSON property `streamMappings`
# @return [Array<Google::Apis::FirebaseV1beta1::StreamMapping>] # @return [Array<Google::Apis::FirebaseV1beta1::StreamMapping>]
@ -193,10 +191,9 @@ module Google
# The globally unique, Google-assigned identifier of the Google Analytics # The globally unique, Google-assigned identifier of the Google Analytics
# property associated with the specified `FirebaseProject`. # property associated with the specified `FirebaseProject`.
# <br> # If you called
# <br>If you called
# [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) to link # [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) to link
# your `FirebaseProject` with a Google Analytics account, the value in this # the `FirebaseProject` with a Google Analytics account, the value in this
# `id` field is the same as the ID of the property either specified or # `id` field is the same as the ID of the property either specified or
# provisioned with that call to `AddGoogleAnalytics`. # provisioned with that call to `AddGoogleAnalytics`.
# Corresponds to the JSON property `id` # Corresponds to the JSON property `id`
@ -218,32 +215,45 @@ module Google
class AndroidApp class AndroidApp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Immutable. The globally unique, Firebase-assigned identifier of the App. # Immutable. The globally unique, Firebase-assigned identifier for the
# <br> # `AndroidApp`.
# <br>This identifier should be treated as an opaque token, as the data # This identifier should be treated as an opaque token, as the data
# format is not specified. # format is not specified.
# Corresponds to the JSON property `appId` # Corresponds to the JSON property `appId`
# @return [String] # @return [String]
attr_accessor :app_id attr_accessor :app_id
# The user-assigned display name of the App. # The user-assigned display name for the `AndroidApp`.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The fully qualified resource name of the App, in the format: # The resource name of the AndroidApp, in the format:
# <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var></
# code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App
# (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)).
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The canonical package name of the Android App as would appear in the # Immutable. The canonical package name of the Android app as would appear in
# Google Play Developer Console. # the Google Play Developer Console.
# Corresponds to the JSON property `packageName` # Corresponds to the JSON property `packageName`
# @return [String] # @return [String]
attr_accessor :package_name attr_accessor :package_name
# The globally unique, user-assigned ID of the parent Project for the App. # Immutable. A user-assigned unique identifier of the parent
# FirebaseProject for the `AndroidApp`.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
@ -272,7 +282,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :config_file_contents attr_accessor :config_file_contents
# The filename that the configuration artifact is typically saved as. # The filename that the configuration artifact for the `AndroidApp` is
# typically saved as.
# <br>For example: `google-services.json` # <br>For example: `google-services.json`
# Corresponds to the JSON property `configFilename` # Corresponds to the JSON property `configFilename`
# @return [String] # @return [String]
@ -289,13 +300,13 @@ module Google
end end
end end
# The default resources associated with a `FirebaseProject`. # The default resources associated with the Project.
class DefaultResources class DefaultResources
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The default Firebase Hosting site name, in the format: # The default Firebase Hosting site name, in the format:
# <br><code><var>projectId</var></code> # <code><var>PROJECT_ID</var></code>
# <br>Though rare, your `projectId` might already be used as the name for an # Though rare, your `projectId` might already be used as the name for an
# existing Hosting site in another project (learn more about creating # existing Hosting site in another project (learn more about creating
# non-default, # non-default,
# [additional sites](https://firebase.google.com/docs/hosting/multisites)). # [additional sites](https://firebase.google.com/docs/hosting/multisites)).
@ -303,26 +314,26 @@ module Google
# alphanumeric characters to create your default Hosting site name. For # alphanumeric characters to create your default Hosting site name. For
# example, if your `projectId` is `myproject123`, your default Hosting site # example, if your `projectId` is `myproject123`, your default Hosting site
# name might be: # name might be:
# <br><code>myproject123-a5c16</code> # `myproject123-a5c16`
# Corresponds to the JSON property `hostingSite` # Corresponds to the JSON property `hostingSite`
# @return [String] # @return [String]
attr_accessor :hosting_site attr_accessor :hosting_site
# The ID of the project's default GCP resource location. The location is one # The ID of the Project's default GCP resource location. The location is one
# of the available # of the available
# [GCP resource # [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). <br> # locations](https://firebase.google.com/docs/projects/locations).
# <br>This field is omitted if the default GCP resource location has not been # This field is omitted if the default GCP resource location has not been
# finalized yet. To set your project's default GCP resource location, # finalized yet. To set a Project's default GCP resource location,
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
# after you add Firebase services to your project. # after you add Firebase resources to the Project.
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
attr_accessor :location_id attr_accessor :location_id
# The default Firebase Realtime Database instance name, in the format: # The default Firebase Realtime Database instance name, in the format:
# <br><code><var>projectId</var></code> # <code><var>PROJECT_ID</var></code>
# <br>Though rare, your `projectId` might already be used as the name for an # Though rare, your `projectId` might already be used as the name for an
# existing Realtime Database instance in another project (learn more about # existing Realtime Database instance in another project (learn more about
# [database # [database
# sharding](https://firebase.google.com/docs/database/usage/sharding)). In # sharding](https://firebase.google.com/docs/database/usage/sharding)). In
@ -330,13 +341,13 @@ module Google
# alphanumeric characters to create your default Realtime Database instance # alphanumeric characters to create your default Realtime Database instance
# name. For example, if your `projectId` is `myproject123`, your default # name. For example, if your `projectId` is `myproject123`, your default
# database instance name might be: # database instance name might be:
# <br><code>myproject123-a5c16</code> # `myproject123-a5c16`
# Corresponds to the JSON property `realtimeDatabaseInstance` # Corresponds to the JSON property `realtimeDatabaseInstance`
# @return [String] # @return [String]
attr_accessor :realtime_database_instance attr_accessor :realtime_database_instance
# The default Cloud Storage for Firebase storage bucket, in the format: # The default Cloud Storage for Firebase storage bucket, in the format:
# <br><code><var>projectId</var>.appspot.com</code> # <code><var>PROJECT_ID</var>.appspot.com</code>
# Corresponds to the JSON property `storageBucket` # Corresponds to the JSON property `storageBucket`
# @return [String] # @return [String]
attr_accessor :storage_bucket attr_accessor :storage_bucket
@ -377,9 +388,8 @@ module Google
class FinalizeDefaultLocationRequest class FinalizeDefaultLocationRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The ID of the default GCP resource location for the Project. The location # The ID of the Project's default GCP resource location. The location must be
# must be one of the available # one of the available [GCP resource
# [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). # locations](https://firebase.google.com/docs/projects/locations).
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
@ -399,9 +409,9 @@ module Google
class FirebaseAppInfo class FirebaseAppInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Immutable. The globally unique, Firebase-assigned identifier of the App. # Immutable. The globally unique, Firebase-assigned identifier for the
# <br> # `WebApp`.
# <br>This identifier should be treated as an opaque token, as the data # This identifier should be treated as an opaque token, as the data
# format is not specified. # format is not specified.
# Corresponds to the JSON property `appId` # Corresponds to the JSON property `appId`
# @return [String] # @return [String]
@ -412,10 +422,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The fully qualified resource name of the Firebase App, in the format: # The resource name of the Firebase App, in the format:
# <br><code>projects/<var>projectId</var>/iosApps/<var>appId</var></code> # <code>projects/<var>PROJECT_ID</var>/iosApps/<var>APP_ID</var></code>
# or <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var> # or
# </code> # <code>projects/<var>PROJECT_ID</var>/androidApps/<var>APP_ID</var></code>
# or
# <code>projects/<var>PROJECT_ID</var>/webApps/<var>APP_ID</var></code>
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -440,21 +452,18 @@ module Google
# A `FirebaseProject` is the top-level Firebase entity. It is the container for # A `FirebaseProject` is the top-level Firebase entity. It is the container for
# Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime # Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime
# Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and # Database, Cloud Firestore, Cloud Storage buckets), and other Firebase and
# Google Cloud Platform (GCP) resources. # Google Cloud Platform (GCP) resources.
# <br> # You create a `FirebaseProject` by calling
# <br>You can create a new `FirebaseProject` in the # AddFirebase
# [Firebase console](https://console.firebase.google.com/), # and specifying an *existing*
# or you can add Firebase resources to an existing
# [GCP # [GCP
# `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/ # `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/
# projects) # projects).
# by calling # This adds Firebase resources to the existing GCP `Project`.
# AddFirebase. # Since a FirebaseProject is actually also a GCP `Project`, a
# <br> # `FirebaseProject` has the same underlying GCP identifiers (`projectNumber`
# <br>A `FirebaseProject` is actually also a GCP `Project`, so a # and `projectId`). This allows for easy interop with Google APIs.
# `FirebaseProject` uses underlying GCP identifiers (most importantly,
# `projectId`) as its own for easy interop with GCP APIs.
class FirebaseProject class FirebaseProject
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -463,23 +472,37 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The fully qualified resource name of the Project, in the format: # The resource name of the Project, in the format:
# <br><code>projects/<var>projectId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# <var>PROJECT_IDENTIFIER</var>: the Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# <br>Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Immutable. The globally unique, user-assigned ID of the Project. # Immutable. A user-assigned unique identifier for the Project.
# This identifier may appear in URLs or names for some Firebase resources
# associated with the Project, but it should generally be treated as a
# convenience alias to reference the Project.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# The globally unique, Google-assigned identifier of the Project. # Immutable. The globally unique, Google-assigned canonical identifier for
# the Project.
# Use this identifier when configuring integrations and/or
# making API calls to Firebase or third-party services.
# Corresponds to the JSON property `projectNumber` # Corresponds to the JSON property `projectNumber`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :project_number attr_accessor :project_number
# The default resources associated with a `FirebaseProject`. # The default resources associated with the Project.
# Corresponds to the JSON property `resources` # Corresponds to the JSON property `resources`
# @return [Google::Apis::FirebaseV1beta1::DefaultResources] # @return [Google::Apis::FirebaseV1beta1::DefaultResources]
attr_accessor :resources attr_accessor :resources
@ -502,38 +525,49 @@ module Google
class IosApp class IosApp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Immutable. The globally unique, Firebase-assigned identifier of the App. # Immutable. The globally unique, Firebase-assigned identifier for the
# <br> # `IosApp`.
# <br>This identifier should be treated as an opaque token, as the data # This identifier should be treated as an opaque token, as the data
# format is not specified. # format is not specified.
# Corresponds to the JSON property `appId` # Corresponds to the JSON property `appId`
# @return [String] # @return [String]
attr_accessor :app_id attr_accessor :app_id
# The automatically generated Apple ID assigned to the App by Apple in the # The automatically generated Apple ID assigned to the iOS app by Apple in
# iOS App Store. # the iOS App Store.
# Corresponds to the JSON property `appStoreId` # Corresponds to the JSON property `appStoreId`
# @return [String] # @return [String]
attr_accessor :app_store_id attr_accessor :app_store_id
# The canonical bundle ID of the iOS App as it would appear in the iOS # Immutable. The canonical bundle ID of the iOS app as it would appear in the
# AppStore. # iOS AppStore.
# Corresponds to the JSON property `bundleId` # Corresponds to the JSON property `bundleId`
# @return [String] # @return [String]
attr_accessor :bundle_id attr_accessor :bundle_id
# The user-assigned display name of the App. # The user-assigned display name for the `IosApp`.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The fully qualified resource name of the App, in the format: # The resource name of the IosApp, in the format:
# <br><code>projects/<var>projectId</var>/iosApps/<var>appId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps/<var>APP_ID</var></code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App (see [`appId`](../projects.iosApps#IosApp.FIELDS.app_id)).
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The globally unique, user-assigned ID of the parent Project for the App. # Immutable. A user-assigned unique identifier of the parent
# FirebaseProject for the `IosApp`.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
@ -563,7 +597,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :config_file_contents attr_accessor :config_file_contents
# The filename that the configuration artifact is typically saved as. # The filename that the configuration artifact for the `IosApp` is typically
# saved as.
# <br>For example: `GoogleService-Info.plist` # <br>For example: `GoogleService-Info.plist`
# Corresponds to the JSON property `configFilename` # Corresponds to the JSON property `configFilename`
# @return [String] # @return [String]
@ -584,7 +619,7 @@ module Google
class ListAndroidAppsResponse class ListAndroidAppsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of each AndroidApp that is in the parent Firebase Project. # List of each `AndroidApp` associated with the specified `FirebaseProject`.
# Corresponds to the JSON property `apps` # Corresponds to the JSON property `apps`
# @return [Array<Google::Apis::FirebaseV1beta1::AndroidApp>] # @return [Array<Google::Apis::FirebaseV1beta1::AndroidApp>]
attr_accessor :apps attr_accessor :apps
@ -592,11 +627,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. If the string is empty, then this response is the last page of # is returned. If the string is empty, then this response is the last page of
# results. # results.
# <br> # This token can be used in a subsequent call to `ListAndroidApps` to
# <br>This token can be used in a subsequent call to `ListAndroidApps` to
# find the next group of Apps. # find the next group of Apps.
# <br> # Page tokens are short-lived and should not be persisted.
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -624,11 +657,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. If the string is empty, then this response is the last page of # is returned. If the string is empty, then this response is the last page of
# results and all available locations have been listed. # results and all available locations have been listed.
# <br> # This token can be used in a subsequent call to
# <br>This token can be used in a subsequent call to
# `ListAvailableLocations` to find more locations. # `ListAvailableLocations` to find more locations.
# <br> # Page tokens are short-lived and should not be persisted.
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -651,11 +682,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. If the string is empty, then this response is the last page of # is returned. If the string is empty, then this response is the last page of
# results. # results.
# <br> # This token can be used in a subsequent calls to `ListAvailableProjects`
# <br>This token can be used in a subsequent calls to `ListAvailableProjects` # to find the next group of Projects.
# to find the next group of GCP `Projects`. # Page tokens are short-lived and should not be persisted.
# <br>
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -683,11 +712,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. If the string is empty, then this response is the last page of # is returned. If the string is empty, then this response is the last page of
# results. # results.
# <br> # This token can be used in a subsequent calls to `ListFirebaseProjects`
# <br>This token can be used in a subsequent calls to `ListFirebaseProjects`
# to find the next group of Projects. # to find the next group of Projects.
# <br> # Page tokens are short-lived and should not be persisted.
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -712,7 +739,7 @@ module Google
class ListIosAppsResponse class ListIosAppsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of each IosApp that is in the parent Firebase Project. # List of each `IosApp` associated with the specified `FirebaseProject`.
# Corresponds to the JSON property `apps` # Corresponds to the JSON property `apps`
# @return [Array<Google::Apis::FirebaseV1beta1::IosApp>] # @return [Array<Google::Apis::FirebaseV1beta1::IosApp>]
attr_accessor :apps attr_accessor :apps
@ -720,11 +747,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. If the string is empty, then this response is the last page of # is returned. If the string is empty, then this response is the last page of
# results. # results.
# <br> # This token can be used in a subsequent call to `ListIosApps` to find
# <br>This token can be used in a subsequent call to `ListIosApps` to find
# the next group of Apps. # the next group of Apps.
# <br> # Page tokens are short-lived and should not be persisted.
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -744,7 +769,7 @@ module Google
class ListShaCertificatesResponse class ListShaCertificatesResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The list of SHA certificates associated with the App. # The list of each `ShaCertificate` associated with the `AndroidApp`.
# Corresponds to the JSON property `certificates` # Corresponds to the JSON property `certificates`
# @return [Array<Google::Apis::FirebaseV1beta1::ShaCertificate>] # @return [Array<Google::Apis::FirebaseV1beta1::ShaCertificate>]
attr_accessor :certificates attr_accessor :certificates
@ -763,7 +788,7 @@ module Google
class ListWebAppsResponse class ListWebAppsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of each WebApp that is in the parent Firebase Project. # List of each `WebApp` associated with the specified `FirebaseProject`.
# Corresponds to the JSON property `apps` # Corresponds to the JSON property `apps`
# @return [Array<Google::Apis::FirebaseV1beta1::WebApp>] # @return [Array<Google::Apis::FirebaseV1beta1::WebApp>]
attr_accessor :apps attr_accessor :apps
@ -771,11 +796,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. If the string is empty, then this response is the last page of # is returned. If the string is empty, then this response is the last page of
# results. # results.
# <br> # This token can be used in a subsequent call to `ListWebApps` to find
# <br>This token can be used in a subsequent call to `ListWebApps` to find
# the next group of Apps. # the next group of Apps.
# <br> # Page tokens are short-lived and should not be persisted.
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -791,7 +814,7 @@ module Google
end end
end end
# A GCP resource location that can be selected for a Project. # A GCP resource location that can be selected for a FirebaseProject.
class Location class Location
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -908,28 +931,30 @@ module Google
class ProjectInfo class ProjectInfo
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The user-assigned display name of the GCP `Project`, for example: # The user-assigned display name of the GCP `Project`, for example: `My App`
# <code>My App</code>
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The ID of the project's default GCP resource location. The location is one # The ID of the Project's default GCP resource location. The location is one
# of the available # of the available
# [GCP resource # [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). <br> <br> # locations](https://firebase.google.com/docs/projects/locations).
# Not all projects will have this field populated. If it is not populated, it # Not all Projects will have this field populated. If it is not populated, it
# means that the project does not yet have a default GCP resource location. # means that the Project does not yet have a default GCP resource location.
# To set your project's default GCP resource location, call # To set a Project's default GCP resource location, call
# [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you # [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you
# add Firebase resources to your project. # add Firebase resources to the Project.
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
attr_accessor :location_id attr_accessor :location_id
# The resource name of the GCP `Project` to which Firebase resources can be # The resource name of the GCP `Project` to which Firebase resources can be
# added, in the format: # added, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# Corresponds to the JSON property `project` # Corresponds to the JSON property `project`
# @return [String] # @return [String]
attr_accessor :project attr_accessor :project
@ -954,10 +979,12 @@ module Google
# specified `FirebaseProject`. # specified `FirebaseProject`.
# <ul> # <ul>
# <li>If not set, then the Google Analytics property that is currently # <li>If not set, then the Google Analytics property that is currently
# associated with the specified `FirebaseProject` is removed.</li> # associated with the specified `FirebaseProject` is removed.
# </li>
# <li>If set, and the specified `FirebaseProject` is currently associated # <li>If set, and the specified `FirebaseProject` is currently associated
# with a <em>different</em> Google Analytics property, then the response is a # with a *different* Google Analytics property, then the response
# `412 Precondition Failed` error.</li> # is a `412 Precondition Failed` error.
# </li>
# </ul> # </ul>
# Corresponds to the JSON property `analyticsPropertyId` # Corresponds to the JSON property `analyticsPropertyId`
# @return [String] # @return [String]
@ -984,11 +1011,9 @@ module Google
# If the result list is too large to fit in a single response, then a token # If the result list is too large to fit in a single response, then a token
# is returned. # is returned.
# <br> # This token can be used in a subsequent calls to `SearchFirebaseApps`
# <br>This token can be used in a subsequent calls to `SearchFirebaseApps`
# to find the next group of Apps. # to find the next group of Apps.
# <br>If the string is empty, then this response is the last page of results. # Page tokens are short-lived and should not be persisted.
# <br>Page tokens are short-lived and should not be persisted.
# Corresponds to the JSON property `nextPageToken` # Corresponds to the JSON property `nextPageToken`
# @return [String] # @return [String]
attr_accessor :next_page_token attr_accessor :next_page_token
@ -1008,19 +1033,33 @@ module Google
class ShaCertificate class ShaCertificate
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The SHA certificate type. # The type of SHA certificate encoded in the hash.
# Corresponds to the JSON property `certType` # Corresponds to the JSON property `certType`
# @return [String] # @return [String]
attr_accessor :cert_type attr_accessor :cert_type
# The fully qualified resource name of the `sha-key`, in the format: # The resource name of the ShaCertificate for the AndroidApp,
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var>/sha/ # in the format:
# <var>SHA_ID</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var>/sha/
# <var>SHA_HASH</var></code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App
# (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)).
# * <var>SHA_HASH</var>: the certificate hash for the App (see
# [`shaHash`](../projects.androidApps.sha#ShaCertificate.FIELDS.sha_hash)).
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The certificate hash for the App. # The certificate hash for the `AndroidApp`.
# Corresponds to the JSON property `shaHash` # Corresponds to the JSON property `shaHash`
# @return [String] # @return [String]
attr_accessor :sha_hash attr_accessor :sha_hash
@ -1142,24 +1181,26 @@ module Google
class StreamMapping class StreamMapping
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The fully qualified resource name of the Firebase App associated with the # The resource name of the Firebase App associated with the
# Google Analytics data stream, in the format: # Google Analytics data stream, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var></ # <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var></
# code> # code>
# or # or
# <code>projects/<var>PROJECT_NUMBER</var>/iosApps/<var>APP_ID</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps/<var>APP_ID</var></code>
# or # or
# <code>projects/<var>PROJECT_NUMBER</var>/webApps/<var>APP_ID</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps/<var>APP_ID</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# Corresponds to the JSON property `app` # Corresponds to the JSON property `app`
# @return [String] # @return [String]
attr_accessor :app attr_accessor :app
# Applicable for Firebase Web Apps only.<br> # Applicable for Firebase Web Apps only.
# <br>The unique Google-assigned identifier of the Google Analytics web # The unique Google-assigned identifier of the Google Analytics web
# stream associated with the Firebase Web App. Firebase SDKs use this ID to # stream associated with the Firebase Web App. Firebase SDKs use this ID to
# interact with Google Analytics APIs. # interact with Google Analytics APIs.
# <br> # Learn more about this ID and Google Analytics web streams in the
# <br>Learn more about this ID and Google Analytics web streams in the
# [Analytics # [Analytics
# documentation](https://support.google.com/analytics/topic/9303475). # documentation](https://support.google.com/analytics/topic/9303475).
# Corresponds to the JSON property `measurementId` # Corresponds to the JSON property `measurementId`
@ -1168,8 +1209,7 @@ module Google
# The unique Google-assigned identifier of the Google Analytics data stream # The unique Google-assigned identifier of the Google Analytics data stream
# associated with the Firebase App. # associated with the Firebase App.
# <br> # Learn more about Google Analytics data streams in the
# <br>Learn more about Google Analytics data streams in the
# [Analytics # [Analytics
# documentation](https://support.google.com/analytics/answer/9303323). # documentation](https://support.google.com/analytics/answer/9303323).
# Corresponds to the JSON property `streamId` # Corresponds to the JSON property `streamId`
@ -1228,31 +1268,42 @@ module Google
class WebApp class WebApp
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Immutable. The globally unique, Firebase-assigned identifier of the App. # Immutable. The globally unique, Firebase-assigned identifier for the
# <br> # `WebApp`.
# <br>This identifier should be treated as an opaque token, as the data # This identifier should be treated as an opaque token, as the data
# format is not specified. # format is not specified.
# Corresponds to the JSON property `appId` # Corresponds to the JSON property `appId`
# @return [String] # @return [String]
attr_accessor :app_id attr_accessor :app_id
# The fully qualified URLs where the App is hosted. # The URLs where the `WebApp` is hosted.
# Corresponds to the JSON property `appUrls` # Corresponds to the JSON property `appUrls`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :app_urls attr_accessor :app_urls
# The user-assigned display name of the App. # The user-assigned display name for the `WebApp`.
# Corresponds to the JSON property `displayName` # Corresponds to the JSON property `displayName`
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# The fully qualified resource name of the App, for example: # The resource name of the WebApp, in the format:
# <br><code>projects/<var>projectId</var>/webApps/<var>appId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps/<var>APP_ID</var></code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App (see [`appId`](../projects.webApps#WebApp.FIELDS.app_id)).
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The globally unique, user-assigned ID of the parent Project for the App. # Immutable. A user-assigned unique identifier of the parent
# FirebaseProject for the `WebApp`.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
@ -1275,18 +1326,19 @@ module Google
class WebAppConfig class WebAppConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The API key associated with the web App. # The API key associated with the `WebApp`.
# Corresponds to the JSON property `apiKey` # Corresponds to the JSON property `apiKey`
# @return [String] # @return [String]
attr_accessor :api_key attr_accessor :api_key
# Immutable. The globally unique, Firebase-assigned identifier of the App. # Immutable. The globally unique, Firebase-assigned identifier for the
# `WebApp`.
# Corresponds to the JSON property `appId` # Corresponds to the JSON property `appId`
# @return [String] # @return [String]
attr_accessor :app_id attr_accessor :app_id
# The domain Firebase Auth configures for OAuth redirects, in the format: # The domain Firebase Auth configures for OAuth redirects, in the format:
# <br><code><var>projectId</var>.firebaseapp.com</code> # <code><var>PROJECT_ID</var>.firebaseapp.com</code>
# Corresponds to the JSON property `authDomain` # Corresponds to the JSON property `authDomain`
# @return [String] # @return [String]
attr_accessor :auth_domain attr_accessor :auth_domain
@ -1296,14 +1348,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :database_url attr_accessor :database_url
# The ID of the project's default GCP resource location. The location is one # The ID of the Project's default GCP resource location. The location is one
# of the available # of the available
# [GCP resource # [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). <br> # locations](https://firebase.google.com/docs/projects/locations).
# <br>This field is omitted if the default GCP resource location has not been # This field is omitted if the default GCP resource location has not been
# finalized yet. To set your project's default GCP resource location, # finalized yet. To set a Project's default GCP resource location,
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) # call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
# after you add Firebase services to your project. # after you add Firebase resources to the Project.
# Corresponds to the JSON property `locationId` # Corresponds to the JSON property `locationId`
# @return [String] # @return [String]
attr_accessor :location_id attr_accessor :location_id
@ -1319,8 +1371,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :messaging_sender_id attr_accessor :messaging_sender_id
# Immutable. The globally unique, user-assigned project ID of the parent # Immutable. A user-assigned unique identifier for the `FirebaseProject`.
# Project for the App.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id

View File

@ -48,30 +48,30 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Returns a list of [Google Cloud Platform (GCP) `Projects`] # Lists each [Google Cloud Platform (GCP) `Project`]
# (https://cloud.google.com/resource-manager/reference/rest/v1/projects) # (https://cloud.google.com/resource-manager/reference/rest/v1/projects)
# that are available to have Firebase resources added to them. # that can have Firebase resources added to it.
# <br> # A Project will only be listed if:
# <br>A GCP `Project` will only be returned if: # <ul>
# <ol> # <li>The caller has sufficient
# <li><p>The caller has sufficient
# [Google IAM](https://cloud.google.com/iam) permissions to call # [Google IAM](https://cloud.google.com/iam) permissions to call
# AddFirebase.</p></li> # AddFirebase.
# <li><p>The GCP `Project` is not already a FirebaseProject.</p></li> # </li>
# <li><p>The GCP `Project` is not in an Organization which has policies # <li>The Project is not already a FirebaseProject.
# that prevent Firebase resources from being added.</p></li> # </li>
# </ol> # <li>The Project is not in an Organization which has policies
# that prevent Firebase resources from being added.
# </li>
# </ul>
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of GCP `Projects` to return in the response. # The maximum number of Projects to return in the response.
# <br> # The server may return fewer than this value at its discretion.
# <br>The server may return fewer than this value at its discretion.
# If no value is specified (or too large a value is specified), the server # If no value is specified (or too large a value is specified), the server
# will impose its own limit. # will impose its own limit.
# <br> # This value cannot be negative.
# <br>This value cannot be negative.
# @param [String] page_token # @param [String] page_token
# Token returned from a previous call to `ListAvailableProjects` # Token returned from a previous call to `ListAvailableProjects`
# indicating where in the set of GCP `Projects` to resume listing. # indicating where in the set of Projects to resume listing.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -135,12 +135,10 @@ module Google
# Adds Firebase resources to the specified existing # Adds Firebase resources to the specified existing
# [Google Cloud Platform (GCP) `Project`] # [Google Cloud Platform (GCP) `Project`]
# (https://cloud.google.com/resource-manager/reference/rest/v1/projects). # (https://cloud.google.com/resource-manager/reference/rest/v1/projects).
# <br> # Since a FirebaseProject is actually also a GCP `Project`, a
# <br>Since a FirebaseProject is actually also a GCP `Project`, a # `FirebaseProject` has the same underlying GCP identifiers (`projectNumber`
# `FirebaseProject` uses underlying GCP identifiers (most importantly, # and `projectId`). This allows for easy interop with Google APIs.
# the `PROJECT_NUMBER`) as its own for easy interop with GCP APIs. # The result of this call is an [`Operation`](../../v1beta1/operations).
# <br>
# <br>The result of this call is an [`Operation`](../../v1beta1/operations).
# Poll the `Operation` to track the provisioning process by calling # Poll the `Operation` to track the provisioning process by calling
# GetOperation until # GetOperation until
# [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When # [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
@ -152,11 +150,9 @@ module Google
# google.rpc.Status. The `Operation` is automatically deleted after # google.rpc.Status. The `Operation` is automatically deleted after
# completion, so there is no need to call # completion, so there is no need to call
# DeleteOperation. # DeleteOperation.
# <br> # This method does not modify any billing account information on the
# <br>This method does not modify any billing account information on the
# underlying GCP `Project`. # underlying GCP `Project`.
# <br> # To call `AddFirebase`, a project member or service account must have
# <br>To call `AddFirebase`, a project member or service account must have
# the following permissions (the IAM roles of Editor and Owner contain these # the following permissions (the IAM roles of Editor and Owner contain these
# permissions): # permissions):
# `firebase.projects.update`, `resourcemanager.projects.get`, # `firebase.projects.update`, `resourcemanager.projects.get`,
@ -164,11 +160,18 @@ module Google
# @param [String] project # @param [String] project
# The resource name of the GCP `Project` to which Firebase resources will be # The resource name of the GCP `Project` to which Firebase resources will be
# added, in the format: # added, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# After calling `AddFirebase`, the # Refer to the `FirebaseProject`
# [`project_id`](https://cloud.google.com/resource-manager/reference/rest/v1/ # [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# projects#Project.FIELDS.project_id) # about <var>PROJECT_IDENTIFIER</var> values.
# of the GCP `Project` is also the `project_id` of the FirebaseProject. # After calling `AddFirebase`, the unique Project identifiers (
# [`projectNumber`](https://cloud.google.com/resource-manager/reference/rest/v1/
# projects#Project.FIELDS.project_number)
# and
# [`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/
# projects#Project.FIELDS.project_id))
# of the underlying GCP `Project` are also the identifiers of the
# FirebaseProject.
# @param [Google::Apis::FirebaseV1beta1::AddFirebaseRequest] add_firebase_request_object # @param [Google::Apis::FirebaseV1beta1::AddFirebaseRequest] add_firebase_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -199,38 +202,35 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Links a FirebaseProject with an existing # Links the specified FirebaseProject with an existing
# [Google Analytics account](http://www.google.com/analytics/). # [Google Analytics account](http://www.google.com/analytics/).
# <br> # Using this call, you can either:
# <br>Using this call, you can either:
# <ul> # <ul>
# <li>Specify an `analyticsAccountId` to provision a new Google Analytics # <li>Specify an `analyticsAccountId` to provision a new Google Analytics
# property within the specified account and associate the new property with # property within the specified account and associate the new property with
# your `FirebaseProject`.</li> # the `FirebaseProject`.
# <li>Specify an existing `analyticsPropertyId` to associate the property # <li>Specify an existing `analyticsPropertyId` to associate the property
# with your `FirebaseProject`.</li> # with the `FirebaseProject`.
# </ul> # </ul>
# <br>
# Note that when you call `AddGoogleAnalytics`: # Note that when you call `AddGoogleAnalytics`:
# <ol> # <ol>
# <li>The first check determines if any existing data streams in the # <li>The first check determines if any existing data streams in the
# Google Analytics property correspond to any existing Firebase Apps in your # Google Analytics property correspond to any existing Firebase Apps in the
# `FirebaseProject` (based on the `packageName` or `bundleId` associated with # `FirebaseProject` (based on the `packageName` or `bundleId` associated
# the data stream). Then, as applicable, the data streams and apps are # with the data stream). Then, as applicable, the data streams and apps are
# linked. Note that this auto-linking only applies to Android Apps and iOS # linked. Note that this auto-linking only applies to `AndroidApps` and
# Apps.</li> # `IosApps`.
# <li>If no corresponding data streams are found for your Firebase Apps, # <li>If no corresponding data streams are found for the Firebase Apps, new
# new data streams are provisioned in the Google Analytics property # data streams are provisioned in the Google Analytics property for each of
# for each of your Firebase Apps. Note that a new data stream is always # the Firebase Apps. Note that a new data stream is always provisioned for
# provisioned for a Web App even if it was previously associated with a # a Web App even if it was previously associated with a data stream in the
# data stream in your Analytics property.</li> # Analytics property.
# </ol> # </ol>
# Learn more about the hierarchy and structure of Google Analytics # Learn more about the hierarchy and structure of Google Analytics
# accounts in the # accounts in the
# [Analytics # [Analytics
# documentation](https://support.google.com/analytics/answer/9303323). # documentation](https://support.google.com/analytics/answer/9303323).
# <br> # The result of this call is an [`Operation`](../../v1beta1/operations).
# <br>The result of this call is an [`Operation`](../../v1beta1/operations).
# Poll the `Operation` to track the provisioning process by calling # Poll the `Operation` to track the provisioning process by calling
# GetOperation until # GetOperation until
# [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When # [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
@ -240,22 +240,23 @@ module Google
# an AnalyticsDetails; if the `Operation` failed, its # an AnalyticsDetails; if the `Operation` failed, its
# [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a # [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a
# google.rpc.Status. # google.rpc.Status.
# <br> # To call `AddGoogleAnalytics`, a project member must be an Owner for
# <br>To call `AddGoogleAnalytics`, a member must be an Owner for
# the existing `FirebaseProject` and have the # the existing `FirebaseProject` and have the
# [`Edit` permission](https://support.google.com/analytics/answer/2884495) # [`Edit` permission](https://support.google.com/analytics/answer/2884495)
# for the Google Analytics account. # for the Google Analytics account.
# <br> # If the `FirebaseProject` already has Google Analytics enabled, and you
# <br>If a `FirebaseProject` already has Google Analytics enabled, and you
# call `AddGoogleAnalytics` using an `analyticsPropertyId` that's different # call `AddGoogleAnalytics` using an `analyticsPropertyId` that's different
# from the currently associated property, then the call will fail. Analytics # from the currently associated property, then the call will fail. Analytics
# may have already been enabled in the Firebase console or by specifying # may have already been enabled in the Firebase console or by specifying
# `timeZone` and `regionCode` in the call to # `timeZone` and `regionCode` in the call to
# [`AddFirebase`](../../v1beta1/projects/addFirebase). # [`AddFirebase`](../../v1beta1/projects/addFirebase).
# @param [String] parent # @param [String] parent
# The parent `FirebaseProject` to link to an existing Google Analytics # The resource name of the FirebaseProject to link to an existing Google
# account, in the format: # Analytics account, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Google::Apis::FirebaseV1beta1::AddGoogleAnalyticsRequest] add_google_analytics_request_object # @param [Google::Apis::FirebaseV1beta1::AddGoogleAnalyticsRequest] add_google_analytics_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -286,10 +287,13 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the FirebaseProject identified by the specified resource name. # Gets the specified FirebaseProject.
# @param [String] name # @param [String] name
# The fully qualified resource name of the Project, in the format: # The resource name of the FirebaseProject, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -317,15 +321,19 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the configuration artifact used by servers to simplify initialization. # Gets the configuration artifact associated with the specified
# <br> # FirebaseProject, which can be used by servers to simplify
# <br>Typically, this configuration is used with the Firebase Admin SDK # initialization.
# Typically, this configuration is used with the Firebase Admin SDK
# [initializeApp](https://firebase.google.com/docs/admin/setup# # [initializeApp](https://firebase.google.com/docs/admin/setup#
# initialize_the_sdk) # initialize_the_sdk)
# command. # command.
# @param [String] name # @param [String] name
# The fully qualified resource name of the Project, in the format: # The resource name of the FirebaseProject, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var>/adminSdkConfig</code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/adminSdkConfig</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -353,14 +361,16 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the Google Analytics details currently associated with a # Gets the Google Analytics details currently associated with the specified
# FirebaseProject. # FirebaseProject.
# <br> # If the `FirebaseProject` is not yet linked to Google Analytics, then
# <br>If the `FirebaseProject` is not yet linked to Google Analytics, then # the response to `GetAnalyticsDetails` is `NOT_FOUND`.
# the response to `GetAnalyticsDetails` is NOT_FOUND.
# @param [String] name # @param [String] name
# The fully qualified resource name, in the format: # The resource name of the FirebaseProject, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var>/analyticsDetails</code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/analyticsDetails</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -389,27 +399,22 @@ module Google
end end
# Lists each FirebaseProject accessible to the caller. # Lists each FirebaseProject accessible to the caller.
# <br> # The elements are returned in no particular order, but they will be a
# <br>The elements are returned in no particular order, but they will be a
# consistent view of the Projects when additional requests are made with a # consistent view of the Projects when additional requests are made with a
# `pageToken`. # `pageToken`.
# <br> # This method is eventually consistent with Project mutations, which
# <br>This method is eventually consistent with Project mutations, which
# means newly provisioned Projects and recent modifications to existing # means newly provisioned Projects and recent modifications to existing
# Projects might not be reflected in the set of Projects. The list will # Projects might not be reflected in the set of Projects. The list will
# include only ACTIVE Projects. # include only ACTIVE Projects.
# <br> # Use
# <br>Use
# GetFirebaseProject # GetFirebaseProject
# for consistent reads as well as for additional Project details. # for consistent reads as well as for additional Project details.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of Projects to return in the response. # The maximum number of Projects to return in the response.
# <br> # The server may return fewer than this at its discretion.
# <br>The server may return fewer than this at its discretion.
# If no value is specified (or too large a value is specified), the server # If no value is specified (or too large a value is specified), the server
# will impose its own limit. # will impose its own limit.
# <br> # This value cannot be negative.
# <br>This value cannot be negative.
# @param [String] page_token # @param [String] page_token
# Token returned from a previous call to `ListFirebaseProjects` indicating # Token returned from a previous call to `ListFirebaseProjects` indicating
# where in the set of Projects to resume listing. # where in the set of Projects to resume listing.
@ -441,19 +446,24 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the attributes of the FirebaseProject identified by the # Updates the attributes of the specified FirebaseProject.
# specified resource name. # All [query parameters](#query-parameters) are required.
# <br>
# <br>All [query parameters](#query-parameters) are required.
# @param [String] name # @param [String] name
# The fully qualified resource name of the Project, in the format: # The resource name of the Project, in the format:
# <br><code>projects/<var>projectId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# <var>PROJECT_IDENTIFIER</var>: the Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# <br>Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# @param [Google::Apis::FirebaseV1beta1::FirebaseProject] firebase_project_object # @param [Google::Apis::FirebaseV1beta1::FirebaseProject] firebase_project_object
# @param [String] update_mask # @param [String] update_mask
# Specifies which fields to update. # Specifies which fields to update.
# <br> # If this list is empty, then no state will be updated.
# <br>If this list is empty, then no state will be updated. # Note that the fields `name`, `projectId`, and `projectNumber` are all
# <br>Note that the fields `name`, `project_id`, and `project_number` are all
# immutable. # immutable.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -485,27 +495,27 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Unlinks the specified `FirebaseProject` from its Google Analytics account. # Unlinks the specified FirebaseProject from its Google Analytics
# <br> # account.
# <br>This call removes the association of the specified `FirebaseProject` # This call removes the association of the specified `FirebaseProject`
# with its current Google Analytics property. However, this call does not # with its current Google Analytics property. However, this call does not
# delete the Google Analytics resources, such as the Google Analytics # delete the Google Analytics resources, such as the Google Analytics
# property or any data streams. # property or any data streams.
# <br> # These resources may be re-associated later to the `FirebaseProject` by
# <br>These resources may be re-associated later to the `FirebaseProject` by
# calling # calling
# [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) and # [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) and
# specifying the same `analyticsPropertyId`. For Android Apps and iOS Apps, # specifying the same `analyticsPropertyId`. For Android Apps and iOS Apps,
# this call re-links data streams with their corresponding apps. However, # this call re-links data streams with their corresponding apps. However,
# for Web Apps, this call provisions a <em>new</em> data stream for each Web # for Web Apps, this call provisions a *new* data stream for each Web App.
# App. # To call `RemoveAnalytics`, a project member must be an Owner for
# <br>
# <br>To call `RemoveAnalytics`, a member must be an Owner for
# the `FirebaseProject`. # the `FirebaseProject`.
# @param [String] parent # @param [String] parent
# The parent `FirebaseProject` to unlink from its Google Analytics account, # The resource name of the FirebaseProject to unlink from its Google
# in the format: # Analytics account, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Google::Apis::FirebaseV1beta1::RemoveAnalyticsRequest] remove_analytics_request_object # @param [Google::Apis::FirebaseV1beta1::RemoveAnalyticsRequest] remove_analytics_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -536,23 +546,22 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# A convenience method that lists all available Apps for the specified # Lists all available Apps for the specified FirebaseProject.
# FirebaseProject. # This is a convenience method. Typically, interaction with an App should
# <br> # be done using the platform-specific service, but some tool use-cases
# <br>Typically, interaction with an App should be done using the # require a summary of all known Apps (such as for App selector interfaces).
# platform-specific service, but some tool use-cases require a summary of all
# known Apps (such as for App selector interfaces).
# @param [String] parent # @param [String] parent
# The parent Project for which to list Apps, in the format: # The parent FirebaseProject for which to list Apps, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of Apps to return in the response. # The maximum number of Apps to return in the response.
# <br> # The server may return fewer than this value at its discretion.
# <br>The server may return fewer than this value at its discretion.
# If no value is specified (or too large a value is specified), then the # If no value is specified (or too large a value is specified), then the
# server will impose its own limit. # server will impose its own limit.
# <br> # This value cannot be negative.
# <br>This value cannot be negative.
# @param [String] page_token # @param [String] page_token
# Token returned from a previous call to `SearchFirebaseApps` indicating # Token returned from a previous call to `SearchFirebaseApps` indicating
# where in the set of Apps to resume listing. # where in the set of Apps to resume listing.
@ -585,14 +594,18 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Requests that a new AndroidApp be created. # Requests the creation of a new AndroidApp in the specified
# <br> # FirebaseProject.
# <br>The result of this call is an `Operation` which can be used to track # The result of this call is an `Operation` which can be used to track
# the provisioning process. The `Operation` is automatically deleted after # the provisioning process. The `Operation` is automatically deleted after
# completion, so there is no need to call `DeleteOperation`. # completion, so there is no need to call `DeleteOperation`.
# @param [String] parent # @param [String] parent
# The parent Project in which to create an App, in the format: # The resource name of the parent FirebaseProject in which to create an
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # AndroidApp, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object # @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -623,14 +636,19 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the AndroidApp identified by the specified resource name. # Gets the specified AndroidApp.
# @param [String] name # @param [String] name
# The fully qualified resource name of the App, in the format: # The resource name of the AndroidApp, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var></ # <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var></
# code> # code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/androidApps/<var>APP_ID</var></code> # <code>projects/-/androidApps/<var>APP_ID</var></code>
# <br>
# Refer to the `AndroidApp`
# [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -661,12 +679,18 @@ module Google
# Gets the configuration artifact associated with the specified # Gets the configuration artifact associated with the specified
# AndroidApp. # AndroidApp.
# @param [String] name # @param [String] name
# The resource name of the App configuration to download, in the format: # The resource name of the AndroidApp configuration to download, in the
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var>/ # format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var>/
# config</code> # config</code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/androidApps/<var>APP_ID</var></code> # <code>projects/-/androidApps/<var>APP_ID</var></code>
# <br>
# Refer to the `AndroidApp`
# [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -694,18 +718,21 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists each AndroidApp associated with the specified parent Project. # Lists each AndroidApp associated with the specified
# <br> # FirebaseProject.
# <br>The elements are returned in no particular order, but will be a # The elements are returned in no particular order, but will be a
# consistent view of the Apps when additional requests are made with a # consistent view of the Apps when additional requests are made with a
# `pageToken`. # `pageToken`.
# @param [String] parent # @param [String] parent
# The parent Project for which to list Apps, in the format: # The resource name of the parent FirebaseProject for which to list each
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # associated AndroidApp, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of Apps to return in the response. # The maximum number of Apps to return in the response.
# <br> # The server may return fewer than this at its discretion.
# <br>The server may return fewer than this at its discretion.
# If no value is specified (or too large a value is specified), then the # If no value is specified (or too large a value is specified), then the
# server will impose its own limit. # server will impose its own limit.
# @param [String] page_token # @param [String] page_token
@ -740,15 +767,26 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the attributes of the AndroidApp identified by the specified # Updates the attributes of the specified AndroidApp.
# resource name.
# @param [String] name # @param [String] name
# The fully qualified resource name of the App, in the format: # The resource name of the AndroidApp, in the format:
# <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var></
# code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App
# (see [`appId`](../projects.androidApps#AndroidApp.FIELDS.app_id)).
# @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object # @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object
# @param [String] update_mask # @param [String] update_mask
# Specifies which fields to update. # Specifies which fields to update.
# <br>Note that the fields `name`, `app_id`, `project_id`, and `package_name` # Note that the fields `name`, `app_id`, `project_id`, and `package_name`
# are all immutable. # are all immutable.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -780,14 +818,20 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Adds a SHA certificate to the specified AndroidApp. # Adds a ShaCertificate to the specified AndroidApp.
# @param [String] parent # @param [String] parent
# The parent App to which a SHA certificate will be added, in the format: # The resource name of the parent AndroidApp to which to add a
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var></ # ShaCertificate, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var></
# code> # code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/androidApps/<var>APP_ID</var></code> # <code>projects/-/androidApps/<var>APP_ID</var></code>
# <br>
# Refer to the `AndroidApp`
# [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [Google::Apis::FirebaseV1beta1::ShaCertificate] sha_certificate_object # @param [Google::Apis::FirebaseV1beta1::ShaCertificate] sha_certificate_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -818,14 +862,19 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Removes a SHA certificate from the specified AndroidApp. # Removes a ShaCertificate from the specified AndroidApp.
# @param [String] name # @param [String] name
# The fully qualified resource name of the `sha-key`, in the format: # The resource name of the ShaCertificate to remove from the parent
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var>/sha/ # AndroidApp, in the format:
# <var>SHA_ID</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var>/sha/
# <br>You can obtain the full name from the response of # <var>SHA_HASH</var></code>
# [`ListShaCertificates`](../projects.androidApps.sha/list) or the original # Refer to the `ShaCertificate`
# [`CreateShaCertificate`](../projects.androidApps.sha/create). # [`name`](../projects.androidApps.sha#ShaCertificate.FIELDS.name) field for
# details about <var>PROJECT_IDENTIFIER</var>, <var>APP_ID</var>, and
# <var>SHA_HASH</var> values.
# You can obtain the full resource name of the `ShaCertificate` from the
# response of [`ListShaCertificates`](../projects.androidApps.sha/list) or
# the original [`CreateShaCertificate`](../projects.androidApps.sha/create).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -853,15 +902,20 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns the list of SHA-1 and SHA-256 certificates for the specified # Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.
# AndroidApp.
# @param [String] parent # @param [String] parent
# The parent App for which to list SHA certificates, in the format: # The resource name of the parent AndroidApp for which to list each
# <br><code>projects/<var>PROJECT_NUMBER</var>/androidApps/<var>APP_ID</var></ # associated ShaCertificate, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/androidApps/<var>APP_ID</var></
# code> # code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/androidApps/<var>APP_ID</var></code> # <code>projects/-/androidApps/<var>APP_ID</var></code>
# <br>
# Refer to the `AndroidApp`
# [`name`](../projects.androidApps#AndroidApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -889,41 +943,42 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Returns a list of valid Google Cloud Platform (GCP) resource locations for # Lists the valid Google Cloud Platform (GCP) resource locations for
# the specified Project (including a FirebaseProject). # the specified Project (including a FirebaseProject).
# <br> # One of these locations can be selected as the Project's [_default_ GCP
# <br>One of these locations can be selected as the Project's [_default_ GCP
# resource location](https://firebase.google.com/docs/projects/locations), # resource location](https://firebase.google.com/docs/projects/locations),
# which is the geographical location where project resources, such as Cloud # which is the geographical location where the Project's resources, such as
# Firestore, will be provisioned by default. However, if the default GCP # Cloud Firestore, will be provisioned by default. However, if the default
# resource location has already been set for the Project, then this setting # GCP resource location has already been set for the Project, then this
# cannot be changed. # setting cannot be changed.
# <br> # This call checks for any possible
# <br>This call checks for any possible
# [location # [location
# restrictions](https://cloud.google.com/resource-manager/docs/organization- # restrictions](https://cloud.google.com/resource-manager/docs/organization-
# policy/defining-locations) # policy/defining-locations)
# for the specified Project and, thus, might return a subset of all possible # for the specified Project and, thus, might return a subset of all possible
# GCP resource locations. To list all GCP resource locations (regardless of # GCP resource locations. To list all GCP resource locations (regardless of
# any restrictions), call the endpoint without specifying a `PROJECT_NUMBER` # any restrictions), call the endpoint without specifying a unique project
# (that is, `/v1beta1/`parent=projects/-`/listAvailableLocations`). <br> # identifier (that is,
# <br>To call `ListAvailableLocations` with a specified project, a member # `/v1beta1/`parent=projects/-`/listAvailableLocations`).
# must be at minimum a Viewer of the project. Calls without a specified # To call `ListAvailableLocations` with a specified project, a member must be
# project do not require any specific project permissions. # at minimum a Viewer of the Project. Calls without a specified project do
# not require any specific project permissions.
# @param [String] parent # @param [String] parent
# The Project for which to list GCP resource locations, in the format: # The FirebaseProject for which to list GCP resource locations,
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # in the format:
# <br>If no project is specified (that is, `projects/-`), the returned list # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# does not take into account org-specific or project-specific location # Refer to the `FirebaseProject`
# restrictions. # [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# If no unique project identifier is specified (that is, `projects/-`),
# the returned list does not take into account org-specific or
# project-specific location restrictions.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of locations to return in the response. # The maximum number of locations to return in the response.
# <br> # The server may return fewer than this value at its discretion.
# <br>The server may return fewer than this value at its discretion.
# If no value is specified (or too large a value is specified), then the # If no value is specified (or too large a value is specified), then the
# server will impose its own limit. # server will impose its own limit.
# <br> # This value cannot be negative.
# <br>This value cannot be negative.
# @param [String] page_token # @param [String] page_token
# Token returned from a previous call to `ListAvailableLocations` indicating # Token returned from a previous call to `ListAvailableLocations` indicating
# where in the list of locations to resume listing. # where in the list of locations to resume listing.
@ -958,31 +1013,28 @@ module Google
# Sets the default Google Cloud Platform (GCP) resource location for the # Sets the default Google Cloud Platform (GCP) resource location for the
# specified FirebaseProject. # specified FirebaseProject.
# <br> # This method creates an App Engine application with a
# <br>This method creates an App Engine application with a
# [default Cloud Storage # [default Cloud Storage
# bucket](https://cloud.google.com/appengine/docs/standard/python/ # bucket](https://cloud.google.com/appengine/docs/standard/python/
# googlecloudstorageclient/setting-up-cloud-storage# # googlecloudstorageclient/setting-up-cloud-storage#
# activating_a_cloud_storage_bucket), # activating_a_cloud_storage_bucket),
# located in the specified # located in the specified
# [`location_id`](#body.request_body.FIELDS.location_id). # [`locationId`](#body.request_body.FIELDS.location_id).
# This location must be one of the available # This location must be one of the available
# [GCP resource # [GCP resource
# locations](https://firebase.google.com/docs/projects/locations). <br> # locations](https://firebase.google.com/docs/projects/locations).
# <br>After the default GCP resource location is finalized, or if it was # After the default GCP resource location is finalized, or if it was
# already set, it cannot be changed. The default GCP resource location for # already set, it cannot be changed. The default GCP resource location for
# the specified FirebaseProject might already be set because either the # the specified `FirebaseProject` might already be set because either the
# GCP `Project` already has an App Engine application or # underlying GCP `Project` already has an App Engine application or
# `FinalizeDefaultLocation` was previously called with a specified # `FinalizeDefaultLocation` was previously called with a specified
# `location_id`. Any new calls to `FinalizeDefaultLocation` with a # `locationId`. Any new calls to `FinalizeDefaultLocation` with a
# <em>different</em> specified `location_id` will return a 409 error. # *different* specified `locationId` will return a 409 error.
# <br> # The result of this call is an [`Operation`](../../v1beta1/operations),
# <br>The result of this call is an [`Operation`](../../v1beta1/operations),
# which can be used to track the provisioning process. The # which can be used to track the provisioning process. The
# [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of # [`response`](../../v1beta1/operations#Operation.FIELDS.response) type of
# the `Operation` is google.protobuf.Empty. # the `Operation` is google.protobuf.Empty.
# <br> # The `Operation` can be polled by its `name` using
# <br>The `Operation` can be polled by its `name` using
# GetOperation until `done` is # GetOperation until `done` is
# true. When `done` is true, the `Operation` has either succeeded or failed. # true. When `done` is true, the `Operation` has either succeeded or failed.
# If the `Operation` has succeeded, its # If the `Operation` has succeeded, its
@ -991,15 +1043,16 @@ module Google
# `error` will be set to a google.rpc.Status. The `Operation` is # `error` will be set to a google.rpc.Status. The `Operation` is
# automatically deleted after completion, so there is no need to call # automatically deleted after completion, so there is no need to call
# DeleteOperation. # DeleteOperation.
# <br> # All fields listed in the [request body](#request-body) are required.
# <br>All fields listed in the [request body](#request-body) are required. # To call `FinalizeDefaultLocation`, a member must be an Owner
# <br> # of the Project.
# <br>To call `FinalizeDefaultLocation`, a member must be an Owner
# of the project.
# @param [String] parent # @param [String] parent
# The resource name of the Project for which the default GCP resource # The resource name of the FirebaseProject for which the default GCP
# location will be set, in the format: # resource location will be set, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var></code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Google::Apis::FirebaseV1beta1::FinalizeDefaultLocationRequest] finalize_default_location_request_object # @param [Google::Apis::FirebaseV1beta1::FinalizeDefaultLocationRequest] finalize_default_location_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1030,14 +1083,18 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Requests that a new IosApp be created. # Requests the creation of a new IosApp in the specified
# <br> # FirebaseProject.
# <br>The result of this call is an `Operation` which can be used to track # The result of this call is an `Operation` which can be used to track
# the provisioning process. The `Operation` is automatically deleted after # the provisioning process. The `Operation` is automatically deleted after
# completion, so there is no need to call `DeleteOperation`. # completion, so there is no need to call `DeleteOperation`.
# @param [String] parent # @param [String] parent
# The parent Project in which to create an App, in the format: # The resource name of the parent FirebaseProject in which to create an
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # IosApp, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object # @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1068,13 +1125,18 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the IosApp identified by the specified resource name. # Gets the specified IosApp.
# @param [String] name # @param [String] name
# The fully qualified resource name of the App, in the format: # The resource name of the IosApp, in the format:
# <code>projects/<var>PROJECT_NUMBER</var>/iosApps/<var>APP_ID</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps/<var>APP_ID</var></code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/iosApps/<var>APP_ID</var></code> # <code>projects/-/iosApps/<var>APP_ID</var></code>
# <br>
# Refer to the `IosApp`
# [`name`](../projects.iosApps#IosApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1105,11 +1167,16 @@ module Google
# Gets the configuration artifact associated with the specified IosApp. # Gets the configuration artifact associated with the specified IosApp.
# @param [String] name # @param [String] name
# The resource name of the App configuration to download, in the format: # The resource name of the App configuration to download, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var>/iosApps/<var>APP_ID</var>/config</ # <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps/<var>APP_ID</var>/config</
# code> # code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/iosApps/<var>APP_ID</var></code> # <code>projects/-/iosApps/<var>APP_ID</var></code>
# <br>
# Refer to the `IosApp`
# [`name`](../projects.iosApps#IosApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1137,18 +1204,20 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists each IosApp associated with the specified parent Project. # Lists each IosApp associated with the specified FirebaseProject.
# <br> # The elements are returned in no particular order, but will be a
# <br>The elements are returned in no particular order, but will be a
# consistent view of the Apps when additional requests are made with a # consistent view of the Apps when additional requests are made with a
# `pageToken`. # `pageToken`.
# @param [String] parent # @param [String] parent
# The parent Project for which to list Apps, in the format: # The resource name of the parent FirebaseProject for which to list each
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # associated IosApp, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of Apps to return in the response. # The maximum number of Apps to return in the response.
# <br> # The server may return fewer than this at its discretion.
# <br>The server may return fewer than this at its discretion.
# If no value is specified (or too large a value is specified), the server # If no value is specified (or too large a value is specified), the server
# will impose its own limit. # will impose its own limit.
# @param [String] page_token # @param [String] page_token
@ -1183,15 +1252,24 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the attributes of the IosApp identified by the specified # Updates the attributes of the specified IosApp.
# resource name.
# @param [String] name # @param [String] name
# The fully qualified resource name of the App, in the format: # The resource name of the IosApp, in the format:
# <br><code>projects/<var>projectId</var>/iosApps/<var>appId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/iosApps/<var>APP_ID</var></code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App (see [`appId`](../projects.iosApps#IosApp.FIELDS.app_id)).
# @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object # @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object
# @param [String] update_mask # @param [String] update_mask
# Specifies which fields to update. # Specifies which fields to update.
# <br>Note that the fields `name`, `appId`, `projectId`, and `bundleId` # Note that the fields `name`, `appId`, `projectId`, and `bundleId`
# are all immutable. # are all immutable.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1223,14 +1301,18 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Requests that a new WebApp be created. # Requests the creation of a new WebApp in the specified
# <br> # FirebaseProject.
# <br>The result of this call is an `Operation` which can be used to track # The result of this call is an `Operation` which can be used to track
# the provisioning process. The `Operation` is automatically deleted after # the provisioning process. The `Operation` is automatically deleted after
# completion, so there is no need to call `DeleteOperation`. # completion, so there is no need to call `DeleteOperation`.
# @param [String] parent # @param [String] parent
# The parent Project in which to create an App, in the format: # The resource name of the parent FirebaseProject in which to create a
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # WebApp, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object # @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1261,13 +1343,18 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Gets the WebApp identified by the specified resource name. # Gets the specified WebApp.
# @param [String] name # @param [String] name
# The fully qualified resource name of the App, in the format: # The resource name of the WebApp, in the format:
# <br><code>projects/<var>PROJECT_NUMBER</var>/webApps/<var>APP_ID</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps/<var>APP_ID</var></code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/webApps/<var>APP_ID</var></code> # <code>projects/-/webApps/<var>APP_ID</var></code>
# <br>
# Refer to the `WebApp`
# [`name`](../projects.webApps#WebApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1297,12 +1384,18 @@ module Google
# Gets the configuration artifact associated with the specified WebApp. # Gets the configuration artifact associated with the specified WebApp.
# @param [String] name # @param [String] name
# The resource name of the App configuration to download, in the format: # The resource name of the WebApp configuration to download,
# <br><code>projects/<var>PROJECT_NUMBER</var>/webApps/<var>APP_ID</var>/config</ # in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps/<var>APP_ID</var>/config</
# code> # code>
# <br>As an <var>APP_ID</var> is a unique identifier, the Unique Resource # <br>
# Since an <var>APP_ID</var> is a unique identifier, the Unique Resource
# from Sub-Collection access pattern may be used here, in the format: # from Sub-Collection access pattern may be used here, in the format:
# <br><code>projects/-/webApps/<var>APP_ID</var></code> # <code>projects/-/webApps/<var>APP_ID</var></code>
# <br>
# Refer to the `WebApp`
# [`name`](../projects.webApps#WebApp.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> and <var>APP_ID</var> values.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1330,18 +1423,20 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Lists each WebApp associated with the specified parent Project. # Lists each WebApp associated with the specified FirebaseProject.
# <br> # The elements are returned in no particular order, but will be a
# <br>The elements are returned in no particular order, but will be a
# consistent view of the Apps when additional requests are made with a # consistent view of the Apps when additional requests are made with a
# `pageToken`. # `pageToken`.
# @param [String] parent # @param [String] parent
# The parent Project for which to list Apps, in the format: # The resource name of the parent FirebaseProject for which to list each
# <br><code>projects/<var>PROJECT_NUMBER</var></code> # associated WebApp, in the format:
# <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps</code>
# Refer to the `FirebaseProject`
# [`name`](../projects#FirebaseProject.FIELDS.name) field for details
# about <var>PROJECT_IDENTIFIER</var> values.
# @param [Fixnum] page_size # @param [Fixnum] page_size
# The maximum number of Apps to return in the response. # The maximum number of Apps to return in the response.
# <br> # The server may return fewer than this value at its discretion.
# <br>The server may return fewer than this value at its discretion.
# If no value is specified (or too large a value is specified), then the # If no value is specified (or too large a value is specified), then the
# server will impose its own limit. # server will impose its own limit.
# @param [String] page_token # @param [String] page_token
@ -1376,16 +1471,24 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates the attributes of the WebApp identified by the specified # Updates the attributes of the specified WebApp.
# resource name.
# @param [String] name # @param [String] name
# The fully qualified resource name of the App, for example: # The resource name of the WebApp, in the format:
# <br><code>projects/<var>projectId</var>/webApps/<var>appId</var></code> # <code>projects/<var>PROJECT_IDENTIFIER</var>/webApps/<var>APP_ID</var></code>
# * <var>PROJECT_IDENTIFIER</var>: the parent Project's
# [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number)
# ***(recommended)***
# or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id).
# Learn more about using project identifiers in
# Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
# <br>Note that the value for <var>PROJECT_IDENTIFIER</var> in any
# response body will be the `ProjectId`.
# * <var>APP_ID</var>: the globally unique, Firebase-assigned identifier
# for the App (see [`appId`](../projects.webApps#WebApp.FIELDS.app_id)).
# @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object # @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object
# @param [String] update_mask # @param [String] update_mask
# Specifies which fields to update. # Specifies which fields to update.
# <br>Note that the fields `name`, `appId`, and `projectId` are all # Note that the fields `name`, `appId`, and `projectId` are all immutable.
# immutable.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/v1/get-started # @see https://developers.google.com/fit/rest/v1/get-started
module FitnessV1 module FitnessV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200601' REVISION = '20200724'
# Use Google Fit to see and store your physical activity data # Use Google Fit to see and store your physical activity data
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs # @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1 module StoragetransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200605' REVISION = '20200721'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -236,8 +236,32 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Cancels a transfer. Use the get method to check whether the cancellation # Cancels a transfer. Use the
# succeeded or whether the operation completed despite cancellation. # transferOperations.get method to
# check if the cancellation succeeded or if the operation completed despite
# the `cancel` request.
# When you cancel an operation, the currently running transfer is
# interrupted. For recurring transfer jobs, the next instance of the transfer
# job
# will still run. For example, if your job is configured to run every day
# at 1pm and you cancel Monday's operation at 1:05pm, Monday's transfer
# will stop. However, a transfer job will still be attempted on Tuesday.
# This applies only to currently running operations. If an operation is
# not currently running, `cancel` does nothing.
# <aside class="caution">
# <b>Caution:</b> Canceling a transfer job can leave your data in an unknown
# state. We recommend that you restore the state at both the destination and the
# source after the `cancel` request completes so that your data is in a
# consistent
# state.
# </aside>
# When you cancel a job, the next job computes a delta of files and may repair
# any
# inconsistent state. For instance, if you run a job every day, and today's job
# found 10 new files and transferred five files before you canceled the job,
# tomorrow's transfer operation will compute a new delta with the five files
# that
# were not copied today plus any new files discovered tomorrow.
# @param [String] name # @param [String] name
# The name of the operation resource to be cancelled. # The name of the operation resource to be cancelled.
# @param [String] fields # @param [String] fields

View File

@ -26,7 +26,7 @@ module Google
# @see https://devsite.googleplex.com/youtube/partner/docs/v1/ # @see https://devsite.googleplex.com/youtube/partner/docs/v1/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200724' REVISION = '20200727'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'

View File

@ -347,7 +347,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_asset_relationships(asset_id: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_asset_relationships(asset_id, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/partner/v1/assetRelationships', options) command = make_simple_command(:get, 'youtube/partner/v1/assetRelationships', options)
command.response_representation = Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse::Representation command.response_representation = Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse::Representation
command.response_class = Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse command.response_class = Google::Apis::YoutubePartnerV1::AssetRelationshipListResponse
@ -489,7 +489,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_asset_shares(asset_id: nil, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_asset_shares(asset_id, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/partner/v1/assetShares', options) command = make_simple_command(:get, 'youtube/partner/v1/assetShares', options)
command.response_representation = Google::Apis::YoutubePartnerV1::AssetShareListResponse::Representation command.response_representation = Google::Apis::YoutubePartnerV1::AssetShareListResponse::Representation
command.response_class = Google::Apis::YoutubePartnerV1::AssetShareListResponse command.response_class = Google::Apis::YoutubePartnerV1::AssetShareListResponse
@ -600,6 +600,16 @@ module Google
# duplicate assets have been merged, the API response only contains the # duplicate assets have been merged, the API response only contains the
# synthesized asset. (It does not contain the constituent assets that were # synthesized asset. (It does not contain the constituent assets that were
# merged into the synthesized asset.) # merged into the synthesized asset.)
# @param [String] id
# The *id* parameter specifies a comma-separated list of YouTube Asset IDs that
# identify the assets you want to retrieve. As noted in the method description,
# if you try to retrieve an asset that YouTube identified as a duplicate and
# merged with another asset, the API response only returns the synthesized asset.
# In that case, the aliasId property in the asset resource specifies a list of
# other asset IDs that can be used to identify that asset. Also note that the
# API response does not contain duplicates. As such, if your request identifies
# three asset IDs, and all of those have been merged into a single asset, then
# the API response identifies one matching asset.
# @param [String] fetch_match_policy # @param [String] fetch_match_policy
# The *fetchMatchPolicy* parameter specifies the version of the asset's match # The *fetchMatchPolicy* parameter specifies the version of the asset's match
# policy that should be returned in the API response. # policy that should be returned in the API response.
@ -615,16 +625,6 @@ module Google
# @param [Boolean] fetch_ownership_conflicts # @param [Boolean] fetch_ownership_conflicts
# The *fetchOwnershipConflicts* parameter allows you to retrieve information # The *fetchOwnershipConflicts* parameter allows you to retrieve information
# about ownership conflicts. # about ownership conflicts.
# @param [String] id
# The *id* parameter specifies a comma-separated list of YouTube Asset IDs that
# identify the assets you want to retrieve. As noted in the method description,
# if you try to retrieve an asset that YouTube identified as a duplicate and
# merged with another asset, the API response only returns the synthesized asset.
# In that case, the aliasId property in the asset resource specifies a list of
# other asset IDs that can be used to identify that asset. Also note that the
# API response does not contain duplicates. As such, if your request identifies
# three asset IDs, and all of those have been merged into a single asset, then
# the API response identifies one matching asset.
# @param [String] on_behalf_of_content_owner # @param [String] on_behalf_of_content_owner
# The *onBehalfOfContentOwner* parameter identifies the content owner that the # The *onBehalfOfContentOwner* parameter identifies the content owner that the
# user is acting on behalf of. This parameter supports users whose accounts are # user is acting on behalf of. This parameter supports users whose accounts are
@ -646,7 +646,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_assets(fetch_match_policy: nil, fetch_metadata: nil, fetch_ownership: nil, fetch_ownership_conflicts: nil, id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) def list_assets(id, fetch_match_policy: nil, fetch_metadata: nil, fetch_ownership: nil, fetch_ownership_conflicts: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/partner/v1/assets', options) command = make_simple_command(:get, 'youtube/partner/v1/assets', options)
command.response_representation = Google::Apis::YoutubePartnerV1::AssetListResponse::Representation command.response_representation = Google::Apis::YoutubePartnerV1::AssetListResponse::Representation
command.response_class = Google::Apis::YoutubePartnerV1::AssetListResponse command.response_class = Google::Apis::YoutubePartnerV1::AssetListResponse
@ -1403,10 +1403,10 @@ module Google
end end
# Inserts a cuepoint into a live broadcast. # Inserts a cuepoint into a live broadcast.
# @param [Google::Apis::YoutubePartnerV1::LiveCuepoint] live_cuepoint_object
# @param [String] channel_id # @param [String] channel_id
# The *channelId* parameter identifies the channel that owns the broadcast into # The *channelId* parameter identifies the channel that owns the broadcast into
# which the cuepoint is being inserted. # which the cuepoint is being inserted.
# @param [Google::Apis::YoutubePartnerV1::LiveCuepoint] live_cuepoint_object
# @param [String] on_behalf_of_content_owner # @param [String] on_behalf_of_content_owner
# The *onBehalfOfContentOwner* parameter identifies the content owner that the # The *onBehalfOfContentOwner* parameter identifies the content owner that the
# user is acting on behalf of. This parameter supports users whose accounts are # user is acting on behalf of. This parameter supports users whose accounts are
@ -1430,7 +1430,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def insert_live_cuepoint(live_cuepoint_object = nil, channel_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) def insert_live_cuepoint(channel_id, live_cuepoint_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'youtube/partner/v1/liveCuepoints', options) command = make_simple_command(:post, 'youtube/partner/v1/liveCuepoints', options)
command.request_representation = Google::Apis::YoutubePartnerV1::LiveCuepoint::Representation command.request_representation = Google::Apis::YoutubePartnerV1::LiveCuepoint::Representation
command.request_object = live_cuepoint_object command.request_object = live_cuepoint_object
@ -1469,7 +1469,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_metadata_histories(asset_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) def list_metadata_histories(asset_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/partner/v1/metadataHistory', options) command = make_simple_command(:get, 'youtube/partner/v1/metadataHistory', options)
command.response_representation = Google::Apis::YoutubePartnerV1::MetadataHistoryListResponse::Representation command.response_representation = Google::Apis::YoutubePartnerV1::MetadataHistoryListResponse::Representation
command.response_class = Google::Apis::YoutubePartnerV1::MetadataHistoryListResponse command.response_class = Google::Apis::YoutubePartnerV1::MetadataHistoryListResponse
@ -1635,7 +1635,7 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_ownership_histories(asset_id: nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block) def list_ownership_histories(asset_id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'youtube/partner/v1/ownershipHistory', options) command = make_simple_command(:get, 'youtube/partner/v1/ownershipHistory', options)
command.response_representation = Google::Apis::YoutubePartnerV1::OwnershipHistoryListResponse::Representation command.response_representation = Google::Apis::YoutubePartnerV1::OwnershipHistoryListResponse::Representation
command.response_class = Google::Apis::YoutubePartnerV1::OwnershipHistoryListResponse command.response_class = Google::Apis::YoutubePartnerV1::OwnershipHistoryListResponse