google-apis-workstations_v1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8dcad0ebacfcd17e15b96b483b8fddc3b99a4f397175551ced5bd18efb15c9d
4
- data.tar.gz: 26b2998ea2dd7637631bccb97346da22f75a25dd67739c80e09733a0b20b3ae1
3
+ metadata.gz: '09805e7ac3374f0347fc69da1e2fb763e26f5ad21747115e7e460cf830d3be11'
4
+ data.tar.gz: 53b4b331592848f38a2e9ce283479ec4a3ab25878e8dfdfd41dbcb016645fda7
5
5
  SHA512:
6
- metadata.gz: c1a0cf1e81e6990053111de6359cb67919b2531b540526b5efc51ecc5a5b329124bb0c75138242004dbe2876fbd2bb2d2fcce0e07fb26efac51ce91e835a432c
7
- data.tar.gz: d86bda9e5d6fda7e14d4a22c01dc1f5f6e7cb3de5b4a215e6a15313d230f14b2be067419896274ed5444cdb19021ebd933d281d0e029ab73eebe4ca7a9461a00
6
+ metadata.gz: a949b1e4584dfb357def1ff39ce01545a7bfaf387e591f62c431a879595e63ecf228aaaca5e174a61af16d69ae5c71d1900367e5ec8e3ce4ee11ffe8364aa7f2
7
+ data.tar.gz: 27d7e714f8288c5d126584ca5ac4479c99e3e556f2f218df2952e704a16452bf999da73a84598b4dead019688786942e6a5acca8075e38f64a8b077435722be2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-workstations_v1
2
2
 
3
+ ### v0.6.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240101
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.5.0 (2023-12-17)
9
+
10
+ * Regenerated from discovery document revision 20231129
11
+
3
12
  ### v0.4.0 (2023-11-12)
4
13
 
5
14
  * Regenerated from discovery document revision 20231101
@@ -132,21 +132,43 @@ module Google
132
132
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
133
133
  # email address that represents a Google group. For example, `admins@example.com`
134
134
  # . * `domain:`domain``: The G Suite domain (primary) that represents all the
135
- # users of that domain. For example, `google.com` or `example.com`. * `deleted:
136
- # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
137
- # representing a user that has been recently deleted. For example, `alice@
138
- # example.com?uid=123456789012345678901`. If the user is recovered, this value
139
- # reverts to `user:`emailid`` and the recovered user retains the role in the
140
- # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
141
- # (plus unique identifier) representing a service account that has been recently
142
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
135
+ # users of that domain. For example, `google.com` or `example.com`. * `principal:
136
+ # //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
137
+ # subject_attribute_value``: A single identity in a workforce identity pool. * `
138
+ # principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
139
+ # group/`group_id``: All workforce identities in a group. * `principalSet://iam.
140
+ # googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
141
+ # attribute_name`/`attribute_value``: All workforce identities with a specific
142
+ # attribute value. * `principalSet://iam.googleapis.com/locations/global/
143
+ # workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
144
+ # principal://iam.googleapis.com/projects/`project_number`/locations/global/
145
+ # workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
146
+ # identity in a workload identity pool. * `principalSet://iam.googleapis.com/
147
+ # projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
148
+ # group/`group_id``: A workload identity pool group. * `principalSet://iam.
149
+ # googleapis.com/projects/`project_number`/locations/global/
150
+ # workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
151
+ # All identities in a workload identity pool with a certain attribute. * `
152
+ # principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
153
+ # workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
154
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
155
+ # identifier) representing a user that has been recently deleted. For example, `
156
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
157
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
158
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
159
+ # address (plus unique identifier) representing a service account that has been
160
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
143
161
  # 123456789012345678901`. If the service account is undeleted, this value
144
162
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
145
163
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
146
164
  # An email address (plus unique identifier) representing a Google group that has
147
165
  # been recently deleted. For example, `admins@example.com?uid=
148
166
  # 123456789012345678901`. If the group is recovered, this value reverts to `
