google-api-client 0.37.0 → 0.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +76 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +236 -22
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +104 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +135 -0
  7. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +24 -22
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  11. data/generated/google/apis/alertcenter_v1beta1/classes.rb +64 -0
  12. data/generated/google/apis/alertcenter_v1beta1/representations.rb +31 -0
  13. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  14. data/generated/google/apis/chat_v1.rb +1 -1
  15. data/generated/google/apis/chat_v1/classes.rb +10 -1
  16. data/generated/google/apis/chat_v1/representations.rb +1 -0
  17. data/generated/google/apis/classroom_v1.rb +1 -1
  18. data/generated/google/apis/cloudasset_v1.rb +1 -1
  19. data/generated/google/apis/cloudasset_v1/classes.rb +98 -34
  20. data/generated/google/apis/cloudasset_v1/representations.rb +19 -0
  21. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  23. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  25. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  26. data/generated/google/apis/cloudidentity_v1/classes.rb +152 -151
  27. data/generated/google/apis/cloudidentity_v1/representations.rb +72 -72
  28. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  29. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +0 -560
  30. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +0 -226
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  33. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  34. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +144 -0
  35. data/generated/google/apis/cloudtrace_v2beta1/representations.rb +82 -0
  36. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  37. data/generated/google/apis/compute_alpha.rb +1 -1
  38. data/generated/google/apis/compute_alpha/classes.rb +190 -46
  39. data/generated/google/apis/compute_alpha/representations.rb +35 -14
  40. data/generated/google/apis/compute_alpha/service.rb +40 -56
  41. data/generated/google/apis/compute_beta.rb +1 -1
  42. data/generated/google/apis/compute_beta/classes.rb +98 -24
  43. data/generated/google/apis/compute_beta/representations.rb +2 -0
  44. data/generated/google/apis/compute_beta/service.rb +1 -2
  45. data/generated/google/apis/compute_v1.rb +1 -1
  46. data/generated/google/apis/compute_v1/classes.rb +123 -19
  47. data/generated/google/apis/compute_v1/representations.rb +19 -0
  48. data/generated/google/apis/container_v1.rb +1 -1
  49. data/generated/google/apis/container_v1/classes.rb +2 -2
  50. data/generated/google/apis/container_v1beta1.rb +1 -1
  51. data/generated/google/apis/container_v1beta1/classes.rb +2 -2
  52. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  53. data/generated/google/apis/datacatalog_v1beta1/classes.rb +4 -3
  54. data/generated/google/apis/datacatalog_v1beta1/service.rb +190 -17
  55. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  56. data/generated/google/apis/dataflow_v1b3/classes.rb +40 -0
  57. data/generated/google/apis/dataflow_v1b3/representations.rb +16 -0
  58. data/generated/google/apis/dataproc_v1.rb +1 -1
  59. data/generated/google/apis/dataproc_v1/classes.rb +67 -0
  60. data/generated/google/apis/dataproc_v1/representations.rb +23 -0
  61. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  62. data/generated/google/apis/dlp_v2.rb +1 -1
  63. data/generated/google/apis/dlp_v2/classes.rb +2 -1
  64. data/generated/google/apis/docs_v1.rb +1 -1
  65. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  66. data/generated/google/apis/driveactivity_v2.rb +1 -1
  67. data/generated/google/apis/file_v1.rb +1 -1
  68. data/generated/google/apis/file_v1/classes.rb +6 -19
  69. data/generated/google/apis/file_v1/service.rb +1 -1
  70. data/generated/google/apis/file_v1beta1.rb +1 -1
  71. data/generated/google/apis/file_v1beta1/classes.rb +4 -17
  72. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  73. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  74. data/generated/google/apis/fitness_v1.rb +1 -1
  75. data/generated/google/apis/fitness_v1/classes.rb +10 -5
  76. data/generated/google/apis/fitness_v1/service.rb +1 -1
  77. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  78. data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
  79. data/generated/google/apis/homegraph_v1.rb +1 -1
  80. data/generated/google/apis/indexing_v3.rb +1 -1
  81. data/generated/google/apis/jobs_v2.rb +1 -1
  82. data/generated/google/apis/jobs_v3.rb +1 -1
  83. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  84. data/generated/google/apis/logging_v2.rb +1 -1
  85. data/generated/google/apis/logging_v2/classes.rb +84 -0
  86. data/generated/google/apis/logging_v2/representations.rb +33 -0
  87. data/generated/google/apis/logging_v2/service.rb +680 -0
  88. data/generated/google/apis/monitoring_v3.rb +1 -1
  89. data/generated/google/apis/monitoring_v3/classes.rb +21 -18
  90. data/generated/google/apis/monitoring_v3/service.rb +27 -18
  91. data/generated/google/apis/oslogin_v1.rb +1 -1
  92. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  93. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  94. data/generated/google/apis/people_v1.rb +1 -1
  95. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  98. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  99. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  100. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  101. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  102. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  103. data/generated/google/apis/script_v1.rb +1 -1
  104. data/generated/google/apis/secretmanager_v1.rb +35 -0
  105. data/generated/google/apis/secretmanager_v1/classes.rb +970 -0
  106. data/generated/google/apis/secretmanager_v1/representations.rb +388 -0
  107. data/generated/google/apis/secretmanager_v1/service.rb +675 -0
  108. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  109. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  110. data/generated/google/apis/servicemanagement_v1/classes.rb +36 -0
  111. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  112. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  113. data/generated/google/apis/servicenetworking_v1/classes.rb +19 -0
  114. data/generated/google/apis/servicenetworking_v1/representations.rb +2 -0
  115. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  116. data/generated/google/apis/serviceusage_v1.rb +1 -1
  117. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  118. data/generated/google/apis/sheets_v4.rb +1 -1
  119. data/generated/google/apis/slides_v1.rb +1 -1
  120. data/generated/google/apis/spanner_v1.rb +1 -1
  121. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  122. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  123. data/generated/google/apis/storagetransfer_v1/classes.rb +94 -85
  124. data/generated/google/apis/storagetransfer_v1/service.rb +17 -11
  125. data/generated/google/apis/tagmanager_v1.rb +1 -1
  126. data/generated/google/apis/tagmanager_v2.rb +1 -1
  127. data/generated/google/apis/testing_v1.rb +1 -1
  128. data/generated/google/apis/testing_v1/classes.rb +29 -0
  129. data/generated/google/apis/testing_v1/representations.rb +15 -0
  130. data/generated/google/apis/toolresults_v1.rb +1 -1
  131. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  132. data/lib/google/apis/version.rb +1 -1
  133. metadata +11 -3
