google-api-client 0.9.15 → 0.9.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  6. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +82 -3
  8. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -0
  10. data/generated/google/apis/admin_directory_v1.rb +1 -1
  11. data/generated/google/apis/admin_directory_v1/classes.rb +80 -0
  12. data/generated/google/apis/admin_directory_v1/representations.rb +23 -0
  13. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  14. data/generated/google/apis/adsense_v1_4.rb +1 -1
  15. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  16. data/generated/google/apis/analytics_v3.rb +1 -1
  17. data/generated/google/apis/analytics_v3/classes.rb +11 -5
  18. data/generated/google/apis/analytics_v3/representations.rb +1 -0
  19. data/generated/google/apis/analytics_v3/service.rb +17 -18
  20. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +80 -2
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +30 -0
  24. data/generated/google/apis/androidenterprise_v1/service.rb +55 -6
  25. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  26. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5/classes.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta5/service.rb +36 -0
  29. data/generated/google/apis/appsactivity_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +2 -2
  32. data/generated/google/apis/books_v1.rb +1 -1
  33. data/generated/google/apis/books_v1/classes.rb +2 -1
  34. data/generated/google/apis/calendar_v3.rb +1 -1
  35. data/generated/google/apis/classroom_v1.rb +1 -1
  36. data/generated/google/apis/classroom_v1/classes.rb +7 -0
  37. data/generated/google/apis/classroom_v1/representations.rb +1 -0
  38. data/generated/google/apis/classroom_v1/service.rb +25 -15
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +56 -8
  41. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +535 -298
  43. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +141 -36
  44. data/generated/google/apis/cloudresourcemanager_v1/service.rb +250 -45
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +99 -4
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +44 -0
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -33
  49. data/generated/google/apis/compute_beta.rb +1 -1
  50. data/generated/google/apis/compute_beta/classes.rb +44 -29
  51. data/generated/google/apis/compute_beta/representations.rb +1 -0
  52. data/generated/google/apis/compute_beta/service.rb +123 -25
  53. data/generated/google/apis/compute_v1.rb +1 -1
  54. data/generated/google/apis/compute_v1/classes.rb +43 -20
  55. data/generated/google/apis/compute_v1/representations.rb +3 -0
  56. data/generated/google/apis/compute_v1/service.rb +608 -67
  57. data/generated/google/apis/content_v2.rb +1 -1
  58. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  59. data/generated/google/apis/dataflow_v1b3/classes.rb +4009 -0
  60. data/generated/google/apis/dataflow_v1b3/representations.rb +1718 -0
  61. data/generated/google/apis/dataflow_v1b3/service.rb +515 -0
  62. data/generated/google/apis/datastore_v1.rb +1 -1
  63. data/generated/google/apis/dns_v1.rb +1 -1
  64. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  65. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  66. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  67. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  68. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  69. data/generated/google/apis/drive_v2.rb +1 -1
  70. data/generated/google/apis/drive_v2/classes.rb +9 -0
  71. data/generated/google/apis/drive_v2/representations.rb +1 -0
  72. data/generated/google/apis/drive_v2/service.rb +8 -1
  73. data/generated/google/apis/drive_v3.rb +1 -1
  74. data/generated/google/apis/drive_v3/classes.rb +7 -0
  75. data/generated/google/apis/drive_v3/representations.rb +1 -0
  76. data/generated/google/apis/drive_v3/service.rb +8 -1
  77. data/generated/google/apis/genomics_v1.rb +1 -1
  78. data/generated/google/apis/iam_v1.rb +2 -2
  79. data/generated/google/apis/iam_v1/classes.rb +181 -206
  80. data/generated/google/apis/iam_v1/representations.rb +36 -45
  81. data/generated/google/apis/iam_v1/service.rb +101 -67
  82. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  83. data/generated/google/apis/identitytoolkit_v3/classes.rb +11 -27
  84. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -16
  85. data/generated/google/apis/language_v1beta1.rb +1 -1
  86. data/generated/google/apis/language_v1beta1/classes.rb +4 -2
  87. data/generated/google/apis/language_v1beta1/service.rb +2 -4
  88. data/generated/google/apis/logging_v2beta1.rb +6 -6
  89. data/generated/google/apis/logging_v2beta1/classes.rb +742 -732
  90. data/generated/google/apis/logging_v2beta1/representations.rb +134 -147
  91. data/generated/google/apis/logging_v2beta1/service.rb +276 -209
  92. data/generated/google/apis/monitoring_v3.rb +1 -1
  93. data/generated/google/apis/monitoring_v3/classes.rb +20 -13
  94. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  95. data/generated/google/apis/oauth2_v2.rb +1 -1
  96. data/generated/google/apis/plus_domains_v1.rb +1 -1
  97. data/generated/google/apis/plus_v1.rb +1 -1
  98. data/generated/google/apis/pubsub_v1.rb +1 -1
  99. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  100. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  101. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  102. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  103. data/generated/google/apis/sheets_v4.rb +1 -1
  104. data/generated/google/apis/sheets_v4/classes.rb +2 -0
  105. data/generated/google/apis/speech_v1beta1.rb +1 -1
  106. data/generated/google/apis/speech_v1beta1/classes.rb +20 -30
  107. data/generated/google/apis/speech_v1beta1/representations.rb +6 -7
  108. data/generated/google/apis/speech_v1beta1/service.rb +68 -65
  109. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  110. data/generated/google/apis/sqladmin_v1beta4/classes.rb +6 -0
  111. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  112. data/generated/google/apis/storage_v1.rb +1 -1
  113. data/generated/google/apis/storage_v1/classes.rb +3 -3
  114. data/generated/google/apis/storage_v1/representations.rb +2 -1
  115. data/generated/google/apis/storage_v1/service.rb +5 -2
  116. data/generated/google/apis/vision_v1.rb +1 -1
  117. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  118. data/lib/google/apis/version.rb +1 -1
  119. metadata +10 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20160617'