149
- # group:`emailid`` and the recovered group retains the role in the binding.
167
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
168
+ # deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
169
+ # pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
170
+ # workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
171
+ # locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
150
172
  # Corresponds to the JSON property `members`
151
173
  # @return [Array<String>]
152
174
  attr_accessor :members
@@ -276,6 +298,25 @@ module Google
276
298
  end
277
299
  end
278
300
 
301
+ # Configuration options for a custom domain.
302
+ class DomainConfig
303
+ include Google::Apis::Core::Hashable
304
+
305
+ # Immutable. Domain used by Workstations for HTTP ingress.
306
+ # Corresponds to the JSON property `domain`
307
+ # @return [String]
308
+ attr_accessor :domain
309
+
310
+ def initialize(**args)
311
+ update!(**args)
312
+ end
313
+
314
+ # Update properties of this object
315
+ def update!(**args)
316
+ @domain = args[:domain] if args.key?(:domain)
317
+ end
318
+ end
319
+
279
320
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
280
321
  # CEL is a C-like expression language. The syntax and semantics of CEL are
281
322
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -1474,6 +1515,13 @@ module Google
1474
1515
  # @return [String]
1475
1516
  attr_accessor :host
1476
1517
 
1518
+ # Output only. The name of the Google Cloud KMS encryption key used to encrypt
1519
+ # this workstation. The KMS key can only be configured in the WorkstationConfig.
1520
+ # The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
1521
+ # Corresponds to the JSON property `kmsKey`
1522
+ # @return [String]
1523
+ attr_accessor :kms_key
1524
+
1477
1525
  # Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources)
1478
1526
  # that are applied to the workstation and that are also propagated to the
1479
1527
  # underlying Compute Engine resources.
@@ -1527,6 +1575,7 @@ module Google
1527
1575
  @env = args[:env] if args.key?(:env)
1528
1576
  @etag = args[:etag] if args.key?(:etag)
1529
1577
  @host = args[:host] if args.key?(:host)
1578
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
1530
1579
  @labels = args[:labels] if args.key?(:labels)
1531
1580
  @name = args[:name] if args.key?(:name)
1532
1581
  @reconciling = args[:reconciling] if args.key?(:reconciling)
@@ -1584,6 +1633,11 @@ module Google
1584
1633
  # @return [String]
1585
1634
  attr_accessor :display_name
1586
1635
 
1636
+ # Configuration options for a custom domain.
1637
+ # Corresponds to the JSON property `domainConfig`
1638
+ # @return [Google::Apis::WorkstationsV1::DomainConfig]
1639
+ attr_accessor :domain_config
1640
+
1587
1641
  # Optional. Checksum computed by the server. May be sent on update and delete
1588
1642
  # requests to make sure that the client has an up-to-date value before
1589
1643
  # proceeding.
@@ -1651,6 +1705,7 @@ module Google
1651
1705
  @degraded = args[:degraded] if args.key?(:degraded)
1652
1706
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1653
1707
  @display_name = args[:display_name] if args.key?(:display_name)
1708
+ @domain_config = args[:domain_config] if args.key?(:domain_config)
1654
1709
  @etag = args[:etag] if args.key?(:etag)
1655
1710
  @labels = args[:labels] if args.key?(:labels)
1656
1711
  @name = args[:name] if args.key?(:name)
@@ -1705,11 +1760,31 @@ module Google
1705
1760
  # @return [String]
1706
1761
  attr_accessor :delete_time
1707
1762
 
1763
+ # Optional. Disables support for plain TCP connections in the workstation. By
1764
+ # default the service supports TCP connections via a websocket relay. Setting
1765
+ # this option to true disables that relay, which prevents the usage of services
1766
+ # that require plain tcp connections, such as ssh. When enabled, all
1767
+ # communication must occur over https or wss.
1768
+ # Corresponds to the JSON property `disableTcpConnections`
1769
+ # @return [Boolean]
1770
+ attr_accessor :disable_tcp_connections
1771
+ alias_method :disable_tcp_connections?, :disable_tcp_connections
1772
+
1708
1773
  # Optional. Human-readable name for this workstation configuration.
