google-api-client 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
  5. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
  6. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
  9. data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +56 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +20 -0
  13. data/generated/google/apis/calendar_v3.rb +1 -1
  14. data/generated/google/apis/calendar_v3/classes.rb +15 -4
  15. data/generated/google/apis/calendar_v3/representations.rb +1 -0
  16. data/generated/google/apis/calendar_v3/service.rb +8 -4
  17. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  18. data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
  19. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  20. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
  21. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
  22. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  23. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
  24. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  25. data/generated/google/apis/compute_alpha.rb +1 -1
  26. data/generated/google/apis/compute_alpha/classes.rb +256 -63
  27. data/generated/google/apis/compute_alpha/representations.rb +44 -1
  28. data/generated/google/apis/compute_alpha/service.rb +217 -2
  29. data/generated/google/apis/compute_beta.rb +1 -1
  30. data/generated/google/apis/compute_beta/classes.rb +776 -46
  31. data/generated/google/apis/compute_beta/representations.rb +254 -0
  32. data/generated/google/apis/compute_beta/service.rb +1070 -13
  33. data/generated/google/apis/compute_v1.rb +1 -1
  34. data/generated/google/apis/compute_v1/classes.rb +83 -46
  35. data/generated/google/apis/compute_v1/service.rb +4 -2
  36. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  37. data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
  38. data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
  39. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  40. data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
  41. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  42. data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
  43. data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
  46. data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
  47. data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
  48. data/generated/google/apis/iam_v1.rb +1 -1
  49. data/generated/google/apis/iam_v1/classes.rb +0 -56
  50. data/generated/google/apis/iam_v1/representations.rb +0 -18
  51. data/generated/google/apis/logging_v2.rb +1 -1
  52. data/generated/google/apis/logging_v2/classes.rb +8 -6
  53. data/generated/google/apis/logging_v2beta1.rb +1 -1
  54. data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
  55. data/generated/google/apis/ml_v1.rb +1 -1
  56. data/generated/google/apis/ml_v1/classes.rb +22 -5
  57. data/generated/google/apis/ml_v1/service.rb +19 -5
  58. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  59. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  60. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  61. data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
  62. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  63. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  64. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
  65. data/generated/google/apis/serviceuser_v1.rb +1 -1
  66. data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
  67. data/generated/google/apis/sheets_v4.rb +1 -1
  68. data/generated/google/apis/sheets_v4/classes.rb +283 -0
  69. data/generated/google/apis/sheets_v4/representations.rb +90 -0
  70. data/generated/google/apis/speech_v1.rb +1 -1
  71. data/generated/google/apis/storage_v1.rb +1 -1
  72. data/generated/google/apis/storage_v1/classes.rb +115 -4
  73. data/generated/google/apis/storage_v1/representations.rb +23 -0
  74. data/generated/google/apis/storage_v1/service.rb +44 -1
  75. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  76. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
  77. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  78. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  79. data/lib/google/apis/version.rb +1 -1
  80. metadata +2 -6
  81. data/generated/google/apis/consumersurveys_v2.rb +0 -40
  82. data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
  83. data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
  84. data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/deployment-manager/runtime-configurator/
29
29
  module RuntimeconfigV1beta1
30
30
  VERSION = 'V1beta1'
31
- REVISION = '20171030'
31
+ REVISION = '20171219'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -416,8 +416,8 @@ module Google
416
416
  # The resource name of a runtime config. The name must have the format:
417
417
  # projects/[PROJECT_ID]/configs/[CONFIG_NAME]
418
418
  # The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an
419
- # arbitrary name that matches
420
- # [0-9A-Za-z](?:[_.A-Za-z0-9-]`0,62`[_.A-Za-z0-9])? regular expression.
419
+ # arbitrary name that matches the
420
+ # `[0-9A-Za-z](?:[_.A-Za-z0-9-]`0,62`[_.A-Za-z0-9])?` regular expression.
421
421
  # The length of `[CONFIG_NAME]` must be less than 64 characters.
422
422
  # You pick the RuntimeConfig resource name, but the server will validate that
423
423
  # the name adheres to this format. After you create the resource, you cannot
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171007'
29
+ REVISION = '20171218'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -357,6 +357,15 @@ module Google
357
357
  # @return [String]
358
358
  attr_accessor :detail
359
359
 
360
+ # Subject to whom this error applies. See the specific code enum for more
361
+ # details on this field. For example:
362
+ # - “project:<project-id or project-number>”
363
+ # - “folder:<folder-id>”
364
+ # - “organization:<organization-id>”
365
+ # Corresponds to the JSON property `subject`
366
+ # @return [String]
367
+ attr_accessor :subject
368
+
360
369
  def initialize(**args)