29
+ REVISION = '20160927'
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'
@@ -372,8 +372,8 @@ module Google
372
372
  include Google::Apis::Core::Hashable
373
373
 
374
374
  # The set of permissions to check for the `resource`. Permissions with wildcards
375
- # (such as '*' or 'storage.*') are not allowed. For more information see IAM
376
- # Overview.
375
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
376
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
377
377
  # Corresponds to the JSON property `permissions`
378
378
  # @return [Array<String>]
379
379
  attr_accessor :permissions
@@ -455,8 +455,9 @@ module Google
455
455
  # @return [String]
456
456
  attr_accessor :organization_id
457
457
 
458
- # A friendly string to be used to refer to the Organization in the UI. This
459
- # field is required.
458
+ # A friendly string to be used to refer to the Organization in the UI. Assigned
459
+ # by the server, set to the firm name of the Google For Work customer that owns
460
+ # this organization. @OutputOnly
460
461
  # Corresponds to the JSON property `displayName`
461
462
  # @return [String]
462
463
  attr_accessor :display_name
@@ -517,6 +518,100 @@ module Google
517
518
  @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
518
519
  end
519
520
  end
521
+
522
+ # A status object which is used as the `metadata` field for the Operation
523
+ # returned by CreateProject. It provides insight for when significant phases of
524
+ # Project creation have completed.
525
+ class ProjectCreationStatus
526
+ include Google::Apis::Core::Hashable
527
+
528
+ # Creation time of the project creation workflow.
529
+ # Corresponds to the JSON property `createTime`
530
+ # @return [String]
531
+ attr_accessor :create_time
532
+
533
+ # True if the project can be retrieved using GetProject. No other operations on
534
+ # the project are guaranteed to work until the project creation is complete.
535
+ # Corresponds to the JSON property `gettable`
536
+ # @return [Boolean]
537
+ attr_accessor :gettable
538
+ alias_method :gettable?, :gettable
539
+
540
+ # True if the project creation process is complete.
541
+ # Corresponds to the JSON property `ready`
542
+ # @return [Boolean]
543
+ attr_accessor :ready
544
+ alias_method :ready?, :ready
545
+
546
+ def initialize(**args)
547
+ update!(**args)
548
+ end
549
+
550
+ # Update properties of this object
551
+ def update!(**args)
552
+ @create_time = args[:create_time] if args.key?(:create_time)
553
+ @gettable = args[:gettable] if args.key?(:gettable)
554
+ @ready = args[:ready] if args.key?(:ready)
555
+ end
556
+ end
557
+
558
+ # Metadata describing a long running folder operation
559
+ class FolderOperation
560
+ include Google::Apis::Core::Hashable
561
+
562
+ # The display name of the folder.
563
+ # Corresponds to the JSON property `displayName`
564
+ # @return [String]
565
+ attr_accessor :display_name
566
+
567
+ # The type of this operation.
568
+ # Corresponds to the JSON property `operationType`
569
+ # @return [String]
570
+ attr_accessor :operation_type
571
+
572
+ # The resource name of the folder's parent. Only applicable when the
573
+ # operation_type is MOVE.
574
+ # Corresponds to the JSON property `sourceParent`
575
+ # @return [String]
576
+ attr_accessor :source_parent
577
+
578
+ # The resource name of the folder or organization we are either creating the
579
+ # folder under or moving the folder to.
580
+ # Corresponds to the JSON property `destinationParent`
581
+ # @return [String]
582
+ attr_accessor :destination_parent
583
+
584
+ def initialize(**args)
585
+ update!(**args)
586
+ end
587
+
588
+ # Update properties of this object
589
+ def update!(**args)
590
+ @display_name = args[:display_name] if args.key?(:display_name)
591
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
592
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
593
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
594
+ end
595
+ end
596
+
597
+ # A classification of the Folder Operation error.
598
+ class FolderOperationError
599
+ include Google::Apis::Core::Hashable
600
+
601
+ # The type of operation error experienced.
602
+ # Corresponds to the JSON property `errorMessageId`
603
+ # @return [String]
604
+ attr_accessor :error_message_id
605
+
606
+ def initialize(**args)
607
+ update!(**args)
608
+ end
609
+
610
+ # Update properties of this object
611
+ def update!(**args)
612
+ @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
613
+ end
614
+ end
520
615
  end