@@ -439,6 +439,7 @@ module Google
439
439
  # @private
440
440
  class Representation < Google::Apis::Core::JsonRepresentation
441
441
  property :display_name, as: 'displayName'
442
+ property :domain_id, as: 'domainId'
442
443
  property :name, as: 'name'
443
444
  property :type, as: 'type'
444
445
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/classroom/
26
26
  module ClassroomV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200210'
28
+ REVISION = '20200218'
29
29
 
30
30
  # View and manage announcements in Google Classroom
31
31
  AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200209'
28
+ REVISION = '20200219'
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'
@@ -27,17 +27,18 @@ module Google
27
27
  class Asset
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
- # An `AccessLevel` is a label that can be applied to requests to GCP services,
31
- # along with a list of requirements necessary for the label to be applied.
30
+ # An `AccessLevel` is a label that can be applied to requests to Google Cloud
31
+ # services, along with a list of requirements necessary for the label to be
32
+ # applied.
32
33
  # Corresponds to the JSON property `accessLevel`
33
34
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessLevel]
34
35
  attr_accessor :access_level
35
36
 
36
37
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
37
- # attributes to use GCP services) and `ServicePerimeters` (which define regions
38
- # of services able to freely pass data within a perimeter). An access policy is
39
- # globally visible within an organization, and the restrictions it specifies
40
- # apply to all projects within an organization.
38
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which
39
+ # define regions of services able to freely pass data within a perimeter). An
40
+ # access policy is globally visible within an organization, and the
41
+ # restrictions it specifies apply to all projects within an organization.
41
42
  # Corresponds to the JSON property `accessPolicy`
42
43
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
43
44
  attr_accessor :access_policy
@@ -138,15 +139,16 @@ module Google
138
139
  # @return [Google::Apis::CloudassetV1::Resource]
139
140
  attr_accessor :resource
140
141
 
141
- # `ServicePerimeter` describes a set of GCP resources which can freely import
142
- # and export data amongst themselves, but not export outside of the
142
+ # `ServicePerimeter` describes a set of Google Cloud resources which can freely
143
+ # import and export data amongst themselves, but not export outside of the
143
144
  # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