361
370
  update!(**args)
362
371
  end
@@ -365,6 +374,7 @@ module Google
365
374
  def update!(**args)
366
375
  @code = args[:code] if args.key?(:code)
367
376
  @detail = args[:detail] if args.key?(:detail)
377
+ @subject = args[:subject] if args.key?(:subject)
368
378
  end
369
379
  end
370
380
 
@@ -319,6 +319,7 @@ module Google
319
319
  class Representation < Google::Apis::Core::JsonRepresentation
320
320
  property :code, as: 'code'
321
321
  property :detail, as: 'detail'
322
+ property :subject, as: 'subject'
322
323
  end
323
324
  end
324
325
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20171108'
30
+ REVISION = '20171216'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -4561,7 +4561,8 @@ module Google
4561
4561
  class UsageRule
4562
4562
  include Google::Apis::Core::Hashable
4563
4563
 
4564
- # True, if the method allows unregistered calls; false otherwise.
4564
+ # If true, the selected method allows unregistered calls, e.g. calls
4565
+ # that don't identify any user or application.
4565
4566
  # Corresponds to the JSON property `allowUnregisteredCalls`
4566
4567
  # @return [Boolean]
4567
4568
  attr_accessor :allow_unregistered_calls
@@ -4574,10 +4575,10 @@ module Google
4574
4575
  # @return [String]
4575
4576
  attr_accessor :selector
4576
4577
 
4577
- # True, if the method should skip service control. If so, no control plane
4578
- # feature (like quota and billing) will be enabled.
4579
- # This flag is used by ESP to allow some Endpoints customers to bypass
4580
- # Google internal checks.
4578
+ # If true, the selected method should skip service control and the control
4579
+ # plane features, such as quota and billing, will not be available.
4580
+ # This flag is used by Google Cloud Endpoints to bypass checks for internal
4581
+ # methods, such as service health check methods.
4581
4582
  # Corresponds to the JSON property `skipServiceControl`
4582
4583
  # @return [Boolean]
4583
4584
  attr_accessor :skip_service_control
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServiceuserV1
29
29
  VERSION = 'V1'
30
- REVISION = '20171108'
30
+ REVISION = '20171215'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -3510,7 +3510,8 @@ module Google
3510
3510
  class UsageRule
3511
3511
  include Google::Apis::Core::Hashable
3512
3512
 
3513
- # True, if the method allows unregistered calls; false otherwise.
3513
+ # If true, the selected method allows unregistered calls, e.g. calls
3514
+ # that don't identify any user or application.
3514
3515
  # Corresponds to the JSON property `allowUnregisteredCalls`
3515
3516
  # @return [Boolean]
3516
3517
  attr_accessor :allow_unregistered_calls
@@ -3523,10 +3524,10 @@ module Google
3523
3524
  # @return [String]
3524
3525
  attr_accessor :selector
3525
3526
 
3526
- # True, if the method should skip service control. If so, no control plane
3527
- # feature (like quota and billing) will be enabled.
3528
- # This flag is used by ESP to allow some Endpoints customers to bypass
3529
- # Google internal checks.
3527
+ # If true, the selected method should skip service control and the control
3528
+ # plane features, such as quota and billing, will not be available.
3529
+ # This flag is used by Google Cloud Endpoints to bypass checks for internal
3530
+ # methods, such as service health check methods.
3530
3531
  # Corresponds to the JSON property `skipServiceControl`
3531
3532
  # @return [Boolean]
3532
3533
  attr_accessor :skip_service_control
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/sheets/
26
26
  module SheetsV4
27
27
  VERSION = 'V4'
28
- REVISION = '20171012'
28
+ REVISION = '20171215'
29
29
 
30
30
  # View and manage the files in your Google Drive
31
31
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1049,6 +1049,11 @@ module Google
1049
1049
  class BasicChartSeries
1050
1050
  include Google::Apis::Core::Hashable
1051
1051
 
1052
+ # Properties that describe the style of a line.
1053
+ # Corresponds to the JSON property `lineStyle`
1054
+ # @return [Google::Apis::SheetsV4::LineStyle]
1055
+ attr_accessor :line_style
1056
+
1052
1057
  # The data included in a domain or series.
1053
1058
  # Corresponds to the JSON property `series`
1054
1059
  # @return [Google::Apis::SheetsV4::ChartData]
@@ -1081,6 +1086,7 @@ module Google
1081
1086
 
1082
1087
  # Update properties of this object
1083
1088
  def update!(**args)