521
616
  end
522
617
  end
@@ -124,6 +124,24 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ProjectCreationStatus
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class FolderOperation
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class FolderOperationError
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
127
145
  class Project
128
146
  # @private
129
147
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -263,6 +281,32 @@ module Google
263
281
  property :directory_customer_id, as: 'directoryCustomerId'
264
282
  end
265
283
  end
284
+
285
+ class ProjectCreationStatus
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :create_time, as: 'createTime'
289
+ property :gettable, as: 'gettable'
290
+ property :ready, as: 'ready'
291
+ end
292
+ end
293
+
294
+ class FolderOperation
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :display_name, as: 'displayName'
298
+ property :operation_type, as: 'operationType'
299
+ property :source_parent, as: 'sourceParent'
300
+ property :destination_parent, as: 'destinationParent'
301
+ end
302
+ end
303
+
304
+ class FolderOperationError
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :error_message_id, as: 'errorMessageId'
308
+ end
309
+ end
266
310
  end
267
311
  end
268
312
  end
@@ -52,6 +52,8 @@ module Google
52
52
  # or update the Project. Several APIs are activated automatically for the
53
53
  # Project, including Google Cloud Storage.
54
54
  # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object
55
+ # @param [Boolean] use_legacy_stack
56
+ # A safety hatch to opt out of the new reliable project creation process.
55
57
  # @param [String] fields
56
58
  # Selector specifying which fields to include in a partial response.
57
59
  # @param [String] quota_user
@@ -69,12 +71,13 @@ module Google
69
71
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
70
72
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
73
  # @raise [Google::Apis::AuthorizationError] Authorization is required
72
- def create_project(project_object = nil, fields: nil, quota_user: nil, options: nil, &block)
74
+ def create_project(project_object = nil, use_legacy_stack: nil, fields: nil, quota_user: nil, options: nil, &block)
73
75
  command = make_simple_command(:post, 'v1beta1/projects', options)
74
76
  command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
75
77
  command.request_object = project_object
76
78
  command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation
77
79
  command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project
80
+ command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil?
78
81
  command.query['fields'] = fields unless fields.nil?
79
82
  command.query['quotaUser'] = quota_user unless quota_user.nil?
80
83
  execute_or_queue_command(command, &block)
@@ -310,9 +313,8 @@ module Google
310
313
  # denied if the policy or the resource does not exist.
311
314
  # @param [String] resource
312
315
  # REQUIRED: The resource for which the policy is being requested. `resource` is
313
- # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
314
- # disk*`. The format for the path specified in this value is resource specific
315
- # and is specified in the `getIamPolicy` documentation.
316
+ # usually specified as a path. For example, a Project resource is specified as `
317
+ # projects/`project``.
316
318
  # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
