google-api-client 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +1 -1
  5. data/api_names.yaml +55 -117
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +76 -8
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +23 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +10 -4
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  11. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  12. data/generated/google/apis/admin_directory_v1/classes.rb +6 -0
  13. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  14. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  17. data/generated/google/apis/admin_reports_v1.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4.rb +1 -1
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/analytics_v3/classes.rb +371 -1
  21. data/generated/google/apis/analytics_v3/representations.rb +135 -0
  22. data/generated/google/apis/analytics_v3/service.rb +218 -0
  23. data/generated/google/apis/analytics_v3.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +18 -8
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +208 -37
  27. data/generated/google/apis/androidenterprise_v1/representations.rb +83 -0
  28. data/generated/google/apis/androidenterprise_v1/service.rb +469 -20
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -8
  31. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta5/classes.rb +379 -297
  33. data/generated/google/apis/appengine_v1beta5/representations.rb +55 -10
  34. data/generated/google/apis/appengine_v1beta5/service.rb +281 -35
  35. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  36. data/generated/google/apis/appsactivity_v1.rb +1 -1
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +50 -2
  39. data/generated/google/apis/bigquery_v2/representations.rb +6 -0
  40. data/generated/google/apis/bigquery_v2/service.rb +8 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/calendar_v3.rb +1 -1
  43. data/generated/google/apis/civicinfo_v2/classes.rb +6 -0
  44. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  45. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  46. data/generated/google/apis/civicinfo_v2.rb +3 -2
  47. data/generated/google/apis/classroom_v1/classes.rb +176 -37
  48. data/generated/google/apis/classroom_v1/representations.rb +73 -9
  49. data/generated/google/apis/classroom_v1/service.rb +392 -37
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/cloudbuild_v1/classes.rb +190 -12
  52. data/generated/google/apis/cloudbuild_v1/representations.rb +73 -2
  53. data/generated/google/apis/cloudbuild_v1/service.rb +170 -0
  54. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  55. data/generated/google/apis/clouddebugger_v2/service.rb +2 -2
  56. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  57. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  58. data/generated/google/apis/compute_beta/classes.rb +599 -77
  59. data/generated/google/apis/compute_beta/representations.rb +240 -0
  60. data/generated/google/apis/compute_beta/service.rb +1999 -710
  61. data/generated/google/apis/compute_beta.rb +1 -1
  62. data/generated/google/apis/compute_v1/classes.rb +140 -58
  63. data/generated/google/apis/compute_v1/representations.rb +17 -0
  64. data/generated/google/apis/compute_v1/service.rb +462 -521
  65. data/generated/google/apis/compute_v1.rb +1 -1
  66. data/generated/google/apis/content_v2/classes.rb +689 -1
  67. data/generated/google/apis/content_v2/representations.rb +316 -0
  68. data/generated/google/apis/content_v2/service.rb +244 -0
  69. data/generated/google/apis/content_v2.rb +1 -1
  70. data/generated/google/apis/datastore_v1beta3/classes.rb +48 -0
  71. data/generated/google/apis/datastore_v1beta3/representations.rb +5 -0
  72. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  73. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_6/classes.rb +11585 -0
  75. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  76. data/generated/google/apis/dfareporting_v2_6/service.rb +9006 -0
  77. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  78. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  79. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  80. data/generated/google/apis/drive_v2/classes.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v3.rb +1 -1
  83. data/generated/google/apis/fitness_v1/classes.rb +8 -0
  84. data/generated/google/apis/fitness_v1/representations.rb +1 -0
  85. data/generated/google/apis/fitness_v1/service.rb +2 -2
  86. data/generated/google/apis/fitness_v1.rb +7 -1
  87. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  88. data/generated/google/apis/games_management_v1management.rb +1 -1
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/genomics_v1/classes.rb +13 -2
  91. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  92. data/generated/google/apis/genomics_v1/service.rb +2 -3
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/gmail_v1/classes.rb +8 -11
  95. data/generated/google/apis/gmail_v1/service.rb +5 -5
  96. data/generated/google/apis/gmail_v1.rb +1 -1
  97. data/generated/google/apis/identitytoolkit_v3/classes.rb +38 -0
  98. data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -0
  99. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  100. data/generated/google/apis/monitoring_v3/classes.rb +340 -421
  101. data/generated/google/apis/monitoring_v3/representations.rb +0 -17
  102. data/generated/google/apis/monitoring_v3/service.rb +136 -168
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/oauth2_v2.rb +1 -1
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +1 -1
  107. data/generated/google/apis/plus_v1.rb +1 -1
  108. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  109. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  110. data/generated/google/apis/qpx_express_v1.rb +1 -1
  111. data/generated/google/apis/script_v1/classes.rb +6 -0
  112. data/generated/google/apis/script_v1/representations.rb +1 -0
  113. data/generated/google/apis/script_v1.rb +1 -1
  114. data/generated/google/apis/sheets_v4/classes.rb +35 -0
  115. data/generated/google/apis/sheets_v4/representations.rb +16 -0
  116. data/generated/google/apis/sheets_v4/service.rb +55 -0
  117. data/generated/google/apis/sheets_v4.rb +1 -1
  118. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  119. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  120. data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
  121. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  122. data/generated/google/apis/storage_v1/classes.rb +36 -1
  123. data/generated/google/apis/storage_v1/representations.rb +16 -0
  124. data/generated/google/apis/storage_v1/service.rb +18 -3
  125. data/generated/google/apis/storage_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1.rb +1 -1
  127. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  128. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  129. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  130. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  131. data/generated/google/apis/youtube_v3.rb +1 -1
  132. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  133. data/lib/google/apis/generator/annotator.rb +6 -0
  134. data/lib/google/apis/version.rb +1 -1
  135. metadata +6 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160517'
