google-cloud-workstations-v1beta 0.7.0 → 0.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73ed5a2922f554c3d46a03c3d0f450d30b447316a005640ba4bc78685fc429d6
4
- data.tar.gz: 62c32abc554c0bfe638f1142461b66aff0341fff2127c7fa5c955a93d3fe09bc
3
+ metadata.gz: fac5ae34c238c26d7960ea805fcd0a12380f5bf9f10702800fa86c276f45c1ad
4
+ data.tar.gz: 0f8efaee3251cb766931efa5996b355892e1e5f17f0a7d73ac7e2f0832907ec4
5
5
  SHA512:
6
- metadata.gz: f69f4cc793f8ed7392db1673051247f6b9a3946de38b129e62edc4470209dc59e7b18a6c8c37ed11e671d7cf526368e9761d5fd67a90cee814b0d2dcf77148e2
7
- data.tar.gz: fdc1892b8d7e61518494d5f216f9ac787444286f3a7ab6547bba2a02c60213d3d24a462337dfb5aaac301e4840085804af3fe7311dd8acc4b214780947fb70bc
6
+ metadata.gz: a038697934fa7d40c805520e5fa6379f81cf3e5c3faa7f25cf3c155d325af08c2ba55a977ea4d39a5839893036a35ac35e45eba8ca3e0c7365e4ae0536a6845d
7
+ data.tar.gz: 0db16dd4b19dc9f1b3886c26aaf7089dc227bf79358c4c17403768449248eae30f1426bdfe937d0f337458083ff38b1df26f027ef127180e3179f5d672a40ab2
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Workstations
23
23
  module V1beta
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -2291,8 +2291,6 @@ module Google
2291
2291
  # @return [::String,nil]
2292
2292
  # @!attribute [rw] credentials
2293
2293
  # Credentials to send with calls. You may provide any of the following types:
2294
- # * (`String`) The path to a service account key file in JSON format
2295
- # * (`Hash`) A service account key as a Hash
2296
2294
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2297
2295
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2298
2296
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2301,7 +2299,26 @@ module Google
2301
2299
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2302
2300
  # * (`nil`) indicating no credentials
2303
2301
  #
2304
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2302
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2303
+ # is deprecated. Providing an unvalidated credential configuration to
2304
+ # Google APIs can compromise the security of your systems and data.
2305
+ #
2306
+ # @example
2307
+ #
2308
+ # # The recommended way to provide credentials is to use the `make_creds` method
2309
+ # # on the appropriate credentials class for your environment.
2310
+ #
2311
+ # require "googleauth"
2312
+ #
2313
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2314
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2315
+ # )
2316
+ #
2317
+ # client = ::Google::Cloud::Workstations::V1beta::Workstations::Client.new do |config|
2318
+ # config.credentials = credentials
2319
+ # end
2320
+ #
2321
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2305
2322
  # external source for authentication to Google Cloud, you must validate it before
2306
2323
  # providing it to a Google API client library. Providing an unvalidated credential
2307
2324
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -17,33 +17,8 @@ require 'google/rpc/status_pb'
17
17
 