317
319
  # @param [String] fields
318
320
  # Selector specifying which fields to include in a partial response.
@@ -355,11 +357,10 @@ module Google
355
357
  # accept the invitation. + Invitations to grant the owner role cannot be sent
356
358
  # using `setIamPolicy()`; they must be sent only using the Cloud Platform
357
359
  # Console. + Membership changes that leave the project without any owners that
358
- # have accepted the Terms of Service (ToS) will be rejected. + Members cannot be
359
- # added to more than one role in the same policy. + There must be at least one
360
- # owner who has accepted the Terms of Service (ToS) agreement in the policy.
361
- # Calling `setIamPolicy()` to to remove the last ToS-accepted owner from the
362
- # policy will fail. This restriction also applies to legacy projects that no
360
+ # have accepted the Terms of Service (ToS) will be rejected. + There must be at
361
+ # least one owner who has accepted the Terms of Service (ToS) agreement in the
362
+ # policy. Calling `setIamPolicy()` to to remove the last ToS-accepted owner from
363
+ # the policy will fail. This restriction also applies to legacy projects that no
363
364
  # longer have owners who have accepted the ToS. Edits to IAM policies will be
364
365
  # rejected until the lack of a ToS-accepting owner is rectified. + Calling this
365
366
  # method requires enabling the App Engine Admin API. Note: Removing service
@@ -368,9 +369,8 @@ module Google
368
369
  # used before removing or updating its roles.
369
370
  # @param [String] resource
370
371
  # REQUIRED: The resource for which the policy is being specified. `resource` is
371
- # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
372
- # disk*`. The format for the path specified in this value is resource specific
373
- # and is specified in the `setIamPolicy` documentation.
372
+ # usually specified as a path. For example, a Project resource is specified as `
373
+ # projects/`project``.
374
374
  # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
375
375
  # @param [String] fields
376
376
  # Selector specifying which fields to include in a partial response.
@@ -404,9 +404,8 @@ module Google
404
404
  # Returns permissions that a caller has on the specified Project.
405
405
  # @param [String] resource
406
406
  # REQUIRED: The resource for which the policy detail is being requested. `
407
- # resource` is usually specified as a path, such as `projects/*project*/zones/*
408
- # zone*/disks/*disk*`. The format for the path specified in this value is
409
- # resource specific and is specified in the `testIamPermissions` documentation.
407
+ # resource` is usually specified as a path. For example, a Project resource is
408
+ # specified as `projects/`project``.
410
409
  # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
411
410
  # @param [String] fields
412
411
  # Selector specifying which fields to include in a partial response.
@@ -485,8 +484,7 @@ module Google
485
484
 
486
485
  # Fetches an Organization resource identified by the specified resource name.
487
486
  # @param [String] name
488
- # The resource name of the Organization to fetch. Its format is "organizations/[
489
- # organization_id]". For example, "organizations/1234".
487
+ # The resource name of the Organization to fetch, e.g. "organizations/1234".
490
488
  # @param [String] organization_id
491
489
  # The id of the Organization resource to fetch. This field is deprecated and
492
490
  # will be removed in v1. Use name instead.
@@ -555,13 +553,11 @@ module Google
555
553
 
556
554
  # Sets the access control policy on an Organization resource. Replaces any
557
555
  # existing policy. The `resource` field should be the organization's resource
558
- # name, e.g. "organizations/123". For backward compatibility, the resource
559
- # provided may also be the organization_id. This will not be supported in v1.
556
+ # name, e.g. "organizations/123".
560
557
  # @param [String] resource
561
558
  # REQUIRED: The resource for which the policy is being specified. `resource` is
562
- # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
563
- # disk*`. The format for the path specified in this value is resource specific
564
- # and is specified in the `setIamPolicy` documentation.
559
+ # usually specified as a path. For example, a Project resource is specified as `
560
+ # projects/`project``.
565
561
  # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
566
562
  # @param [String] fields
567
563
  # Selector specifying which fields to include in a partial response.
@@ -594,14 +590,11 @@ module Google
594
590
 
595
591
  # Gets the access control policy for an Organization resource. May be empty if
596
592
  # no such policy or resource exists. The `resource` field should be the