28
+ REVISION = '20160816'
29
29
 
30
30
  # View instructions for teacher-assigned work in your Google Classroom classes
31
31
  AUTH_CLASSROOM_COURSE_WORK_READONLY = 'https://www.googleapis.com/auth/classroom.course-work.readonly'
@@ -127,6 +127,12 @@ module Google
127
127
  # @return [Google::Apis::CloudbuildV1::StorageSource]
128
128
  attr_accessor :storage_source
129
129
 
130
+ # RepoSource describes the location of the source in a Google Cloud Source
131
+ # Repository.
132
+ # Corresponds to the JSON property `repoSource`
133
+ # @return [Google::Apis::CloudbuildV1::RepoSource]
134
+ attr_accessor :repo_source
135
+
130
136
  def initialize(**args)
131
137
  update!(**args)
132
138
  end
@@ -134,6 +140,7 @@ module Google
134
140
  # Update properties of this object
135
141
  def update!(**args)
136
142
  @storage_source = args[:storage_source] if args.key?(:storage_source)
143
+ @repo_source = args[:repo_source] if args.key?(:repo_source)
137
144
  end
138
145
  end
139
146
 
@@ -142,6 +149,18 @@ module Google
142
149
  class SourceProvenance
143
150
  include Google::Apis::Core::Hashable
144
151
 
152
+ # RepoSource describes the location of the source in a Google Cloud Source
153
+ # Repository.
154
+ # Corresponds to the JSON property `resolvedRepoSource`
155
+ # @return [Google::Apis::CloudbuildV1::RepoSource]
156
+ attr_accessor :resolved_repo_source
157
+
158
+ # StorageSource describes the location of the source in an archive file in
159
+ # Google Cloud Storage.
160
+ # Corresponds to the JSON property `resolvedStorageSource`
161
+ # @return [Google::Apis::CloudbuildV1::StorageSource]
162
+ attr_accessor :resolved_storage_source
163
+
145
164
  # Hash(es) of the build source, which can be used to verify that the original
146
165
  # source integrity was maintained in the build. Note that FileHashes will
147
166
  # only be populated if BuildOptions has requested a SourceProvenanceHash.
@@ -160,6 +179,8 @@ module Google
160
179
 
161
180
  # Update properties of this object
162
181
  def update!(**args)
182
+ @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
183
+ @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
163
184
  @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
164
185
  end
165
186
  end
@@ -261,6 +282,50 @@ module Google
261
282
  end
262
283
  end
263
284
 
