diff --git a/generated/google/apis/accesscontextmanager_v1beta.rb b/generated/google/apis/accesscontextmanager_v1beta.rb index 54d92e7ce..8c15f3f2e 100644 --- a/generated/google/apis/accesscontextmanager_v1beta.rb +++ b/generated/google/apis/accesscontextmanager_v1beta.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/access-context-manager/docs/reference/rest/ module AccesscontextmanagerV1beta VERSION = 'V1beta' - REVISION = '20191018' + REVISION = '20200110' # 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/accesscontextmanager_v1beta/classes.rb b/generated/google/apis/accesscontextmanager_v1beta/classes.rb index e3bb23858..5d9c46e8b 100644 --- a/generated/google/apis/accesscontextmanager_v1beta/classes.rb +++ b/generated/google/apis/accesscontextmanager_v1beta/classes.rb @@ -37,6 +37,13 @@ module Google # @return [String] attr_accessor :create_time + # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language + # to represent the necessary conditions for the level to apply to a request. + # See CEL spec at: https://github.com/google/cel-spec + # Corresponds to the JSON property `custom` + # @return [Google::Apis::AccesscontextmanagerV1beta::CustomLevel] + attr_accessor :custom + # Description of the `AccessLevel` and its use. Does not affect behavior. # Corresponds to the JSON property `description` # @return [String] @@ -67,6 +74,7 @@ module Google def update!(**args) @basic = args[:basic] if args.key?(:basic) @create_time = args[:create_time] if args.key?(:create_time) + @custom = args[:custom] if args.key?(:custom) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) @@ -234,6 +242,30 @@ module Google end end + # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language + # to represent the necessary conditions for the level to apply to a request. + # See CEL spec at: https://github.com/google/cel-spec + class CustomLevel + include Google::Apis::Core::Hashable + + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + # Corresponds to the JSON property `expr` + # @return [Google::Apis::AccesscontextmanagerV1beta::Expr] + attr_accessor :expr + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expr = args[:expr] if args.key?(:expr) + end + end + # `DevicePolicy` specifies device specific restrictions necessary to acquire a # given access level. A `DevicePolicy` specifies requirements for requests from # devices to be granted access levels, it does not do any enforcement on the @@ -296,6 +328,53 @@ module Google end end + # Represents an expression text. Example: + # title: "User account presence" + # description: "Determines whether the request has a user account" + # expression: "size(request.user) > 0" + class Expr + include Google::Apis::Core::Hashable + + # An optional description of the expression. This is a longer text which + # describes the expression, e.g. when hovered over it in a UI. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Textual representation of an expression in + # Common Expression Language syntax. + # The application context of the containing message determines which + # well-known feature set of CEL is supported. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # An optional string indicating the location of the expression for error + # reporting, e.g. a file name and a position in the file. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # An optional title for the expression, i.e. a short string describing + # its purpose. This can be used e.g. in UIs which allow to enter the + # expression. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @expression = args[:expression] if args.key?(:expression) + @location = args[:location] if args.key?(:location) + @title = args[:title] if args.key?(:title) + end + end + # A response to `ListAccessLevelsRequest`. class ListAccessLevelsResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/accesscontextmanager_v1beta/representations.rb b/generated/google/apis/accesscontextmanager_v1beta/representations.rb index 82904bb52..24ff28d9d 100644 --- a/generated/google/apis/accesscontextmanager_v1beta/representations.rb +++ b/generated/google/apis/accesscontextmanager_v1beta/representations.rb @@ -46,12 +46,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CustomLevel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DevicePolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Expr + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListAccessLevelsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,6 +124,8 @@ module Google property :basic, as: 'basic', class: Google::Apis::AccesscontextmanagerV1beta::BasicLevel, decorator: Google::Apis::AccesscontextmanagerV1beta::BasicLevel::Representation property :create_time, as: 'createTime' + property :custom, as: 'custom', class: Google::Apis::AccesscontextmanagerV1beta::CustomLevel, decorator: Google::Apis::AccesscontextmanagerV1beta::CustomLevel::Representation + property :description, as: 'description' property :name, as: 'name' property :title, as: 'title' @@ -152,6 +166,14 @@ module Google end end + class CustomLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expr, as: 'expr', class: Google::Apis::AccesscontextmanagerV1beta::Expr, decorator: Google::Apis::AccesscontextmanagerV1beta::Expr::Representation + + end + end + class DevicePolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -165,6 +187,16 @@ module Google end end + class Expr + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :expression, as: 'expression' + property :location, as: 'location' + property :title, as: 'title' + end + end + class ListAccessLevelsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index bdc4de671..07eca1d70 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 = '20190910' + REVISION = '20200112' # 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 7fd778896..001707339 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -804,12 +804,6 @@ module Google # @return [String] attr_accessor :purchase_type - # Definition of a season for a seasonal subscription. Can be defined only for - # yearly subscriptions. - # Corresponds to the JSON property `season` - # @return [Google::Apis::AndroidpublisherV2::Season] - attr_accessor :season - # The stock-keeping-unit (SKU) of the product, unique within an app. # Corresponds to the JSON property `sku` # @return [String] @@ -847,7 +841,6 @@ module Google @package_name = args[:package_name] if args.key?(:package_name) @prices = args[:prices] if args.key?(:prices) @purchase_type = args[:purchase_type] if args.key?(:purchase_type) - @season = args[:season] if args.key?(:season) @sku = args[:sku] if args.key?(:sku) @status = args[:status] if args.key?(:status) @subscription_period = args[:subscription_period] if args.key?(:subscription_period) @@ -988,32 +981,6 @@ module Google end end - # - class MonthDay - include Google::Apis::Core::Hashable - - # Day of a month, value in [1, 31] range. Valid range depends on the specified - # month. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - # Month of a year. e.g. 1 = JAN, 2 = FEB etc. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @day = args[:day] if args.key?(:day) - @month = args[:month] if args.key?(:month) - end - end - # class PageInfo include Google::Apis::Core::Hashable @@ -1138,34 +1105,6 @@ module Google end end - # - class Prorate - include Google::Apis::Core::Hashable - - # Default price cannot be zero and must be less than the full subscription price. - # Default price is always in the developer's Checkout merchant currency. - # Targeted countries have their prices set automatically based on the - # default_price. - # Corresponds to the JSON property `defaultPrice` - # @return [Google::Apis::AndroidpublisherV2::Price] - attr_accessor :default_price - - # Defines the first day on which the price takes effect. - # Corresponds to the JSON property `start` - # @return [Google::Apis::AndroidpublisherV2::MonthDay] - attr_accessor :start - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_price = args[:default_price] if args.key?(:default_price) - @start = args[:start] if args.key?(:start) - end - end - # class Review include Google::Apis::Core::Hashable @@ -1292,39 +1231,6 @@ module Google end end - # - class Season - include Google::Apis::Core::Hashable - - # Inclusive end date of the recurrence period. - # Corresponds to the JSON property `end` - # @return [Google::Apis::AndroidpublisherV2::MonthDay] - attr_accessor :end - - # Optionally present list of prorations for the season. Each proration is a one- - # off discounted entry into a subscription. Each proration contains the first - # date on which the discount is available and the new pricing information. - # Corresponds to the JSON property `prorations` - # @return [Array] - attr_accessor :prorations - - # Inclusive start date of the recurrence period. - # Corresponds to the JSON property `start` - # @return [Google::Apis::AndroidpublisherV2::MonthDay] - attr_accessor :start - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end = args[:end] if args.key?(:end) - @prorations = args[:prorations] if args.key?(:prorations) - @start = args[:start] if args.key?(:start) - end - end - # Information provided by the user when they complete the subscription # cancellation flow (cancellation reason survey). class SubscriptionCancelSurveyResult diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index d0e01527b..2999b3b4f 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -196,12 +196,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MonthDay - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -220,12 +214,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Prorate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Review class Representation < Google::Apis::Core::JsonRepresentation; end @@ -256,12 +244,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Season - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SubscriptionCancelSurveyResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -585,8 +567,6 @@ module Google hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation property :purchase_type, as: 'purchaseType' - property :season, as: 'season', class: Google::Apis::AndroidpublisherV2::Season, decorator: Google::Apis::AndroidpublisherV2::Season::Representation - property :sku, as: 'sku' property :status, as: 'status' property :subscription_period, as: 'subscriptionPeriod' @@ -635,14 +615,6 @@ module Google end end - class MonthDay - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :month, as: 'month' - end - end - class PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -673,16 +645,6 @@ module Google end end - class Prorate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation - - property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation - - end - end - class Review # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -729,18 +691,6 @@ module Google end end - class Season - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end, as: 'end', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation - - collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV2::Prorate, decorator: Google::Apis::AndroidpublisherV2::Prorate::Representation - - property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation - - end - end - class SubscriptionCancelSurveyResult # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index 8435ec07c..cba5a951f 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 = '20191215' + REVISION = '20200112' # 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 eeba3693f..acaa0bab3 100644 --- a/generated/google/apis/androidpublisher_v3/classes.rb +++ b/generated/google/apis/androidpublisher_v3/classes.rb @@ -835,12 +835,6 @@ module Google # @return [String] attr_accessor :purchase_type - # Definition of a season for a seasonal subscription. Can be defined only for - # yearly subscriptions. - # Corresponds to the JSON property `season` - # @return [Google::Apis::AndroidpublisherV3::Season] - attr_accessor :season - # The stock-keeping-unit (SKU) of the product, unique within an app. # Corresponds to the JSON property `sku` # @return [String] @@ -878,7 +872,6 @@ module Google @package_name = args[:package_name] if args.key?(:package_name) @prices = args[:prices] if args.key?(:prices) @purchase_type = args[:purchase_type] if args.key?(:purchase_type) - @season = args[:season] if args.key?(:season) @sku = args[:sku] if args.key?(:sku) @status = args[:status] if args.key?(:status) @subscription_period = args[:subscription_period] if args.key?(:subscription_period) @@ -1148,32 +1141,6 @@ module Google end end - # - class MonthDay - include Google::Apis::Core::Hashable - - # Day of a month, value in [1, 31] range. Valid range depends on the specified - # month. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - # Month of a year. e.g. 1 = JAN, 2 = FEB etc. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @day = args[:day] if args.key?(:day) - @month = args[:month] if args.key?(:month) - end - end - # class PageInfo include Google::Apis::Core::Hashable @@ -1343,34 +1310,6 @@ module Google end end - # - class Prorate - include Google::Apis::Core::Hashable - - # Default price cannot be zero and must be less than the full subscription price. - # Default price is always in the developer's Checkout merchant currency. - # Targeted countries have their prices set automatically based on the - # default_price. - # Corresponds to the JSON property `defaultPrice` - # @return [Google::Apis::AndroidpublisherV3::Price] - attr_accessor :default_price - - # Defines the first day on which the price takes effect. - # Corresponds to the JSON property `start` - # @return [Google::Apis::AndroidpublisherV3::MonthDay] - attr_accessor :start - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_price = args[:default_price] if args.key?(:default_price) - @start = args[:start] if args.key?(:start) - end - end - # class Review include Google::Apis::Core::Hashable @@ -1528,39 +1467,6 @@ module Google end end - # - class Season - include Google::Apis::Core::Hashable - - # Inclusive end date of the recurrence period. - # Corresponds to the JSON property `end` - # @return [Google::Apis::AndroidpublisherV3::MonthDay] - attr_accessor :end - - # Optionally present list of prorations for the season. Each proration is a one- - # off discounted entry into a subscription. Each proration contains the first - # date on which the discount is available and the new pricing information. - # Corresponds to the JSON property `prorations` - # @return [Array] - attr_accessor :prorations - - # Inclusive start date of the recurrence period. - # Corresponds to the JSON property `start` - # @return [Google::Apis::AndroidpublisherV3::MonthDay] - attr_accessor :start - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end = args[:end] if args.key?(:end) - @prorations = args[:prorations] if args.key?(:prorations) - @start = args[:start] if args.key?(:start) - end - end - # Information provided by the user when they complete the subscription # cancellation flow (cancellation reason survey). class SubscriptionCancelSurveyResult diff --git a/generated/google/apis/androidpublisher_v3/representations.rb b/generated/google/apis/androidpublisher_v3/representations.rb index 66e607244..c6d8bb051 100644 --- a/generated/google/apis/androidpublisher_v3/representations.rb +++ b/generated/google/apis/androidpublisher_v3/representations.rb @@ -226,12 +226,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class MonthDay - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -256,12 +250,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Prorate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Review class Representation < Google::Apis::Core::JsonRepresentation; end @@ -298,12 +286,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Season - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SubscriptionCancelSurveyResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -666,8 +648,6 @@ module Google hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation property :purchase_type, as: 'purchaseType' - property :season, as: 'season', class: Google::Apis::AndroidpublisherV3::Season, decorator: Google::Apis::AndroidpublisherV3::Season::Representation - property :sku, as: 'sku' property :status, as: 'status' property :subscription_period, as: 'subscriptionPeriod' @@ -751,14 +731,6 @@ module Google end end - class MonthDay - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :day, as: 'day' - property :month, as: 'month' - end - end - class PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -800,16 +772,6 @@ module Google end end - class Prorate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation - - property :start, as: 'start', class: Google::Apis::AndroidpublisherV3::MonthDay, decorator: Google::Apis::AndroidpublisherV3::MonthDay::Representation - - end - end - class Review # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -866,18 +828,6 @@ module Google end end - class Season - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end, as: 'end', class: Google::Apis::AndroidpublisherV3::MonthDay, decorator: Google::Apis::AndroidpublisherV3::MonthDay::Representation - - collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV3::Prorate, decorator: Google::Apis::AndroidpublisherV3::Prorate::Representation - - property :start, as: 'start', class: Google::Apis::AndroidpublisherV3::MonthDay, decorator: Google::Apis::AndroidpublisherV3::MonthDay::Representation - - end - end - class SubscriptionCancelSurveyResult # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 1d0de8be4..59288c374 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20191126' + REVISION = '20200110' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 401c1e50c..05774079c 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -5295,6 +5295,7 @@ module Google # - "boxtal" (Boxtal) # - "geodis" (GEODIS) # - "tnt" (TNT) + # - "db schenker" (DB Schenker) # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -7665,6 +7666,62 @@ module Google end end + # + class PickupCarrierService + include Google::Apis::Core::Hashable + + # The name of the pickup carrier (e.g., "UPS"). Required. + # Corresponds to the JSON property `carrierName` + # @return [String] + attr_accessor :carrier_name + + # The name of the pickup service (e.g., "Access point"). Required. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @carrier_name = args[:carrier_name] if args.key?(:carrier_name) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + + # + class PickupServicesPickupService + include Google::Apis::Core::Hashable + + # The name of the carrier (e.g., "UPS"). Always present. + # Corresponds to the JSON property `carrierName` + # @return [String] + attr_accessor :carrier_name + + # The CLDR country code of the carrier (e.g., "US"). Always present. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # The name of the pickup service (e.g., "Access point"). Always present. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @carrier_name = args[:carrier_name] if args.key?(:carrier_name) + @country = args[:country] if args.key?(:country) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + # class PosCustomBatchRequest include Google::Apis::Core::Hashable @@ -10059,6 +10116,13 @@ module Google # @return [String] attr_accessor :name + # The carrier-service pair delivering items to collection points. The list of + # supported pickup services can be retrieved via the getSupportedPickupServices + # method. Required if and only if the service delivery type is pickup. + # Corresponds to the JSON property `pickupService` + # @return [Google::Apis::ContentV2::PickupCarrierService] + attr_accessor :pickup_service + # Shipping rate group definitions. Only the last one is allowed to have an empty # applicableShippingLabels, which means "everything else". The other # applicableShippingLabels must not overlap. @@ -10066,6 +10130,11 @@ module Google # @return [Array] attr_accessor :rate_groups + # Type of locations this service ships orders to. + # Corresponds to the JSON property `shipmentType` + # @return [String] + attr_accessor :shipment_type + def initialize(**args) update!(**args) end @@ -10079,7 +10148,9 @@ module Google @eligibility = args[:eligibility] if args.key?(:eligibility) @minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value) @name = args[:name] if args.key?(:name) + @pickup_service = args[:pickup_service] if args.key?(:pickup_service) @rate_groups = args[:rate_groups] if args.key?(:rate_groups) + @shipment_type = args[:shipment_type] if args.key?(:shipment_type) end end @@ -10395,6 +10466,32 @@ module Google end end + # + class ShippingsettingsGetSupportedPickupServicesResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # shippingsettingsGetSupportedPickupServicesResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # A list of supported pickup services. May be empty. + # Corresponds to the JSON property `pickupServices` + # @return [Array] + attr_accessor :pickup_services + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @pickup_services = args[:pickup_services] if args.key?(:pickup_services) + end + end + # class ShippingsettingsListResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index abf57dce2..74eae350d 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -1168,6 +1168,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PickupCarrierService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PickupServicesPickupService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PosCustomBatchRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1510,6 +1522,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ShippingsettingsGetSupportedPickupServicesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ShippingsettingsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3737,6 +3755,23 @@ module Google end end + class PickupCarrierService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :carrier_name, as: 'carrierName' + property :service_name, as: 'serviceName' + end + end + + class PickupServicesPickupService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :carrier_name, as: 'carrierName' + property :country, as: 'country' + property :service_name, as: 'serviceName' + end + end + class PosCustomBatchRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4364,8 +4399,11 @@ module Google property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :name, as: 'name' + property :pickup_service, as: 'pickupService', class: Google::Apis::ContentV2::PickupCarrierService, decorator: Google::Apis::ContentV2::PickupCarrierService::Representation + collection :rate_groups, as: 'rateGroups', class: Google::Apis::ContentV2::RateGroup, decorator: Google::Apis::ContentV2::RateGroup::Representation + property :shipment_type, as: 'shipmentType' end end @@ -4469,6 +4507,15 @@ module Google end end + class ShippingsettingsGetSupportedPickupServicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :pickup_services, as: 'pickupServices', class: Google::Apis::ContentV2::PickupServicesPickupService, decorator: Google::Apis::ContentV2::PickupServicesPickupService::Representation + + end + end + class ShippingsettingsListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index 432d3788a..78f5bf341 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -3522,6 +3522,39 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves supported pickup services for an account. + # @param [Fixnum] merchant_id + # The ID of the account for which to retrieve the supported pickup services. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse] + # + # @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 getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options) + command.response_representation = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse::Representation + command.response_class = Google::Apis::ContentV2::ShippingsettingsGetSupportedPickupServicesResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Lists the shipping settings of the sub-accounts in your Merchant Center # account. # @param [Fixnum] merchant_id diff --git a/generated/google/apis/content_v2_1.rb b/generated/google/apis/content_v2_1.rb index 6529a06d6..9ed8a6763 100644 --- a/generated/google/apis/content_v2_1.rb +++ b/generated/google/apis/content_v2_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2_1 VERSION = 'V2_1' - REVISION = '20191126' + REVISION = '20200110' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2_1/classes.rb b/generated/google/apis/content_v2_1/classes.rb index a21904d11..d44f4d39e 100644 --- a/generated/google/apis/content_v2_1/classes.rb +++ b/generated/google/apis/content_v2_1/classes.rb @@ -867,6 +867,11 @@ module Google # @return [String] attr_accessor :linked_account_id + # List of provided services. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + def initialize(**args) update!(**args) end @@ -876,6 +881,7 @@ module Google @action = args[:action] if args.key?(:action) @link_type = args[:link_type] if args.key?(:link_type) @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id) + @services = args[:services] if args.key?(:services) end end @@ -965,6 +971,11 @@ module Google # @return [String] attr_accessor :linked_account_id + # List of provided services. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + def initialize(**args) update!(**args) end @@ -974,6 +985,7 @@ module Google @action = args[:action] if args.key?(:action) @link_type = args[:link_type] if args.key?(:link_type) @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id) + @services = args[:services] if args.key?(:services) end end @@ -4683,6 +4695,7 @@ module Google # - "boxtal" (Boxtal) # - "geodis" (GEODIS) # - "tnt" (TNT) + # - "db schenker" (DB Schenker) # Corresponds to the JSON property `carrier` # @return [String] attr_accessor :carrier @@ -6142,6 +6155,62 @@ module Google end end + # + class PickupCarrierService + include Google::Apis::Core::Hashable + + # The name of the pickup carrier (e.g., "UPS"). Required. + # Corresponds to the JSON property `carrierName` + # @return [String] + attr_accessor :carrier_name + + # The name of the pickup service (e.g., "Access point"). Required. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @carrier_name = args[:carrier_name] if args.key?(:carrier_name) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + + # + class PickupServicesPickupService + include Google::Apis::Core::Hashable + + # The name of the carrier (e.g., "UPS"). Always present. + # Corresponds to the JSON property `carrierName` + # @return [String] + attr_accessor :carrier_name + + # The CLDR country code of the carrier (e.g., "US"). Always present. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # The name of the pickup service (e.g., "Access point"). Always present. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @carrier_name = args[:carrier_name] if args.key?(:carrier_name) + @country = args[:country] if args.key?(:country) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + # class PosCustomBatchRequest include Google::Apis::Core::Hashable @@ -9096,6 +9165,13 @@ module Google # @return [String] attr_accessor :name + # The carrier-service pair delivering items to collection points. The list of + # supported pickup services can be retrieved via the getSupportedPickupServices + # method. Required if and only if the service delivery type is pickup. + # Corresponds to the JSON property `pickupService` + # @return [Google::Apis::ContentV2_1::PickupCarrierService] + attr_accessor :pickup_service + # Shipping rate group definitions. Only the last one is allowed to have an empty # applicableShippingLabels, which means "everything else". The other # applicableShippingLabels must not overlap. @@ -9103,6 +9179,11 @@ module Google # @return [Array] attr_accessor :rate_groups + # Type of locations this service ships orders to. + # Corresponds to the JSON property `shipmentType` + # @return [String] + attr_accessor :shipment_type + def initialize(**args) update!(**args) end @@ -9116,7 +9197,9 @@ module Google @eligibility = args[:eligibility] if args.key?(:eligibility) @minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value) @name = args[:name] if args.key?(:name) + @pickup_service = args[:pickup_service] if args.key?(:pickup_service) @rate_groups = args[:rate_groups] if args.key?(:rate_groups) + @shipment_type = args[:shipment_type] if args.key?(:shipment_type) end end @@ -9432,6 +9515,32 @@ module Google end end + # + class ShippingsettingsGetSupportedPickupServicesResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "content# + # shippingsettingsGetSupportedPickupServicesResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # A list of supported pickup services. May be empty. + # Corresponds to the JSON property `pickupServices` + # @return [Array] + attr_accessor :pickup_services + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @pickup_services = args[:pickup_services] if args.key?(:pickup_services) + end + end + # class ShippingsettingsListResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/content_v2_1/representations.rb b/generated/google/apis/content_v2_1/representations.rb index 6c94defde..59e840872 100644 --- a/generated/google/apis/content_v2_1/representations.rb +++ b/generated/google/apis/content_v2_1/representations.rb @@ -994,6 +994,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PickupCarrierService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PickupServicesPickupService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PosCustomBatchRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1432,6 +1444,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ShippingsettingsGetSupportedPickupServicesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ShippingsettingsListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1736,6 +1754,7 @@ module Google property :action, as: 'action' property :link_type, as: 'linkType' property :linked_account_id, as: 'linkedAccountId' + collection :services, as: 'services' end end @@ -1766,6 +1785,7 @@ module Google property :action, as: 'action' property :link_type, as: 'linkType' property :linked_account_id, as: 'linkedAccountId' + collection :services, as: 'services' end end @@ -3241,6 +3261,23 @@ module Google end end + class PickupCarrierService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :carrier_name, as: 'carrierName' + property :service_name, as: 'serviceName' + end + end + + class PickupServicesPickupService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :carrier_name, as: 'carrierName' + property :country, as: 'country' + property :service_name, as: 'serviceName' + end + end + class PosCustomBatchRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4034,8 +4071,11 @@ module Google property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation property :name, as: 'name' + property :pickup_service, as: 'pickupService', class: Google::Apis::ContentV2_1::PickupCarrierService, decorator: Google::Apis::ContentV2_1::PickupCarrierService::Representation + collection :rate_groups, as: 'rateGroups', class: Google::Apis::ContentV2_1::RateGroup, decorator: Google::Apis::ContentV2_1::RateGroup::Representation + property :shipment_type, as: 'shipmentType' end end @@ -4139,6 +4179,15 @@ module Google end end + class ShippingsettingsGetSupportedPickupServicesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :pickup_services, as: 'pickupServices', class: Google::Apis::ContentV2_1::PickupServicesPickupService, decorator: Google::Apis::ContentV2_1::PickupServicesPickupService::Representation + + end + end + class ShippingsettingsListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2_1/service.rb b/generated/google/apis/content_v2_1/service.rb index 3ab15429c..bb5fd30e4 100644 --- a/generated/google/apis/content_v2_1/service.rb +++ b/generated/google/apis/content_v2_1/service.rb @@ -3651,6 +3651,39 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves supported pickup services for an account. + # @param [Fixnum] merchant_id + # The ID of the account for which to retrieve the supported pickup services. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse] + # + # @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 getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options) + command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation + command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse + command.params['merchantId'] = merchant_id unless merchant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Lists the shipping settings of the sub-accounts in your Merchant Center # account. # @param [Fixnum] merchant_id diff --git a/generated/google/apis/doubleclickbidmanager_v1_1.rb b/generated/google/apis/doubleclickbidmanager_v1_1.rb index d2270c351..697a47a9e 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1_1 VERSION = 'V1_1' - REVISION = '20191210' + REVISION = '20200106' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb index ce2b10378..6b9df5133 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb @@ -268,6 +268,28 @@ module Google end end + # Additional query options. + class Options + include Google::Apis::Core::Hashable + + # Set to true and filter your report by `FILTER_INSERTION_ORDER` or ` + # FILTER_LINE_ITEM` to include data for audience lists specifically targeted by + # those items. + # Corresponds to the JSON property `includeOnlyTargetedUserLists` + # @return [Boolean] + attr_accessor :include_only_targeted_user_lists + alias_method :include_only_targeted_user_lists?, :include_only_targeted_user_lists + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_only_targeted_user_lists = args[:include_only_targeted_user_lists] if args.key?(:include_only_targeted_user_lists) + end + end + # Parameters of a query or report. class Parameters include Google::Apis::Core::Hashable @@ -293,6 +315,11 @@ module Google # @return [Array] attr_accessor :metrics + # Additional query options. + # Corresponds to the JSON property `options` + # @return [Google::Apis::DoubleclickbidmanagerV1_1::Options] + attr_accessor :options + # Report type. # Corresponds to the JSON property `type` # @return [String] @@ -308,6 +335,7 @@ module Google @group_bys = args[:group_bys] if args.key?(:group_bys) @include_invite_data = args[:include_invite_data] if args.key?(:include_invite_data) @metrics = args[:metrics] if args.key?(:metrics) + @options = args[:options] if args.key?(:options) @type = args[:type] if args.key?(:type) end end diff --git a/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb b/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb index 8ca969780..9b079d533 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb @@ -64,6 +64,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Options + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Parameters class Representation < Google::Apis::Core::JsonRepresentation; end @@ -215,6 +221,13 @@ module Google end end + class Options + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_only_targeted_user_lists, as: 'includeOnlyTargetedUserLists' + end + end + class Parameters # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -223,6 +236,8 @@ module Google collection :group_bys, as: 'groupBys' property :include_invite_data, as: 'includeInviteData' collection :metrics, as: 'metrics' + property :options, as: 'options', class: Google::Apis::DoubleclickbidmanagerV1_1::Options, decorator: Google::Apis::DoubleclickbidmanagerV1_1::Options::Representation + property :type, as: 'type' end end diff --git a/generated/google/apis/firestore_v1.rb b/generated/google/apis/firestore_v1.rb index d7625273d..4a23b1982 100644 --- a/generated/google/apis/firestore_v1.rb +++ b/generated/google/apis/firestore_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/firestore module FirestoreV1 VERSION = 'V1' - REVISION = '20191206' + REVISION = '20200104' # 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/firestore_v1/classes.rb b/generated/google/apis/firestore_v1/classes.rb index 9542e26e4..759f98b77 100644 --- a/generated/google/apis/firestore_v1/classes.rb +++ b/generated/google/apis/firestore_v1/classes.rb @@ -237,7 +237,8 @@ module Google class CommitResponse include Google::Apis::Core::Hashable - # The time at which the commit occurred. + # The time at which the commit occurred. Any read with an equal or greater + # `read_time` is guaranteed to see the effects of the commit. # Corresponds to the JSON property `commitTime` # @return [String] attr_accessor :commit_time @@ -2503,7 +2504,8 @@ module Google class WriteResponse include Google::Apis::Core::Hashable - # The time at which the commit occurred. + # The time at which the commit occurred. Any read with an equal or greater + # `read_time` is guaranteed to see the effects of the write. # Corresponds to the JSON property `commitTime` # @return [String] attr_accessor :commit_time diff --git a/generated/google/apis/firestore_v1beta1.rb b/generated/google/apis/firestore_v1beta1.rb index c54c25145..9d42283a6 100644 --- a/generated/google/apis/firestore_v1beta1.rb +++ b/generated/google/apis/firestore_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/firestore module FirestoreV1beta1 VERSION = 'V1beta1' - REVISION = '20191206' + REVISION = '20200104' # 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/firestore_v1beta1/classes.rb b/generated/google/apis/firestore_v1beta1/classes.rb index a549cb3da..c32a1b8b9 100644 --- a/generated/google/apis/firestore_v1beta1/classes.rb +++ b/generated/google/apis/firestore_v1beta1/classes.rb @@ -237,7 +237,8 @@ module Google class CommitResponse include Google::Apis::Core::Hashable - # The time at which the commit occurred. + # The time at which the commit occurred. Any read with an equal or greater + # `read_time` is guaranteed to see the effects of the commit. # Corresponds to the JSON property `commitTime` # @return [String] attr_accessor :commit_time @@ -2141,7 +2142,8 @@ module Google class WriteResponse include Google::Apis::Core::Hashable - # The time at which the commit occurred. + # The time at which the commit occurred. Any read with an equal or greater + # `read_time` is guaranteed to see the effects of the write. # Corresponds to the JSON property `commitTime` # @return [String] attr_accessor :commit_time diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index a73289553..f29511e55 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fit/rest/ module FitnessV1 VERSION = 'V1' - REVISION = '20191129' + REVISION = '20200111' # Use Google Fit to see and store your physical activity data AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' diff --git a/generated/google/apis/fitness_v1/service.rb b/generated/google/apis/fitness_v1/service.rb index 91103f111..08f37e54e 100644 --- a/generated/google/apis/fitness_v1/service.rb +++ b/generated/google/apis/fitness_v1/service.rb @@ -51,14 +51,29 @@ module Google @batch_path = 'batch/fitness/v1' end + # A data source is a unique source of sensor data. Data sources can expose raw + # data coming from hardware sensors on local or companion devices. They can also + # expose derived data, created by transforming or merging other data sources. + # Multiple data sources can exist for the same data type. Every data point in + # every dataset inserted into or read from the Fitness API has an associated + # data source. + # Each data source produces a unique stream of dataset updates, with a unique + # data source identifier. Not all changes to data source affect the data stream + # ID, so that data collected by updated versions of the same application/device + # can still be considered to belong to the same data source. + # Data sources are addressed using a string generated by the server, based on + # the contents of the source being created. # Creates a new data source that is unique across all data sources belonging to - # this user. The data stream ID field can be omitted and will be generated by - # the server with the correct format. The data stream ID is an ordered - # combination of some fields from the data source. In addition to the data - # source fields reflected into the data source ID, the developer project number - # that is authenticated when creating the data source is included. This - # developer project number is obfuscated when read by any other developer - # reading public data types. + # this user. The dataStreamId field should be excluded. This will be + # automatically generated by the server with the correct format. If a + # dataStreamId is included, it must match the format that the server would + # generate. This format is a combination of some fields from the data source, + # and has a specific order. If it doesn't match, the request will fail with an + # error. + # In addition to the data source fields reflected into the data source ID, the + # developer project number that is authenticated when creating the data source + # is included. This developer project number is obfuscated when read by any + # other developer reading public data types. # @param [String] user_id # Create the data source for the person identified. Use me to indicate the # authenticated user. Only me is supported at this time. @@ -545,6 +560,8 @@ module Google # @param [String] user_id # List sessions for the person identified. Use me to indicate the authenticated # user. Only me is supported at this time. + # @param [Array, Fixnum] activity_type + # If non-empty, only sessions with these activity types should be returned. # @param [String] end_time # An RFC3339 timestamp. Only sessions ending between the start and end times # will be included in the response. @@ -582,11 +599,12 @@ module Google # @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_user_sessions(user_id, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_user_sessions(user_id, activity_type: nil, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{userId}/sessions', options) command.response_representation = Google::Apis::FitnessV1::ListSessionsResponse::Representation command.response_class = Google::Apis::FitnessV1::ListSessionsResponse command.params['userId'] = user_id unless user_id.nil? + command.query['activityType'] = activity_type unless activity_type.nil? command.query['endTime'] = end_time unless end_time.nil? command.query['includeDeleted'] = include_deleted unless include_deleted.nil? command.query['pageToken'] = page_token unless page_token.nil? diff --git a/generated/google/apis/homegraph_v1.rb b/generated/google/apis/homegraph_v1.rb index 2c52a3e20..1f5a37761 100644 --- a/generated/google/apis/homegraph_v1.rb +++ b/generated/google/apis/homegraph_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/actions/smarthome/create-app#request-sync module HomegraphV1 VERSION = 'V1' - REVISION = '20191115' + REVISION = '20200115' end end end diff --git a/generated/google/apis/jobs_v3.rb b/generated/google/apis/jobs_v3.rb index d7a109721..252fa6337 100644 --- a/generated/google/apis/jobs_v3.rb +++ b/generated/google/apis/jobs_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3 VERSION = 'V3' - REVISION = '20191029' + REVISION = '20200109' # 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/jobs_v3/classes.rb b/generated/google/apis/jobs_v3/classes.rb index 2a6602a08..4e444d113 100644 --- a/generated/google/apis/jobs_v3/classes.rb +++ b/generated/google/apis/jobs_v3/classes.rb @@ -2501,6 +2501,7 @@ module Google # result # location, amongst the jobs deemed by the API as relevant) in search # results. This field is only considered if page_token is unset. + # The maximum allowed value is 5000. Otherwise an error is thrown. # For example, 0 means to return results starting from the first matching # job, and 10 means to return from the 11th job. This can be used for # pagination, (for example, pageSize = 10 and offset = 10 means to return diff --git a/generated/google/apis/jobs_v3p1beta1.rb b/generated/google/apis/jobs_v3p1beta1.rb index a45878564..c6544bfb2 100644 --- a/generated/google/apis/jobs_v3p1beta1.rb +++ b/generated/google/apis/jobs_v3p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/talent-solution/job-search/docs/ module JobsV3p1beta1 VERSION = 'V3p1beta1' - REVISION = '20191030' + REVISION = '20200109' # 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/jobs_v3p1beta1/classes.rb b/generated/google/apis/jobs_v3p1beta1/classes.rb index ab0f2c6cf..4cf1363e4 100644 --- a/generated/google/apis/jobs_v3p1beta1/classes.rb +++ b/generated/google/apis/jobs_v3p1beta1/classes.rb @@ -2754,6 +2754,7 @@ module Google # result # location, amongst the jobs deemed by the API as relevant) in search # results. This field is only considered if page_token is unset. + # The maximum allowed value is 5000. Otherwise an error is thrown. # For example, 0 means to return results starting from the first matching # job, and 10 means to return from the 11th job. This can be used for # pagination, (for example, pageSize = 10 and offset = 10 means to return diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 09090cf4a..a1ca319e4 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20200106' + REVISION = '20200113' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 94bce57f6..045040660 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -123,6 +123,71 @@ module Google end end + # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. + class AttributeValue + include Google::Apis::Core::Hashable + + # A Boolean value represented by `true` or `false`. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # A 64-bit signed integer. + # Corresponds to the JSON property `intValue` + # @return [Fixnum] + attr_accessor :int_value + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `stringValue` + # @return [Google::Apis::ServicecontrolV1::TruncatableString] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @int_value = args[:int_value] if args.key?(:int_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + class Attributes + include Google::Apis::Core::Hashable + + # The set of attributes. Each attribute's key can be up to 128 bytes + # long. The value can be a string up to 256 bytes, a signed 64-bit integer, + # or the Boolean values `true` and `false`. For example: + # "/instance_id": "my-instance" + # "/http/user_agent": "" + # "/http/request_bytes": 300 + # "abc.com/myattribute": true + # Corresponds to the JSON property `attributeMap` + # @return [Hash] + attr_accessor :attribute_map + + # The number of attributes that were discarded. Attributes can be discarded + # because their keys are too long or because there are too many attributes. + # If this value is 0 then all attributes are valid. + # Corresponds to the JSON property `droppedAttributesCount` + # @return [Fixnum] + attr_accessor :dropped_attributes_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_map = args[:attribute_map] if args.key?(:attribute_map) + @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) + end + end + # Common audit log format for Google Cloud Platform API operations. class AuditLog include Google::Apis::Core::Hashable @@ -1472,6 +1537,13 @@ module Google # @return [String] attr_accessor :start_time + # Unimplemented. A list of Cloud Trace spans. The span names shall contain + # the id of the destination project which can be either the produce or the + # consumer project. + # Corresponds to the JSON property `traceSpans` + # @return [Array] + attr_accessor :trace_spans + # User defined labels for the resource that this operation is associated # with. Only a combination of 1000 user labels per consumer project are # allowed. @@ -1496,6 +1568,7 @@ module Google @quota_properties = args[:quota_properties] if args.key?(:quota_properties) @resources = args[:resources] if args.key?(:resources) @start_time = args[:start_time] if args.key?(:start_time) + @trace_spans = args[:trace_spans] if args.key?(:trace_spans) @user_labels = args[:user_labels] if args.key?(:user_labels) end end @@ -2280,6 +2353,143 @@ module Google @third_party_claims = args[:third_party_claims] if args.key?(:third_party_claims) end end + + # A span represents a single operation within a trace. Spans can be + # nested to form a trace tree. Often, a trace contains a root span + # that describes the end-to-end latency, and one or more subspans for + # its sub-operations. A trace can also contain multiple root spans, + # or none at all. Spans do not need to be contiguous—there may be + # gaps or overlaps between spans in a trace. + class TraceSpan + include Google::Apis::Core::Hashable + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::ServicecontrolV1::Attributes] + attr_accessor :attributes + + # An optional number of child spans that were generated while this span + # was active. If set, allows implementation to detect missing child spans. + # Corresponds to the JSON property `childSpanCount` + # @return [Fixnum] + attr_accessor :child_span_count + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `displayName` + # @return [Google::Apis::ServicecontrolV1::TruncatableString] + attr_accessor :display_name + + # The end time of the span. On the client side, this is the time kept by + # the local machine where the span execution ends. On the server side, this + # is the time when the server application handler stops running. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The resource name of the span in the following format: + # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique + # identifier for a trace within a project; + # it is a 32-character hexadecimal encoding of a 16-byte array. + # [SPAN_ID] is a unique identifier for a span within a trace; it + # is a 16-character hexadecimal encoding of an 8-byte array. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The [SPAN_ID] of this span's parent span. If this is a root span, + # then this field must be empty. + # Corresponds to the JSON property `parentSpanId` + # @return [String] + attr_accessor :parent_span_id + + # (Optional) Set this parameter to indicate whether this span is in + # the same process as its parent. If you do not set this parameter, + # Stackdriver Trace is unable to take advantage of this helpful + # information. + # Corresponds to the JSON property `sameProcessAsParentSpan` + # @return [Boolean] + attr_accessor :same_process_as_parent_span + alias_method :same_process_as_parent_span?, :same_process_as_parent_span + + # The [SPAN_ID] portion of the span's resource name. + # Corresponds to the JSON property `spanId` + # @return [String] + attr_accessor :span_id + + # Distinguishes between spans generated in a particular context. For example, + # two spans with the same name may be distinguished using `CLIENT` (caller) + # and `SERVER` (callee) to identify an RPC call. + # Corresponds to the JSON property `spanKind` + # @return [String] + attr_accessor :span_kind + + # The start time of the span. On the client side, this is the time kept by + # the local machine where the span execution starts. On the server side, this + # is the time when the server's application handler starts running. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # 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 `status` + # @return [Google::Apis::ServicecontrolV1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @child_span_count = args[:child_span_count] if args.key?(:child_span_count) + @display_name = args[:display_name] if args.key?(:display_name) + @end_time = args[:end_time] if args.key?(:end_time) + @name = args[:name] if args.key?(:name) + @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) + @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span) + @span_id = args[:span_id] if args.key?(:span_id) + @span_kind = args[:span_kind] if args.key?(:span_kind) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + end + end + + # Represents a string that might be shortened to a specified length. + class TruncatableString + include Google::Apis::Core::Hashable + + # The number of bytes removed from the original string. If this + # value is 0, then the string was not shortened. + # Corresponds to the JSON property `truncatedByteCount` + # @return [Fixnum] + attr_accessor :truncated_byte_count + + # The shortened string. For example, if the original string is 500 + # bytes long and the limit of the string is 128 bytes, then + # `value` contains the first 128 bytes of the 500-byte string. + # Truncation always happens on a UTF8 character boundary. If there + # are multi-byte characters in the string, then the length of the + # shortened string might be less than the size limit. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count) + @value = args[:value] if args.key?(:value) + end + end end end end diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 99f39c7af..9460beee1 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -40,6 +40,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AttributeValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AuditLog class Representation < Google::Apis::Core::JsonRepresentation; end @@ -286,6 +298,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TraceSpan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TruncatableString + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AllocateInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -316,6 +340,25 @@ module Google end end + class AttributeValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :int_value, :numeric_string => true, as: 'intValue' + property :string_value, as: 'stringValue', class: Google::Apis::ServicecontrolV1::TruncatableString, decorator: Google::Apis::ServicecontrolV1::TruncatableString::Representation + + end + end + + class Attributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :attribute_map, as: 'attributeMap', class: Google::Apis::ServicecontrolV1::AttributeValue, decorator: Google::Apis::ServicecontrolV1::AttributeValue::Representation + + property :dropped_attributes_count, as: 'droppedAttributesCount' + end + end + class AuditLog # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -607,6 +650,8 @@ module Google collection :resources, as: 'resources', class: Google::Apis::ServicecontrolV1::ResourceInfo, decorator: Google::Apis::ServicecontrolV1::ResourceInfo::Representation property :start_time, as: 'startTime' + collection :trace_spans, as: 'traceSpans', class: Google::Apis::ServicecontrolV1::TraceSpan, decorator: Google::Apis::ServicecontrolV1::TraceSpan::Representation + hash :user_labels, as: 'userLabels' end end @@ -791,6 +836,34 @@ module Google hash :third_party_claims, as: 'thirdPartyClaims' end end + + class TraceSpan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::ServicecontrolV1::Attributes, decorator: Google::Apis::ServicecontrolV1::Attributes::Representation + + property :child_span_count, as: 'childSpanCount' + property :display_name, as: 'displayName', class: Google::Apis::ServicecontrolV1::TruncatableString, decorator: Google::Apis::ServicecontrolV1::TruncatableString::Representation + + property :end_time, as: 'endTime' + property :name, as: 'name' + property :parent_span_id, as: 'parentSpanId' + property :same_process_as_parent_span, as: 'sameProcessAsParentSpan' + property :span_id, as: 'spanId' + property :span_kind, as: 'spanKind' + property :start_time, as: 'startTime' + property :status, as: 'status', class: Google::Apis::ServicecontrolV1::Status, decorator: Google::Apis::ServicecontrolV1::Status::Representation + + end + end + + class TruncatableString + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :truncated_byte_count, as: 'truncatedByteCount' + property :value, as: 'value' + end + end end end end diff --git a/generated/google/apis/sql_v1beta4.rb b/generated/google/apis/sql_v1beta4.rb index b332cfc31..dc7d13939 100644 --- a/generated/google/apis/sql_v1beta4.rb +++ b/generated/google/apis/sql_v1beta4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-sql/ module SqlV1beta4 VERSION = 'V1beta4' - REVISION = '20191214' + REVISION = '20200104' # 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/sql_v1beta4/classes.rb b/generated/google/apis/sql_v1beta4/classes.rb index a54d8665b..27d2802e6 100644 --- a/generated/google/apis/sql_v1beta4/classes.rb +++ b/generated/google/apis/sql_v1beta4/classes.rb @@ -1080,6 +1080,12 @@ module Google class Flag include Google::Apis::Core::Hashable + # Use this field if only certain integers are accepted. Can be combined + # with min_value and max_value to add additional values. + # Corresponds to the JSON property `allowedIntValues` + # @return [Array] + attr_accessor :allowed_int_values + # For STRING flags, a list of strings that the value can be set # to. # Corresponds to the JSON property `allowedStringValues` @@ -1141,6 +1147,7 @@ module Google # Update properties of this object def update!(**args) + @allowed_int_values = args[:allowed_int_values] if args.key?(:allowed_int_values) @allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values) @applies_to = args[:applies_to] if args.key?(:applies_to) @in_beta = args[:in_beta] if args.key?(:in_beta) @@ -1437,7 +1444,7 @@ module Google # @return [String] attr_accessor :next_page_token - # List of warnings that ocurred while handling the request. + # List of warnings that occurred while handling the request. # Corresponds to the JSON property `warnings` # @return [Array] attr_accessor :warnings @@ -2427,6 +2434,32 @@ module Google end end + # Represents a Sql Server user on the Cloud SQL instance. + class SqlServerUserDetails + include Google::Apis::Core::Hashable + + # If the user has been disabled + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # The server roles for this user + # Corresponds to the JSON property `serverRoles` + # @return [Array] + attr_accessor :server_roles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disabled = args[:disabled] if args.key?(:disabled) + @server_roles = args[:server_roles] if args.key?(:server_roles) + end + end + # SslCerts Resource class SslCert include Google::Apis::Core::Hashable @@ -2770,6 +2803,11 @@ module Google # @return [String] attr_accessor :project + # Represents a Sql Server user on the Cloud SQL instance. + # Corresponds to the JSON property `sqlserverUserDetails` + # @return [Google::Apis::SqlV1beta4::SqlServerUserDetails] + attr_accessor :sqlserver_user_details + def initialize(**args) update!(**args) end @@ -2783,6 +2821,7 @@ module Google @name = args[:name] if args.key?(:name) @password = args[:password] if args.key?(:password) @project = args[:project] if args.key?(:project) + @sqlserver_user_details = args[:sqlserver_user_details] if args.key?(:sqlserver_user_details) end end diff --git a/generated/google/apis/sql_v1beta4/representations.rb b/generated/google/apis/sql_v1beta4/representations.rb index 565037d11..70ce0866f 100644 --- a/generated/google/apis/sql_v1beta4/representations.rb +++ b/generated/google/apis/sql_v1beta4/representations.rb @@ -358,6 +358,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SqlServerUserDetails + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SslCert class Representation < Google::Apis::Core::JsonRepresentation; end @@ -690,6 +696,7 @@ module Google class Flag # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :allowed_int_values, as: 'allowedIntValues' collection :allowed_string_values, as: 'allowedStringValues' collection :applies_to, as: 'appliesTo' property :in_beta, as: 'inBeta' @@ -1048,6 +1055,14 @@ module Google end end + class SqlServerUserDetails + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disabled, as: 'disabled' + collection :server_roles, as: 'serverRoles' + end + end + class SslCert # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1146,6 +1161,8 @@ module Google property :name, as: 'name' property :password, as: 'password' property :project, as: 'project' + property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqlV1beta4::SqlServerUserDetails, decorator: Google::Apis::SqlV1beta4::SqlServerUserDetails::Representation + end end diff --git a/generated/google/apis/sql_v1beta4/service.rb b/generated/google/apis/sql_v1beta4/service.rb index b5c1defb0..aecb1a026 100644 --- a/generated/google/apis/sql_v1beta4/service.rb +++ b/generated/google/apis/sql_v1beta4/service.rb @@ -384,6 +384,12 @@ module Google # Partially updates a resource containing information about a database inside # a Cloud SQL instance. This method supports patch semantics. + #