597
- # organization's resource name, e.g. "organizations/123". For backward
598
- # compatibility, the resource provided may also be the organization_id. This
599
- # will not be supported in v1.
593
+ # organization's resource name, e.g. "organizations/123".
600
594
  # @param [String] resource
601
595
  # REQUIRED: The resource for which the policy is being requested. `resource` is
602
- # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
603
- # disk*`. The format for the path specified in this value is resource specific
604
- # and is specified in the `getIamPolicy` documentation.
596
+ # usually specified as a path. For example, a Project resource is specified as `
597
+ # projects/`project``.
605
598
  # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
606
599
  # @param [String] fields
607
600
  # Selector specifying which fields to include in a partial response.
@@ -634,13 +627,11 @@ module Google
634
627
 
635
628
  # Returns permissions that a caller has on the specified Organization. The `
636
629
  # resource` field should be the organization's resource name, e.g. "
637
- # organizations/123". For backward compatibility, the resource provided may also
638
- # be the organization_id. This will not be supported in v1.
630
+ # organizations/123".
639
631
  # @param [String] resource
640
632
  # REQUIRED: The resource for which the policy detail is being requested. `
641
- # resource` is usually specified as a path, such as `projects/*project*/zones/*
642
- # zone*/disks/*disk*`. The format for the path specified in this value is
643
- # resource specific and is specified in the `testIamPermissions` documentation.
633
+ # resource` is usually specified as a path. For example, a Project resource is
634
+ # specified as `projects/`project``.
644
635
  # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
645
636
  # @param [String] fields
646
637
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20160908'
28
+ REVISION = '20160926'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -588,8 +588,8 @@ module Google
588
588
  attr_accessor :status
589
589
 
590
590
  # [Output Only] Human-readable details about the current state of the autoscaler.
591
- # Examples: ?Error when fetching replicas: Replica Pool xxx doesn?t exist.? ?
592
- # Autoscaling capped at min_num_replicas: 2.?
591
+ # Read the documentation for Commonly returned status messages for examples of
592
+ # status messages you might encounter.
593
593
  # Corresponds to the JSON property `statusDetails`
594
594
  # @return [Array<Google::Apis::ComputeBeta::AutoscalerStatusDetails>]
595
595
  attr_accessor :status_details
@@ -728,12 +728,12 @@ module Google
728
728
  class AutoscalerStatusDetails
729
729
  include Google::Apis::Core::Hashable
730
730
 
731
- #
731
+ # The status message.
732
732
  # Corresponds to the JSON property `message`
733
733
  # @return [String]
734
734
  attr_accessor :message
735
735
 
736
- #
736
+ # The type of error returned.
737
737
  # Corresponds to the JSON property `type`
738
738
  # @return [String]
739
739
  attr_accessor :type
@@ -931,12 +931,12 @@ module Google
931
931
  class AutoscalingPolicyCustomMetricUtilization
932
932
  include Google::Apis::Core::Hashable
933
933
 
934
- # The identifier of the Cloud Monitoring metric. The metric cannot have negative
935
- # values and should be a utilization metric, which means that the number of
936
- # virtual machines handling requests should increase or decrease proportionally
937
- # to the metric. The metric must also have a label of compute.googleapis.com/
938
- # resource_id with the value of the instance's unique ID, although this alone
939
- # does not guarantee that the metric is valid.
934
+ # The identifier of the Stackdriver Monitoring metric. The metric cannot have
935
+ # negative values and should be a utilization metric, which means that the
936
+ # number of virtual machines handling requests should increase or decrease
937
+ # proportionally to the metric. The metric must also have a label of compute.
938
+ # googleapis.com/resource_id with the value of the instance's unique ID,
939
+ # although this alone does not guarantee that the metric is valid.
940
940
  # For example, the following is a valid metric:
941
941
  # compute.googleapis.com/instance/network/received_bytes_count
942
942
  # The following is not a valid metric because it does not increase or decrease
@@ -952,7 +952,7 @@ module Google
952
952
  # @return [Float]
953
953
  attr_accessor :utilization_target
954
954
 
955
- # Defines how target utilization value is expressed for a Cloud Monitoring
955
+ # Defines how target utilization value is expressed for a Stackdriver Monitoring
956
956
  # metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified,
957
957
  # the default is GAUGE.
958
958
  # Corresponds to the JSON property `utilizationTargetType`
@@ -2903,11 +2903,12 @@ module Google
2903
2903
  end