18
18
  descriptor_data = "\n3google/cloud/workstations/v1beta/workstations.proto\x12 google.cloud.workstations.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x93\t\n\x12WorkstationCluster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12_\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x45.google.cloud.workstations.v1beta.WorkstationCluster.AnnotationsEntryB\x03\xe0\x41\x01\x12U\n\x06labels\x18\x0f \x03(\x0b\x32@.google.cloud.workstations.v1beta.WorkstationCluster.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07network\x18\n \x01(\tB\x03\xe0\x41\x05\x12\x17\n\nsubnetwork\x18\x0b \x01(\tB\x03\xe0\x41\x05\x12\x1d\n\x10\x63ontrol_plane_ip\x18\x10 \x01(\tB\x03\xe0\x41\x03\x12n\n\x16private_cluster_config\x18\x0c \x01(\x0b\x32I.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfigB\x03\xe0\x41\x01\x12\x15\n\x08\x64\x65graded\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x12+\n\nconditions\x18\x0e \x03(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x1a\x9f\x01\n\x14PrivateClusterConfig\x12$\n\x17\x65nable_private_endpoint\x18\x01 \x01(\x08\x42\x03\xe0\x41\x05\x12\x1d\n\x10\x63luster_hostname\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16service_attachment_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x61llowed_projects\x18\x04 \x03(\tB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb3\x01\xea\x41\xaf\x01\n.workstations.googleapis.com/WorkstationCluster\x12Qprojects/{project}/locations/{location}/workstationClusters/{workstation_cluster}*\x13workstationClusters2\x12workstationClusterR\x01\x01\"\xc2\x1e\n\x11WorkstationConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12^\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x44.google.cloud.workstations.v1beta.WorkstationConfig.AnnotationsEntryB\x03\xe0\x41\x01\x12T\n\x06labels\x18\x12 \x03(\x0b\x32?.google.cloud.workstations.v1beta.WorkstationConfig.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0cidle_timeout\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x37\n\x0frunning_timeout\x18\x0b \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12K\n\x04host\x18\x0c \x01(\x0b\x32\x38.google.cloud.workstations.v1beta.WorkstationConfig.HostB\x03\xe0\x41\x01\x12l\n\x16persistent_directories\x18\r \x03(\x0b\x32G.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectoryB\x03\xe0\x41\x01\x12j\n\x15\x65phemeral_directories\x18\x16 \x03(\x0b\x32\x46.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectoryB\x03\xe0\x41\x01\x12U\n\tcontainer\x18\x0e \x01(\x0b\x32=.google.cloud.workstations.v1beta.WorkstationConfig.ContainerB\x03\xe0\x41\x01\x12\x66\n\x0e\x65ncryption_key\x18\x11 \x01(\x0b\x32I.google.cloud.workstations.v1beta.WorkstationConfig.CustomerEncryptionKeyB\x03\xe0\x41\x05\x12\x61\n\x10readiness_checks\x18\x13 \x03(\x0b\x32\x42.google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheckB\x03\xe0\x41\x01\x12\x1d\n\rreplica_zones\x18\x17 \x03(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x15\n\x08\x64\x65graded\x18\x0f \x01(\x08\x42\x03\xe0\x41\x03\x12+\n\nconditions\x18\x10 \x03(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x1f\n\x12\x65nable_audit_agent\x18\x14 \x01(\x08\x42\x03\xe0\x41\x01\x1a\xa4\x08\n\x04Host\x12\\\n\x0cgce_instance\x18\x01 \x01(\x0b\x32\x44.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstanceH\x00\x1a\xb3\x07\n\x0bGceInstance\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12#\n\x16service_account_scopes\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x16\n\tpool_size\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1d\n\x10pooled_instances\x18\x0c \x01(\x05\x42\x03\xe0\x41\x03\x12(\n\x1b\x64isable_public_ip_addresses\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1c\x65nable_nested_virtualization\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01\x12\x85\x01\n\x18shielded_instance_config\x18\x08 \x01(\x0b\x32^.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.GceShieldedInstanceConfigB\x03\xe0\x41\x01\x12\x8d\x01\n\x1c\x63onfidential_instance_config\x18\n \x01(\x0b\x32\x62.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.GceConfidentialInstanceConfigB\x03\xe0\x41\x01\x12\x1e\n\x11\x62oot_disk_size_gb\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12k\n\x0c\x61\x63\x63\x65lerators\x18\x0b \x03(\x0b\x32P.google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.AcceleratorB\x03\xe0\x41\x01\x1a\x80\x01\n\x19GceShieldedInstanceConfig\x12\x1f\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x1aI\n\x1dGceConfidentialInstanceConfig\x12(\n\x1b\x65nable_confidential_compute\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x1a\x34\n\x0b\x41\x63\x63\x65lerator\x12\x11\n\x04type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x63ount\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x42\x08\n\x06\x63onfig\x1a\x8d\x04\n\x13PersistentDirectory\x12s\n\x06gce_pd\x18\x02 \x01(\x0b\x32\x61.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskH\x00\x12\x17\n\nmount_path\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a\xd5\x02\n\x19GceRegionalPersistentDisk\x12\x14\n\x07size_gb\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07\x66s_type\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tdisk_type\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fsource_snapshot\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x8c\x01\n\x0ereclaim_policy\x18\x04 \x01(\x0e\x32o.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicyB\x03\xe0\x41\x01\"G\n\rReclaimPolicy\x12\x1e\n\x1aRECLAIM_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\n\n\x06RETAIN\x10\x02\x42\x10\n\x0e\x64irectory_type\x1a\xa9\x02\n\x12\x45phemeralDirectory\x12j\n\x06gce_pd\x18\x03 \x01(\x0b\x32X.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDiskH\x00\x12\x17\n\nmount_path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a|\n\x11GcePersistentDisk\x12\x16\n\tdisk_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fsource_snapshot\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0csource_image\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tread_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x42\x10\n\x0e\x64irectory_type\x1a\x82\x02\n\tContainer\x12\x12\n\x05image\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x63ommand\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12\x11\n\x04\x61rgs\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12X\n\x03\x65nv\x18\x04 \x03(\x0b\x32\x46.google.cloud.workstations.v1beta.WorkstationConfig.Container.EnvEntryB\x03\xe0\x41\x01\x12\x18\n\x0bworking_dir\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0brun_as_user\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x1a*\n\x08\x45nvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aS\n\x15\x43ustomerEncryptionKey\x12\x14\n\x07kms_key\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12$\n\x17kms_key_service_account\x18\x02 \x01(\tB\x03\xe0\x41\x05\x1a\x36\n\x0eReadinessCheck\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xd8\x01\xea\x41\xd4\x01\n-workstations.googleapis.com/WorkstationConfig\x12yprojects/{project}/locations/{location}/workstationClusters/{workstation_cluster}/workstationConfigs/{workstation_config}*\x12workstationConfigs2\x11workstationConfigR\x01\x01\"\xfe\x08\n\x0bWorkstation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12X\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32>.google.cloud.workstations.v1beta.Workstation.AnnotationsEntryB\x03\xe0\x41\x01\x12N\n\x06labels\x18\r \x03(\x0b\x32\x39.google.cloud.workstations.v1beta.Workstation.LabelsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\t \x01(\tB\x03\xe0\x41\x01\x12G\n\x05state\x18\n \x01(\x0e\x32\x33.google.cloud.workstations.v1beta.Workstation.StateB\x03\xe0\x41\x03\x12\x11\n\x04host\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12H\n\x03\x65nv\x18\x0c \x03(\x0b\x32\x36.google.cloud.workstations.v1beta.Workstation.EnvEntryB\x03\xe0\x41\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a*\n\x08\x45nvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"l\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATE_STARTING\x10\x01\x12\x11\n\rSTATE_RUNNING\x10\x02\x12\x12\n\x0eSTATE_STOPPING\x10\x03\x12\x11\n\rSTATE_STOPPED\x10\x04:\xe2\x01\xea\x41\xde\x01\n\'workstations.googleapis.com/Workstation\x12\x94\x01projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}/workstationConfigs/{workstation_config}/workstations/{workstation}*\x0cworkstations2\x0bworkstationR\x01\x01\"d\n\x1cGetWorkstationClusterRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.workstations.googleapis.com/WorkstationCluster\"\x99\x01\n\x1eListWorkstationClustersRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.workstations.googleapis.com/WorkstationCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa3\x01\n\x1fListWorkstationClustersResponse\x12R\n\x14workstation_clusters\x18\x01 \x03(\x0b\x32\x34.google.cloud.workstations.v1beta.WorkstationCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x82\x02\n\x1f\x43reateWorkstationClusterRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.workstations.googleapis.com/WorkstationCluster\x12#\n\x16workstation_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12V\n\x13workstation_cluster\x18\x03 \x01(\x0b\x32\x34.google.cloud.workstations.v1beta.WorkstationClusterB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xe7\x01\n\x1fUpdateWorkstationClusterRequest\x12V\n\x13workstation_cluster\x18\x01 \x01(\x0b\x32\x34.google.cloud.workstations.v1beta.WorkstationClusterB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xaa\x01\n\x1f\x44\x65leteWorkstationClusterRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.workstations.googleapis.com/WorkstationCluster\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"b\n\x1bGetWorkstationConfigRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-workstations.googleapis.com/WorkstationConfig\"\x98\x01\n\x1dListWorkstationConfigsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.workstations.googleapis.com/WorkstationCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa0\x01\n\x1eListWorkstationConfigsResponse\x12P\n\x13workstation_configs\x18\x01 \x03(\x0b\x32\x33.google.cloud.workstations.v1beta.WorkstationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x9e\x01\n#ListUsableWorkstationConfigsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.workstations.googleapis.com/WorkstationCluster\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xa6\x01\n$ListUsableWorkstationConfigsResponse\x12P\n\x13workstation_configs\x18\x01 \x03(\x0b\x32\x33.google.cloud.workstations.v1beta.WorkstationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xfe\x01\n\x1e\x43reateWorkstationConfigRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.workstations.googleapis.com/WorkstationCluster\x12\"\n\x15workstation_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x12workstation_config\x18\x03 \x01(\x0b\x32\x33.google.cloud.workstations.v1beta.WorkstationConfigB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xe4\x01\n\x1eUpdateWorkstationConfigRequest\x12T\n\x12workstation_config\x18\x01 \x01(\x0b\x32\x33.google.cloud.workstations.v1beta.WorkstationConfigB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa8\x01\n\x1e\x44\x65leteWorkstationConfigRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-workstations.googleapis.com/WorkstationConfig\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x12\n\x05\x66orce\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"V\n\x15GetWorkstationRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'workstations.googleapis.com/Workstation\"\x91\x01\n\x17ListWorkstationsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-workstations.googleapis.com/WorkstationConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x97\x01\n\x18ListWorkstationsResponse\x12\x43\n\x0cworkstations\x18\x01 \x03(\x0b\x32-.google.cloud.workstations.v1beta.Workstation\x12\x1c\n\x0fnext_page_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x01\"\x97\x01\n\x1dListUsableWorkstationsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-workstations.googleapis.com/WorkstationConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x1eListUsableWorkstationsResponse\x12\x43\n\x0cworkstations\x18\x01 \x03(\x0b\x32-.google.cloud.workstations.v1beta.Workstation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe3\x01\n\x18\x43reateWorkstationRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-workstations.googleapis.com/WorkstationConfig\x12\x1b\n\x0eworkstation_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0bworkstation\x18\x03 \x01(\x0b\x32-.google.cloud.workstations.v1beta.WorkstationB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xd1\x01\n\x18UpdateWorkstationRequest\x12G\n\x0bworkstation\x18\x01 \x01(\x0b\x32-.google.cloud.workstations.v1beta.WorkstationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x88\x01\n\x18\x44\x65leteWorkstationRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'workstations.googleapis.com/Workstation\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n\x17StartWorkstationRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'workstations.googleapis.com/Workstation\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x86\x01\n\x16StopWorkstationRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'workstations.googleapis.com/Workstation\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xcd\x01\n\x1aGenerateAccessTokenRequest\x12\x31\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12(\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x44\n\x0bworkstation\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'workstations.googleapis.com/WorkstationB\x0c\n\nexpiration\"d\n\x1bGenerateAccessTokenResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12/\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xdf+\n\x0cWorkstations\x12\xd9\x01\n\x15GetWorkstationCluster\x12>.google.cloud.workstations.v1beta.GetWorkstationClusterRequest\x1a\x34.google.cloud.workstations.v1beta.WorkstationCluster\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1beta/{name=projects/*/locations/*/workstationClusters/*}\x12\xec\x01\n\x17ListWorkstationClusters\x12@.google.cloud.workstations.v1beta.ListWorkstationClustersRequest\x1a\x41.google.cloud.workstations.v1beta.ListWorkstationClustersResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1beta/{parent=projects/*/locations/*}/workstationClusters\x12\xb5\x02\n\x18\x43reateWorkstationCluster\x12\x41.google.cloud.workstations.v1beta.CreateWorkstationClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\'\n\x12WorkstationCluster\x12\x11OperationMetadata\xda\x41\x31parent,workstation_cluster,workstation_cluster_id\x82\xd3\xe4\x93\x02R\";/v1beta/{parent=projects/*/locations/*}/workstationClusters:\x13workstation_cluster\x12\xb7\x02\n\x18UpdateWorkstationCluster\x12\x41.google.cloud.workstations.v1beta.UpdateWorkstationClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\xca\x41\'\n\x12WorkstationCluster\x12\x11OperationMetadata\xda\x41\x1fworkstation_cluster,update_mask\x82\xd3\xe4\x93\x02\x66\x32O/v1beta/{workstation_cluster.name=projects/*/locations/*/workstationClusters/*}:\x13workstation_cluster\x12\xf2\x01\n\x18\x44\x65leteWorkstationCluster\x12\x41.google.cloud.workstations.v1beta.DeleteWorkstationClusterRequest\x1a\x1d.google.longrunning.Operation\"t\xca\x41\'\n\x12WorkstationCluster\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1beta/{name=projects/*/locations/*/workstationClusters/*}\x12\xeb\x01\n\x14GetWorkstationConfig\x12=.google.cloud.workstations.v1beta.GetWorkstationConfigRequest\x1a\x33.google.cloud.workstations.v1beta.WorkstationConfig\"_\xda\x41\x04name\x82\xd3\xe4\x93\x02R\x12P/v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}\x12\xfe\x01\n\x16ListWorkstationConfigs\x12?.google.cloud.workstations.v1beta.ListWorkstationConfigsRequest\x1a@.google.cloud.workstations.v1beta.ListWorkstationConfigsResponse\"a\xda\x41\x06parent\x82\xd3\xe4\x93\x02R\x12P/v1beta/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs\x12\x9b\x02\n\x1cListUsableWorkstationConfigs\x12\x45.google.cloud.workstations.v1beta.ListUsableWorkstationConfigsRequest\x1a\x46.google.cloud.workstations.v1beta.ListUsableWorkstationConfigsResponse\"l\xda\x41\x06parent\x82\xd3\xe4\x93\x02]\x12[/v1beta/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs:listUsable\x12\xc4\x02\n\x17\x43reateWorkstationConfig\x12@.google.cloud.workstations.v1beta.CreateWorkstationConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\xca\x41&\n\x11WorkstationConfig\x12\x11OperationMetadata\xda\x41/parent,workstation_config,workstation_config_id\x82\xd3\xe4\x93\x02\x66\"P/v1beta/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs:\x12workstation_config\x12\xc6\x02\n\x17UpdateWorkstationConfig\x12@.google.cloud.workstations.v1beta.UpdateWorkstationConfigRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\xca\x41&\n\x11WorkstationConfig\x12\x11OperationMetadata\xda\x41\x1eworkstation_config,update_mask\x82\xd3\xe4\x93\x02y2c/v1beta/{workstation_config.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}:\x12workstation_config\x12\x85\x02\n\x17\x44\x65leteWorkstationConfig\x12@.google.cloud.workstations.v1beta.DeleteWorkstationConfigRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41&\n\x11WorkstationConfig\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02R*P/v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}\x12\xe8\x01\n\x0eGetWorkstation\x12\x37.google.cloud.workstations.v1beta.GetWorkstationRequest\x1a-.google.cloud.workstations.v1beta.Workstation\"n\xda\x41\x04name\x82\xd3\xe4\x93\x02\x61\x12_/v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}\x12\xfb\x01\n\x10ListWorkstations\x12\x39.google.cloud.workstations.v1beta.ListWorkstationsRequest\x1a:.google.cloud.workstations.v1beta.ListWorkstationsResponse\"p\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x61\x12_/v1beta/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations\x12\x98\x02\n\x16ListUsableWorkstations\x12?.google.cloud.workstations.v1beta.ListUsableWorkstationsRequest\x1a@.google.cloud.workstations.v1beta.ListUsableWorkstationsResponse\"{\xda\x41\x06parent\x82\xd3\xe4\x93\x02l\x12j/v1beta/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations:listUsable\x12\xac\x02\n\x11\x43reateWorkstation\x12:.google.cloud.workstations.v1beta.CreateWorkstationRequest\x1a\x1d.google.longrunning.Operation\"\xbb\x01\xca\x41 \n\x0bWorkstation\x12\x11OperationMetadata\xda\x41!parent,workstation,workstation_id\x82\xd3\xe4\x93\x02n\"_/v1beta/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations:\x0bworkstation\x12\xae\x02\n\x11UpdateWorkstation\x12:.google.cloud.workstations.v1beta.UpdateWorkstationRequest\x1a\x1d.google.longrunning.Operation\"\xbd\x01\xca\x41 \n\x0bWorkstation\x12\x11OperationMetadata\xda\x41\x17workstation,update_mask\x82\xd3\xe4\x93\x02z2k/v1beta/{workstation.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:\x0bworkstation\x12\x82\x02\n\x11\x44\x65leteWorkstation\x12:.google.cloud.workstations.v1beta.DeleteWorkstationRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\xca\x41 \n\x0bWorkstation\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x61*_/v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}\x12\x89\x02\n\x10StartWorkstation\x12\x39.google.cloud.workstations.v1beta.StartWorkstationRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\xca\x41 \n\x0bWorkstation\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02j\"e/v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:start:\x01*\x12\x86\x02\n\x0fStopWorkstation\x12\x38.google.cloud.workstations.v1beta.StopWorkstationRequest\x1a\x1d.google.longrunning.Operation\"\x99\x01\xca\x41 \n\x0bWorkstation\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02i\"d/v1beta/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:stop:\x01*\x12\xa8\x02\n\x13GenerateAccessToken\x12<.google.cloud.workstations.v1beta.GenerateAccessTokenRequest\x1a=.google.cloud.workstations.v1beta.GenerateAccessTokenResponse\"\x93\x01\xda\x41\x0bworkstation\x82\xd3\xe4\x93\x02\x7f\"z/v1beta/{workstation=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:generateAccessToken:\x01*\x1aO\xca\x41\x1bworkstations.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x85\x01\n$com.google.cloud.workstations.v1betaB\x11WorkstationsProtoP\x01ZHcloud.google.com/go/workstations/apiv1beta/workstationspb;workstationspbb\x06proto3"
