google-cloud-sql 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl

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.
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.1.2" # {x-release-please-version}
16
+ __version__ = "0.1.3" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.1.2" # {x-release-please-version}
16
+ __version__ = "0.1.3" # {x-release-please-version}
@@ -421,6 +421,8 @@ class User(proto.Message):
421
421
  Workforce Identity Federation.
422
422
  ENTRAID_USER (7):
423
423
  Microsoft Entra ID user.
424
+ ACTIVE_DIRECTORY_USER (8):
425
+ Active Directory user.
424
426
  """
425
427
 
426
428
  BUILT_IN = 0
@@ -431,6 +433,7 @@ class User(proto.Message):
431
433
  CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5
432
434
  CLOUD_IAM_WORKFORCE_IDENTITY = 6
433
435
  ENTRAID_USER = 7
436
+ ACTIVE_DIRECTORY_USER = 8
434
437
 
435
438
  class DualPasswordType(proto.Enum):
436
439
  r"""The type of retained password.
@@ -354,12 +354,12 @@ from .types.cloud_sql_users import (
354
354
  )
355
355
  from .types.cloud_sql_workload_captures import (
356
356
  SqlWorkloadCapturesListRequest,
357
- SqlWorkloadCapturesStartReplayRequest,
358
- SqlWorkloadCapturesStartRequest,
359
- SqlWorkloadCapturesStopReplayRequest,
360
- SqlWorkloadCapturesStopRequest,
361
357
  WorkloadCapture,
362
358
  WorkloadCapturesListResponse,
359
+ WorkloadCapturesStartReplayRequest,
360
+ WorkloadCapturesStartRequest,
361
+ WorkloadCapturesStopReplayRequest,
362
+ WorkloadCapturesStopRequest,
363
363
  )
364
364
 