2904
2904
  end
2905
2905
 
2906
- # Features supported by the guest os.
2906
+ # Guest OS features.
2907
2907
  class GuestOsFeature
2908
2908
  include Google::Apis::Core::Hashable
2909
2909
 
2910
- # The type of supported feature..
2910
+ # The type of supported feature. Currenty only VIRTIO_SCSI_MULTIQUEUE is
2911
+ # supported.
2911
2912
  # Corresponds to the JSON property `type`
2912
2913
  # @return [String]
2913
2914
  attr_accessor :type
@@ -3647,7 +3648,7 @@ module Google
3647
3648
  # @return [String]
3648
3649
  attr_accessor :archive_size_bytes
3649
3650
 
3650
- # Creation timestamp in RFC3339 text format.
3651
+ # [Output Only] Creation timestamp in RFC3339 text format.
3651
3652
  # Corresponds to the JSON property `creationTimestamp`
3652
3653
  # @return [String]
3653
3654
  attr_accessor :creation_timestamp
@@ -3676,7 +3677,12 @@ module Google
3676
3677
  # @return [String]
3677
3678
  attr_accessor :family
3678
3679
 
3679
- # Features of the guest os, valid for bootable images only.
3680
+ # A list of features to enable on the guest OS. Applicable for bootable images
3681
+ # only. Currently, only one feature is supported, VIRTIO_SCSCI_MULTIQUEUE, which
3682
+ # allows each virtual CPU to have its own queue. For Windows images, you can
3683
+ # only enable VIRTIO_SCSCI_MULTIQUEUE on images with driver version 1.2.0.1621
3684
+ # or higher. Linux images with kernel versions 3.17 and higher will support
3685
+ # VIRTIO_SCSCI_MULTIQUEUE.
3680
3686
  # Corresponds to the JSON property `guestOsFeatures`
3681
3687
  # @return [Array<Google::Apis::ComputeBeta::GuestOsFeature>]
3682
3688
  attr_accessor :guest_os_features
@@ -4131,8 +4137,8 @@ module Google
4131
4137
  # @return [String]
4132
4138
  attr_accessor :fingerprint
4133
4139
 
4134
- # [Output Only] A unique identifier for this instance group. The server
4135
- # generates this identifier.
4140
+ # [Output Only] A unique identifier for this instance group, generated by the
4141
+ # server.
4136
4142
  # Corresponds to the JSON property `id`
4137
4143
  # @return [String]
4138
4144
  attr_accessor :id
@@ -4346,8 +4352,8 @@ module Google
4346
4352
  # @return [String]
4347
4353
  attr_accessor :description
4348
4354
 
4349
- # The action to perform in case of zone failure (set only for Regional instance
4350
- # group managers).
4355
+ # The action to perform in case of zone failure. Only one value is supported,
4356
+ # NO_FAILOVER. The default is NO_FAILOVER.
4351
4357
  # Corresponds to the JSON property `failoverAction`
4352
4358
  # @return [String]
4353
4359
  attr_accessor :failover_action
@@ -4477,7 +4483,7 @@ module Google
4477
4483
  # [Output Only] The number of instances that the managed instance group will
4478
4484
  # attempt to create. The group attempts to create each instance only once. If
4479
4485
  # the group fails to create any of these instances, it decreases the group's
4480
- # target_size value accordingly.
4486
+ # targetSize value accordingly.
4481
4487
  # Corresponds to the JSON property `creatingWithoutRetries`
4482
4488
  # @return [Fixnum]
4483
4489
  attr_accessor :creating_without_retries
@@ -4642,7 +4648,7 @@ module Google
4642
4648
  # @return [String]
4643
4649
  attr_accessor :next_page_token
4644
4650
 
4645
- # [Output Only] The URL for this resource type. The server generates this URL.
4651
+ # [Output Only] Server-defined URL for this resource.
4646
4652
  # Corresponds to the JSON property `selfLink`
4647
4653
  # @return [String]
4648
4654
  attr_accessor :self_link
@@ -6418,7 +6424,7 @@ module Google
6418
6424
  # @return [String]
6419
6425
  attr_accessor :next_page_token
6420
6426
 
6421
- # [Output Only] Server-defined URL for this resource .
6427
+ # [Output Only] Server-defined URL for this resource.
6422
6428
  # Corresponds to the JSON property `selfLink`