19
19
 
20
- pool = Google::Protobuf::DescriptorPool.generated_pool
21
-
22
- begin
23
- pool.add_serialized_file(descriptor_data)
24
- rescue TypeError
25
- # Compatibility code: will be removed in the next major version.
26
- require 'google/protobuf/descriptor_pb'
27
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
- parsed.clear_dependency
29
- serialized = parsed.class.encode(parsed)
30
- file = pool.add_serialized_file(serialized)
31
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
- imports = [
33
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
- ["google.rpc.Status", "google/rpc/status.proto"],
35
- ["google.protobuf.Duration", "google/protobuf/duration.proto"],
36
- ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
- ]
38
- imports.each do |type_name, expected_filename|
39
- import_file = pool.lookup(type_name).file_descriptor
40
- if import_file.name != expected_filename
41
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
- end
43
- end
44
- warn "Each proto file must use a consistent fully-qualified name."
45
- warn "This will become an error in the next major version."
46
- end
20
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
21
+ pool.add_serialized_file(descriptor_data)
47
22
 
48
23
  module Google
49
24
  module Cloud
@@ -141,9 +141,10 @@ module Google
141
141
  #
142
142
  # Example of a YAML configuration::
143
143
  #
144
- # publishing:
145
- # java_settings:
146
- # library_package: com.google.cloud.pubsub.v1
144
+ # publishing:
145
+ # library_settings:
146
+ # java_settings:
147
+ # library_package: com.google.cloud.pubsub.v1
147
148
  # @!attribute [rw] service_class_names