365
365
  __all__ = (
@@ -605,10 +605,6 @@ __all__ = (
605
605
  "SqlUsersUpdateRequest",
606
606
  "SqlWorkloadCapturesListRequest",
607
607
  "SqlWorkloadCapturesServiceClient",
608
- "SqlWorkloadCapturesStartReplayRequest",
609
- "SqlWorkloadCapturesStartRequest",
610
- "SqlWorkloadCapturesStopReplayRequest",
611
- "SqlWorkloadCapturesStopRequest",
612
608
  "SslCert",
613
609
  "SslCertDetail",
614
610
  "SslCertsCreateEphemeralRequest",
@@ -635,6 +631,10 @@ __all__ = (
635
631
  "Value",
636
632
  "WorkloadCapture",
637
633
  "WorkloadCapturesListResponse",
634
+ "WorkloadCapturesStartReplayRequest",
635
+ "WorkloadCapturesStartRequest",
636
+ "WorkloadCapturesStopReplayRequest",
637
+ "WorkloadCapturesStopRequest",
638
638
  )
639
639
 
640
640
  api_core.check_python_version("google.cloud.sqladmin_v1beta4")
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.1.2" # {x-release-please-version}
16
+ __version__ = "0.1.3" # {x-release-please-version}
@@ -81,6 +81,10 @@ class SqlWorkloadCapturesServiceAsyncClient:
81
81
  )
82
82
  _DEFAULT_UNIVERSE = SqlWorkloadCapturesServiceClient._DEFAULT_UNIVERSE
83
83
 
84
+ instance_path = staticmethod(SqlWorkloadCapturesServiceClient.instance_path)
85
+ parse_instance_path = staticmethod(
86
+ SqlWorkloadCapturesServiceClient.parse_instance_path
87
+ )
84
88
  common_billing_account_path = staticmethod(
85
89
  SqlWorkloadCapturesServiceClient.common_billing_account_path
86
90
  )
@@ -318,7 +322,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
318
322
  async def start(
319
323
  self,
320
324
  request: Optional[
321
- Union[cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest, dict]
325
+ Union[cloud_sql_workload_captures.WorkloadCapturesStartRequest, dict]
322
326
  ] = None,
323
327
  *,
324
328
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -349,7 +353,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
349
353
  client = sqladmin_v1beta4.SqlWorkloadCapturesServiceAsyncClient()
350
354
 
351
355
  # Initialize request argument(s)
352
- request = sqladmin_v1beta4.SqlWorkloadCapturesStartRequest(
356
+ request = sqladmin_v1beta4.WorkloadCapturesStartRequest(
353
357
  project="project_value",
354
358
  instance="instance_value",
355
359
  )
@@ -361,7 +365,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
361
365
  print(response)
362
366
 
363
367
  Args:
364
- request (Optional[Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStartRequest, dict]]):
368
+ request (Optional[Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStartRequest, dict]]):
365
369
  The request object. Request to start recording traffic
366
370
  from the primary instance (captured
367
371
  workload).
@@ -386,11 +390,9 @@ class SqlWorkloadCapturesServiceAsyncClient:
386
390
  # - Use the request object if provided (there's no risk of modifying the input as
387
391
  # there are no flattened fields), or create one.
388
392
  if not isinstance(
389
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest
393
+ request, cloud_sql_workload_captures.WorkloadCapturesStartRequest
390
394
  ):
391
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest(
392
- request
393
- )
395
+ request = cloud_sql_workload_captures.WorkloadCapturesStartRequest(request)
394
396
 
395
397
  # Wrap the RPC method; this adds retry and timeout information,
396
398
  # and friendly error handling.
@@ -424,7 +426,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
424
426
  async def stop(
425
427
  self,
426
428
  request: Optional[
427
- Union[cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest, dict]
429
+ Union[cloud_sql_workload_captures.WorkloadCapturesStopRequest, dict]
428
430
  ] = None,
429
431
  *,
430
432
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -450,7 +452,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
450
452
  client = sqladmin_v1beta4.SqlWorkloadCapturesServiceAsyncClient()
451
453
 
452
454
  # Initialize request argument(s)
453
- request = sqladmin_v1beta4.SqlWorkloadCapturesStopRequest(
455
+ request = sqladmin_v1beta4.WorkloadCapturesStopRequest(
454
456
  project="project_value",
455
457
  instance="instance_value",
456
458
  )
@@ -462,7 +464,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
462
464
  print(response)
463
465
 
464
466
  Args:
465
- request (Optional[Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStopRequest, dict]]):
467
+ request (Optional[Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStopRequest, dict]]):
466
468
  The request object. Request to stop recording traffic
467
469
  from the primary instance.
468
470
  retry (google.api_core.retry_async.AsyncRetry): Designation of what errors, if any,
@@ -486,11 +488,9 @@ class SqlWorkloadCapturesServiceAsyncClient:
486
488
  # - Use the request object if provided (there's no risk of modifying the input as
487
489
  # there are no flattened fields), or create one.
488
490
  if not isinstance(
489
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest
491
+ request, cloud_sql_workload_captures.WorkloadCapturesStopRequest
490
492
  ):
491
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest(
492
- request
493
- )
493
+ request = cloud_sql_workload_captures.WorkloadCapturesStopRequest(request)
494
494
 
495
495
  # Wrap the RPC method; this adds retry and timeout information,
496
496
  # and friendly error handling.
@@ -524,9 +524,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
524
524
  async def start_replay(
525
525
  self,
526
526
  request: Optional[
527
- Union[
528
- cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest, dict
529
- ]
527
+ Union[cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest, dict]
530
528
  ] = None,
531
529
  *,
532
530
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -557,7 +555,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
557
555
  start_workload_replay_context = sqladmin_v1beta4.StartWorkloadReplayContext()
558
556
  start_workload_replay_context.replay_instance = "replay_instance_value"
559
557
 
560
- request = sqladmin_v1beta4.SqlWorkloadCapturesStartReplayRequest(
558
+ request = sqladmin_v1beta4.WorkloadCapturesStartReplayRequest(
561
559
  project="project_value",
562
560
  instance="instance_value",
563
561
  start_workload_replay_context=start_workload_replay_context,
@@ -571,7 +569,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
571
569
  print(response)
572
570
 
573
571
  Args:
574
- request (Optional[Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStartReplayRequest, dict]]):
572
+ request (Optional[Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStartReplayRequest, dict]]):
575
573
  The request object. Request to start executing a captured
576
574
  workload on a replay instance (the Cloud
577
575
  SQL instance where the recorded SQL
@@ -597,9 +595,9 @@ class SqlWorkloadCapturesServiceAsyncClient:
597
595
  # - Use the request object if provided (there's no risk of modifying the input as
598
596
  # there are no flattened fields), or create one.
599
597
  if not isinstance(
600
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest
598
+ request, cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest
601
599
  ):
602
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest(
600
+ request = cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest(
603
601
  request
604
602
  )
605
603
 
@@ -638,9 +636,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
638
636
  async def stop_replay(
639
637
  self,
640
638
  request: Optional[
641
- Union[
642
- cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest, dict
643
- ]
639
+ Union[cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest, dict]
644
640
  ] = None,
645
641
  *,
646
642
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -666,7 +662,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
666
662
  client = sqladmin_v1beta4.SqlWorkloadCapturesServiceAsyncClient()
667
663
 
668
664
  # Initialize request argument(s)
669
- request = sqladmin_v1beta4.SqlWorkloadCapturesStopReplayRequest(
665
+ request = sqladmin_v1beta4.WorkloadCapturesStopReplayRequest(
670
666
  project="project_value",
671
667
  instance="instance_value",
672
668
  )
@@ -678,7 +674,7 @@ class SqlWorkloadCapturesServiceAsyncClient:
678
674
  print(response)
679
675
 
680
676
  Args:
681
- request (Optional[Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStopReplayRequest, dict]]):
677
+ request (Optional[Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStopReplayRequest, dict]]):
682
678
  The request object. Request to stop an active workload
683
679
  replay on a target Cloud SQL replay
684
680
  instance.
@@ -703,9 +699,9 @@ class SqlWorkloadCapturesServiceAsyncClient:
703
699
  # - Use the request object if provided (there's no risk of modifying the input as
704
700
  # there are no flattened fields), or create one.
705
701
  if not isinstance(
706
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest
702
+ request, cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest
707
703
  ):
708
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest(
704
+ request = cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest(
709
705
  request
710
706
  )
711
707
 
@@ -175,6 +175,23 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
175
175
  """
176
176
  return self._transport
177
177
 
178
+ @staticmethod
179
+ def instance_path(
180
+ project: str,
181
+ instance: str,
182
+ ) -> str:
183
+ """Returns a fully-qualified instance string."""
184
+ return "projects/{project}/instances/{instance}".format(
185
+ project=project,
186
+ instance=instance,
187
+ )
188
+
189
+ @staticmethod
190
+ def parse_instance_path(path: str) -> Dict[str, str]:
191
+ """Parses a instance path into its component segments."""
192
+ m = re.match(r"^projects/(?P<project>.+?)/instances/(?P<instance>.+?)$", path)
193
+ return m.groupdict() if m else {}
194
+
178
195
  @staticmethod
179
196
  def common_billing_account_path(
180
197
  billing_account: str,
@@ -584,7 +601,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
584
601
  def start(
585
602
  self,
586
603
  request: Optional[
587
- Union[cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest, dict]
604
+ Union[cloud_sql_workload_captures.WorkloadCapturesStartRequest, dict]
588
605
  ] = None,
589
606
  *,
590
607
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -615,7 +632,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
615
632
  client = sqladmin_v1beta4.SqlWorkloadCapturesServiceClient()
616
633
 
617
634
  # Initialize request argument(s)
618
- request = sqladmin_v1beta4.SqlWorkloadCapturesStartRequest(
635
+ request = sqladmin_v1beta4.WorkloadCapturesStartRequest(
619
636
  project="project_value",
620
637
  instance="instance_value",
621
638
  )
@@ -627,7 +644,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
627
644
  print(response)
628
645
 
629
646
  Args:
630
- request (Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStartRequest, dict]):
647
+ request (Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStartRequest, dict]):
631
648
  The request object. Request to start recording traffic
632
649
  from the primary instance (captured
633
650
  workload).
@@ -652,11 +669,9 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
652
669
  # - Use the request object if provided (there's no risk of modifying the input as
653
670
  # there are no flattened fields), or create one.
654
671
  if not isinstance(
655
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest
672
+ request, cloud_sql_workload_captures.WorkloadCapturesStartRequest
656
673
  ):
657
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest(
658
- request
659
- )
674
+ request = cloud_sql_workload_captures.WorkloadCapturesStartRequest(request)
660
675
 
661
676
  # Wrap the RPC method; this adds retry and timeout information,
662
677
  # and friendly error handling.
@@ -690,7 +705,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
690
705
  def stop(
691
706
  self,
692
707
  request: Optional[
693
- Union[cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest, dict]
708
+ Union[cloud_sql_workload_captures.WorkloadCapturesStopRequest, dict]
694
709
  ] = None,
695
710
  *,
696
711
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -716,7 +731,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
716
731
  client = sqladmin_v1beta4.SqlWorkloadCapturesServiceClient()
717
732
 
718
733
  # Initialize request argument(s)
719
- request = sqladmin_v1beta4.SqlWorkloadCapturesStopRequest(
734
+ request = sqladmin_v1beta4.WorkloadCapturesStopRequest(
720
735
  project="project_value",
721
736
  instance="instance_value",
722
737
  )
@@ -728,7 +743,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
728
743
  print(response)
729
744
 
730
745
  Args:
731
- request (Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStopRequest, dict]):
746
+ request (Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStopRequest, dict]):
732
747
  The request object. Request to stop recording traffic
733
748
  from the primary instance.
734
749
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -752,11 +767,9 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
752
767
  # - Use the request object if provided (there's no risk of modifying the input as
753
768
  # there are no flattened fields), or create one.
754
769
  if not isinstance(
755
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest
770
+ request, cloud_sql_workload_captures.WorkloadCapturesStopRequest
756
771
  ):
757
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest(
758
- request
759
- )
772
+ request = cloud_sql_workload_captures.WorkloadCapturesStopRequest(request)
760
773
 
761
774
  # Wrap the RPC method; this adds retry and timeout information,
762
775
  # and friendly error handling.
@@ -790,9 +803,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
790
803
  def start_replay(
791
804
  self,
792
805
  request: Optional[
793
- Union[
794
- cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest, dict
795
- ]
806
+ Union[cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest, dict]
796
807
  ] = None,
797
808
  *,
798
809
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -823,7 +834,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
823
834
  start_workload_replay_context = sqladmin_v1beta4.StartWorkloadReplayContext()
824
835
  start_workload_replay_context.replay_instance = "replay_instance_value"
825
836
 
826
- request = sqladmin_v1beta4.SqlWorkloadCapturesStartReplayRequest(
837
+ request = sqladmin_v1beta4.WorkloadCapturesStartReplayRequest(
827
838
  project="project_value",
828
839
  instance="instance_value",
829
840
  start_workload_replay_context=start_workload_replay_context,
@@ -837,7 +848,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
837
848
  print(response)
838
849
 
839
850
  Args:
840
- request (Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStartReplayRequest, dict]):
851
+ request (Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStartReplayRequest, dict]):
841
852
  The request object. Request to start executing a captured
842
853
  workload on a replay instance (the Cloud
843
854
  SQL instance where the recorded SQL
@@ -863,9 +874,9 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
863
874
  # - Use the request object if provided (there's no risk of modifying the input as
864
875
  # there are no flattened fields), or create one.
865
876
  if not isinstance(
866
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest
877
+ request, cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest
867
878
  ):
868
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest(
879
+ request = cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest(
869
880
  request
870
881
  )
871
882
 
@@ -902,9 +913,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
902
913
  def stop_replay(
903
914
  self,
904
915
  request: Optional[
905
- Union[
906
- cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest, dict
907
- ]
916
+ Union[cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest, dict]
908
917
  ] = None,
909
918
  *,
910
919
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
@@ -930,7 +939,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
930
939
  client = sqladmin_v1beta4.SqlWorkloadCapturesServiceClient()
931
940
 
932
941
  # Initialize request argument(s)
933
- request = sqladmin_v1beta4.SqlWorkloadCapturesStopReplayRequest(
942
+ request = sqladmin_v1beta4.WorkloadCapturesStopReplayRequest(
934
943
  project="project_value",
935
944
  instance="instance_value",
936
945
  )
@@ -942,7 +951,7 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
942
951
  print(response)
943
952
 
944
953
  Args:
945
- request (Union[google.cloud.sqladmin_v1beta4.types.SqlWorkloadCapturesStopReplayRequest, dict]):
954
+ request (Union[google.cloud.sqladmin_v1beta4.types.WorkloadCapturesStopReplayRequest, dict]):
946
955
  The request object. Request to stop an active workload
947
956
  replay on a target Cloud SQL replay
948
957
  instance.
@@ -967,9 +976,9 @@ class SqlWorkloadCapturesServiceClient(metaclass=SqlWorkloadCapturesServiceClien
967
976
  # - Use the request object if provided (there's no risk of modifying the input as
968
977
  # there are no flattened fields), or create one.
969
978
  if not isinstance(
970
- request, cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest
979
+ request, cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest
971
980
  ):
972
- request = cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest(
981
+ request = cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest(
973
982
  request
974
983
  )
975
984
 
@@ -188,7 +188,7 @@ class SqlWorkloadCapturesServiceTransport(abc.ABC):
188
188
  def start(
189
189
  self,
190
190
  ) -> Callable[
191
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest],
191
+ [cloud_sql_workload_captures.WorkloadCapturesStartRequest],
192
192
  Union[cloud_sql_resources.Operation, Awaitable[cloud_sql_resources.Operation]],
193
193
  ]:
194
194
  raise NotImplementedError()
@@ -197,7 +197,7 @@ class SqlWorkloadCapturesServiceTransport(abc.ABC):
197
197
  def stop(
198
198
  self,
199
199
  ) -> Callable[
200
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest],
200
+ [cloud_sql_workload_captures.WorkloadCapturesStopRequest],
201
201
  Union[cloud_sql_resources.Operation, Awaitable[cloud_sql_resources.Operation]],
202
202
  ]:
203
203
  raise NotImplementedError()
@@ -206,7 +206,7 @@ class SqlWorkloadCapturesServiceTransport(abc.ABC):
206
206
  def start_replay(
207
207
  self,
208
208
  ) -> Callable[
209
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest],
209
+ [cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest],
210
210
  Union[cloud_sql_resources.Operation, Awaitable[cloud_sql_resources.Operation]],
211
211
  ]:
212
212
  raise NotImplementedError()
@@ -215,7 +215,7 @@ class SqlWorkloadCapturesServiceTransport(abc.ABC):
215
215
  def stop_replay(
216
216
  self,
217
217
  ) -> Callable[
218
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest],
218
+ [cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest],
219
219
  Union[cloud_sql_resources.Operation, Awaitable[cloud_sql_resources.Operation]],
220
220
  ]:
221
221
  raise NotImplementedError()
@@ -334,7 +334,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
334
334
  def start(
335
335
  self,
336
336
  ) -> Callable[
337
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest],
337
+ [cloud_sql_workload_captures.WorkloadCapturesStartRequest],
338
338
  cloud_sql_resources.Operation,
339
339
  ]:
340
340
  r"""Return a callable for the start method over gRPC.
@@ -348,7 +348,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
348
348
  applying them to production.
349
349
 
350
350
  Returns:
351
- Callable[[~.SqlWorkloadCapturesStartRequest],
351
+ Callable[[~.WorkloadCapturesStartRequest],
352
352
  ~.Operation]:
353
353
  A function that, when called, will call the underlying RPC
354
354
  on the server.
@@ -360,7 +360,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
360
360
  if "start" not in self._stubs:
361
361
  self._stubs["start"] = self._logged_channel.unary_unary(
362
362
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/Start",
363
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest.serialize,
363
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStartRequest.serialize,
364
364
  response_deserializer=cloud_sql_resources.Operation.deserialize,
365
365
  )
366
366
  return self._stubs["start"]
@@ -369,7 +369,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
369
369
  def stop(
370
370
  self,
371
371
  ) -> Callable[
372
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest],
372
+ [cloud_sql_workload_captures.WorkloadCapturesStopRequest],
373
373
  cloud_sql_resources.Operation,
374
374
  ]:
375
375
  r"""Return a callable for the stop method over gRPC.
@@ -378,7 +378,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
378
378
  operations executed on the primary instance.
379
379
 
380
380
  Returns:
381
- Callable[[~.SqlWorkloadCapturesStopRequest],
381
+ Callable[[~.WorkloadCapturesStopRequest],
382
382
  ~.Operation]:
383
383
  A function that, when called, will call the underlying RPC
384
384
  on the server.
@@ -390,7 +390,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
390
390
  if "stop" not in self._stubs:
391
391
  self._stubs["stop"] = self._logged_channel.unary_unary(
392
392
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/Stop",
393
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest.serialize,
393
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStopRequest.serialize,
394
394
  response_deserializer=cloud_sql_resources.Operation.deserialize,
395
395
  )
396
396
  return self._stubs["stop"]
@@ -399,7 +399,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
399
399
  def start_replay(
400
400
  self,
401
401
  ) -> Callable[
402
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest],
402
+ [cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest],
403
403
  cloud_sql_resources.Operation,
404
404
  ]:
405
405
  r"""Return a callable for the start replay method over gRPC.
@@ -410,7 +410,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
410
410
  without affecting the primary instance.
411
411
 
412
412
  Returns:
413
- Callable[[~.SqlWorkloadCapturesStartReplayRequest],
413
+ Callable[[~.WorkloadCapturesStartReplayRequest],
414
414
  ~.Operation]:
415
415
  A function that, when called, will call the underlying RPC
416
416
  on the server.
@@ -422,7 +422,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
422
422
  if "start_replay" not in self._stubs:
423
423
  self._stubs["start_replay"] = self._logged_channel.unary_unary(
424
424
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/StartReplay",
425
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest.serialize,
425
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest.serialize,
426
426
  response_deserializer=cloud_sql_resources.Operation.deserialize,
427
427
  )
428
428
  return self._stubs["start_replay"]
@@ -431,7 +431,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
431
431
  def stop_replay(
432
432
  self,
433
433
  ) -> Callable[
434
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest],
434
+ [cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest],
435
435
  cloud_sql_resources.Operation,
436
436
  ]:
437
437
  r"""Return a callable for the stop replay method over gRPC.
@@ -440,7 +440,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
440
440
  SQL replay instance.
441
441
 
442
442
  Returns:
443
- Callable[[~.SqlWorkloadCapturesStopReplayRequest],
443
+ Callable[[~.WorkloadCapturesStopReplayRequest],
444
444
  ~.Operation]:
445
445
  A function that, when called, will call the underlying RPC
446
446
  on the server.
@@ -452,7 +452,7 @@ class SqlWorkloadCapturesServiceGrpcTransport(SqlWorkloadCapturesServiceTranspor
452
452
  if "stop_replay" not in self._stubs:
453
453
  self._stubs["stop_replay"] = self._logged_channel.unary_unary(
454
454
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/StopReplay",
455
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest.serialize,
455
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest.serialize,
456
456
  response_deserializer=cloud_sql_resources.Operation.deserialize,
457
457
  )
458
458
  return self._stubs["stop_replay"]
@@ -344,7 +344,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
344
344
  def start(
345
345
  self,
346
346
  ) -> Callable[
347
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest],
347
+ [cloud_sql_workload_captures.WorkloadCapturesStartRequest],
348
348
  Awaitable[cloud_sql_resources.Operation],
349
349
  ]:
350
350
  r"""Return a callable for the start method over gRPC.
@@ -358,7 +358,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
358
358
  applying them to production.
359
359
 
360
360
  Returns:
361
- Callable[[~.SqlWorkloadCapturesStartRequest],
361
+ Callable[[~.WorkloadCapturesStartRequest],
362
362
  Awaitable[~.Operation]]:
363
363
  A function that, when called, will call the underlying RPC
364
364
  on the server.
@@ -370,7 +370,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
370
370
  if "start" not in self._stubs:
371
371
  self._stubs["start"] = self._logged_channel.unary_unary(
372
372
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/Start",
373
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest.serialize,
373
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStartRequest.serialize,
374
374
  response_deserializer=cloud_sql_resources.Operation.deserialize,
375
375
  )
376
376
  return self._stubs["start"]
@@ -379,7 +379,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
379
379
  def stop(
380
380
  self,
381
381
  ) -> Callable[
382
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest],
382
+ [cloud_sql_workload_captures.WorkloadCapturesStopRequest],
383
383
  Awaitable[cloud_sql_resources.Operation],
384
384
  ]:
385
385
  r"""Return a callable for the stop method over gRPC.
@@ -388,7 +388,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
388
388
  operations executed on the primary instance.
389
389
 
390
390
  Returns:
391
- Callable[[~.SqlWorkloadCapturesStopRequest],
391
+ Callable[[~.WorkloadCapturesStopRequest],
392
392
  Awaitable[~.Operation]]:
393
393
  A function that, when called, will call the underlying RPC
394
394
  on the server.
@@ -400,7 +400,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
400
400
  if "stop" not in self._stubs:
401
401
  self._stubs["stop"] = self._logged_channel.unary_unary(
402
402
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/Stop",
403
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest.serialize,
403
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStopRequest.serialize,
404
404
  response_deserializer=cloud_sql_resources.Operation.deserialize,
405
405
  )
406
406
  return self._stubs["stop"]
@@ -409,7 +409,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
409
409
  def start_replay(
410
410
  self,
411
411
  ) -> Callable[
412
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest],
412
+ [cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest],
413
413
  Awaitable[cloud_sql_resources.Operation],
414
414
  ]:
415
415
  r"""Return a callable for the start replay method over gRPC.
@@ -420,7 +420,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
420
420
  without affecting the primary instance.
421
421
 
422
422
  Returns:
423
- Callable[[~.SqlWorkloadCapturesStartReplayRequest],
423
+ Callable[[~.WorkloadCapturesStartReplayRequest],
424
424
  Awaitable[~.Operation]]:
425
425
  A function that, when called, will call the underlying RPC
426
426
  on the server.
@@ -432,7 +432,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
432
432
  if "start_replay" not in self._stubs:
433
433
  self._stubs["start_replay"] = self._logged_channel.unary_unary(
434
434
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/StartReplay",
435
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest.serialize,
435
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest.serialize,
436
436
  response_deserializer=cloud_sql_resources.Operation.deserialize,
437
437
  )
438
438
  return self._stubs["start_replay"]
@@ -441,7 +441,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
441
441
  def stop_replay(
442
442
  self,
443
443
  ) -> Callable[
444
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest],
444
+ [cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest],
445
445
  Awaitable[cloud_sql_resources.Operation],
446
446
  ]:
447
447
  r"""Return a callable for the stop replay method over gRPC.
@@ -450,7 +450,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
450
450
  SQL replay instance.
451
451
 
452
452
  Returns:
453
- Callable[[~.SqlWorkloadCapturesStopReplayRequest],
453
+ Callable[[~.WorkloadCapturesStopReplayRequest],
454
454
  Awaitable[~.Operation]]:
455
455
  A function that, when called, will call the underlying RPC
456
456
  on the server.
@@ -462,7 +462,7 @@ class SqlWorkloadCapturesServiceGrpcAsyncIOTransport(
462
462
  if "stop_replay" not in self._stubs:
463
463
  self._stubs["stop_replay"] = self._logged_channel.unary_unary(
464
464
  "/google.cloud.sql.v1beta4.SqlWorkloadCapturesService/StopReplay",
465
- request_serializer=cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest.serialize,
465
+ request_serializer=cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest.serialize,
466
466
  response_deserializer=cloud_sql_resources.Operation.deserialize,
467
467
  )
468
468
  return self._stubs["stop_replay"]
@@ -177,10 +177,10 @@ class SqlWorkloadCapturesServiceRestInterceptor:
177
177
 
178
178
  def pre_start(
179
179
  self,
180
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest,
180
+ request: cloud_sql_workload_captures.WorkloadCapturesStartRequest,
181
181
  metadata: Sequence[Tuple[str, Union[str, bytes]]],
182
182
  ) -> Tuple[
183
- cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest,
183
+ cloud_sql_workload_captures.WorkloadCapturesStartRequest,
184
184
  Sequence[Tuple[str, Union[str, bytes]]],
185
185
  ]:
186
186
  """Pre-rpc interceptor for start
@@ -226,10 +226,10 @@ class SqlWorkloadCapturesServiceRestInterceptor:
226
226
 
227
227
  def pre_start_replay(
228
228
  self,
229
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest,
229
+ request: cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
230
230
  metadata: Sequence[Tuple[str, Union[str, bytes]]],
231
231
  ) -> Tuple[
232
- cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest,
232
+ cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
233
233
  Sequence[Tuple[str, Union[str, bytes]]],
234
234
  ]:
235
235
  """Pre-rpc interceptor for start_replay
@@ -275,10 +275,10 @@ class SqlWorkloadCapturesServiceRestInterceptor:
275
275
 
276
276
  def pre_stop(
277
277
  self,
278
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest,
278
+ request: cloud_sql_workload_captures.WorkloadCapturesStopRequest,
279
279
  metadata: Sequence[Tuple[str, Union[str, bytes]]],
280
280
  ) -> Tuple[
281
- cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest,
281
+ cloud_sql_workload_captures.WorkloadCapturesStopRequest,
282
282
  Sequence[Tuple[str, Union[str, bytes]]],
283
283
  ]:
284
284
  """Pre-rpc interceptor for stop
@@ -324,10 +324,10 @@ class SqlWorkloadCapturesServiceRestInterceptor:
324
324
 
325
325
  def pre_stop_replay(
326
326
  self,
327
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest,
327
+ request: cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
328
328
  metadata: Sequence[Tuple[str, Union[str, bytes]]],
329
329
  ) -> Tuple[
330
- cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest,
330
+ cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
331
331
  Sequence[Tuple[str, Union[str, bytes]]],
332
332
  ]:
333
333
  """Pre-rpc interceptor for stop_replay
@@ -646,7 +646,7 @@ class SqlWorkloadCapturesServiceRestTransport(
646
646
 
647
647
  def __call__(
648
648
  self,
649
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest,
649
+ request: cloud_sql_workload_captures.WorkloadCapturesStartRequest,
650
650
  *,
651
651
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
652
652
  timeout: Optional[float] = None,
@@ -655,7 +655,7 @@ class SqlWorkloadCapturesServiceRestTransport(
655
655
  r"""Call the start method over HTTP.
656
656
 
657
657
  Args:
658
- request (~.cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest):
658
+ request (~.cloud_sql_workload_captures.WorkloadCapturesStartRequest):
659
659
  The request object. Request to start recording traffic
660
660
  from the primary instance (captured
661
661
  workload).
@@ -799,7 +799,7 @@ class SqlWorkloadCapturesServiceRestTransport(
799
799
 
800
800
  def __call__(
801
801
  self,
802
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest,
802
+ request: cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest,
803
803
  *,
804
804
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
805
805
  timeout: Optional[float] = None,
@@ -808,7 +808,7 @@ class SqlWorkloadCapturesServiceRestTransport(
808
808
  r"""Call the start replay method over HTTP.
809
809
 
810
810
  Args:
811
- request (~.cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest):
811
+ request (~.cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest):
812
812
  The request object. Request to start executing a captured
813
813
  workload on a replay instance (the Cloud
814
814
  SQL instance where the recorded SQL
@@ -955,7 +955,7 @@ class SqlWorkloadCapturesServiceRestTransport(
955
955
 
956
956
  def __call__(
957
957
  self,
958
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest,
958
+ request: cloud_sql_workload_captures.WorkloadCapturesStopRequest,
959
959
  *,
960
960
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
961
961
  timeout: Optional[float] = None,
@@ -964,7 +964,7 @@ class SqlWorkloadCapturesServiceRestTransport(
964
964
  r"""Call the stop method over HTTP.
965
965
 
966
966
  Args:
967
- request (~.cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest):
967
+ request (~.cloud_sql_workload_captures.WorkloadCapturesStopRequest):
968
968
  The request object. Request to stop recording traffic
969
969
  from the primary instance.
970
970
  retry (google.api_core.retry.Retry): Designation of what errors, if any,
@@ -1105,7 +1105,7 @@ class SqlWorkloadCapturesServiceRestTransport(
1105
1105
 
1106
1106
  def __call__(
1107
1107
  self,
1108
- request: cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest,
1108
+ request: cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest,
1109
1109
  *,
1110
1110
  retry: OptionalRetry = gapic_v1.method.DEFAULT,
1111
1111
  timeout: Optional[float] = None,
@@ -1114,7 +1114,7 @@ class SqlWorkloadCapturesServiceRestTransport(
1114
1114
  r"""Call the stop replay method over HTTP.
1115
1115
 
1116
1116
  Args:
1117
- request (~.cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest):
1117
+ request (~.cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest):
1118
1118
  The request object. Request to stop an active workload
1119
1119
  replay on a target Cloud SQL replay
1120
1120
  instance.
@@ -1243,7 +1243,7 @@ class SqlWorkloadCapturesServiceRestTransport(
1243
1243
  def start(
1244
1244
  self,
1245
1245
  ) -> Callable[
1246
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartRequest],
1246
+ [cloud_sql_workload_captures.WorkloadCapturesStartRequest],
1247
1247
  cloud_sql_resources.Operation,
1248
1248
  ]:
1249
1249
  # The return type is fine, but mypy isn't sophisticated enough to determine what's going on here.
@@ -1254,7 +1254,7 @@ class SqlWorkloadCapturesServiceRestTransport(
1254
1254
  def start_replay(
1255
1255
  self,
1256
1256
  ) -> Callable[
1257
- [cloud_sql_workload_captures.SqlWorkloadCapturesStartReplayRequest],
1257
+ [cloud_sql_workload_captures.WorkloadCapturesStartReplayRequest],
1258
1258
  cloud_sql_resources.Operation,
1259
1259
  ]:
1260
1260
  # The return type is fine, but mypy isn't sophisticated enough to determine what's going on here.
@@ -1265,7 +1265,7 @@ class SqlWorkloadCapturesServiceRestTransport(
1265
1265
  def stop(
1266
1266
  self,
1267
1267
  ) -> Callable[
1268
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopRequest],
1268
+ [cloud_sql_workload_captures.WorkloadCapturesStopRequest],
1269
1269
  cloud_sql_resources.Operation,
1270
1270
  ]:
1271
1271
  # The return type is fine, but mypy isn't sophisticated enough to determine what's going on here.
@@ -1276,7 +1276,7 @@ class SqlWorkloadCapturesServiceRestTransport(
1276
1276
  def stop_replay(
1277
1277
  self,
1278
1278
  ) -> Callable[
1279
- [cloud_sql_workload_captures.SqlWorkloadCapturesStopReplayRequest],
1279
+ [cloud_sql_workload_captures.WorkloadCapturesStopReplayRequest],
1280
1280
  cloud_sql_resources.Operation,
1281
1281
  ]:
1282
1282
  # The return type is fine, but mypy isn't sophisticated enough to determine what's going on here.
@@ -266,12 +266,12 @@ from .cloud_sql_users import (
266
266
  )
267
267
  from .cloud_sql_workload_captures import (
268
268
  SqlWorkloadCapturesListRequest,
269
- SqlWorkloadCapturesStartReplayRequest,
270
- SqlWorkloadCapturesStartRequest,
271
- SqlWorkloadCapturesStopReplayRequest,
272
- SqlWorkloadCapturesStopRequest,
273
269
  WorkloadCapture,
274
270
  WorkloadCapturesListResponse,
271
+ WorkloadCapturesStartReplayRequest,
272
+ WorkloadCapturesStartRequest,
273
+ WorkloadCapturesStopReplayRequest,
274
+ WorkloadCapturesStopRequest,
275
275
  )
276
276
 
277
277
  __all__ = (
@@ -513,10 +513,10 @@ __all__ = (
513
513
  "UserPasswordValidationPolicy",
514
514
  "UsersListResponse",
515
515
  "SqlWorkloadCapturesListRequest",
516
- "SqlWorkloadCapturesStartReplayRequest",
517
- "SqlWorkloadCapturesStartRequest",
518
- "SqlWorkloadCapturesStopReplayRequest",
519
- "SqlWorkloadCapturesStopRequest",
520
516
  "WorkloadCapture",
521
517
  "WorkloadCapturesListResponse",
518
+ "WorkloadCapturesStartReplayRequest",
519
+ "WorkloadCapturesStartRequest",
520
+ "WorkloadCapturesStopReplayRequest",
521
+ "WorkloadCapturesStopRequest",
522
522
  )
@@ -423,6 +423,8 @@ class User(proto.Message):
423
423
  Workforce Identity Federation.
424
424
  ENTRAID_USER (7):
425
425
  Microsoft Entra ID user.
426
+ ACTIVE_DIRECTORY_USER (8):
427
+ Active Directory user.
426
428
  """
427
429
 
428
430
  BUILT_IN = 0
@@ -433,6 +435,7 @@ class User(proto.Message):
433
435
  CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5
434
436
  CLOUD_IAM_WORKFORCE_IDENTITY = 6
435
437
  ENTRAID_USER = 7
438
+ ACTIVE_DIRECTORY_USER = 8
436
439
 
437
440
  class DualPasswordType(proto.Enum):
438
441
  r"""The type of retained password.
@@ -25,10 +25,10 @@ from google.cloud.sqladmin_v1beta4.types import cloud_sql_resources
25
25
  __protobuf__ = proto.module(
26
26
  package="google.cloud.sql.v1beta4",
27
27
  manifest={
28
- "SqlWorkloadCapturesStartRequest",
29
- "SqlWorkloadCapturesStopRequest",
30
- "SqlWorkloadCapturesStartReplayRequest",
31
- "SqlWorkloadCapturesStopReplayRequest",
28
+ "WorkloadCapturesStartRequest",
29
+ "WorkloadCapturesStopRequest",
30
+ "WorkloadCapturesStartReplayRequest",
31
+ "WorkloadCapturesStopReplayRequest",
32
32
  "SqlWorkloadCapturesListRequest",
33
33
  "WorkloadCapturesListResponse",
34
34
  "WorkloadCapture",
@@ -36,7 +36,7 @@ __protobuf__ = proto.module(
36
36
  )
37
37
 
38
38
 
39
- class SqlWorkloadCapturesStartRequest(proto.Message):
39
+ class WorkloadCapturesStartRequest(proto.Message):
40
40
  r"""Request to start recording traffic from the primary instance
41
41
  (captured workload).
42
42
 
@@ -69,7 +69,7 @@ class SqlWorkloadCapturesStartRequest(proto.Message):
69
69
  )
70
70
 
71
71
 
72
- class SqlWorkloadCapturesStopRequest(proto.Message):
72
+ class WorkloadCapturesStopRequest(proto.Message):
73
73
  r"""Request to stop recording traffic from the primary instance.
74
74
 
75
75
  Attributes:
@@ -101,7 +101,7 @@ class SqlWorkloadCapturesStopRequest(proto.Message):
101
101
  )
102
102
 
103
103
 
104
- class SqlWorkloadCapturesStartReplayRequest(proto.Message):
104
+ class WorkloadCapturesStartReplayRequest(proto.Message):
105
105
  r"""Request to start executing a captured workload on a replay
106
106
  instance (the Cloud SQL instance where the recorded SQL queries
107
107
  are executed).
@@ -141,7 +141,7 @@ class SqlWorkloadCapturesStartReplayRequest(proto.Message):
141
141
  )
142
142
 
143
143
 
144
- class SqlWorkloadCapturesStopReplayRequest(proto.Message):
144
+ class WorkloadCapturesStopReplayRequest(proto.Message):
145
145
  r"""Request to stop an active workload replay on a target Cloud
146
146
  SQL replay instance.
147
147
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-cloud-sql
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Google Cloud Sql API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-sql
6
6
  Author: Google LLC
@@ -1,10 +1,10 @@
1
1
  google/cloud/sqladmin/__init__.py,sha256=q1PaMXhn3fmFYmh3ghTiTabl5326_RLcdI6q9K7lFBc,21428
2
- google/cloud/sqladmin/gapic_version.py,sha256=yXhO9iknzoXD-Jy1L2x1cONM23a9njV0O2rzoYglm48,652
2
+ google/cloud/sqladmin/gapic_version.py,sha256=mHi3GKglnfAlqvXX30p9CyT4uzJ2INhvWPxX52_qKmo,652
3
3
  google/cloud/sqladmin/py.typed,sha256=BZgUUxw-QQAWPwCCTiwCDqSbtWdU6ytLDyQzNuuKlSM,77
4
4
  google/cloud/sqladmin_v1/__init__.py,sha256=V2APmDLUXLTXz3hyYHBeasv2i4GuwqAbwk-nkvNWy4s,21788
5
5
  google/cloud/sqladmin_v1/_compat.py,sha256=RXD5k4f7yyamOftWhdRz1quVsVfthj4LksiCrAdLNDc,10079
6
6
  google/cloud/sqladmin_v1/gapic_metadata.json,sha256=O4uUci3SYgzeWXMIH8jXGLr5Rwd66fklBVk8llDYxRQ,25656
7
- google/cloud/sqladmin_v1/gapic_version.py,sha256=yXhO9iknzoXD-Jy1L2x1cONM23a9njV0O2rzoYglm48,652
7
+ google/cloud/sqladmin_v1/gapic_version.py,sha256=mHi3GKglnfAlqvXX30p9CyT4uzJ2INhvWPxX52_qKmo,652
8
8
  google/cloud/sqladmin_v1/py.typed,sha256=BZgUUxw-QQAWPwCCTiwCDqSbtWdU6ytLDyQzNuuKlSM,77
9
9
  google/cloud/sqladmin_v1/services/__init__.py,sha256=Au3YSSt9PZB2krvBh-d3VYGmLR4EIld-ZxMuodvt8Rk,600
10
10
  google/cloud/sqladmin_v1/services/blue_green_deployments_service/__init__.py,sha256=vOcNoTkH3E6Lk9RhT6mVkHOo8Mwg-Im6X6oD9F3gfj8,821
@@ -156,12 +156,12 @@ google/cloud/sqladmin_v1/types/cloud_sql_regions.py,sha256=MoP3rneoiJC_zR5A_D-Py
156
156
  google/cloud/sqladmin_v1/types/cloud_sql_resources.py,sha256=R7zasdLeYixdrH8RzVrrx7xiof2AcY6MiBsmwRYDh88,170774
157
157
  google/cloud/sqladmin_v1/types/cloud_sql_ssl_certs.py,sha256=TWZXm2EKuv3SVcyAD7lbLkXXhQHeoFXuH5cgDS55WEk,5607
158
158
  google/cloud/sqladmin_v1/types/cloud_sql_tiers.py,sha256=EtRcEWTnamrP0DmjmAlvuYS1rtG-MiguA9ZJvorWLc4,2672
159
- google/cloud/sqladmin_v1/types/cloud_sql_users.py,sha256=HXyORRaCtwqEKlZGQbQOZF-3nxA3AM4MDxYjXRqXOUY,17665
159
+ google/cloud/sqladmin_v1/types/cloud_sql_users.py,sha256=H2MhINLdhYEZ_mWmhqFe08d7CXAdEzrp2pbeTNg1xm4,17777
160
160
  google/cloud/sqladmin_v1/types/cloud_sql_workload_captures.py,sha256=jnLbnAsu7XPCki21jj8T3UmrNytinPbPvcGJKQrQ_L8,9881
161
- google/cloud/sqladmin_v1beta4/__init__.py,sha256=ucUpH1n2KjimqZ5hBjDm5aPK-J_Aahz1JKGfWXkkCIg,20282
161
+ google/cloud/sqladmin_v1beta4/__init__.py,sha256=tku173OmvNL_3g0ac7eJJetlZhnKBE2405iCmYIQjPM,20258
162
162
  google/cloud/sqladmin_v1beta4/_compat.py,sha256=RXD5k4f7yyamOftWhdRz1quVsVfthj4LksiCrAdLNDc,10079
163
163
  google/cloud/sqladmin_v1beta4/gapic_metadata.json,sha256=9jFlUqbebq1tiE-EFWEdPtH7JeiaH3tewv1r7RCUT74,36747
164
- google/cloud/sqladmin_v1beta4/gapic_version.py,sha256=yXhO9iknzoXD-Jy1L2x1cONM23a9njV0O2rzoYglm48,652
164
+ google/cloud/sqladmin_v1beta4/gapic_version.py,sha256=mHi3GKglnfAlqvXX30p9CyT4uzJ2INhvWPxX52_qKmo,652
165
165
  google/cloud/sqladmin_v1beta4/py.typed,sha256=BZgUUxw-QQAWPwCCTiwCDqSbtWdU6ytLDyQzNuuKlSM,77
166
166
  google/cloud/sqladmin_v1beta4/services/__init__.py,sha256=Au3YSSt9PZB2krvBh-d3VYGmLR4EIld-ZxMuodvt8Rk,600
167
167
  google/cloud/sqladmin_v1beta4/services/blue_green_deployments_service/__init__.py,sha256=vOcNoTkH3E6Lk9RhT6mVkHOo8Mwg-Im6X6oD9F3gfj8,821
@@ -287,15 +287,15 @@ google/cloud/sqladmin_v1beta4/services/sql_users_service/transports/grpc_asyncio
287
287
  google/cloud/sqladmin_v1beta4/services/sql_users_service/transports/rest.py,sha256=rZmLuhGUcconqt2SMaHDNbr5vWt3ZmEdczbQUwRbScM,50784
288
288
  google/cloud/sqladmin_v1beta4/services/sql_users_service/transports/rest_base.py,sha256=PgsFsC-hp49S3lCljGAspfMA7afIX7xtTT-iaxah1eo,6136
289
289
  google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/__init__.py,sha256=WX3Vj0j-GcnhWx8a-FPA5XZXIFVTPiaGZOT9QX0YgL8,817
290
- google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/async_client.py,sha256=AWBafPjCsx6ig0i2gBxndRTHd1zXbnBKK211EgwY07I,34844
291
- google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/client.py,sha256=EYfLYL2Up6BHD75BVQonMSFlYRnJKU3qHFinpFNxMjY,45452
290
+ google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/async_client.py,sha256=lR4UtaHKKI8MViTL8c9txhxQQetjrGqgG5kWdOfyayg,34852
291
+ google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/client.py,sha256=e3JUHfgcIsI6D_AMyXFzhEdRCX2jfE9povUGwRgiMCE,45837
292
292
  google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/__init__.py,sha256=aoRXry1SoZqSlHF3XL6e6Aa3qHCml799dcjY_UDk36Y,1581
293
- google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/base.py,sha256=LuLj9jU5OOTdvgGZ9VUCDtGHILhoBTeUsAcdFsZUskE,9074
294
- google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/grpc.py,sha256=4muJdkkujVC7GbRvCtPg78NUuYnmfuXv6TyW6FK-4gU,22117
295
- google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/grpc_asyncio.py,sha256=Puoago2-MenUOZlBHRix-otZrSIzLUzxyA1itzn6Wms,23982
296
- google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/rest.py,sha256=57kpFW9FzxZxEcb4gurillvcezviwTBqyD_HGjxbg5g,54082
293
+ google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/base.py,sha256=WxWCkghdM7RKLh2_kaKEQPn7teYU27FlWAefvKYAL3A,9062
294
+ google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/grpc.py,sha256=ylFsTlANhOgLdZno3tE9emm-HnOk8FWwECVRJRU2FPo,22081
295
+ google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/grpc_asyncio.py,sha256=mz2ZTMjQ2O4tDTuRldUoshdXdm_HRXm9NRe5Y1YrY7U,23946
296
+ google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/rest.py,sha256=L96d0tvGbes0oXafx4TLewdKhMnYdISa4bTxOXrrUp4,54022
297
297
  google/cloud/sqladmin_v1beta4/services/sql_workload_captures_service/transports/rest_base.py,sha256=pSgzc0_UpqFTcMXcVGvCbUXP1M1RSOgOpCoLo5cXrqw,6696
298
- google/cloud/sqladmin_v1beta4/types/__init__.py,sha256=m_SUSbx4Df38tih3VJ5dajnsCAOh0Ep2JmEAZE6M9T4,15521
298
+ google/cloud/sqladmin_v1beta4/types/__init__.py,sha256=_ZAvdT4vqwltWz6s5c8idQAsTZ08knMcCxSC38dB8qo,15497
299
299
  google/cloud/sqladmin_v1beta4/types/cloud_sql.py,sha256=ba36z9sGl69bPb_so3WekVdsLNz-Fr_rx-gt0UE7_vk,82345
300
300
  google/cloud/sqladmin_v1beta4/types/cloud_sql_blue_green_deployments.py,sha256=caPUBEfhIxo-MbKMYGtWQH81BuAMqX3_xyJTNHTLiR4,25647
301
301
  google/cloud/sqladmin_v1beta4/types/cloud_sql_connect.py,sha256=51CCl_rYxyWJV3P2Ag7bYbrIbsD9N1LrVOO-3EuJkBM,13152
@@ -303,10 +303,10 @@ google/cloud/sqladmin_v1beta4/types/cloud_sql_data.py,sha256=y6GMqJM4bk6-sh1bDTo
303
303
  google/cloud/sqladmin_v1beta4/types/cloud_sql_iam_policies.py,sha256=-rdbDboAfUAEjc752jwTpc_pT_Kg9F1IVHd_RL58IHo,767
304
304
  google/cloud/sqladmin_v1beta4/types/cloud_sql_resources.py,sha256=1HD_RnW_ifQHHANVNytLeO931Yc-_7sSSC882vbO-HI,295693
305
305
  google/cloud/sqladmin_v1beta4/types/cloud_sql_tiers.py,sha256=lZ0cCzk_NFwC71I6Hu2D9E2DM04v-sTrMHRJ82yyVkw,2663
306
- google/cloud/sqladmin_v1beta4/types/cloud_sql_users.py,sha256=wW-02sKAG5NhVwPCgtduzvEZIWbI6vltvq95cJ7_umA,17748
307
- google/cloud/sqladmin_v1beta4/types/cloud_sql_workload_captures.py,sha256=K6lrcjIzuYY7lB-ilY_rg4xf_JXUOYkriy0Cu4I-6h4,9896
308
- google_cloud_sql-0.1.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
309
- google_cloud_sql-0.1.2.dist-info/METADATA,sha256=TV_Opv5m5mgnPmHELJanrylNB5o13WT9-IDYtvNHheI,9286
310
- google_cloud_sql-0.1.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
311
- google_cloud_sql-0.1.2.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
312
- google_cloud_sql-0.1.2.dist-info/RECORD,,
306
+ google/cloud/sqladmin_v1beta4/types/cloud_sql_users.py,sha256=8iE5kfEiFq18vi6OUB_MtwRBLAKkCepVc5AmSsGDj8M,17860
307
+ google/cloud/sqladmin_v1beta4/types/cloud_sql_workload_captures.py,sha256=TQTCLPVUOqmL1o42eGvHhfIA2hnfjAJUHKDol4FPxGA,9872
308
+ google_cloud_sql-0.1.3.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
309
+ google_cloud_sql-0.1.3.dist-info/METADATA,sha256=2kv6v4rwtnEUxst1C3VvFYeO8RpcrXLywy3vUrYSxbo,9286
310
+ google_cloud_sql-0.1.3.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
311
+ google_cloud_sql-0.1.3.dist-info/top_level.txt,sha256=_1QvSJIhFAGfxb79D6DhB7SUw2X6T4rwnz_LLrbcD3c,7
312
+ google_cloud_sql-0.1.3.dist-info/RECORD,,