6423
6429
  # @return [String]
6424
6430
  attr_accessor :self_link
@@ -6554,7 +6560,9 @@ module Google
6554
6560
  # @return [String]
6555
6561
  attr_accessor :target_id
6556
6562
 
6557
- # [Output Only] The URL of the resource that the operation modifies.
6563
+ # [Output Only] The URL of the resource that the operation modifies. If creating
6564
+ # a persistent disk snapshot, this points to the persistent disk that the
6565
+ # snapshot was created from.
6558
6566
  # Corresponds to the JSON property `targetLink`
6559
6567
  # @return [String]
6560
6568
  attr_accessor :target_link
@@ -7053,6 +7061,12 @@ module Google
7053
7061
  # @return [Google::Apis::ComputeBeta::UsageExportLocation]
7054
7062
  attr_accessor :usage_export_location
7055
7063
 
7064
+ # [Output Only] The role this project has in a Cross Project Network (XPN)
7065
+ # configuration. Currently only HOST projects are differentiated.
7066
+ # Corresponds to the JSON property `xpnProjectStatus`
7067
+ # @return [String]
7068
+ attr_accessor :xpn_project_status
7069
+
7056
7070
  def initialize(**args)
7057
7071
  update!(**args)
7058
7072
  end
@@ -7070,6 +7084,7 @@ module Google
7070
7084
  @quotas = args[:quotas] if args.key?(:quotas)
7071
7085
  @self_link = args[:self_link] if args.key?(:self_link)
7072
7086
  @usage_export_location = args[:usage_export_location] if args.key?(:usage_export_location)
7087
+ @xpn_project_status = args[:xpn_project_status] if args.key?(:xpn_project_status)
7073
7088
  end
7074
7089
  end
7075
7090
 
@@ -7618,7 +7633,7 @@ module Google
7618
7633
  class ResourceGroupReference
7619
7634
  include Google::Apis::Core::Hashable
7620
7635
 
7621
- # A URI referencing one of the resource views listed in the backend service.
7636
+ # A URI referencing one of the instance groups listed in the backend service.
7622
7637
  # Corresponds to the JSON property `group`
7623
7638
  # @return [String]
7624
7639
  attr_accessor :group
@@ -8157,7 +8172,7 @@ module Google
8157
8172
  # @return [String]
8158
8173
  attr_accessor :next_page_token
8159
8174
 
8160
- # [Output Only] Server-defined URL for the resource.
8175
+ # [Output Only] Server-defined URL for this resource.
8161
8176
  # Corresponds to the JSON property `selfLink`
8162
8177
  # @return [String]
8163
8178
  attr_accessor :self_link
@@ -8526,7 +8541,7 @@ module Google
8526
8541
  # @return [String]
8527
8542
  attr_accessor :next
8528
8543
 
8529
- # [Output Only] Server-defined URL for the resource.
8544
+ # [Output Only] Server-defined URL for this resource.
8530
8545
  # Corresponds to the JSON property `selfLink`
8531
8546
  # @return [String]
8532
8547
  attr_accessor :self_link
@@ -10536,7 +10551,7 @@ module Google
10536
10551
  # @return [String]
10537
10552
  attr_accessor :next_page_token
10538
10553
 
10539
- # [Output Only] Server-defined URL for the resource.
10554
+ # [Output Only] Server-defined URL for this resource.
10540
10555
  # Corresponds to the JSON property `selfLink`
10541
10556
  # @return [String]
10542
10557
  attr_accessor :self_link
@@ -10585,7 +10600,7 @@ module Google
10585
10600
  # @return [String]
10586
10601
  attr_accessor :next_page_token
10587
10602
 
10588
- # [Output Only] Server-defined URL for the resource.
10603
+ # [Output Only] Server-defined URL for this resource.
10589
10604
  # Corresponds to the JSON property `selfLink`
10590
10605
  # @return [String]
10591
10606
  attr_accessor :self_link
@@ -11287,7 +11302,7 @@ module Google
11287
11302
  # @return [String]
11288
11303
  attr_accessor :next_page_token
11289
11304
 
11290
- # [Output Only] Server-defined URL for the resource.
11305
+ # [Output Only] Server-defined URL for this resource.
11291
11306
  # Corresponds to the JSON property `selfLink`
11292
11307
  # @return [String]
11293
11308
  attr_accessor :self_link