144
145
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
145
146
  # Otherwise the request is allowed. There are two types of Service Perimeter -
146
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP
147
- # project can only belong to a single regular Service Perimeter. Service
148
- # Perimeter Bridges can contain only GCP projects as members, a single GCP
149
- # project may belong to multiple Service Perimeter Bridges.
147
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
148
+ # Google Cloud project can only belong to a single regular Service Perimeter.
149
+ # Service Perimeter Bridges can contain only Google Cloud projects as members,
150
+ # a single Google Cloud project may belong to multiple Service Perimeter
151
+ # Bridges.
150
152
  # Corresponds to the JSON property `servicePerimeter`
151
153
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
152
154
  attr_accessor :service_perimeter
@@ -1045,8 +1047,9 @@ module Google
1045
1047
  end
1046
1048
  end
1047
1049
 
1048
- # An `AccessLevel` is a label that can be applied to requests to GCP services,
1049
- # along with a list of requirements necessary for the label to be applied.
1050
+ # An `AccessLevel` is a label that can be applied to requests to Google Cloud
1051
+ # services, along with a list of requirements necessary for the label to be
1052
+ # applied.
1050
1053
  class GoogleIdentityAccesscontextmanagerV1AccessLevel
1051
1054
  include Google::Apis::Core::Hashable
1052
1055
 
@@ -1106,10 +1109,10 @@ module Google
1106
1109
  end
1107
1110
 
1108
1111
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
1109
- # attributes to use GCP services) and `ServicePerimeters` (which define regions
1110
- # of services able to freely pass data within a perimeter). An access policy is
1111
- # globally visible within an organization, and the restrictions it specifies
1112
- # apply to all projects within an organization.
1112
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which
1113
+ # define regions of services able to freely pass data within a perimeter). An
1114
+ # access policy is globally visible within an organization, and the
1115
+ # restrictions it specifies apply to all projects within an organization.
1113
1116
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
1114
1117
  include Google::Apis::Core::Hashable
1115
1118
 
@@ -1406,15 +1409,16 @@ module Google
1406
1409
  end
1407
1410
  end
1408
1411
 
1409
- # `ServicePerimeter` describes a set of GCP resources which can freely import
1410
- # and export data amongst themselves, but not export outside of the
1412
+ # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1413
+ # import and export data amongst themselves, but not export outside of the
1411
1414
  # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1412
1415
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
1413
1416
  # Otherwise the request is allowed. There are two types of Service Perimeter -
1414
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP
1415
- # project can only belong to a single regular Service Perimeter. Service
1416
- # Perimeter Bridges can contain only GCP projects as members, a single GCP
1417
- # project may belong to multiple Service Perimeter Bridges.
1417
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
1418
+ # Google Cloud project can only belong to a single regular Service Perimeter.
1419
+ # Service Perimeter Bridges can contain only Google Cloud projects as members,
1420
+ # a single Google Cloud project may belong to multiple Service Perimeter
1421
+ # Bridges.
1418
1422
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
1419
1423
  include Google::Apis::Core::Hashable
1420
1424
 
@@ -1446,8 +1450,14 @@ module Google
1446
1450
  # @return [String]
1447
1451
  attr_accessor :perimeter_type
1448
1452
 
1449
- # `ServicePerimeterConfig` specifies a set of GCP resources that describe
1450
- # specific Service Perimeter configuration.
1453
+ # `ServicePerimeterConfig` specifies a set of Google Cloud resources that
1454
+ # describe specific Service Perimeter configuration.
1455
+ # Corresponds to the JSON property `spec`
1456
+ # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig]
1457
+ attr_accessor :spec
1458
+
1459
+ # `ServicePerimeterConfig` specifies a set of Google Cloud resources that
1460
+ # describe specific Service Perimeter configuration.
1451
1461
  # Corresponds to the JSON property `status`
1452
1462
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig]
1453
1463
  attr_accessor :status
@@ -1462,6 +1472,21 @@ module Google
1462
1472
  # @return [String]
1463
1473
  attr_accessor :update_time
1464
1474
 