1089
+ @line_style = args[:line_style] if args.key?(:line_style)
1084
1090
  @series = args[:series] if args.key?(:series)
1085
1091
  @target_axis = args[:target_axis] if args.key?(:target_axis)
1086
1092
  @type = args[:type] if args.key?(:type)
@@ -2767,6 +2773,11 @@ module Google
2767
2773
  # @return [Google::Apis::SheetsV4::TextPosition]
2768
2774
  attr_accessor :title_text_position
2769
2775
 
2776
+ # A waterfall chart.
2777
+ # Corresponds to the JSON property `waterfallChart`
2778
+ # @return [Google::Apis::SheetsV4::WaterfallChartSpec]
2779
+ attr_accessor :waterfall_chart
2780
+
2770
2781
  def initialize(**args)
2771
2782
  update!(**args)
2772
2783
  end
@@ -2790,6 +2801,7 @@ module Google
2790
2801
  @title = args[:title] if args.key?(:title)
2791
2802
  @title_text_format = args[:title_text_format] if args.key?(:title_text_format)
2792
2803
  @title_text_position = args[:title_text_position] if args.key?(:title_text_position)
2804
+ @waterfall_chart = args[:waterfall_chart] if args.key?(:waterfall_chart)
2793
2805
  end
2794
2806
  end
2795
2807
 
@@ -5149,6 +5161,31 @@ module Google
5149
5161
  end
5150
5162
  end
5151
5163
 
5164
+ # Properties that describe the style of a line.
5165
+ class LineStyle
5166
+ include Google::Apis::Core::Hashable
5167
+
5168
+ # The dash type of the line.
5169
+ # Corresponds to the JSON property `type`
5170
+ # @return [String]
5171
+ attr_accessor :type
5172
+
5173
+ # The thickness of the line, in px.
5174
+ # Corresponds to the JSON property `width`
5175
+ # @return [Fixnum]
5176
+ attr_accessor :width
5177
+
5178
+ def initialize(**args)
5179
+ update!(**args)
5180
+ end
5181
+
5182
+ # Update properties of this object
5183
+ def update!(**args)
5184
+ @type = args[:type] if args.key?(:type)
5185
+ @width = args[:width] if args.key?(:width)
5186
+ end
5187
+ end
5188
+
5152
5189
  # A developer metadata entry and the data filters specified in the original
5153
5190
  # request that matched it.
5154
5191
  class MatchedDeveloperMetadata
@@ -8398,6 +8435,252 @@ module Google
8398
8435
  @values = args[:values] if args.key?(:values)
8399
8436
  end
8400
8437
  end