1709
1774
  # Corresponds to the JSON property `displayName`
1710
1775
  # @return [String]
1711
1776
  attr_accessor :display_name
1712
1777
 
1778
+ # Optional. Whether to enable Linux `auditd` logging on the workstation. When
1779
+ # enabled, a service account must also be specified that has `logging.buckets.
1780
+ # write` permission on the project. Operating system audit logging is distinct
1781
+ # from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-
1782
+ # logging).
1783
+ # Corresponds to the JSON property `enableAuditAgent`
1784
+ # @return [Boolean]
1785
+ attr_accessor :enable_audit_agent
1786
+ alias_method :enable_audit_agent?, :enable_audit_agent
1787
+
1713
1788
  # A customer-managed encryption key (CMEK) for the Compute Engine resources of
1714
1789
  # the associated workstation configuration. Specify the name of your Cloud KMS
1715
1790
  # encryption key and the default service account. We recommend that you use a
@@ -1822,7 +1897,9 @@ module Google
1822
1897
  @create_time = args[:create_time] if args.key?(:create_time)
1823
1898
  @degraded = args[:degraded] if args.key?(:degraded)
1824
1899
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1900
+ @disable_tcp_connections = args[:disable_tcp_connections] if args.key?(:disable_tcp_connections)
1825
1901
  @display_name = args[:display_name] if args.key?(:display_name)
1902
+ @enable_audit_agent = args[:enable_audit_agent] if args.key?(:enable_audit_agent)
1826
1903
  @encryption_key = args[:encryption_key] if args.key?(:encryption_key)
1827
1904
  @etag = args[:etag] if args.key?(:etag)
1828
1905
  @host = args[:host] if args.key?(:host)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkstationsV1
18
18
  # Version of the google-apis-workstations_v1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231101"
25
+ REVISION = "20240101"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class DomainConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Expr
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -303,6 +309,13 @@ module Google
303
309
  end
304
310
  end
305
311
 
312
+ class DomainConfig
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ property :domain, as: 'domain'
316
+ end
317
+ end
318
+
306
319
  class Expr
307
320
  # @private
308
321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -590,6 +603,7 @@ module Google
590
603
  hash :env, as: 'env'
591
604
  property :etag, as: 'etag'
592
605
  property :host, as: 'host'
606
+ property :kms_key, as: 'kmsKey'
593
607
  hash :labels, as: 'labels'
594
608
  property :name, as: 'name'
595
609
  property :reconciling, as: 'reconciling'
@@ -611,6 +625,8 @@ module Google
611
625
  property :degraded, as: 'degraded'
612
626
  property :delete_time, as: 'deleteTime'
613
627
  property :display_name, as: 'displayName'
628
+ property :domain_config, as: 'domainConfig', class: Google::Apis::WorkstationsV1::DomainConfig, decorator: Google::Apis::WorkstationsV1::DomainConfig::Representation
629
+
614
630
  property :etag, as: 'etag'
615
631
  hash :labels, as: 'labels'
616
632
  property :name, as: 'name'
@@ -635,7 +651,9 @@ module Google
635
651
  property :create_time, as: 'createTime'
636
652
  property :degraded, as: 'degraded'
637
653
  property :delete_time, as: 'deleteTime'
654
+ property :disable_tcp_connections, as: 'disableTcpConnections'
638
655
  property :display_name, as: 'displayName'
656
+ property :enable_audit_agent, as: 'enableAuditAgent'
639
657
  property :encryption_key, as: 'encryptionKey', class: Google::Apis::WorkstationsV1::CustomerEncryptionKey, decorator: Google::Apis::WorkstationsV1::CustomerEncryptionKey::Representation
640
658
 
641
659
  property :etag, as: 'etag'
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/workstations
34
34
  class CloudWorkstationsService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://workstations.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://workstations.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-workstations_v1',
48
50
  client_version: Google::Apis::WorkstationsV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workstations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workstations_v1/v0.6.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workstations_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Workstations API V1