285
+ # Configuration for an automated build in response to source repository
286
+ # changes.
287
+ class BuildTrigger
288
+ include Google::Apis::Core::Hashable
289
+
290
+ # RepoSource describes the location of the source in a Google Cloud Source
291
+ # Repository.
292
+ # Corresponds to the JSON property `triggerTemplate`
293
+ # @return [Google::Apis::CloudbuildV1::RepoSource]
294
+ attr_accessor :trigger_template
295
+
296
+ # A build resource in the Container Builder API.
297
+ # At a high level, a Build describes where to find source code, how to build
298
+ # it (for example, the builder image to run on the source), and what tag to
299
+ # apply to the built image when it is pushed to Google Container Registry.
300
+ # Corresponds to the JSON property `build`
301
+ # @return [Google::Apis::CloudbuildV1::Build]
302
+ attr_accessor :build
303
+
304
+ # Time when the trigger was created.
305
+ # @OutputOnly
306
+ # Corresponds to the JSON property `createTime`
307
+ # @return [String]
308
+ attr_accessor :create_time
309
+
310
+ # Unique identifier of the trigger.
311
+ # @OutputOnly
312
+ # Corresponds to the JSON property `id`
313
+ # @return [String]
314
+ attr_accessor :id
315
+
316
+ def initialize(**args)
317
+ update!(**args)
318
+ end
319
+
320
+ # Update properties of this object
321
+ def update!(**args)
322
+ @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
323
+ @build = args[:build] if args.key?(:build)
324
+ @create_time = args[:create_time] if args.key?(:create_time)
325
+ @id = args[:id] if args.key?(:id)
326
+ end
327
+ end
328
+
264
329
  # BuiltImage describes an image built by the pipeline.
265
330
  class BuiltImage
266
331
  include Google::Apis::Core::Hashable
@@ -359,6 +424,11 @@ module Google
359
424
  # @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
360
425
  attr_accessor :images
361
426
 
427
+ # List of build step digests, in order corresponding to build step indices.
428
+ # Corresponds to the JSON property `buildStepImages`
429
+ # @return [Array<String>]
430
+ attr_accessor :build_step_images
431
+
362
432
  def initialize(**args)
363
433
  update!(**args)
364
434
  end
@@ -366,6 +436,7 @@ module Google
366
436
  # Update properties of this object
367
437
  def update!(**args)
368
438
  @images = args[:images] if args.key?(:images)
439
+ @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
369
440
  end
370
441
  end
371
442
 
@@ -435,6 +506,12 @@ module Google
435
506
  # @return [String]
436
507
  attr_accessor :create_time
437
508
 
509
+ # URL to logs for this build in Google Cloud Logging.
510
+ # @OutputOnly
511
+ # Corresponds to the JSON property `logUrl`
512
+ # @return [String]
513
+ attr_accessor :log_url
514
+
438
515
  # Customer-readable message about the current status.
439
516
  # @OutputOnly
440
517
  # Corresponds to the JSON property `statusDetail`
@@ -486,6 +563,7 @@ module Google
486
563
  @steps = args[:steps] if args.key?(:steps)
487
564
  @source = args[:source] if args.key?(:source)
488
565
  @create_time = args[:create_time] if args.key?(:create_time)
566
+ @log_url = args[:log_url] if args.key?(:log_url)
489
567
  @status_detail = args[:status_detail] if args.key?(:status_detail)
490
568
  @images = args[:images] if args.key?(:images)
491
569
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -494,6 +572,25 @@ module Google
494
572
  end
495
573
  end
496
574
 
575
+ # Response containing existing BuildTriggers.
576
+ class ListBuildTriggersResponse
577
+ include Google::Apis::Core::Hashable
578
+
579
+ # BuildTriggers for the project, sorted by create_time descending.
580
+ # Corresponds to the JSON property `triggers`
581
+ # @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
582
+ attr_accessor :triggers
583
+
584
+ def initialize(**args)
585
+ update!(**args)
586
+ end
587
+
588
+ # Update properties of this object
589
+ def update!(**args)
590
+ @triggers = args[:triggers] if args.key?(:triggers)
591
+ end
592
+ end
593
+
497
594
  # Request to cancel an ongoing build.
498
595
  class CancelBuildRequest
499
596
  include Google::Apis::Core::Hashable
@@ -552,31 +649,91 @@ module Google
552
649
  end
553
650
  end
554
651
 