1475
+ # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
1476
+ # exists for all Service Perimeters, and that spec is identical to the
1477
+ # status for those Service Perimeters. When this flag is set, it inhibits the
1478
+ # generation of the implicit spec, thereby allowing the user to explicitly
1479
+ # provide a configuration ("spec") to use in a dry-run version of the Service
1480
+ # Perimeter. This allows the user to test changes to the enforced config
1481
+ # ("status") without actually enforcing them. This testing is done through
1482
+ # analyzing the differences between currently enforced and suggested
1483
+ # restrictions. use_explicit_dry_run_spec must bet set to True if any of the
1484
+ # fields in the spec are set to non-default values.
1485
+ # Corresponds to the JSON property `useExplicitDryRunSpec`
1486
+ # @return [Boolean]
1487
+ attr_accessor :use_explicit_dry_run_spec
1488
+ alias_method :use_explicit_dry_run_spec?, :use_explicit_dry_run_spec
1489
+
1465
1490
  def initialize(**args)
1466
1491
  update!(**args)
1467
1492
  end
@@ -1472,14 +1497,16 @@ module Google
1472
1497
  @description = args[:description] if args.key?(:description)
1473
1498
  @name = args[:name] if args.key?(:name)
1474
1499
  @perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
1500
+ @spec = args[:spec] if args.key?(:spec)
1475
1501
  @status = args[:status] if args.key?(:status)
1476
1502
  @title = args[:title] if args.key?(:title)
1477
1503
  @update_time = args[:update_time] if args.key?(:update_time)
1504
+ @use_explicit_dry_run_spec = args[:use_explicit_dry_run_spec] if args.key?(:use_explicit_dry_run_spec)
1478
1505
  end
1479
1506
  end
1480
1507
 
1481
- # `ServicePerimeterConfig` specifies a set of GCP resources that describe
1482
- # specific Service Perimeter configuration.
1508
+ # `ServicePerimeterConfig` specifies a set of Google Cloud resources that
1509
+ # describe specific Service Perimeter configuration.
1483
1510
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
1484
1511
  include Google::Apis::Core::Hashable
1485
1512
 
@@ -1487,27 +1514,34 @@ module Google
1487
1514
  # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
1488
1515
  # must be in the same policy as this `ServicePerimeter`. Referencing a
1489
1516
  # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
1490
- # listed, resources within the perimeter can only be accessed via GCP calls
1491
- # with request origins within the perimeter. Example:
1517
+ # listed, resources within the perimeter can only be accessed via Google
1518
+ # Cloud calls with request origins within the perimeter. Example:
1492
1519
  # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
1493
1520
  # For Service Perimeter Bridge, must be empty.
1494
1521
  # Corresponds to the JSON property `accessLevels`
1495
1522
  # @return [Array<String>]
1496
1523
  attr_accessor :access_levels
1497
1524
 
1498
- # A list of GCP resources that are inside of the service perimeter.
1525
+ # A list of Google Cloud resources that are inside of the service perimeter.
1499
1526
  # Currently only projects are allowed. Format: `projects/`project_number``
1500
1527
  # Corresponds to the JSON property `resources`
1501
1528
  # @return [Array<String>]
1502
1529
  attr_accessor :resources
1503
1530
 
1504
- # GCP services that are subject to the Service Perimeter restrictions. For
1505
- # example, if `storage.googleapis.com` is specified, access to the storage
1506
- # buckets inside the perimeter must meet the perimeter's access restrictions.
1531
+ # Google Cloud services that are subject to the Service Perimeter
1532
+ # restrictions. For example, if `storage.googleapis.com` is specified, access
1533
+ # to the storage buckets inside the perimeter must meet the perimeter's
1534
+ # access restrictions.
1507
1535
  # Corresponds to the JSON property `restrictedServices`
1508
1536
  # @return [Array<String>]
1509
1537
  attr_accessor :restricted_services
1510
1538
 
1539
+ # Specifies how APIs are allowed to communicate within the Service
1540
+ # Perimeter.
1541
+ # Corresponds to the JSON property `vpcAccessibleServices`
1542
+ # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
1543
+ attr_accessor :vpc_accessible_services
1544
+
1511
1545
  def initialize(**args)
1512
1546
  update!(**args)
1513
1547
  end
@@ -1517,6 +1551,36 @@ module Google
1517
1551
  @access_levels = args[:access_levels] if args.key?(:access_levels)
1518
1552
  @resources = args[:resources] if args.key?(:resources)