148
149
  # @return [::Google::Protobuf::Map{::String => ::String}]
149
150
  # Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ module Google
155
156
  #
156
157
  # Example of a YAML configuration::
157
158
  #
158
- # publishing:
159
- # java_settings:
160
- # service_class_names:
161
- # - google.pubsub.v1.Publisher: TopicAdmin
162
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
159
+ # publishing:
160
+ # java_settings:
161
+ # service_class_names:
162
+ # - google.pubsub.v1.Publisher: TopicAdmin
163
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
163
164
  # @!attribute [rw] common
164
165
  # @return [::Google::Api::CommonLanguageSettings]
165
166
  # Some settings.
@@ -190,6 +191,20 @@ module Google
190
191
  # @!attribute [rw] common
191
192
  # @return [::Google::Api::CommonLanguageSettings]
192
193
  # Some settings.
194
+ # @!attribute [rw] library_package
195
+ # @return [::String]
196
+ # The package name to use in Php. Clobbers the php_namespace option
197
+ # set in the protobuf. This should be used **only** by APIs
198
+ # who have already set the language_settings.php.package_name" field
199
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
200
+ # where possible.
201
+ #
202
+ # Example of a YAML configuration::
203
+ #
204
+ # publishing:
205
+ # library_settings:
206
+ # php_settings:
207
+ # library_package: Google\Cloud\PubSub\V1
193
208
  class PhpSettings