652
+ # RepoSource describes the location of the source in a Google Cloud Source
653
+ # Repository.
654
+ class RepoSource
655
+ include Google::Apis::Core::Hashable
656
+
657
+ # Name of the repo. If omitted, the name "default" is assumed.
658
+ # Corresponds to the JSON property `repoName`
659
+ # @return [String]
660
+ attr_accessor :repo_name
661
+
662
+ # Name of the tag to build.
663
+ # Corresponds to the JSON property `tagName`
664
+ # @return [String]
665
+ attr_accessor :tag_name
666
+
667
+ # ID of the project that owns the repo. If omitted, the project ID requesting
668
+ # the build is assumed.
669
+ # Corresponds to the JSON property `projectId`
670
+ # @return [String]
671
+ attr_accessor :project_id
672
+
673
+ # Name of the branch to build.
674
+ # Corresponds to the JSON property `branchName`
675
+ # @return [String]
676
+ attr_accessor :branch_name
677
+
678
+ # Explicit commit SHA to build.
679
+ # Corresponds to the JSON property `commitSha`
680
+ # @return [String]
681
+ attr_accessor :commit_sha
682
+
683
+ def initialize(**args)
684
+ update!(**args)
685
+ end
686
+
687
+ # Update properties of this object
688
+ def update!(**args)
689
+ @repo_name = args[:repo_name] if args.key?(:repo_name)
690
+ @tag_name = args[:tag_name] if args.key?(:tag_name)
691
+ @project_id = args[:project_id] if args.key?(:project_id)
692
+ @branch_name = args[:branch_name] if args.key?(:branch_name)
693
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
694
+ end
695
+ end
696
+
555
697
  # BuildStep describes a step to perform in the build pipeline.
556
698
  class BuildStep
557
699
  include Google::Apis::Core::Hashable
558
700
 
701
+ # Optional unique identifier for this build step, used in wait_for to
702
+ # reference this build step as a dependency.
703
+ # Corresponds to the JSON property `id`
704
+ # @return [String]
705
+ attr_accessor :id
706
+
707
+ # Additional environment variables to set for this step's container.
708
+ # Corresponds to the JSON property `env`
709
+ # @return [Array<String>]
710
+ attr_accessor :env
711
+
712
+ # The ID(s) of the step(s) that this build step depends on.
713
+ # This build step will not start until all the build steps in wait_for
714
+ # have completed successfully. If wait_for is empty, this build step will
715
+ # start when all previous build steps in the Build.Steps list have completed
716
+ # successfully.
717
+ # Corresponds to the JSON property `waitFor`
718
+ # @return [Array<String>]
719
+ attr_accessor :wait_for
720
+
559
721
  # Command-line arguments to use when running this step's container.
560
722
  # Corresponds to the JSON property `args`
561
723
  # @return [Array<String>]
562
724
  attr_accessor :args
563
725
 
564
- # Working directory (relative to project source root) to use when running
565
- # this operation's container.
566
- # Corresponds to the JSON property `dir`
567
- # @return [String]
568
- attr_accessor :dir
569
-
570
726
  # Name of the container image to use for creating this stage in the
571
727
  # pipeline, as presented to `docker pull`.
572
728
  # Corresponds to the JSON property `name`
573
729
  # @return [String]
574
730
  attr_accessor :name
575
731
 
576
- # Additional environment variables to set for this step's container.
577
- # Corresponds to the JSON property `env`
578
- # @return [Array<String>]
579
- attr_accessor :env
732
+ # Working directory (relative to project source root) to use when running
733
+ # this operation's container.
734
+ # Corresponds to the JSON property `dir`
735
+ # @return [String]
736
+ attr_accessor :dir
580
737
 
581
738
  def initialize(**args)
582
739
  update!(**args)
@@ -584,10 +741,31 @@ module Google
584
741
 
585
742
  # Update properties of this object
586
743
  def update!(**args)
744
+ @id = args[:id] if args.key?(:id)
745
+ @env = args[:env] if args.key?(:env)
746
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
587
747
  @args = args[:args] if args.key?(:args)
588
- @dir = args[:dir] if args.key?(:dir)
589
748
  @name = args[:name] if args.key?(:name)