1519
1553
  @restricted_services = args[:restricted_services] if args.key?(:restricted_services)
1554
+ @vpc_accessible_services = args[:vpc_accessible_services] if args.key?(:vpc_accessible_services)
1555
+ end
1556
+ end
1557
+
1558
+ # Specifies how APIs are allowed to communicate within the Service
1559
+ # Perimeter.
1560
+ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
1561
+ include Google::Apis::Core::Hashable
1562
+
1563
+ # The list of APIs usable within the Service Perimeter. Must be empty
1564
+ # unless 'enable_restriction' is True.
1565
+ # Corresponds to the JSON property `allowedServices`
1566
+ # @return [Array<String>]
1567
+ attr_accessor :allowed_services
1568
+
1569
+ # Whether to restrict API calls within the Service Perimeter to the list of
1570
+ # APIs specified in 'allowed_services'.
1571
+ # Corresponds to the JSON property `enableRestriction`
1572
+ # @return [Boolean]
1573
+ attr_accessor :enable_restriction
1574
+ alias_method :enable_restriction?, :enable_restriction
1575
+
1576
+ def initialize(**args)
1577
+ update!(**args)
1578
+ end
1579
+
1580
+ # Update properties of this object
1581
+ def update!(**args)
1582
+ @allowed_services = args[:allowed_services] if args.key?(:allowed_services)
1583
+ @enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
1520
1584
  end
1521
1585
  end
1522
1586
 
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class ListFeedsResponse
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -492,10 +498,13 @@ module Google
492
498
  property :description, as: 'description'
493
499
  property :name, as: 'name'
494
500
  property :perimeter_type, as: 'perimeterType'
501
+ property :spec, as: 'spec', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
502
+
495
503
  property :status, as: 'status', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
496
504
 
497
505
  property :title, as: 'title'
498
506
  property :update_time, as: 'updateTime'
507
+ property :use_explicit_dry_run_spec, as: 'useExplicitDryRunSpec'
499
508
  end
500
509
  end
501
510
 
@@ -505,6 +514,16 @@ module Google
505
514
  collection :access_levels, as: 'accessLevels'
506
515
  collection :resources, as: 'resources'
507
516
  collection :restricted_services, as: 'restrictedServices'
517
+ property :vpc_accessible_services, as: 'vpcAccessibleServices', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices::Representation
518
+
519
+ end
520
+ end
521
+
522
+ class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ collection :allowed_services, as: 'allowedServices'
526
+ property :enable_restriction, as: 'enableRestriction'
508
527
  end
509
528
  end
510
529
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200209'
28
+ REVISION = '20200219'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200123'
28
+ REVISION = '20200220'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20191212'
28
+ REVISION = '20200220'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20200108'
28
+ REVISION = '20200220'
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'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/identity/
26
26
  module CloudidentityV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200211'
28
+ REVISION = '20200215'
29
29
 
30
30
  # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
31
31
  AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
@@ -22,40 +22,8 @@ module Google
22
22
  module Apis
23
23
  module CloudidentityV1
24
24
 
25
- # An EntityKey uniquely identifies an Entity. Namespaces are used to provide
26
- # isolation for IDs. A single ID can be reused across namespaces but the
27
- # combination of a namespace and an ID must be unique.
28
- class EntityKey
29
- include Google::Apis::Core::Hashable
30
-
31
- # The ID of the entity within the given namespace. The ID must be unique
32
- # within its namespace.
33
- # Corresponds to the JSON property `id`
34
- # @return [String]
35
- attr_accessor :id
36
-
37
- # Namespaces provide isolation for IDs, so an ID only needs to be unique
38
- # within its namespace.
39
- # Namespaces are currently only created as part of IdentitySource creation
40
- # from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
41
- # created corresponding to every Identity Source `identity_source_id`.
42
- # Corresponds to the JSON property `namespace`
43
- # @return [String]
44
- attr_accessor :namespace
45
-
46
- def initialize(**args)
47
- update!(**args)
48
- end
49
-
50
- # Update properties of this object
51
- def update!(**args)
52
- @id = args[:id] if args.key?(:id)
53
- @namespace = args[:namespace] if args.key?(:namespace)
54
- end
55
- end
56
-
57
25
  # Resource representing the Android specific attributes of a Device.
58
- class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
26
+ class AndroidAttributes
59
27
  include Google::Apis::Core::Hashable
60
28
 
