diff --git a/generated/google/apis/androidpublisher_v1_1.rb b/generated/google/apis/androidpublisher_v1_1.rb index 4266510b8..3f2f6e622 100644 --- a/generated/google/apis/androidpublisher_v1_1.rb +++ b/generated/google/apis/androidpublisher_v1_1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV1_1 VERSION = 'V1_1' - REVISION = '20190120' + REVISION = '20190618' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v1_1/classes.rb b/generated/google/apis/androidpublisher_v1_1/classes.rb index ca78c0077..00af5891c 100644 --- a/generated/google/apis/androidpublisher_v1_1/classes.rb +++ b/generated/google/apis/androidpublisher_v1_1/classes.rb @@ -53,6 +53,7 @@ module Google # The purchase state of the order. Possible values are: # - Purchased # - Canceled + # - Pending # Corresponds to the JSON property `purchaseState` # @return [Fixnum] attr_accessor :purchase_state diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index f563bbb65..b292e4466 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20190616' + REVISION = '20190618' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 3a03e5697..14ef1bea7 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -1095,6 +1095,7 @@ module Google # The purchase state of the order. Possible values are: # - Purchased # - Canceled + # - Pending # Corresponds to the JSON property `purchaseState` # @return [Fixnum] attr_accessor :purchase_state diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index e5dc7d8d1..617f7f83e 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20190616' + REVISION = '20190618' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/classes.rb b/generated/google/apis/androidpublisher_v3/classes.rb index 2db92c2bd..62c2c2db8 100644 --- a/generated/google/apis/androidpublisher_v3/classes.rb +++ b/generated/google/apis/androidpublisher_v3/classes.rb @@ -1137,6 +1137,7 @@ module Google # The purchase state of the order. Possible values are: # - Purchased # - Canceled + # - Pending # Corresponds to the JSON property `purchaseState` # @return [Fixnum] attr_accessor :purchase_state diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 1a2646e23..ab6c1967a 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20190605' + REVISION = '20190615' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index faf696c33..fd7a70beb 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -213,6 +213,13 @@ module Google # @return [Array] attr_accessor :allowed_values + # If true, it should not be used in new transfers, and it should not be + # visible to users. + # Corresponds to the JSON property `deprecated` + # @return [Boolean] + attr_accessor :deprecated + alias_method :deprecated?, :deprecated + # Parameter description. # Corresponds to the JSON property `description` # @return [String] @@ -295,6 +302,7 @@ module Google # Update properties of this object def update!(**args) @allowed_values = args[:allowed_values] if args.key?(:allowed_values) + @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @fields = args[:fields] if args.key?(:fields) @@ -922,8 +930,8 @@ module Google # @return [Hash] attr_accessor :params - # For batch transfer runs, specifies the date and time that - # data should be ingested. + # For batch transfer runs, specifies the date and time of the data should be + # ingested. # Corresponds to the JSON property `runTime` # @return [String] attr_accessor :run_time diff --git a/generated/google/apis/bigquerydatatransfer_v1/representations.rb b/generated/google/apis/bigquerydatatransfer_v1/representations.rb index a8636ce18..4ca4eb912 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/representations.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/representations.rb @@ -190,6 +190,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :allowed_values, as: 'allowedValues' + property :deprecated, as: 'deprecated' property :description, as: 'description' property :display_name, as: 'displayName' collection :fields, as: 'fields', class: Google::Apis::BigquerydatatransferV1::DataSourceParameter, decorator: Google::Apis::BigquerydatatransferV1::DataSourceParameter::Representation diff --git a/generated/google/apis/bigquerydatatransfer_v1/service.rb b/generated/google/apis/bigquerydatatransfer_v1/service.rb index 76ed699d4..ed0bfd96f 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/service.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/service.rb @@ -371,7 +371,7 @@ module Google # Optional version info. If users want to find a very recent access token, # that is, immediately after approving access, users have to set the # version_info claim in the token request. To obtain the version_info, users - # must use the “none+gsession” response type. which be return a + # must use the "none+gsession" response type. which be return a # version_info back in the authorization response which be be put in a JWT # claim in the token request. # @param [String] fields @@ -546,7 +546,7 @@ module Google # Optional version info. If users want to find a very recent access token, # that is, immediately after approving access, users have to set the # version_info claim in the token request. To obtain the version_info, users - # must use the “none+gsession” response type. which be return a + # must use the "none+gsession" response type. which be return a # version_info back in the authorization response which be be put in a JWT # claim in the token request. # @param [String] fields @@ -839,7 +839,7 @@ module Google # Optional version info. If users want to find a very recent access token, # that is, immediately after approving access, users have to set the # version_info claim in the token request. To obtain the version_info, users - # must use the “none+gsession” response type. which be return a + # must use the "none+gsession" response type. which be return a # version_info back in the authorization response which be be put in a JWT # claim in the token request. # @param [String] fields @@ -1014,7 +1014,7 @@ module Google # Optional version info. If users want to find a very recent access token, # that is, immediately after approving access, users have to set the # version_info claim in the token request. To obtain the version_info, users - # must use the “none+gsession” response type. which be return a + # must use the "none+gsession" response type. which be return a # version_info back in the authorization response which be be put in a JWT # claim in the token request. # @param [String] fields diff --git a/generated/google/apis/composer_v1.rb b/generated/google/apis/composer_v1.rb index 04cf05f6a..01c94045f 100644 --- a/generated/google/apis/composer_v1.rb +++ b/generated/google/apis/composer_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/composer/ module ComposerV1 VERSION = 'V1' - REVISION = '20190514' + REVISION = '20190613' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/composer_v1/classes.rb b/generated/google/apis/composer_v1/classes.rb index 0e6f54a38..7b49ef816 100644 --- a/generated/google/apis/composer_v1/classes.rb +++ b/generated/google/apis/composer_v1/classes.rb @@ -403,43 +403,10 @@ module Google # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error - # message, and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` that can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). # Corresponds to the JSON property `error` # @return [Google::Apis::ComposerV1::Status] attr_accessor :error @@ -644,43 +611,10 @@ module Google # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error - # message, and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` that can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). class Status include Google::Apis::Core::Hashable diff --git a/generated/google/apis/composer_v1beta1.rb b/generated/google/apis/composer_v1beta1.rb index 52b02455a..5fae742f3 100644 --- a/generated/google/apis/composer_v1beta1.rb +++ b/generated/google/apis/composer_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/composer/ module ComposerV1beta1 VERSION = 'V1beta1' - REVISION = '20190514' + REVISION = '20190613' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/composer_v1beta1/classes.rb b/generated/google/apis/composer_v1beta1/classes.rb index f7011f3e9..8fdcf4eca 100644 --- a/generated/google/apis/composer_v1beta1/classes.rb +++ b/generated/google/apis/composer_v1beta1/classes.rb @@ -493,43 +493,10 @@ module Google # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error - # message, and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` that can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). # Corresponds to the JSON property `error` # @return [Google::Apis::ComposerV1beta1::Status] attr_accessor :error @@ -796,43 +763,10 @@ module Google # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is - # used by [gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - # - Flexible enough to meet unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error - # message, and error details. The error code should be an enum value of - # google.rpc.Code, but it may accept additional error codes if needed. The - # error message should be a developer-facing English message that helps - # developers *understand* and *resolve* the error. If a localized user-facing - # error message is needed, put the localized message in the error details or - # localize it in the client. The optional error details may contain arbitrary - # information about the error. There is a predefined set of error detail types - # in the package `google.rpc` that can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a - # consistent developer experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may - # have a `Status` message for error reporting. - # - Batch operations. If a client uses batch request and batch response, the - # `Status` message should be used directly inside batch response, one for - # each error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be - # represented directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). class Status include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 41292c42e..cc0d7003d 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -23,10 +23,10 @@ module Google # Builds conversational interfaces (for example, chatbots, and voice-powered # apps and devices). # - # @see https://cloud.google.com/dialogflow-enterprise/ + # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - REVISION = '20190610' + REVISION = '20190616' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 3e227e4df..e79a43240 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -37,8 +37,7 @@ module Google # Optional. The URI of the agent's avatar. # Avatars are used throughout the Dialogflow console and in the self-hosted # [Web - # Demo](https://cloud.google.com/dialogflow-enterprise/docs/integrations/web- - # demo) + # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) # integration. # Corresponds to the JSON property `avatarUri` # @return [String] @@ -57,8 +56,7 @@ module Google # Required. The default language of the agent as a language tag. See # [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. This field cannot be # set by the `Update` method. # Corresponds to the JSON property `defaultLanguageCode` @@ -144,8 +142,7 @@ module Google # Optional. The language of entity synonyms defined in `entities`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -177,8 +174,7 @@ module Google # Optional. The language of entity synonyms defined in `entities`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -248,8 +244,7 @@ module Google # Optional. The language of entity synonyms defined in `entities`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -293,8 +288,7 @@ module Google # Optional. The language of entity synonyms defined in `entity_types`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -362,8 +356,7 @@ module Google # Optional. The language of training phrases, parameters and rich messages # defined in `intents`. If not specified, the agent's default language is # used. [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -430,8 +423,7 @@ module Google # Optional. The collection of parameters associated with this context. # Refer to [this - # doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions- - # parameters) + # doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) # for syntax. # Corresponds to the JSON property `parameters` # @return [Hash] @@ -661,8 +653,7 @@ module Google include Google::Apis::Core::Hashable # Required. The language of this query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -805,8 +796,7 @@ module Google # Required. The language of the supplied audio. Dialogflow does not do # translations. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -1679,7 +1669,7 @@ module Google attr_accessor :name # Optional. The collection of prompts that the agent can present to the - # user in order to collect value for the parameter. + # user in order to collect a value for the parameter. # Corresponds to the JSON property `prompts` # @return [Array] attr_accessor :prompts @@ -2156,8 +2146,7 @@ module Google # The language that was triggered during intent detection. # See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. # Corresponds to the JSON property `languageCode` # @return [String] @@ -2483,8 +2472,7 @@ module Google include Google::Apis::Core::Hashable # Required. The language of this conversational query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -2735,8 +2723,7 @@ module Google # Optional. The collection of parameters associated with this context. # Refer to [this - # doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions- - # parameters) + # doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) # for syntax. # Corresponds to the JSON property `parameters` # @return [Hash] @@ -2848,8 +2835,7 @@ module Google include Google::Apis::Core::Hashable # Required. The language of this query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -3855,7 +3841,7 @@ module Google attr_accessor :name # Optional. The collection of prompts that the agent can present to the - # user in order to collect value for the parameter. + # user in order to collect a value for the parameter. # Corresponds to the JSON property `prompts` # @return [Array] attr_accessor :prompts @@ -4184,8 +4170,7 @@ module Google # The language that was triggered during intent detection. # See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. # Corresponds to the JSON property `languageCode` # @return [String] diff --git a/generated/google/apis/dialogflow_v2/service.rb b/generated/google/apis/dialogflow_v2/service.rb index b7cc621c1..41b7577b2 100644 --- a/generated/google/apis/dialogflow_v2/service.rb +++ b/generated/google/apis/dialogflow_v2/service.rb @@ -31,7 +31,7 @@ module Google # Dialogflow = Google::Apis::DialogflowV2 # Alias the module # service = Dialogflow::DialogflowService.new # - # @see https://cloud.google.com/dialogflow-enterprise/ + # @see https://cloud.google.com/dialogflow/ class DialogflowService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, @@ -415,8 +415,7 @@ module Google # Optional. The language of entity synonyms defined in `entity_type`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -488,8 +487,7 @@ module Google # Optional. The language to retrieve entity synonyms for. If not specified, # the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -528,8 +526,7 @@ module Google # Optional. The language to list entity synonyms for. If not specified, # the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [Fixnum] page_size @@ -578,8 +575,7 @@ module Google # Optional. The language of entity synonyms defined in `entity_type`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] update_mask @@ -803,8 +799,7 @@ module Google # Optional. The language of training phrases, parameters and rich messages # defined in `intent`. If not specified, the agent's default language is # used. [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -880,8 +875,7 @@ module Google # Optional. The language to retrieve training phrases, parameters and rich # messages for. If not specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -923,8 +917,7 @@ module Google # Optional. The language to list training phrases, parameters and rich # messages for. If not specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [Fixnum] page_size @@ -976,8 +969,7 @@ module Google # Optional. The language of training phrases, parameters and rich messages # defined in `intent`. If not specified, the agent's default language is # used. [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] update_mask diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index cd506b2a0..be7896205 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -23,10 +23,10 @@ module Google # Builds conversational interfaces (for example, chatbots, and voice-powered # apps and devices). # - # @see https://cloud.google.com/dialogflow-enterprise/ + # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20190610' + REVISION = '20190616' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index 78d1b37be..2c2beed76 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -82,8 +82,7 @@ module Google # Optional. The collection of parameters associated with this context. # Refer to [this - # doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions- - # parameters) + # doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) # for syntax. # Corresponds to the JSON property `parameters` # @return [Hash] @@ -195,8 +194,7 @@ module Google include Google::Apis::Core::Hashable # Required. The language of this query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -1074,7 +1072,7 @@ module Google attr_accessor :name # Optional. The collection of prompts that the agent can present to the - # user in order to collect value for the parameter. + # user in order to collect a value for the parameter. # Corresponds to the JSON property `prompts` # @return [Array] attr_accessor :prompts @@ -1301,8 +1299,7 @@ module Google # The language that was triggered during intent detection. # See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. # Corresponds to the JSON property `languageCode` # @return [String] @@ -1571,8 +1568,7 @@ module Google # Optional. The URI of the agent's avatar. # Avatars are used throughout the Dialogflow console and in the self-hosted # [Web - # Demo](https://cloud.google.com/dialogflow-enterprise/docs/integrations/web- - # demo) + # Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) # integration. # Corresponds to the JSON property `avatarUri` # @return [String] @@ -1591,8 +1587,7 @@ module Google # Required. The default language of the agent as a language tag. See # [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. This field cannot be # set by the `Update` method. # Corresponds to the JSON property `defaultLanguageCode` @@ -1678,8 +1673,7 @@ module Google # Optional. The language of entity synonyms defined in `entities`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -1711,8 +1705,7 @@ module Google # Optional. The language of entity synonyms defined in `entities`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -1782,8 +1775,7 @@ module Google # Optional. The language of entity synonyms defined in `entities`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -1827,8 +1819,7 @@ module Google # Optional. The language of entity synonyms defined in `entity_types`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -1896,8 +1887,7 @@ module Google # Optional. The language of training phrases, parameters and rich messages # defined in `intents`. If not specified, the agent's default language is # used. [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # Corresponds to the JSON property `languageCode` @@ -1968,8 +1958,7 @@ module Google # Optional. The collection of parameters associated with this context. # Refer to [this - # doc](https://cloud.google.com/dialogflow-enterprise/docs/intents-actions- - # parameters) + # doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters) # for syntax. # Corresponds to the JSON property `parameters` # @return [Hash] @@ -2284,8 +2273,7 @@ module Google include Google::Apis::Core::Hashable # Required. The language of this query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -2437,8 +2425,7 @@ module Google # Required. The language of the supplied audio. Dialogflow does not do # translations. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` @@ -3457,7 +3444,7 @@ module Google attr_accessor :name # Optional. The collection of prompts that the agent can present to the - # user in order to collect value for the parameter. + # user in order to collect a value for the parameter. # Corresponds to the JSON property `prompts` # @return [Array] attr_accessor :prompts @@ -4126,8 +4113,7 @@ module Google # The language that was triggered during intent detection. # See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. # Corresponds to the JSON property `languageCode` # @return [String] @@ -4471,8 +4457,7 @@ module Google include Google::Apis::Core::Hashable # Required. The language of this conversational query. See [Language - # Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # Support](https://cloud.google.com/dialogflow/docs/reference/language) # for a list of the currently supported language codes. Note that queries in # the same session do not necessarily need to specify the same language. # Corresponds to the JSON property `languageCode` diff --git a/generated/google/apis/dialogflow_v2beta1/service.rb b/generated/google/apis/dialogflow_v2beta1/service.rb index 001262b56..5c8a95815 100644 --- a/generated/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google/apis/dialogflow_v2beta1/service.rb @@ -31,7 +31,7 @@ module Google # Dialogflow = Google::Apis::DialogflowV2beta1 # Alias the module # service = Dialogflow::DialogflowService.new # - # @see https://cloud.google.com/dialogflow-enterprise/ + # @see https://cloud.google.com/dialogflow/ class DialogflowService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, @@ -415,8 +415,7 @@ module Google # Optional. The language of entity synonyms defined in `entity_type`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -488,8 +487,7 @@ module Google # Optional. The language to retrieve entity synonyms for. If not specified, # the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -528,8 +526,7 @@ module Google # Optional. The language to list entity synonyms for. If not specified, # the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [Fixnum] page_size @@ -578,8 +575,7 @@ module Google # Optional. The language of entity synonyms defined in `entity_type`. If not # specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] update_mask @@ -766,7 +762,7 @@ module Google # `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume # default 'draft' environment. If `User ID` is not specified, we are using - # "-". It’s up to the API caller to choose an appropriate `Session ID` and + # "-". It's up to the API caller to choose an appropriate `Session ID` and # `User Id`. They can be a random numbers or some type of user and session # identifiers (preferably hashed). The length of the `Session ID` and # `User ID` must not exceed 36 characters. @@ -1271,8 +1267,7 @@ module Google # Optional. The language of training phrases, parameters and rich messages # defined in `intent`. If not specified, the agent's default language is # used. [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -1348,8 +1343,7 @@ module Google # Optional. The language to retrieve training phrases, parameters and rich # messages for. If not specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] fields @@ -1391,8 +1385,7 @@ module Google # Optional. The language to list training phrases, parameters and rich # messages for. If not specified, the agent's default language is used. # [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [Fixnum] page_size @@ -1444,8 +1437,7 @@ module Google # Optional. The language of training phrases, parameters and rich messages # defined in `intent`. If not specified, the agent's default language is # used. [Many - # languages](https://cloud.google.com/dialogflow-enterprise/docs/reference/ - # language) + # languages](https://cloud.google.com/dialogflow/docs/reference/language) # are supported. Note: languages must be enabled in the agent before they can # be used. # @param [String] update_mask @@ -1949,7 +1941,7 @@ module Google # `projects//agent/environments//users//sessions/`. If `Environment ID` is not specified, we assume # default 'draft' environment. If `User ID` is not specified, we are using - # "-". It’s up to the API caller to choose an appropriate `Session ID` and + # "-". It's up to the API caller to choose an appropriate `Session ID` and # `User Id`. They can be a random numbers or some type of user and session # identifiers (preferably hashed). The length of the `Session ID` and # `User ID` must not exceed 36 characters. diff --git a/generated/google/apis/firebase_v1beta1.rb b/generated/google/apis/firebase_v1beta1.rb new file mode 100644 index 000000000..3d613595d --- /dev/null +++ b/generated/google/apis/firebase_v1beta1.rb @@ -0,0 +1,44 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/firebase_v1beta1/service.rb' +require 'google/apis/firebase_v1beta1/classes.rb' +require 'google/apis/firebase_v1beta1/representations.rb' + +module Google + module Apis + # Firebase Management API + # + # The Firebase Management API enables programmatic setup and management of + # Firebase projects, including a project's Firebase resources and Firebase apps. + # + # @see https://firebase.google.com + module FirebaseV1beta1 + VERSION = 'V1beta1' + REVISION = '20190618' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + + # View and administer all your Firebase data and settings + AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' + + # View all your Firebase data and settings + AUTH_FIREBASE_READONLY = 'https://www.googleapis.com/auth/firebase.readonly' + end + end +end diff --git a/generated/google/apis/firebase_v1beta1/classes.rb b/generated/google/apis/firebase_v1beta1/classes.rb new file mode 100644 index 000000000..25bb2b647 --- /dev/null +++ b/generated/google/apis/firebase_v1beta1/classes.rb @@ -0,0 +1,1063 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module FirebaseV1beta1 + + # All fields are required. + class AddFirebaseRequest + include Google::Apis::Core::Hashable + + # Deprecated. Instead, call FinalizeDefaultLocation after you add + # Firebase services to your project. + #
+ #
The ID of the project's Cloud resource location. The location should be + # one of the AppEngine locations defined here: + # https://cloud.google.com/appengine/docs/locations + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # The region code (CLDR) that the account will use for Firebase Analytics + # data. + #
For example: US, GB, or DE + #
+ #
In Java, use `com.google.i18n.identifiers.RegionCode`. + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + # The time zone that the account will use for Firebase Analytics data. + #
For example: America/Los_Angeles or Africa/Abidjan + # Corresponds to the JSON property `timeZone` + # @return [String] + attr_accessor :time_zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location_id = args[:location_id] if args.key?(:location_id) + @region_code = args[:region_code] if args.key?(:region_code) + @time_zone = args[:time_zone] if args.key?(:time_zone) + end + end + + # + class AdminSdkConfig + include Google::Apis::Core::Hashable + + # The default Firebase Realtime Database URL. + # Corresponds to the JSON property `databaseURL` + # @return [String] + attr_accessor :database_url + + # The default resource location of other Firebase resources + # (such as Cloud Firestore). + #
For examples, see https://cloud.google.com/appengine/docs/locations. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Immutable. The globally unique, user-assigned project ID of the parent + # Project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The default Cloud Storage for Firebase storage bucket name. + # Corresponds to the JSON property `storageBucket` + # @return [String] + attr_accessor :storage_bucket + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @database_url = args[:database_url] if args.key?(:database_url) + @location_id = args[:location_id] if args.key?(:location_id) + @project_id = args[:project_id] if args.key?(:project_id) + @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket) + end + end + + # Details of a Firebase App for Android. + class AndroidApp + include Google::Apis::Core::Hashable + + # Immutable. The globally unique, Firebase-assigned identifier of the App. + #
+ #
This identifier should be treated as an opaque token, as the data + # format is not specified. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # The user-assigned display name of the App. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The fully qualified resource name of the App, in the format: + #
projects/projectId/androidApps/appId + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The canonical package name of the Android App as would appear in the + # Google Play Developer Console. + # Corresponds to the JSON property `packageName` + # @return [String] + attr_accessor :package_name + + # The globally unique, user-assigned ID of the parent Project for the App. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_id = args[:app_id] if args.key?(:app_id) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @package_name = args[:package_name] if args.key?(:package_name) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # Configuration metadata of a single Firebase App for Android. + class AndroidAppConfig + include Google::Apis::Core::Hashable + + # The contents of the JSON configuration file. + # Corresponds to the JSON property `configFileContents` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :config_file_contents + + # The filename that the configuration artifact is typically saved as. + #
For example: `google-services.json` + # Corresponds to the JSON property `configFilename` + # @return [String] + attr_accessor :config_filename + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config_file_contents = args[:config_file_contents] if args.key?(:config_file_contents) + @config_filename = args[:config_filename] if args.key?(:config_filename) + end + end + + # The default resources associated with a `FirebaseProject`. + class DefaultResources + include Google::Apis::Core::Hashable + + # The default Firebase Hosting site name, in the format: + #
projectId + #
Though rare, your `projectId` might already be used as the name for an + # existing Hosting site in another project (learn more about creating + # non-default, + # [additional sites](https://firebase.google.com/docs/hosting/multisites)). + # In these cases, your `projectId` is appended with a hyphen then five + # alphanumeric characters to create your default Hosting site name. For + # example, if your `projectId` is `myproject123`, your default Hosting site + # name might be: + #
myproject123-a5c16 + # Corresponds to the JSON property `hostingSite` + # @return [String] + attr_accessor :hosting_site + + # The default resource location of other Firebase resources, such as + # Cloud Firestore. This field is omitted if the default resource location has + # not been finalized yet. + #
For examples, see https://cloud.google.com/appengine/docs/locations. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # The default Firebase Realtime Database instance name, in the format: + #
projectId + #
Though rare, your `projectId` might already be used as the name for an + # existing Realtime Database instance in another project (learn more about + # [database + # sharding](https://firebase.google.com/docs/database/usage/sharding)). In + # these cases, your `projectId` is appended with a hyphen then five + # alphanumeric characters to create your default Realtime Database instance + # name. For example, if your `projectId` is `myproject123`, your default + # database instance name might be: + #
myproject123-a5c16 + # Corresponds to the JSON property `realtimeDatabaseInstance` + # @return [String] + attr_accessor :realtime_database_instance + + # The default Cloud Storage for Firebase storage bucket, in the format: + #
projectId.appspot.com. This field is omitted + # if the default resource location has not been finalized yet. + # Corresponds to the JSON property `storageBucket` + # @return [String] + attr_accessor :storage_bucket + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hosting_site = args[:hosting_site] if args.key?(:hosting_site) + @location_id = args[:location_id] if args.key?(:location_id) + @realtime_database_instance = args[:realtime_database_instance] if args.key?(:realtime_database_instance) + @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket) + end + end + + # A generic empty message that you can re-use to avoid defining duplicated + # empty messages in your APIs. A typical example is to use it as the request + # or the response type of an API method. For instance: + # service Foo ` + # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); + # ` + # The JSON representation for `Empty` is empty JSON object ````. + class Empty + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A high-level summary of an App. + class FirebaseAppInfo + include Google::Apis::Core::Hashable + + # Immutable. The globally unique, Firebase-assigned identifier of the App. + #
+ #
This identifier should be treated as an opaque token, as the data + # format is not specified. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # The user-assigned display name of the Firebase App. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The fully qualified resource name of the Firebase App, in the format: + #
projects/projectId/iosApps/appId + # or
projects/projectId/androidApps/appId + # + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The platform of the Firebase App. + # Corresponds to the JSON property `platform` + # @return [String] + attr_accessor :platform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_id = args[:app_id] if args.key?(:app_id) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @platform = args[:platform] if args.key?(:platform) + end + end + + # A `FirebaseProject` is the top-level Firebase entity. It is the container for + # Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime + # Database, Cloud Firestore, Cloud Storage buckets) and other Firebase and + # Google Cloud Platform (GCP) resources. + #
+ #
You can create a new `FirebaseProject` in the + # [Firebase console](https://console.firebase.google.com/), + # or you can add Firebase resources to an existing + # [GCP + # `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/ + # projects) + # by calling + # AddFirebase. + #
+ #
A `FirebaseProject` is actually also a GCP `Project`, so a + # `FirebaseProject` uses underlying GCP identifiers (most importantly, + # `projectId`) as its own for easy interop with GCP APIs. + class FirebaseProject + include Google::Apis::Core::Hashable + + # The user-assigned display name of the Project. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The fully qualified resource name of the Project, in the format: + #
projects/projectId + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Immutable. The globally unique, user-assigned ID of the Project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The globally unique, Google-assigned identifier of the Project. + # Corresponds to the JSON property `projectNumber` + # @return [Fixnum] + attr_accessor :project_number + + # The default resources associated with a `FirebaseProject`. + # Corresponds to the JSON property `resources` + # @return [Google::Apis::FirebaseV1beta1::DefaultResources] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + @project_number = args[:project_number] if args.key?(:project_number) + @resources = args[:resources] if args.key?(:resources) + end + end + + # Details of a Firebase App for iOS. + class IosApp + include Google::Apis::Core::Hashable + + # Immutable. The globally unique, Firebase-assigned identifier of the App. + #
+ #
This identifier should be treated as an opaque token, as the data + # format is not specified. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # The automatically generated Apple ID assigned to the App by Apple in the + # iOS App Store. + # Corresponds to the JSON property `appStoreId` + # @return [String] + attr_accessor :app_store_id + + # The canonical bundle ID of the iOS App as it would appear in the iOS + # AppStore. + # Corresponds to the JSON property `bundleId` + # @return [String] + attr_accessor :bundle_id + + # The user-assigned display name of the App. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The fully qualified resource name of the App, in the format: + #
projects/projectId/iosApps/appId + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The globally unique, user-assigned ID of the parent Project for the App. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_id = args[:app_id] if args.key?(:app_id) + @app_store_id = args[:app_store_id] if args.key?(:app_store_id) + @bundle_id = args[:bundle_id] if args.key?(:bundle_id) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # Configuration metadata of a single Firebase App for iOS. + class IosAppConfig + include Google::Apis::Core::Hashable + + # The content of the XML configuration file. + # Corresponds to the JSON property `configFileContents` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :config_file_contents + + # The filename that the configuration artifact is typically saved as. + #
For example: `GoogleService-Info.plist` + # Corresponds to the JSON property `configFilename` + # @return [String] + attr_accessor :config_filename + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config_file_contents = args[:config_file_contents] if args.key?(:config_file_contents) + @config_filename = args[:config_filename] if args.key?(:config_filename) + end + end + + # + class ListAndroidAppsResponse + include Google::Apis::Core::Hashable + + # List of each AndroidApp that is in the parent Firebase Project. + # Corresponds to the JSON property `apps` + # @return [Array] + attr_accessor :apps + + # 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 + # results. + #
+ #
This token can be used in a subsequent call to `ListAndroidApps` to + # find the next group of Apps. + #
+ #
Page tokens are short-lived and should not be persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apps = args[:apps] if args.key?(:apps) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class ListAvailableProjectsResponse + include Google::Apis::Core::Hashable + + # 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 + # results. + #
+ #
This token can be used in a subsequent calls to `ListAvailableProjects` + # to find the next group of GCP `Projects`. + #
+ #
Page tokens are short-lived and should not be persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of GCP `Projects` which can have Firebase resources added to them. + # Corresponds to the JSON property `projectInfo` + # @return [Array] + attr_accessor :project_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @project_info = args[:project_info] if args.key?(:project_info) + end + end + + # + class ListFirebaseProjectsResponse + include Google::Apis::Core::Hashable + + # 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 + # results. + #
+ #
This token can be used in a subsequent calls to `ListFirebaseProjects` + # to find the next group of Projects. + #
+ #
Page tokens are short-lived and should not be persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # One page of the list of Projects that are accessible to the caller. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @results = args[:results] if args.key?(:results) + end + end + + # + class ListIosAppsResponse + include Google::Apis::Core::Hashable + + # List of each IosApp that is in the parent Firebase Project. + # Corresponds to the JSON property `apps` + # @return [Array] + attr_accessor :apps + + # 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 + # results. + #
+ #
This token can be used in a subsequent call to `ListIosApps` to find + # the next group of Apps. + #
+ #
Page tokens are short-lived and should not be persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apps = args[:apps] if args.key?(:apps) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class ListShaCertificatesResponse + include Google::Apis::Core::Hashable + + # The list of SHA certificates associated with the App. + # Corresponds to the JSON property `certificates` + # @return [Array] + attr_accessor :certificates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @certificates = args[:certificates] if args.key?(:certificates) + end + end + + # + class ListWebAppsResponse + include Google::Apis::Core::Hashable + + # List of each WebApp that is in the parent Firebase Project. + # Corresponds to the JSON property `apps` + # @return [Array] + attr_accessor :apps + + # 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 + # results. + #
+ #
This token can be used in a subsequent call to `ListWebApps` to find + # the next group of Apps. + #
+ #
Page tokens are short-lived and should not be persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apps = args[:apps] if args.key?(:apps) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # This is proto2's version of MessageSet. + class MessageSet + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # If the value is `false`, it means the operation is still in progress. + # If `true`, the operation is completed, and either `error` or `response` is + # available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `error` + # @return [Google::Apis::FirebaseV1beta1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the + # `name` should be a resource name ending with `operations/`unique_id``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is + # `google.protobuf.Empty`. If the original method is standard + # `Get`/`Create`/`Update`, the response should be the resource. For other + # methods, the response should have the type `XxxResponse`, where `Xxx` + # is the original method name. For example, if the original method name + # is `TakeSnapshot()`, the inferred response type is + # `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + + # A reference to a Google Cloud Platform (GCP) `Project`. + class ProjectInfo + include Google::Apis::Core::Hashable + + # The user-assigned display name of the GCP `Project`, for example: + # My App + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The default resource location of other Firebase resources + # (such as Cloud Firestore). + #
Not all projects will have this field populated. If it is + # not populated, it means that the project is not yet associated with any + # region. Consequently, a call to AddFirebase must provide a location + # in this case. + #
For examples, see https://cloud.google.com/appengine/docs/locations. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # The resource name of the GCP `Project` to which Firebase resources can be + # added, in the format: + #
projects/projectId + # Corresponds to the JSON property `project` + # @return [String] + attr_accessor :project + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @location_id = args[:location_id] if args.key?(:location_id) + @project = args[:project] if args.key?(:project) + end + end + + # + class SearchFirebaseAppsResponse + include Google::Apis::Core::Hashable + + # One page of results from a call to `SearchFirebaseApps`. + # Corresponds to the JSON property `apps` + # @return [Array] + attr_accessor :apps + + # If the result list is too large to fit in a single response, then a token + # is returned. + #
+ #
This token can be used in a subsequent calls to `SearchFirebaseApps` + # to find the next group of Apps. + #
If the string is empty, then this response is the last page of results. + #
Page tokens are short-lived and should not be persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @apps = args[:apps] if args.key?(:apps) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A SHA-1 or SHA-256 certificate associated with the AndroidApp. + class ShaCertificate + include Google::Apis::Core::Hashable + + # The SHA certificate type. + # Corresponds to the JSON property `certType` + # @return [String] + attr_accessor :cert_type + + # The fully qualified resource name of the `sha-key`, in the format: + #
projects/projectId/androidApps/appId/sha/ + # shaHash + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The certificate hash for the App. + # Corresponds to the JSON property `shaHash` + # @return [String] + attr_accessor :sha_hash + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cert_type = args[:cert_type] if args.key?(:cert_type) + @name = args[:name] if args.key?(:name) + @sha_hash = args[:sha_hash] if args.key?(:sha_hash) + end + end + + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + class Status + include Google::Apis::Core::Hashable + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # google.rpc.Status.details field, or localized by the client. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @details = args[:details] if args.key?(:details) + @message = args[:message] if args.key?(:message) + end + end + + # Wire-format for a Status object + class StatusProto + include Google::Apis::Core::Hashable + + # The canonical error code (see codes.proto) that most closely + # corresponds to this status. May be missing. + # Corresponds to the JSON property `canonicalCode` + # @return [Fixnum] + attr_accessor :canonical_code + + # Numeric code drawn from the space specified below. Often, this is the + # canonical error space, and code is drawn from google3/util/task/codes.proto + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # Detail message + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # This is proto2's version of MessageSet. + # Corresponds to the JSON property `messageSet` + # @return [Google::Apis::FirebaseV1beta1::MessageSet] + attr_accessor :message_set + + # Message that groups a protocol type_id (as defined by MessageSet), + # with an encoded message of that type. Its use is similar to + # MessageSet, except it represents a single (type, encoded message) + # instead of a set. + # To fill for known protocol type: + # MyProtocolMsg proto; + # TypedMessage typed_msg; + # typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID); + # proto.AppendToCord(typed_msg.mutable_message()); + # To fill for unknown protocol type: + # ProtocolMessage proto; + # TypedMessage typed_msg; + # typed_msg.set_type_id(proto.GetMapper()->type_id()); + # proto.AppendToCord(typed_msg.mutable_message()); + # Corresponds to the JSON property `payload` + # @return [Google::Apis::FirebaseV1beta1::TypedMessage] + attr_accessor :payload + + # The following are usually only present when code != 0 + # Space to which this status belongs + # Corresponds to the JSON property `space` + # @return [String] + attr_accessor :space + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @canonical_code = args[:canonical_code] if args.key?(:canonical_code) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + @message_set = args[:message_set] if args.key?(:message_set) + @payload = args[:payload] if args.key?(:payload) + @space = args[:space] if args.key?(:space) + end + end + + # Message that groups a protocol type_id (as defined by MessageSet), + # with an encoded message of that type. Its use is similar to + # MessageSet, except it represents a single (type, encoded message) + # instead of a set. + # To fill for known protocol type: + # MyProtocolMsg proto; + # TypedMessage typed_msg; + # typed_msg.set_type_id(MyProtocolMsg::MESSAGE_TYPE_ID); + # proto.AppendToCord(typed_msg.mutable_message()); + # To fill for unknown protocol type: + # ProtocolMessage proto; + # TypedMessage typed_msg; + # typed_msg.set_type_id(proto.GetMapper()->type_id()); + # proto.AppendToCord(typed_msg.mutable_message()); + class TypedMessage + include Google::Apis::Core::Hashable + + # Message bytes. + # Corresponds to the JSON property `message` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :message + + # Identifier for the type. + # Corresponds to the JSON property `typeId` + # @return [Fixnum] + attr_accessor :type_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message = args[:message] if args.key?(:message) + @type_id = args[:type_id] if args.key?(:type_id) + end + end + + # Details of a Firebase App for the web. + class WebApp + include Google::Apis::Core::Hashable + + # Immutable. The globally unique, Firebase-assigned identifier of the App. + #
+ #
This identifier should be treated as an opaque token, as the data + # format is not specified. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # The fully qualified URLs where the App is hosted. + # Corresponds to the JSON property `appUrls` + # @return [Array] + attr_accessor :app_urls + + # The user-assigned display name of the App. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The fully qualified resource name of the App, for example: + #
projects/projectId/webApps/appId + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The globally unique, user-assigned ID of the parent Project for the App. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_id = args[:app_id] if args.key?(:app_id) + @app_urls = args[:app_urls] if args.key?(:app_urls) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # Configuration metadata of a single Firebase App for the web. + class WebAppConfig + include Google::Apis::Core::Hashable + + # The API key associated with the web App. + # Corresponds to the JSON property `apiKey` + # @return [String] + attr_accessor :api_key + + # Immutable. The globally unique, Firebase-assigned identifier of the App. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # The domain Firebase Auth configures for OAuth redirects, in the format: + #
projectId.firebaseapp.com + # Corresponds to the JSON property `authDomain` + # @return [String] + attr_accessor :auth_domain + + # The default Firebase Realtime Database URL. + # Corresponds to the JSON property `databaseURL` + # @return [String] + attr_accessor :database_url + + # The default resource location of other Firebase resources + # (such as Cloud Firestore). + #
For examples, see https://cloud.google.com/appengine/docs/locations. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # The sender ID for use with Firebase Cloud Messaging. + # Corresponds to the JSON property `messagingSenderId` + # @return [String] + attr_accessor :messaging_sender_id + + # Immutable. The globally unique, user-assigned project ID of the parent + # Project for the App. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The default Cloud Storage for Firebase storage bucket name. + # Corresponds to the JSON property `storageBucket` + # @return [String] + attr_accessor :storage_bucket + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_key = args[:api_key] if args.key?(:api_key) + @app_id = args[:app_id] if args.key?(:app_id) + @auth_domain = args[:auth_domain] if args.key?(:auth_domain) + @database_url = args[:database_url] if args.key?(:database_url) + @location_id = args[:location_id] if args.key?(:location_id) + @messaging_sender_id = args[:messaging_sender_id] if args.key?(:messaging_sender_id) + @project_id = args[:project_id] if args.key?(:project_id) + @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket) + end + end + end + end +end diff --git a/generated/google/apis/firebase_v1beta1/representations.rb b/generated/google/apis/firebase_v1beta1/representations.rb new file mode 100644 index 000000000..98ae942fb --- /dev/null +++ b/generated/google/apis/firebase_v1beta1/representations.rb @@ -0,0 +1,432 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module FirebaseV1beta1 + + class AddFirebaseRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdminSdkConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AndroidApp + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AndroidAppConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DefaultResources + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FirebaseAppInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FirebaseProject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IosApp + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IosAppConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAndroidAppsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailableProjectsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListFirebaseProjectsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListIosAppsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListShaCertificatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListWebAppsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MessageSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchFirebaseAppsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShaCertificate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StatusProto + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TypedMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebApp + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebAppConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddFirebaseRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location_id, as: 'locationId' + property :region_code, as: 'regionCode' + property :time_zone, as: 'timeZone' + end + end + + class AdminSdkConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :database_url, as: 'databaseURL' + property :location_id, as: 'locationId' + property :project_id, as: 'projectId' + property :storage_bucket, as: 'storageBucket' + end + end + + class AndroidApp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_id, as: 'appId' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :package_name, as: 'packageName' + property :project_id, as: 'projectId' + end + end + + class AndroidAppConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config_file_contents, :base64 => true, as: 'configFileContents' + property :config_filename, as: 'configFilename' + end + end + + class DefaultResources + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hosting_site, as: 'hostingSite' + property :location_id, as: 'locationId' + property :realtime_database_instance, as: 'realtimeDatabaseInstance' + property :storage_bucket, as: 'storageBucket' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class FirebaseAppInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_id, as: 'appId' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :platform, as: 'platform' + end + end + + class FirebaseProject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :name, as: 'name' + property :project_id, as: 'projectId' + property :project_number, :numeric_string => true, as: 'projectNumber' + property :resources, as: 'resources', class: Google::Apis::FirebaseV1beta1::DefaultResources, decorator: Google::Apis::FirebaseV1beta1::DefaultResources::Representation + + end + end + + class IosApp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_id, as: 'appId' + property :app_store_id, as: 'appStoreId' + property :bundle_id, as: 'bundleId' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :project_id, as: 'projectId' + end + end + + class IosAppConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config_file_contents, :base64 => true, as: 'configFileContents' + property :config_filename, as: 'configFilename' + end + end + + class ListAndroidAppsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::AndroidApp, decorator: Google::Apis::FirebaseV1beta1::AndroidApp::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListAvailableProjectsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :project_info, as: 'projectInfo', class: Google::Apis::FirebaseV1beta1::ProjectInfo, decorator: Google::Apis::FirebaseV1beta1::ProjectInfo::Representation + + end + end + + class ListFirebaseProjectsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :results, as: 'results', class: Google::Apis::FirebaseV1beta1::FirebaseProject, decorator: Google::Apis::FirebaseV1beta1::FirebaseProject::Representation + + end + end + + class ListIosAppsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::IosApp, decorator: Google::Apis::FirebaseV1beta1::IosApp::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListShaCertificatesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :certificates, as: 'certificates', class: Google::Apis::FirebaseV1beta1::ShaCertificate, decorator: Google::Apis::FirebaseV1beta1::ShaCertificate::Representation + + end + end + + class ListWebAppsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::WebApp, decorator: Google::Apis::FirebaseV1beta1::WebApp::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class MessageSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::FirebaseV1beta1::Status, decorator: Google::Apis::FirebaseV1beta1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + + class ProjectInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :location_id, as: 'locationId' + property :project, as: 'project' + end + end + + class SearchFirebaseAppsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::FirebaseAppInfo, decorator: Google::Apis::FirebaseV1beta1::FirebaseAppInfo::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ShaCertificate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cert_type, as: 'certType' + property :name, as: 'name' + property :sha_hash, as: 'shaHash' + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :details, as: 'details' + property :message, as: 'message' + end + end + + class StatusProto + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :canonical_code, as: 'canonicalCode' + property :code, as: 'code' + property :message, as: 'message' + property :message_set, as: 'messageSet', class: Google::Apis::FirebaseV1beta1::MessageSet, decorator: Google::Apis::FirebaseV1beta1::MessageSet::Representation + + property :payload, as: 'payload', class: Google::Apis::FirebaseV1beta1::TypedMessage, decorator: Google::Apis::FirebaseV1beta1::TypedMessage::Representation + + property :space, as: 'space' + end + end + + class TypedMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message, :base64 => true, as: 'message' + property :type_id, as: 'typeId' + end + end + + class WebApp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_id, as: 'appId' + collection :app_urls, as: 'appUrls' + property :display_name, as: 'displayName' + property :name, as: 'name' + property :project_id, as: 'projectId' + end + end + + class WebAppConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_key, as: 'apiKey' + property :app_id, as: 'appId' + property :auth_domain, as: 'authDomain' + property :database_url, as: 'databaseURL' + property :location_id, as: 'locationId' + property :messaging_sender_id, as: 'messagingSenderId' + property :project_id, as: 'projectId' + property :storage_bucket, as: 'storageBucket' + end + end + end + end +end diff --git a/generated/google/apis/firebase_v1beta1/service.rb b/generated/google/apis/firebase_v1beta1/service.rb new file mode 100644 index 000000000..084ce434c --- /dev/null +++ b/generated/google/apis/firebase_v1beta1/service.rb @@ -0,0 +1,1105 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module FirebaseV1beta1 + # Firebase Management API + # + # The Firebase Management API enables programmatic setup and management of + # Firebase projects, including a project's Firebase resources and Firebase apps. + # + # @example + # require 'google/apis/firebase_v1beta1' + # + # Firebase = Google::Apis::FirebaseV1beta1 # Alias the module + # service = Firebase::FirebaseManagementService.new + # + # @see https://firebase.google.com + class FirebaseManagementService < Google::Apis::Core::BaseService + # @return [String] + # API key. Your API key identifies your project and provides you with API access, + # quota, and reports. Required unless you provide an OAuth 2.0 token. + attr_accessor :key + + # @return [String] + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + attr_accessor :quota_user + + def initialize + super('https://firebase.googleapis.com/', '') + @batch_path = 'batch' + end + + # Returns a list of [Google Cloud Platform (GCP) `Projects`] + # (https://cloud.google.com/resource-manager/reference/rest/v1/projects) + # that are available to have Firebase resources added to them. + #
+ #
A GCP `Project` will only be returned if: + #
    + #
  1. The caller has sufficient + # [Google IAM](https://cloud.google.com/iam) permissions to call + # AddFirebase.

  2. + #
  3. The GCP `Project` is not already a FirebaseProject.

  4. + #
  5. The GCP `Project` is not in an Organization which has policies + # that prevent Firebase resources from being added.

  6. + #