194
209
  include ::Google::Protobuf::MessageExts
195
210
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ module Google
318
333
  # service names and values are the name to be used for the service client
319
334
  # and call options.
320
335
  #
321
- # publishing:
322
- # go_settings:
323
- # renamed_services:
324
- # Publisher: TopicAdmin
336
+ # Example:
337
+ #
338
+ # publishing:
339
+ # go_settings:
340
+ # renamed_services:
341
+ # Publisher: TopicAdmin
325
342
  class GoSettings
326
343
  include ::Google::Protobuf::MessageExts
327
344
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ module Google
344
361
  #
345
362
  # Example:
346
363
  #
347
- # publishing:
348
- # method_settings:
349
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
350
- # # method settings for CreateFolder...
364
+ # publishing:
365
+ # method_settings:
366
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
367
+ # # method settings for CreateFolder...
351
368
  # @!attribute [rw] long_running
352
369
  # @return [::Google::Api::MethodSettings::LongRunning]
353
370
  # Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ module Google
356
373
  #
357
374
  # Example of a YAML configuration::
358
375
  #
359
- # publishing:
360
- # method_settings:
361
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
362
- # long_running:
363
- # initial_poll_delay: 60s # 1 minute
364
- # poll_delay_multiplier: 1.5
365
- # max_poll_delay: 360s # 6 minutes
366
- # total_poll_timeout: 54000s # 90 minutes
376
+ # publishing:
377
+ # method_settings:
378
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
379
+ # long_running:
380
+ # initial_poll_delay: 60s # 1 minute
381
+ # poll_delay_multiplier: 1.5
382
+ # max_poll_delay: 360s # 6 minutes
383
+ # total_poll_timeout: 54000s # 90 minutes
367
384
  # @!attribute [rw] auto_populated_fields