61
29
  # Baseband version of Android device.
@@ -165,12 +133,12 @@ module Google
165
133
  end
166
134
 
167
135
  # Response message for approving the device to access user data.
168
- class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
136
+ class ApproveDeviceUserResponse
169
137
  include Google::Apis::Core::Hashable
170
138
 
171
- # Resource representing a user's use of a Device
139
+ # A DeviceUser is a resource representing a user's use of a Device
172
140
  # Corresponds to the JSON property `deviceUser`
173
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
141
+ # @return [Google::Apis::CloudidentityV1::DeviceUser]
174
142
  attr_accessor :device_user
175
143
 
176
144
  def initialize(**args)
@@ -184,12 +152,12 @@ module Google
184
152
  end
185
153
 
186
154
  # Response message for blocking the device from accessing user data.
187
- class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
155
+ class BlockDeviceUserResponse
188
156
  include Google::Apis::Core::Hashable
189
157
 
190
- # Resource representing a user's use of a Device
158
+ # A DeviceUser is a resource representing a user's use of a Device
191
159
  # Corresponds to the JSON property `deviceUser`
192
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
160
+ # @return [Google::Apis::CloudidentityV1::DeviceUser]
193
161
  attr_accessor :device_user
194
162
 
195
163
  def initialize(**args)
@@ -203,13 +171,13 @@ module Google
203
171
  end
204
172
 
205
173
  # Response message for cancelling an unfinished device wipe.
206
- class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
174
+ class CancelWipeDeviceResponse
207
175
  include Google::Apis::Core::Hashable
208
176
 
209
177
  # Represents a Device known to Google Cloud, independent of the device
210
178
  # ownership, type, and whether it is assigned or in use by a user.
211
179
  # Corresponds to the JSON property `device`
212
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
180
+ # @return [Google::Apis::CloudidentityV1::Device]
213
181
  attr_accessor :device
214
182
 
215
183
  def initialize(**args)
@@ -223,12 +191,12 @@ module Google
223
191
  end
224
192
 
225
193
  # Response message for cancelling an unfinished user account wipe.
226
- class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
194
+ class CancelWipeDeviceUserResponse
227
195
  include Google::Apis::Core::Hashable
228
196
 
229
- # Resource representing a user's use of a Device
197
+ # A DeviceUser is a resource representing a user's use of a Device
230
198
  # Corresponds to the JSON property `deviceUser`
231
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
199
+ # @return [Google::Apis::CloudidentityV1::DeviceUser]
232
200
  attr_accessor :device_user
233
201
 
234
202
  def initialize(**args)
@@ -243,12 +211,12 @@ module Google
243
211
 
244
212
  # Represents a Device known to Google Cloud, independent of the device
245
213
  # ownership, type, and whether it is assigned or in use by a user.
246
- class GoogleAppsCloudidentityDevicesV1alpha1Device
214
+ class Device
247
215
  include Google::Apis::Core::Hashable
248
216
 
249
217
  # Resource representing the Android specific attributes of a Device.
250
218
  # Corresponds to the JSON property `androidSpecificAttributes`
251
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes]
219
+ # @return [Google::Apis::CloudidentityV1::AndroidAttributes]
252
220
  attr_accessor :android_specific_attributes
253
221
 
254
222
  # Asset tag of the device.
@@ -374,8 +342,8 @@ module Google
374
342
  end
375
343
  end
376
344
 
377
- # Resource representing a user's use of a Device
378
- class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
345
+ # A DeviceUser is a resource representing a user's use of a Device
346
+ class DeviceUser
379
347
  include Google::Apis::Core::Hashable
380
348
 
381
349
  # Compromised State of the DeviceUser object
@@ -444,8 +412,9 @@ module Google
444
412
  end
445
413
  end
446
414
 
415
+ # An EndpointApp represents an app that is installed on a device
447
416
  # Next ID to use: 7
448
- class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
417
+ class EndpointApp
449
418
  include Google::Apis::Core::Hashable
450
419
 
451
420
  # Output only. Name of the app displayed to the user
@@ -497,112 +466,26 @@ module Google
497
466
  end
498
467
  end
499
468
 