590
- @env = args[:env] if args.key?(:env)
749
+ @dir = args[:dir] if args.key?(:dir)
750
+ end
751
+ end
752
+
753
+ # A generic empty message that you can re-use to avoid defining duplicated
754
+ # empty messages in your APIs. A typical example is to use it as the request
755
+ # or the response type of an API method. For instance:
756
+ # service Foo `
757
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
758
+ # `
759
+ # The JSON representation for `Empty` is empty JSON object ````.
760
+ class Empty
761
+ include Google::Apis::Core::Hashable
762
+
763
+ def initialize(**args)
764
+ update!(**args)
765
+ end
766
+
767
+ # Update properties of this object
768
+ def update!(**args)
591
769
  end
592
770
  end
593
771
 
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BuildTrigger
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class BuiltImage
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -82,6 +88,12 @@ module Google
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
91
+ class ListBuildTriggersResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class CancelBuildRequest
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -100,12 +112,24 @@ module Google
100
112
  include Google::Apis::Core::JsonObjectSupport
101
113
  end
102
114
 
115
+ class RepoSource
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class BuildStep
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
106
124
  include Google::Apis::Core::JsonObjectSupport
107
125
  end
108
126
 
127
+ class Empty
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
109
133
  class BuildOptions
110
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
135
 
@@ -140,12 +164,18 @@ module Google
140
164
  class Representation < Google::Apis::Core::JsonRepresentation
141
165
  property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
142
166
 
167
+ property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
168
+
143
169
  end
144
170
  end
145
171
 
146
172
  class SourceProvenance
147
173
  # @private
148
174
  class Representation < Google::Apis::Core::JsonRepresentation
175
+ property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
176
+
177
+ property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
178
+
149
179
  hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
150
180
 
151
181
  end
@@ -163,6 +193,18 @@ module Google
163
193
  end
164
194
  end
165
195
 
196
+ class BuildTrigger
197
+ # @private
198
+ class Representation < Google::Apis::Core::JsonRepresentation
199
+ property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
200
+
201
+ property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
202
+
203
+ property :create_time, as: 'createTime'
204
+ property :id, as: 'id'
205
+ end
206
+ end
207
+
166
208
  class BuiltImage
167
209
  # @private
168
210
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -193,6 +235,7 @@ module Google
193
235
  class Representation < Google::Apis::Core::JsonRepresentation
194
236
  collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
195
237
 
238
+ collection :build_step_images, as: 'buildStepImages'
196
239
  end
197
240
  end
198
241
 
@@ -214,6 +257,7 @@ module Google
214
257
  property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
215
258
 
216
259
  property :create_time, as: 'createTime'
260
+ property :log_url, as: 'logUrl'
217
261
  property :status_detail, as: 'statusDetail'
218
262
  collection :images, as: 'images'
219
263
  property :start_time, as: 'startTime'
@@ -222,6 +266,14 @@ module Google
222
266
  end
223
267
  end
224
268
 
269
+ class ListBuildTriggersResponse
270
+ # @private
271
+ class Representation < Google::Apis::Core::JsonRepresentation
272
+ collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation
273
+
274
+ end
275
+ end
276
+
225
277
  class CancelBuildRequest
226
278
  # @private
227
279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -245,13 +297,32 @@ module Google
245
297
  end
246
298
  end
247
299
 
300
+ class RepoSource
301
+ # @private
302
+ class Representation < Google::Apis::Core::JsonRepresentation
303
+ property :repo_name, as: 'repoName'
304
+ property :tag_name, as: 'tagName'
305
+ property :project_id, as: 'projectId'
306
+ property :branch_name, as: 'branchName'
307
+ property :commit_sha, as: 'commitSha'
308
+ end
309
+ end
310
+
248
311
  class BuildStep
249
312
  # @private
250
313
  class Representation < Google::Apis::Core::JsonRepresentation
314
+ property :id, as: 'id'
315
+ collection :env, as: 'env'
316
+ collection :wait_for, as: 'waitFor'
251
317
  collection :args, as: 'args'
252
- property :dir, as: 'dir'
253
318
  property :name, as: 'name'
254
- collection :env, as: 'env'
319
+ property :dir, as: 'dir'
320
+ end
321
+ end
322
+
323
+ class Empty
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
255
326
  end
256
327
  end
257
328