368
385
  # @return [::Array<::String>]
369
386
  # List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ module Google
372
389
  #
373
390
  # Example of a YAML configuration:
374
391
  #
375
- # publishing:
376
- # method_settings:
377
- # - selector: google.example.v1.ExampleService.CreateExample
378
- # auto_populated_fields:
379
- # - request_id
392
+ # publishing:
393
+ # method_settings:
394
+ # - selector: google.example.v1.ExampleService.CreateExample
395
+ # auto_populated_fields:
396
+ # - request_id
397
+ # @!attribute [rw] batching
398
+ # @return [::Google::Api::BatchingConfigProto]
399
+ # Batching configuration for an API method in client libraries.
400
+ #
401
+ # Example of a YAML configuration:
402
+ #
403
+ # publishing:
404
+ # method_settings:
405
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
406
+ # batching:
407
+ # element_count_threshold: 1000
408
+ # request_byte_threshold: 100000000
409
+ # delay_threshold_millis: 10
380
410
  class MethodSettings
381
411
  include ::Google::Protobuf::MessageExts
382
412
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ module Google
428
458
  extend ::Google::Protobuf::MessageExts::ClassMethods
429
459
  end
430
460
 
461
+ # `BatchingConfigProto` defines the batching configuration for an API method.
462
+ # @!attribute [rw] thresholds
463
+ # @return [::Google::Api::BatchingSettingsProto]
464
+ # The thresholds which trigger a batched request to be sent.
465
+ # @!attribute [rw] batch_descriptor
466
+ # @return [::Google::Api::BatchingDescriptorProto]
467
+ # The request and response fields used in batching.
468
+ class BatchingConfigProto
469
+ include ::Google::Protobuf::MessageExts
470
+ extend ::Google::Protobuf::MessageExts::ClassMethods
471
+ end
472
+
473
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
474
+ # which acts as a trigger to send a batch of messages as a request. At least
475
+ # one threshold must be positive nonzero.
476
+ # @!attribute [rw] element_count_threshold
477
+ # @return [::Integer]
478
+ # The number of elements of a field collected into a batch which, if
479
+ # exceeded, causes the batch to be sent.
480
+ # @!attribute [rw] request_byte_threshold
481
+ # @return [::Integer]
482
+ # The aggregated size of the batched field which, if exceeded, causes the
483
+ # batch to be sent. This size is computed by aggregating the sizes of the
484
+ # request field to be batched, not of the entire request message.
485
+ # @!attribute [rw] delay_threshold
486
+ # @return [::Google::Protobuf::Duration]
487
+ # The duration after which a batch should be sent, starting from the addition
488
+ # of the first message to that batch.
489
+ # @!attribute [rw] element_count_limit
490
+ # @return [::Integer]
491
+ # The maximum number of elements collected in a batch that could be accepted
492
+ # by server.
493
+ # @!attribute [rw] request_byte_limit
494
+ # @return [::Integer]
495
+ # The maximum size of the request that could be accepted by server.
496
+ # @!attribute [rw] flow_control_element_limit
497
+ # @return [::Integer]
498
+ # The maximum number of elements allowed by flow control.
499
+ # @!attribute [rw] flow_control_byte_limit
500
+ # @return [::Integer]
501
+ # The maximum size of data allowed by flow control.
502
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
503
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
504
+ # The behavior to take when the flow control limit is exceeded.
505
+ class BatchingSettingsProto
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
+ end
509
+
510
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
511
+ # used for batching, and, optionally, the fields of the response message to be
512
+ # used for demultiplexing.
513
+ # @!attribute [rw] batched_field
514
+ # @return [::String]
515
+ # The repeated field in the request message to be aggregated by batching.
516
+ # @!attribute [rw] discriminator_fields
517
+ # @return [::Array<::String>]
518
+ # A list of the fields in the request message. Two requests will be batched
519
+ # together only if the values of every field specified in
520
+ # `request_discriminator_fields` is equal between the two requests.
521
+ # @!attribute [rw] subresponse_field
522
+ # @return [::String]
523
+ # Optional. When present, indicates the field in the response message to be
524
+ # used to demultiplex the response into multiple response messages, in
525
+ # correspondence with the multiple request messages originally batched
526
+ # together.
527
+ class BatchingDescriptorProto
528
+ include ::Google::Protobuf::MessageExts
529
+ extend ::Google::Protobuf::MessageExts::ClassMethods
530
+ end
531
+
431
532
  # The organization for which the client libraries are being published.
432
533
  # Affects the url where generated docs are published, etc.
433
534
  module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module Google
469
570
  # Publish the library to package managers like nuget.org and npmjs.com.
470
571
  PACKAGE_MANAGER = 20
471
572
  end
573
+
574
+ # The behavior to take when the flow control limit is exceeded.
575
+ module FlowControlLimitExceededBehaviorProto
576
+ # Default behavior, system-defined.
577
+ UNSET_BEHAVIOR = 0
578
+
579
+ # Stop operation, raise error.
580
+ THROW_EXCEPTION = 1
581
+
582
+ # Pause operation until limit clears.
583
+ BLOCK = 2
584
+
585
+ # Continue operation, disregard limit.
586
+ IGNORE = 3
587
+ end
472
588
  end
473
589
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workstations-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -119,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
- version: '3.1'
122
+ version: '3.2'
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="