500
- # Response message that is returned in LRO result of ListDeviceUsers Operation.
501
- class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
502
- include Google::Apis::Core::Hashable
503
-
504
- # Devices meeting the list restrictions.
505
- # Corresponds to the JSON property `deviceUsers`
506
- # @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser>]
507
- attr_accessor :device_users
508
-
509
- # Token to retrieve the next page of results. Empty if there are no more
510
- # results.
511
- # Corresponds to the JSON property `nextPageToken`
512
- # @return [String]
513
- attr_accessor :next_page_token
514
-
515
- def initialize(**args)
516
- update!(**args)
517
- end
518
-
519
- # Update properties of this object
520
- def update!(**args)
521
- @device_users = args[:device_users] if args.key?(:device_users)
522
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
523
- end
524
- end
525
-
526
- # Response message that is returned in LRO result of ListDevices Operation.
527
- class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
469
+ # An EntityKey uniquely identifies an Entity. Namespaces are used to provide
470
+ # isolation for IDs. A single ID can be reused across namespaces but the
471
+ # combination of a namespace and an ID must be unique.
472
+ class EntityKey
528
473
  include Google::Apis::Core::Hashable
529
474
 
530
- # Devices meeting the list restrictions.
531
- # Corresponds to the JSON property `devices`
532
- # @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device>]
533
- attr_accessor :devices
534
-
535
- # Token to retrieve the next page of results. Empty if there are no more
536
- # results.
537
- # Corresponds to the JSON property `nextPageToken`
475
+ # The ID of the entity within the given namespace. The ID must be unique
476
+ # within its namespace.
477
+ # Corresponds to the JSON property `id`
538
478
  # @return [String]
539
- attr_accessor :next_page_token
540
-
541
- def initialize(**args)
542
- update!(**args)
543
- end
544
-
545
- # Update properties of this object
546
- def update!(**args)
547
- @devices = args[:devices] if args.key?(:devices)
548
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
549
- end
550
- end
551
-
552
- # Response message for listing all apps on the device.
553
- class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
554
- include Google::Apis::Core::Hashable
555
-
556
- # The list of matching EndpointApps found as a result of the request.
557
- # Corresponds to the JSON property `endpointApps`
558
- # @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp>]
559
- attr_accessor :endpoint_apps
479
+ attr_accessor :id
560
480
 
561
- # Token to retrieve the next page of results. Empty if there are no more
562
- # results.
563
- # Corresponds to the JSON property `nextPageToken`
481
+ # Namespaces provide isolation for IDs, so an ID only needs to be unique
482
+ # within its namespace.
483
+ # Namespaces are currently only created as part of IdentitySource creation
484
+ # from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
485
+ # created corresponding to every Identity Source `identity_source_id`.
486
+ # Corresponds to the JSON property `namespace`
564
487
  # @return [String]
565
- attr_accessor :next_page_token
566
-
567
- def initialize(**args)
568
- update!(**args)
569
- end
570
-
571
- # Update properties of this object
572
- def update!(**args)
573
- @endpoint_apps = args[:endpoint_apps] if args.key?(:endpoint_apps)
574
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
575
- end
576
- end
577
-
578
- # Response message for wiping all data on the device.
579
- class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
580
- include Google::Apis::Core::Hashable
581
-
582
- # Represents a Device known to Google Cloud, independent of the device
583
- # ownership, type, and whether it is assigned or in use by a user.
584
- # Corresponds to the JSON property `device`
585
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
586
- attr_accessor :device
587
-
588
- def initialize(**args)
589
- update!(**args)
590
- end
591
-
592
- # Update properties of this object
593
- def update!(**args)
594
- @device = args[:device] if args.key?(:device)
595
- end
596
- end
597
-
598
- # Response message for wiping the user's account from the device.
599
- class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
600
- include Google::Apis::Core::Hashable
601
-
602
- # Resource representing a user's use of a Device
603
- # Corresponds to the JSON property `deviceUser`
604
- # @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
605
- attr_accessor :device_user
488
+ attr_accessor :namespace
606
489
 
607
490
  def initialize(**args)
608
491
  update!(**args)
@@ -610,7 +493,8 @@ module Google
610
493
 
611
494
  # Update properties of this object
612
495
  def update!(**args)
613
- @device_user = args[:device_user] if args.key?(:device_user)
496
+ @id = args[:id] if args.key?(:id)
497
+ @namespace = args[:namespace] if args.key?(:namespace)
614
498
  end
615
499
  end
616
500
 
@@ -691,6 +575,84 @@ module Google
691
575
  end