+ # @param [Fixnum] page_size + # The maximum number of GCP `Projects` to return in the response. + #
+ #
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 + # will impose its own limit. + #
+ #
This value cannot be negative. + # @param [String] page_token + # Token returned from a previous call to `ListAvailableProjects` + # indicating where in the set of GCP `Projects` to resume listing. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ListAvailableProjectsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ListAvailableProjectsResponse] + # + # @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::AuthorizationError] Authorization is required + def list_available_projects(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/availableProjects', options) + command.response_representation = Google::Apis::FirebaseV1beta1::ListAvailableProjectsResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ListAvailableProjectsResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest state of a long-running operation. Clients can use this + # method to poll the operation result at intervals as recommended by the API + # service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::Operation] + # + # @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::AuthorizationError] Authorization is required + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation + command.response_class = Google::Apis::FirebaseV1beta1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Adds Firebase resources to the specified existing + # [Google Cloud Platform (GCP) `Project`] + # (https://cloud.google.com/resource-manager/reference/rest/v1/projects). + #
+ #
Since a FirebaseProject is actually also a GCP `Project`, a + # `FirebaseProject` uses underlying GCP identifiers (most importantly, + # the `projectId`) as its own for easy interop with GCP APIs. + #
+ #
The result of this call is an [`Operation`](../../v1beta1/operations). + # Poll the `Operation` to track the provisioning process by calling + # GetOperation until + # [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When + # `done` is `true`, the `Operation` has either succeeded or failed. If the + # `Operation` succeeded, its + # [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to + # a FirebaseProject; if the `Operation` failed, its + # [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a + # google.rpc.Status. The `Operation` is automatically deleted after + # completion, so there is no need to call + # DeleteOperation. + #
+ #
This method does not modify any billing account information on the + # underlying GCP `Project`. + #
+ #
All fields listed in the [request body](#request-body) are required. + #
+ #
To call `AddFirebase`, a member must be an Editor or Owner for the + # existing GCP `Project`. Service accounts cannot call `AddFirebase`. + # @param [String] project + # The resource name of the GCP `Project` to which Firebase resources will be + # added, in the format: + #
projects/projectId + # After calling `AddFirebase`, the + # [`projectId`](https://cloud.google.com/resource-manager/reference/rest/v1/ + # projects#Project.FIELDS.project_id) + # of the GCP `Project` is also the `projectId` of the FirebaseProject. + # @param [Google::Apis::FirebaseV1beta1::AddFirebaseRequest] add_firebase_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::Operation] + # + # @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::AuthorizationError] Authorization is required + def add_project_firebase(project, add_firebase_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+project}:addFirebase', options) + command.request_representation = Google::Apis::FirebaseV1beta1::AddFirebaseRequest::Representation + command.request_object = add_firebase_request_object + command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation + command.response_class = Google::Apis::FirebaseV1beta1::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the FirebaseProject identified by the specified resource name. + # @param [String] name + # The fully qualified resource name of the Project, in the format: + #
projects/projectId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::FirebaseProject] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::FirebaseProject] + # + # @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::AuthorizationError] Authorization is required + def get_project(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::FirebaseProject::Representation + command.response_class = Google::Apis::FirebaseV1beta1::FirebaseProject + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration artifact used by servers to simplify initialization. + #
+ #
Typically, this configuration is used with the Firebase Admin SDK + # [initializeApp](https://firebase.google.com/docs/admin/setup# + # initialize_the_sdk) + # command. + # @param [String] name + # The fully qualified resource name of the Project, in the format: + #
projects/projectId/adminSdkConfig + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::AdminSdkConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::AdminSdkConfig] + # + # @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::AuthorizationError] Authorization is required + def get_project_admin_sdk_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::AdminSdkConfig::Representation + command.response_class = Google::Apis::FirebaseV1beta1::AdminSdkConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists each FirebaseProject accessible to the caller. + #
+ #
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 + # `pageToken`. + #
+ #
This method is eventually consistent with Project mutations, which + # means newly provisioned Projects and recent modifications to existing + # Projects might not be reflected in the set of Projects. The list will + # include only ACTIVE Projects. + #
+ #
Use + # GetFirebaseProject + # for consistent reads as well as for additional Project details. + # @param [Fixnum] page_size + # The maximum number of Projects to return in the response. + #
+ #
The server may return fewer than this at its discretion. + # If no value is specified (or too large a value is specified), the server + # will impose its own limit. + #
+ #
This value cannot be negative. + # @param [String] page_token + # Token returned from a previous call to `ListFirebaseProjects` indicating + # where in the set of Projects to resume listing. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ListFirebaseProjectsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ListFirebaseProjectsResponse] + # + # @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::AuthorizationError] Authorization is required + def list_projects(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/projects', options) + command.response_representation = Google::Apis::FirebaseV1beta1::ListFirebaseProjectsResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ListFirebaseProjectsResponse + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the FirebaseProject identified by the + # specified resource name. + #
+ #
All [query parameters](#query-parameters) are required. + # @param [String] name + # The fully qualified resource name of the Project, in the format: + #
projects/projectId + # @param [Google::Apis::FirebaseV1beta1::FirebaseProject] firebase_project_object + # @param [String] update_mask + # Specifies which fields to update. + #
+ #
If this list is empty, then no state will be updated. + #
Note that the fields `name`, `project_id`, and `project_number` are all + # immutable. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::FirebaseProject] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::FirebaseProject] + # + # @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::AuthorizationError] Authorization is required + def patch_project(name, firebase_project_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::FirebaseV1beta1::FirebaseProject::Representation + command.request_object = firebase_project_object + command.response_representation = Google::Apis::FirebaseV1beta1::FirebaseProject::Representation + command.response_class = Google::Apis::FirebaseV1beta1::FirebaseProject + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # A convenience method that lists all available Apps for the specified + # FirebaseProject. + #
+ #
Typically, interaction with an App should be done using the + # platform-specific service, but some tool use-cases require a summary of all + # known Apps (such as for App selector interfaces). + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Fixnum] page_size + # The maximum number of Apps to return in the response. + #
+ #
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 + # server will impose its own limit. + #
+ #
This value cannot be negative. + # @param [String] page_token + # Token returned from a previous call to `SearchFirebaseApps` indicating + # where in the set of Apps to resume listing. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::SearchFirebaseAppsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::SearchFirebaseAppsResponse] + # + # @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::AuthorizationError] Authorization is required + def search_project_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}:searchApps', options) + command.response_representation = Google::Apis::FirebaseV1beta1::SearchFirebaseAppsResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::SearchFirebaseAppsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Requests that a new AndroidApp be created. + #
+ #
The result of this call is an `Operation` which can be used to track + # the provisioning process. The `Operation` is automatically deleted after + # completion, so there is no need to call `DeleteOperation`. + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::Operation] + # + # @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::AuthorizationError] Authorization is required + def create_project_android_app(parent, android_app_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/androidApps', options) + command.request_representation = Google::Apis::FirebaseV1beta1::AndroidApp::Representation + command.request_object = android_app_object + command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation + command.response_class = Google::Apis::FirebaseV1beta1::Operation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the AndroidApp identified by the specified resource name. + # @param [String] name + # The fully qualified resource name of the App, in the format: + #
projects/projectId/androidApps/appId + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/androidApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::AndroidApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::AndroidApp] + # + # @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::AuthorizationError] Authorization is required + def get_project_android_app(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::AndroidApp::Representation + command.response_class = Google::Apis::FirebaseV1beta1::AndroidApp + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration artifact associated with the specified + # AndroidApp. + # @param [String] name + # The resource name of the App configuration to download, in the format: + #
projects/projectId/androidApps/appId/config + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/androidApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::AndroidAppConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::AndroidAppConfig] + # + # @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::AuthorizationError] Authorization is required + def get_project_android_app_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::AndroidAppConfig::Representation + command.response_class = Google::Apis::FirebaseV1beta1::AndroidAppConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists each AndroidApp associated with the specified parent Project. + #
+ #
The elements are returned in no particular order, but will be a + # consistent view of the Apps when additional requests are made with a + # `pageToken`. + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Fixnum] page_size + # The maximum number of Apps to return in the response. + #
+ #
The server may return fewer than this at its discretion. + # If no value is specified (or too large a value is specified), then the + # server will impose its own limit. + # @param [String] page_token + # Token returned from a previous call to `ListAndroidApps` indicating where + # in the set of Apps to resume listing. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ListAndroidAppsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ListAndroidAppsResponse] + # + # @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::AuthorizationError] Authorization is required + def list_project_android_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/androidApps', options) + command.response_representation = Google::Apis::FirebaseV1beta1::ListAndroidAppsResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ListAndroidAppsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the AndroidApp identified by the specified + # resource name. + # @param [String] name + # The fully qualified resource name of the App, in the format: + #
projects/projectId/androidApps/appId + # @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object + # @param [String] update_mask + # Specifies which fields to update. + #
Note that the fields `name`, `appId`, `projectId`, and `packageName` + # are all immutable. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::AndroidApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::AndroidApp] + # + # @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::AuthorizationError] Authorization is required + def patch_project_android_app(name, android_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::FirebaseV1beta1::AndroidApp::Representation + command.request_object = android_app_object + command.response_representation = Google::Apis::FirebaseV1beta1::AndroidApp::Representation + command.response_class = Google::Apis::FirebaseV1beta1::AndroidApp + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Adds a SHA certificate to the specified AndroidApp. + # @param [String] parent + # The parent App to which a SHA certificate will be added, in the format: + #
projects/projectId/androidApps/appId + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/androidApps/appId + # @param [Google::Apis::FirebaseV1beta1::ShaCertificate] sha_certificate_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ShaCertificate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ShaCertificate] + # + # @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::AuthorizationError] Authorization is required + def create_project_android_app_sha(parent, sha_certificate_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/sha', options) + command.request_representation = Google::Apis::FirebaseV1beta1::ShaCertificate::Representation + command.request_object = sha_certificate_object + command.response_representation = Google::Apis::FirebaseV1beta1::ShaCertificate::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ShaCertificate + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Removes a SHA certificate from the specified AndroidApp. + # @param [String] name + # The fully qualified resource name of the `sha-key`, in the format: + #
projects/projectId/androidApps/appId/sha/ + # shaHash + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::Empty] + # + # @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::AuthorizationError] Authorization is required + def delete_project_android_app_sha(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::Empty::Representation + command.response_class = Google::Apis::FirebaseV1beta1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the list of SHA-1 and SHA-256 certificates for the specified + # AndroidApp. + # @param [String] parent + # The parent App for which to list SHA certificates, in the format: + #
projects/projectId/androidApps/appId + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/androidApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ListShaCertificatesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ListShaCertificatesResponse] + # + # @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::AuthorizationError] Authorization is required + def list_project_android_app_shas(parent, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/sha', options) + command.response_representation = Google::Apis::FirebaseV1beta1::ListShaCertificatesResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ListShaCertificatesResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Requests that a new IosApp be created. + #
+ #
The result of this call is an `Operation` which can be used to track + # the provisioning process. The `Operation` is automatically deleted after + # completion, so there is no need to call `DeleteOperation`. + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::Operation] + # + # @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::AuthorizationError] Authorization is required + def create_project_ios_app(parent, ios_app_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/iosApps', options) + command.request_representation = Google::Apis::FirebaseV1beta1::IosApp::Representation + command.request_object = ios_app_object + command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation + command.response_class = Google::Apis::FirebaseV1beta1::Operation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the IosApp identified by the specified resource name. + # @param [String] name + # The fully qualified resource name of the App, in the format: + # projects/projectId/iosApps/appId + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/iosApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::IosApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::IosApp] + # + # @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::AuthorizationError] Authorization is required + def get_project_ios_app(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::IosApp::Representation + command.response_class = Google::Apis::FirebaseV1beta1::IosApp + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration artifact associated with the specified IosApp. + # @param [String] name + # The resource name of the App configuration to download, in the format: + #
projects/projectId/iosApps/appId/config + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/iosApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::IosAppConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::IosAppConfig] + # + # @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::AuthorizationError] Authorization is required + def get_project_ios_app_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::IosAppConfig::Representation + command.response_class = Google::Apis::FirebaseV1beta1::IosAppConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists each IosApp associated with the specified parent Project. + #
+ #
The elements are returned in no particular order, but will be a + # consistent view of the Apps when additional requests are made with a + # `pageToken`. + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Fixnum] page_size + # The maximum number of Apps to return in the response. + #
+ #
The server may return fewer than this at its discretion. + # If no value is specified (or too large a value is specified), the server + # will impose its own limit. + # @param [String] page_token + # Token returned from a previous call to `ListIosApps` indicating where in + # the set of Apps to resume listing. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ListIosAppsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ListIosAppsResponse] + # + # @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::AuthorizationError] Authorization is required + def list_project_ios_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/iosApps', options) + command.response_representation = Google::Apis::FirebaseV1beta1::ListIosAppsResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ListIosAppsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the IosApp identified by the specified + # resource name. + # @param [String] name + # The fully qualified resource name of the App, in the format: + #
projects/projectId/iosApps/appId + # @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object + # @param [String] update_mask + # Specifies which fields to update. + #
Note that the fields `name`, `appId`, `projectId`, and `bundleId` + # are all immutable. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::IosApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::IosApp] + # + # @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::AuthorizationError] Authorization is required + def patch_project_ios_app(name, ios_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::FirebaseV1beta1::IosApp::Representation + command.request_object = ios_app_object + command.response_representation = Google::Apis::FirebaseV1beta1::IosApp::Representation + command.response_class = Google::Apis::FirebaseV1beta1::IosApp + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Requests that a new WebApp be created. + #
+ #
The result of this call is an `Operation` which can be used to track + # the provisioning process. The `Operation` is automatically deleted after + # completion, so there is no need to call `DeleteOperation`. + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::Operation] + # + # @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::AuthorizationError] Authorization is required + def create_project_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/webApps', options) + command.request_representation = Google::Apis::FirebaseV1beta1::WebApp::Representation + command.request_object = web_app_object + command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation + command.response_class = Google::Apis::FirebaseV1beta1::Operation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the WebApp identified by the specified resource name. + # @param [String] name + # The fully qualified resource name of the App, in the format: + #
projects/projectId/webApps/appId + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/webApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::WebApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::WebApp] + # + # @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::AuthorizationError] Authorization is required + def get_project_web_app(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::WebApp::Representation + command.response_class = Google::Apis::FirebaseV1beta1::WebApp + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration artifact associated with the specified WebApp. + # @param [String] name + # The resource name of the App configuration to download, in the format: + #
projects/projectId/webApps/appId/config + #
As an appId is a unique identifier, the Unique Resource + # from Sub-Collection access pattern may be used here, in the format: + #
projects/-/webApps/appId + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::WebAppConfig] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::WebAppConfig] + # + # @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::AuthorizationError] Authorization is required + def get_project_web_app_config(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::FirebaseV1beta1::WebAppConfig::Representation + command.response_class = Google::Apis::FirebaseV1beta1::WebAppConfig + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists each WebApp associated with the specified parent Project. + #
+ #
The elements are returned in no particular order, but will be a + # consistent view of the Apps when additional requests are made with a + # `pageToken`. + # @param [String] parent + # The parent Project for which to list Apps, in the format: + #
projects/projectId + # @param [Fixnum] page_size + # The maximum number of Apps to return in the response. + #
+ #
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 + # server will impose its own limit. + # @param [String] page_token + # Token returned from a previous call to `ListWebApps` indicating where in + # the set of Apps to resume listing. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::ListWebAppsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::ListWebAppsResponse] + # + # @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::AuthorizationError] Authorization is required + def list_project_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/webApps', options) + command.response_representation = Google::Apis::FirebaseV1beta1::ListWebAppsResponse::Representation + command.response_class = Google::Apis::FirebaseV1beta1::ListWebAppsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the WebApp identified by the specified + # resource name. + # @param [String] name + # The fully qualified resource name of the App, for example: + #
projects/projectId/webApps/appId + # @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object + # @param [String] update_mask + # Specifies which fields to update. + #
Note that the fields `name`, `appId`, and `projectId` are all + # immutable. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::FirebaseV1beta1::WebApp] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::FirebaseV1beta1::WebApp] + # + # @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::AuthorizationError] Authorization is required + def patch_project_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::FirebaseV1beta1::WebApp::Representation + command.request_object = web_app_object + command.response_representation = Google::Apis::FirebaseV1beta1::WebApp::Representation + command.response_class = Google::Apis::FirebaseV1beta1::WebApp + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/healthcare_v1alpha2.rb b/generated/google/apis/healthcare_v1alpha2.rb index 62f208ef8..c0f9d0106 100644 --- a/generated/google/apis/healthcare_v1alpha2.rb +++ b/generated/google/apis/healthcare_v1alpha2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1alpha2 VERSION = 'V1alpha2' - REVISION = '20190607' + REVISION = '20190615' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/healthcare_v1alpha2/service.rb b/generated/google/apis/healthcare_v1alpha2/service.rb index 7a1376677..00461b051 100644 --- a/generated/google/apis/healthcare_v1alpha2/service.rb +++ b/generated/google/apis/healthcare_v1alpha2/service.rb @@ -3150,6 +3150,12 @@ module Google # registry.html). # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. + # Supported search result parameters: `_sort`, `_count`, `_include`, + # `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. + # The maximum number of search results returned defaults to 100, which can + # be overridden by the `_count` parameter up to a maximum limit of 1000. If + # there are additional results, the returned `Bundle` will contain + # pagination links. # @param [String] parent # Name of the FHIR store to retrieve resources from. # @param [Google::Apis::HealthcareV1alpha2::SearchResourcesRequest] search_resources_request_object diff --git a/generated/google/apis/healthcare_v1beta1.rb b/generated/google/apis/healthcare_v1beta1.rb index 6d2a87bf0..fa182abda 100644 --- a/generated/google/apis/healthcare_v1beta1.rb +++ b/generated/google/apis/healthcare_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1beta1 VERSION = 'V1beta1' - REVISION = '20190607' + REVISION = '20190615' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/healthcare_v1beta1/service.rb b/generated/google/apis/healthcare_v1beta1/service.rb index 78ae08b60..1f1a521cb 100644 --- a/generated/google/apis/healthcare_v1beta1/service.rb +++ b/generated/google/apis/healthcare_v1beta1/service.rb @@ -2628,6 +2628,12 @@ module Google # registry.html). # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. + # Supported search result parameters: `_sort`, `_count`, `_include`, + # `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`. + # The maximum number of search results returned defaults to 100, which can + # be overridden by the `_count` parameter up to a maximum limit of 1000. If + # there are additional results, the returned `Bundle` will contain + # pagination links. # @param [String] parent # Name of the FHIR store to retrieve resources from. # @param [Google::Apis::HealthcareV1beta1::SearchResourcesRequest] search_resources_request_object diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 794e7917c..4f48bca60 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20190530' + REVISION = '20190614' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 52956a6ab..c33238901 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -330,6 +330,11 @@ module Google # @return [Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput] attr_accessor :built_in_algorithm_output + # Output only. End time for the trial. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + # An observed value of a metric. # Corresponds to the JSON property `finalMetric` # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric] @@ -346,6 +351,16 @@ module Google attr_accessor :is_trial_stopped_early alias_method :is_trial_stopped_early?, :is_trial_stopped_early + # Output only. Start time for the trial. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Output only. The detailed state of the trial. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + # The trial id for these results. # Corresponds to the JSON property `trialId` # @return [String] @@ -359,9 +374,12 @@ module Google def update!(**args) @all_metrics = args[:all_metrics] if args.key?(:all_metrics) @built_in_algorithm_output = args[:built_in_algorithm_output] if args.key?(:built_in_algorithm_output) + @end_time = args[:end_time] if args.key?(:end_time) @final_metric = args[:final_metric] if args.key?(:final_metric) @hyperparameters = args[:hyperparameters] if args.key?(:hyperparameters) @is_trial_stopped_early = args[:is_trial_stopped_early] if args.key?(:is_trial_stopped_early) + @start_time = args[:start_time] if args.key?(:start_time) + @state = args[:state] if args.key?(:state) @trial_id = args[:trial_id] if args.key?(:trial_id) end end diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index a66664a4a..a302a06a8 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -348,10 +348,13 @@ module Google property :built_in_algorithm_output, as: 'builtInAlgorithmOutput', class: Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput::Representation + property :end_time, as: 'endTime' property :final_metric, as: 'finalMetric', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutputHyperparameterMetric::Representation hash :hyperparameters, as: 'hyperparameters' property :is_trial_stopped_early, as: 'isTrialStoppedEarly' + property :start_time, as: 'startTime' + property :state, as: 'state' property :trial_id, as: 'trialId' end end diff --git a/generated/google/apis/remotebuildexecution_v1.rb b/generated/google/apis/remotebuildexecution_v1.rb index 1fa7cfca1..a6696c90b 100644 --- a/generated/google/apis/remotebuildexecution_v1.rb +++ b/generated/google/apis/remotebuildexecution_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1 VERSION = 'V1' - REVISION = '20190612' + REVISION = '20190618' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1/classes.rb b/generated/google/apis/remotebuildexecution_v1/classes.rb index f3e75ef61..87ccb4bfe 100644 --- a/generated/google/apis/remotebuildexecution_v1/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1/classes.rb @@ -1854,7 +1854,6 @@ module Google # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y". # Example filter: # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING) - # This field is currently ignored in all requests. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter @@ -1951,7 +1950,7 @@ module Google # lowercase letters, numeric characters, underscores and dashes. # International letters are permitted. Keys must start with a letter but # values are optional. - # This field is currently ignored in all requests. + # There can not be more than 64 labels per resource. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 52c846067..1ea8842aa 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20190612' + REVISION = '20190618' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb index a7ce3c089..50fa8c9aa 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb @@ -1835,7 +1835,6 @@ module Google # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y". # Example filter: # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING) - # This field is currently ignored in all requests. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter @@ -1932,7 +1931,7 @@ module Google # lowercase letters, numeric characters, underscores and dashes. # International letters are permitted. Keys must start with a letter but # values are optional. - # This field is currently ignored in all requests. + # There can not be more than 64 labels per resource. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels diff --git a/generated/google/apis/remotebuildexecution_v1alpha/service.rb b/generated/google/apis/remotebuildexecution_v1alpha/service.rb index 01c47e90e..4f7e99659 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/service.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/service.rb @@ -303,7 +303,6 @@ module Google # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y". # Example filter: # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING) - # This field is currently ignored in all requests. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/remotebuildexecution_v2.rb b/generated/google/apis/remotebuildexecution_v2.rb index fdb3de2c1..54a69d962 100644 --- a/generated/google/apis/remotebuildexecution_v2.rb +++ b/generated/google/apis/remotebuildexecution_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV2 VERSION = 'V2' - REVISION = '20190612' + REVISION = '20190618' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v2/classes.rb b/generated/google/apis/remotebuildexecution_v2/classes.rb index cce716599..897bd90bd 100644 --- a/generated/google/apis/remotebuildexecution_v2/classes.rb +++ b/generated/google/apis/remotebuildexecution_v2/classes.rb @@ -2532,7 +2532,6 @@ module Google # AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y". # Example filter: # configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING) - # This field is currently ignored in all requests. # Corresponds to the JSON property `filter` # @return [String] attr_accessor :filter @@ -2629,7 +2628,7 @@ module Google # lowercase letters, numeric characters, underscores and dashes. # International letters are permitted. Keys must start with a letter but # values are optional. - # This field is currently ignored in all requests. + # There can not be more than 64 labels per resource. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index 9313b6e29..ebf31976a 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServicemanagementV1 VERSION = 'V1' - REVISION = '20190610' + REVISION = '20190614' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index 38386f348..8ba46712b 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -2627,7 +2627,6 @@ module Google # Different APIs can support different monitored resource types. APIs generally # provide a `list` method that returns the monitored resource descriptors used # by the API. - # Next ID: 10 class MonitoredResourceDescriptor include Google::Apis::Core::Hashable