8438
+
8439
+ # Styles for a waterfall chart column.
8440
+ class WaterfallChartColumnStyle
8441
+ include Google::Apis::Core::Hashable
8442
+
8443
+ # Represents a color in the RGBA color space. This representation is designed
8444
+ # for simplicity of conversion to/from color representations in various
8445
+ # languages over compactness; for example, the fields of this representation
8446
+ # can be trivially provided to the constructor of "java.awt.Color" in Java; it
8447
+ # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
8448
+ # method in iOS; and, with just a little work, it can be easily formatted into
8449
+ # a CSS "rgba()" string in JavaScript, as well. Here are some examples:
8450
+ # Example (Java):
8451
+ # import com.google.type.Color;
8452
+ # // ...
8453
+ # public static java.awt.Color fromProto(Color protocolor) `
8454
+ # float alpha = protocolor.hasAlpha()
8455
+ # ? protocolor.getAlpha().getValue()
8456
+ # : 1.0;
8457
+ # return new java.awt.Color(
8458
+ # protocolor.getRed(),
8459
+ # protocolor.getGreen(),
8460
+ # protocolor.getBlue(),
8461
+ # alpha);
8462
+ # `
8463
+ # public static Color toProto(java.awt.Color color) `
8464
+ # float red = (float) color.getRed();
8465
+ # float green = (float) color.getGreen();
8466
+ # float blue = (float) color.getBlue();
8467
+ # float denominator = 255.0;
8468
+ # Color.Builder resultBuilder =
8469
+ # Color
8470
+ # .newBuilder()
8471
+ # .setRed(red / denominator)
8472
+ # .setGreen(green / denominator)
8473
+ # .setBlue(blue / denominator);
8474
+ # int alpha = color.getAlpha();
8475
+ # if (alpha != 255) `
8476
+ # result.setAlpha(
8477
+ # FloatValue
8478
+ # .newBuilder()
8479
+ # .setValue(((float) alpha) / denominator)
8480
+ # .build());
8481
+ # `
8482
+ # return resultBuilder.build();
8483
+ # `
8484
+ # // ...
8485
+ # Example (iOS / Obj-C):
8486
+ # // ...
8487
+ # static UIColor* fromProto(Color* protocolor) `
8488
+ # float red = [protocolor red];
8489
+ # float green = [protocolor green];
8490
+ # float blue = [protocolor blue];
8491
+ # FloatValue* alpha_wrapper = [protocolor alpha];
8492
+ # float alpha = 1.0;
8493
+ # if (alpha_wrapper != nil) `
8494
+ # alpha = [alpha_wrapper value];
8495
+ # `
8496
+ # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
8497
+ # `
8498
+ # static Color* toProto(UIColor* color) `
8499
+ # CGFloat red, green, blue, alpha;
8500
+ # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) `
8501
+ # return nil;
8502
+ # `
8503
+ # Color* result = [Color alloc] init];
8504
+ # [result setRed:red];
8505
+ # [result setGreen:green];
8506
+ # [result setBlue:blue];
8507
+ # if (alpha <= 0.9999) `
8508
+ # [result setAlpha:floatWrapperWithValue(alpha)];
8509
+ # `
8510
+ # [result autorelease];
8511
+ # return result;
8512
+ # `
8513
+ # // ...
8514
+ # Example (JavaScript):
8515
+ # // ...
8516
+ # var protoToCssColor = function(rgb_color) `
8517
+ # var redFrac = rgb_color.red || 0.0;
8518
+ # var greenFrac = rgb_color.green || 0.0;
8519
+ # var blueFrac = rgb_color.blue || 0.0;
8520
+ # var red = Math.floor(redFrac * 255);
8521
+ # var green = Math.floor(greenFrac * 255);
8522
+ # var blue = Math.floor(blueFrac * 255);
8523
+ # if (!('alpha' in rgb_color)) `
8524
+ # return rgbToCssColor_(red, green, blue);
8525
+ # `
8526
+ # var alphaFrac = rgb_color.alpha.value || 0.0;
8527
+ # var rgbParams = [red, green, blue].join(',');
8528
+ # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
8529
+ # `;
8530
+ # var rgbToCssColor_ = function(red, green, blue) `
8531
+ # var rgbNumber = new Number((red << 16) | (green << 8) | blue);
8532
+ # var hexString = rgbNumber.toString(16);
8533
+ # var missingZeros = 6 - hexString.length;
8534
+ # var resultBuilder = ['#'];
8535
+ # for (var i = 0; i < missingZeros; i++) `
8536
+ # resultBuilder.push('0');
8537
+ # `
8538
+ # resultBuilder.push(hexString);
8539
+ # return resultBuilder.join('');
8540
+ # `;
8541
+ # // ...
8542
+ # Corresponds to the JSON property `color`
8543
+ # @return [Google::Apis::SheetsV4::Color]
8544
+ attr_accessor :color
8545
+
8546
+ # The label of the column's legend.
8547
+ # Corresponds to the JSON property `label`
8548
+ # @return [String]
8549
+ attr_accessor :label
8550
+
8551
+ def initialize(**args)
8552
+ update!(**args)
8553
+ end
8554
+
8555
+ # Update properties of this object
8556
+ def update!(**args)
8557
+ @color = args[:color] if args.key?(:color)
8558
+ @label = args[:label] if args.key?(:label)
8559
+ end
8560
+ end
8561
+
8562
+ # The domain of a waterfall chart.
8563
+ class WaterfallChartDomain
8564
+ include Google::Apis::Core::Hashable
8565
+
8566
+ # The data included in a domain or series.
8567
+ # Corresponds to the JSON property `data`
8568
+ # @return [Google::Apis::SheetsV4::ChartData]
8569
+ attr_accessor :data
8570
+
8571
+ # True to reverse the order of the domain values (horizontal axis).
8572
+ # Corresponds to the JSON property `reversed`
8573
+ # @return [Boolean]
8574
+ attr_accessor :reversed
8575
+ alias_method :reversed?, :reversed
8576
+
8577
+ def initialize(**args)
8578
+ update!(**args)
8579
+ end
8580
+
8581
+ # Update properties of this object
8582
+ def update!(**args)
8583
+ @data = args[:data] if args.key?(:data)
8584
+ @reversed = args[:reversed] if args.key?(:reversed)
8585
+ end
8586
+ end
8587
+
8588
+ # A single series of data for a waterfall chart.
8589
+ class WaterfallChartSeries
8590
+ include Google::Apis::Core::Hashable
8591
+
8592
+ # The data included in a domain or series.
8593
+ # Corresponds to the JSON property `data`
8594
+ # @return [Google::Apis::SheetsV4::ChartData]
8595
+ attr_accessor :data
8596
+
8597
+ # True to hide the subtotal column from the end of the series. By default,
8598
+ # a subtotal column will appear at the end of each series. Setting this
8599
+ # field to true will hide that subtotal column for this series.
8600
+ # Corresponds to the JSON property `hideTrailingSubtotal`
8601
+ # @return [Boolean]
8602
+ attr_accessor :hide_trailing_subtotal
8603
+ alias_method :hide_trailing_subtotal?, :hide_trailing_subtotal
8604
+
8605
+ # Styles for a waterfall chart column.
8606
+ # Corresponds to the JSON property `negativeColumnsStyle`
8607
+ # @return [Google::Apis::SheetsV4::WaterfallChartColumnStyle]
8608
+ attr_accessor :negative_columns_style
8609
+
8610
+ # Styles for a waterfall chart column.
8611
+ # Corresponds to the JSON property `positiveColumnsStyle`
8612
+ # @return [Google::Apis::SheetsV4::WaterfallChartColumnStyle]
8613
+ attr_accessor :positive_columns_style
8614
+
8615
+ # Styles for a waterfall chart column.
8616
+ # Corresponds to the JSON property `subtotalColumnsStyle`
8617
+ # @return [Google::Apis::SheetsV4::WaterfallChartColumnStyle]
8618
+ attr_accessor :subtotal_columns_style
8619
+
8620
+ def initialize(**args)
8621
+ update!(**args)
8622
+ end
8623
+
8624
+ # Update properties of this object
8625
+ def update!(**args)
8626
+ @data = args[:data] if args.key?(:data)
8627
+ @hide_trailing_subtotal = args[:hide_trailing_subtotal] if args.key?(:hide_trailing_subtotal)
8628
+ @negative_columns_style = args[:negative_columns_style] if args.key?(:negative_columns_style)
8629
+ @positive_columns_style = args[:positive_columns_style] if args.key?(:positive_columns_style)
8630
+ @subtotal_columns_style = args[:subtotal_columns_style] if args.key?(:subtotal_columns_style)
8631
+ end
8632
+ end
8633
+
8634
+ # A waterfall chart.
8635
+ class WaterfallChartSpec
8636
+ include Google::Apis::Core::Hashable
8637
+
8638
+ # Properties that describe the style of a line.
8639
+ # Corresponds to the JSON property `connectorLineStyle`
8640
+ # @return [Google::Apis::SheetsV4::LineStyle]
8641
+ attr_accessor :connector_line_style
8642
+
8643
+ # The domain of a waterfall chart.
8644
+ # Corresponds to the JSON property `domain`
8645
+ # @return [Google::Apis::SheetsV4::WaterfallChartDomain]
8646
+ attr_accessor :domain
8647
+
8648
+ # True to interpret the first value as a total.
8649
+ # Corresponds to the JSON property `firstValueIsTotal`
8650
+ # @return [Boolean]
8651
+ attr_accessor :first_value_is_total
8652
+ alias_method :first_value_is_total?, :first_value_is_total
8653
+
8654
+ # True to hide connector lines between columns.
8655
+ # Corresponds to the JSON property `hideConnectorLines`
8656
+ # @return [Boolean]
8657
+ attr_accessor :hide_connector_lines
8658
+ alias_method :hide_connector_lines?, :hide_connector_lines
8659
+
8660
+ # The data this waterfall chart is visualizing.
8661
+ # Corresponds to the JSON property `series`
8662
+ # @return [Array<Google::Apis::SheetsV4::WaterfallChartSeries>]
8663
+ attr_accessor :series
8664
+
8665
+ # The stacked type.
8666
+ # Corresponds to the JSON property `stackedType`
8667
+ # @return [String]
8668
+ attr_accessor :stacked_type
8669
+
8670
+ def initialize(**args)
8671
+ update!(**args)
8672
+ end
8673
+
8674
+ # Update properties of this object
8675
+ def update!(**args)
8676
+ @connector_line_style = args[:connector_line_style] if args.key?(:connector_line_style)
8677
+ @domain = args[:domain] if args.key?(:domain)
8678
+ @first_value_is_total = args[:first_value_is_total] if args.key?(:first_value_is_total)
8679
+ @hide_connector_lines = args[:hide_connector_lines] if args.key?(:hide_connector_lines)
8680
+ @series = args[:series] if args.key?(:series)
8681
+ @stacked_type = args[:stacked_type] if args.key?(:stacked_type)
8682
+ end
8683
+ end
8401
8684
  end
8402
8685
  end
8403
8686
  end