692
576
  end
693
577
 
578
+ # Response message that is returned in LRO result of ListDeviceUsers Operation.
579
+ class ListDeviceUsersResponse
580
+ include Google::Apis::Core::Hashable
581
+
582
+ # Devices meeting the list restrictions.
583
+ # Corresponds to the JSON property `deviceUsers`
584
+ # @return [Array<Google::Apis::CloudidentityV1::DeviceUser>]
585
+ attr_accessor :device_users
586
+
587
+ # Token to retrieve the next page of results. Empty if there are no more
588
+ # results.
589
+ # Corresponds to the JSON property `nextPageToken`
590
+ # @return [String]
591
+ attr_accessor :next_page_token
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @device_users = args[:device_users] if args.key?(:device_users)
600
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
601
+ end
602
+ end
603
+
604
+ # Response message that is returned in LRO result of ListDevices Operation.
605
+ class ListDevicesResponse
606
+ include Google::Apis::Core::Hashable
607
+
608
+ # Devices meeting the list restrictions.
609
+ # Corresponds to the JSON property `devices`
610
+ # @return [Array<Google::Apis::CloudidentityV1::Device>]
611
+ attr_accessor :devices
612
+
613
+ # Token to retrieve the next page of results. Empty if there are no more
614
+ # results.
615
+ # Corresponds to the JSON property `nextPageToken`
616
+ # @return [String]
617
+ attr_accessor :next_page_token
618
+
619
+ def initialize(**args)
620
+ update!(**args)
621
+ end
622
+
623
+ # Update properties of this object
624
+ def update!(**args)
625
+ @devices = args[:devices] if args.key?(:devices)
626
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
627
+ end
628
+ end
629
+
630
+ # Response message for listing all apps on the device.
631
+ class ListEndpointAppsResponse
632
+ include Google::Apis::Core::Hashable
633
+
634
+ # The list of matching EndpointApps found as a result of the request.
635
+ # Corresponds to the JSON property `endpointApps`
636
+ # @return [Array<Google::Apis::CloudidentityV1::EndpointApp>]
637
+ attr_accessor :endpoint_apps
638
+
639
+ # Token to retrieve the next page of results. Empty if there are no more
640
+ # results.
641
+ # Corresponds to the JSON property `nextPageToken`
642
+ # @return [String]
643
+ attr_accessor :next_page_token
644
+
645
+ def initialize(**args)
646
+ update!(**args)
647
+ end
648
+
649
+ # Update properties of this object
650
+ def update!(**args)
651
+ @endpoint_apps = args[:endpoint_apps] if args.key?(:endpoint_apps)
652
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
653
+ end
654
+ end
655
+
694
656
  # Response message for ListGroups operation.
695
657
  class ListGroupsResponse
696
658
  include Google::Apis::Core::Hashable
@@ -987,6 +949,45 @@ module Google
987
949
  @message = args[:message] if args.key?(:message)
988
950
  end
989
951
  end
952
+
953
+ # Response message for wiping all data on the device.
954
+ class WipeDeviceResponse
955
+ include Google::Apis::Core::Hashable
956
+
957
+ # Represents a Device known to Google Cloud, independent of the device
958
+ # ownership, type, and whether it is assigned or in use by a user.
959
+ # Corresponds to the JSON property `device`
960
+ # @return [Google::Apis::CloudidentityV1::Device]
961
+ attr_accessor :device
962
+
963
+ def initialize(**args)
964
+ update!(**args)
965
+ end
966
+
967
+ # Update properties of this object
968
+ def update!(**args)
969
+ @device = args[:device] if args.key?(:device)
970
+ end
971
+ end
972
+
973
+ # Response message for wiping the user's account from the device.
974
+ class WipeDeviceUserResponse
975
+ include Google::Apis::Core::Hashable
976
+
977
+ # A DeviceUser is a resource representing a user's use of a Device
978
+ # Corresponds to the JSON property `deviceUser`
979
+ # @return [Google::Apis::CloudidentityV1::DeviceUser]
980
+ attr_accessor :device_user
981
+
982
+ def initialize(**args)
983
+ update!(**args)
984
+ end
985
+
986
+ # Update properties of this object
987
+ def update!(**args)
988
+ @device_user = args[:device_user] if args.key?(:device_user)
989
+ end
990
+ end
990
991
  end
991
992
  end
992
993
  end